0ptera / Logistic-Train-Network

Factorio mod adding logistic network for trains.
Other
155 stars 55 forks source link

Crash bug #299

Closed ghost closed 2 years ago

ghost commented 2 years ago

Here is a crash bug. I've got no idea what this comes from. I have had similar crashes when I've removed a lot of trains from the network all of a sudden (usually due to a station getting overwhelmed for ~reasons~ and jamming up).

The mod LTN Manager (0.4.8) caused a non-recoverable error. Please report this error to the mod author.

Error while running event LtnManager::on_tick (ID 0) LtnManager/scripts/ltn-data.lua:760: attempt to index field 'main_locomotive' (a nil value) stack traceback: LtnManager/scripts/ltn-data.lua:760: in function '?' LtnManager/scripts/ltn-data.lua:1074: in function 'iterate' LtnManager/control.lua:175: in function <LtnManager/control.lua:160>

ghost commented 2 years ago

I reloaded from a save and instead of removing trains I unblocked the trains by slowly emptying the stuck ones carriage by carriage and manually driving trains clear. No crash.

0ptera commented 2 years ago

Wrong mod to report it on. That's a crash from LTN Manager.