LTN - Logistic Train Network

by Optera

Adds logistic-train-stops acting as anchor points for building a fully automated, train logistic network. It can handle all possible train configuration. Just send all trains to depots and LTN will pick the best suitable train for a job. LTN cuts the amount of rolling stock required to run a megabase down to 30% or less. With cargo ships installed also adds a logistic port for ships.

Content
11 days ago
0.14 - 2.0
257K
Trains Circuit network

g 2.4 Crashes Py

20 days 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>

18 days ago

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

11 days 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