SSPP Logistics Train Mod

by jagoly

A logistics train mod that aims to be as pleasant to use as possible, even when knee-deep in byproducts. SSPP stands for Source-Sink-Push-Pull.

Content
3 days ago
2.0
600
Logistics Trains

g New error with 0.3.1, broken. :-(

3 months ago

The mod SSPP Logistics Train Mod (0.3.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event SourceSinkPushPull::on_configuration_changed
SourceSinkPushPull/scripts/migrations.lua:18: attempt to index local 'hauler' (a nil value)
stack traceback:
SourceSinkPushPull/scripts/migrations.lua:18: in function 'func'
flib/migration.lua:70: in function 'run'
flib/migration.lua:97: in function 'on_config_changed'
SourceSinkPushPull/scripts/migrations.lua:84: in function <SourceSinkPushPull/scripts/migrations.lua:81>

3 months ago

I was able to repair it by saving the game, disabling the old version to clear out all values, and then enabling the new version. It required me to re-research SSP and set up my network again.

3 months ago
(updated 3 months ago)

Hi!

I also have an interesting error:
The mod Multiple Unit Train Control (1.0.3) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event MultipleUnitTrainControl::on_tick (ID 0)
The mod SSPP Logistics Train Mod (0.3.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event SourceSinkPushPull::on_gui_opened (ID 96)
Gui element with name sspp-hauler already present in the parent element.
stack traceback:
[C]: in function 'add'
flib/gui.lua:65: in function 'add'
SourceSinkPushPull/scripts/gui/hauler.lua:92: in function 'hauler_opened'
SourceSinkPushPull/scripts/gui.lua:22: in function <SourceSinkPushPull/scripts/gui.lua:14>
stack traceback:
[C]: in function 'newindex'
__Robot256Lib
/script/carriage_replacement.lua:297: in function 'replaceCarriage'
MultipleUnitTrainControl/control.lua:164: in function 'ProcessReplacement'
MultipleUnitTrainControl/control.lua:275: in function 'ProcessTrain'
MultipleUnitTrainControl/control.lua:377: in function 'ProcessTrainQueue'
MultipleUnitTrainControl/control.lua:405: in function <MultipleUnitTrainControl/control.lua:402>

it seems to clash with the MU train control mod.

I need to therefore deinstall it temporarily from HMI.

3 months ago

The mod SSPP Logistics Train Mod (0.3.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event SourceSinkPushPull::on_configuration_changed
SourceSinkPushPull/scripts/migrations.lua:18: attempt to index local 'hauler' (a nil value)
stack traceback:
SourceSinkPushPull/scripts/migrations.lua:18: in function 'func'
flib/migration.lua:70: in function 'run'
flib/migration.lua:97: in function 'on_config_changed'
SourceSinkPushPull/scripts/migrations.lua:84: in function <SourceSinkPushPull/scripts/migrations.lua:81>

Thanks for reporting this. Migrations seem to be tough to get right, I didn't hit this issue on my test world. If you still have it, would you be able to send me a save from before the update so I can debug the issue?

3 months ago
(updated 3 months ago)

Hi!

I also have an interesting error:
The mod Multiple Unit Train Control (1.0.3) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event MultipleUnitTrainControl::on_tick (ID 0)
The mod SSPP Logistics Train Mod (0.3.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event SourceSinkPushPull::on_gui_opened (ID 96)
Gui element with name sspp-hauler already present in the parent element.
stack traceback:
[C]: in function 'add'
flib/gui.lua:65: in function 'add'
SourceSinkPushPull/scripts/gui/hauler.lua:92: in function 'hauler_opened'
SourceSinkPushPull/scripts/gui.lua:22: in function <SourceSinkPushPull/scripts/gui.lua:14>
stack traceback:
[C]: in function 'newindex'
__Robot256Lib
/script/carriage_replacement.lua:297: in function 'replaceCarriage'
MultipleUnitTrainControl/control.lua:164: in function 'ProcessReplacement'
MultipleUnitTrainControl/control.lua:275: in function 'ProcessTrain'
MultipleUnitTrainControl/control.lua:377: in function 'ProcessTrainQueue'
MultipleUnitTrainControl/control.lua:405: in function <MultipleUnitTrainControl/control.lua:402>

it seems to clash with the MU train control mod.

I need to therefore deinstall it temporarily from HMI.

Thanks, yeah the mod was bound to have issues with any mods that break and recreate trains. I'll look into adding compatibility for this one since it seems fairly popular.

EDIT: the incompatibility was extremely minor, and has now been fixed in 0.3.3.

3 months ago

It worked - thank for the fix.

I did however had to uninstall the mod from the island again, because it was causing issues with cybersyn.
Some stations stopped sending requests.

I wonder if you are using some sort of "same channel" there that might cause the interference.

3 months ago

Right, I'll look into that. SSPP isn't really intended to be used alongside cybersyn, rld, etc, though there's no reason it shouldn't work.

3 months ago

The mod SSPP Logistics Train Mod (0.3.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event SourceSinkPushPull::on_configuration_changed
SourceSinkPushPull/scripts/migrations.lua:18: attempt to index local 'hauler' (a nil value)
stack traceback:
SourceSinkPushPull/scripts/migrations.lua:18: in function 'func'
flib/migration.lua:70: in function 'run'
flib/migration.lua:97: in function 'on_config_changed'
SourceSinkPushPull/scripts/migrations.lua:84: in function <SourceSinkPushPull/scripts/migrations.lua:81>

Thanks for reporting this. Migrations seem to be tough to get right, I didn't hit this issue on my test world. If you still have it, would you be able to send me a save from before the update so I can debug the issue?

Sorry, I don't have an old save any more, I keep overwriting the same one. Thanks for all of your work on this mod though!

New response