Multiple Unit Train Control


Replaces bidirectional trains with ones twice as powerful, to simulate real locomotives driving backwards.

Tweaks
4 days ago
0.17 - 2.0
4.06K
Trains

b [Fixed] mutc and concurrent train restriction

4 years ago

i got this message after starting to use concurrent train restriction

Die Mod Multiple Unit Train Control hat einen Fehler verursacht, der nicht behoben werden kann.
Bitte informiere den Autor der Mod über diesen Fehler.

Error while running event MultipleUnitTrainControl::on_tick (ID 0)
MultipleUnitTrainControl/control.lua:650:

[ER Global Lock] Forbidden global write:
{key = "newProxy", value = {__self = "userdata"}}

stack traceback:
[C]: in function 'error'
MultipleUnitTrainControl/control.lua:650: in function 'newindex'
__Robot256Lib
/script/carriage_replacement.lua:196: in function 'replaceCarriage'
MultipleUnitTrainControl/control.lua:155: in function 'ProcessReplacement'
MultipleUnitTrainControl/control.lua:230: in function 'ProcessTrain'
MultipleUnitTrainControl/control.lua:305: in function 'ProcessTrainQueue'
MultipleUnitTrainControl/control.lua:333: in function <MultipleUnitTrainControl/control.lua:330>

4 years ago

Thanks for the report. I just uploaded the fix to robot256Lib. Please update and see if that fixes it.

New response