LTN - Logistic Train Network

by Optera

Adds new train stops forming a highly configurable, fully automated logistic network.

Content
3 days ago
0.14 - 2.1
289K
Trains Circuit network

g 2.4 Crashes Py

1 year, 8 months ago

The mod LTN - Logistic Train Network (2.3.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event LogisticTrainNetwork::on_configuration_changed
LogisticTrainNetwork/script/schedule.lua:31: assertion failed!
stack traceback:
[C]: in function 'assert'
LogisticTrainNetwork/script/schedule.lua:31: in function 'analyzeRecord'
LogisticTrainNetwork/script/schedule.lua:47: in function 'updateFromSchedule'
LogisticTrainNetwork/script/stop-update.lua:521: in function 'UpdateStopOutput'
LogisticTrainNetwork/script/train-events.lua:178: in function 'TrainArrives'
LogisticTrainNetwork/script/init.lua:255: in function 'updateAllTrains'
LogisticTrainNetwork/script/init.lua:347: in function <LogisticTrainNetwork/script/init.lua:323>

1 year, 8 months ago

Hey i have the same error when i set up a new new depot. No idea whats causing it though.

1 year, 8 months ago

It happens when LTN looks at a train schedule and sees an entry that is neither a requester nor a provider. This triggers the assertion. I changed the code in 2.3.2 to log an error and not crash. If you see the error (message level must be > 0 for that), please schedule an issue on github (https://github.com/hgschmie/factorio-LogisticTrainNetwork/issues) with a screenshot of the error and the train schedule.

New response