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
2 months ago
0.14 - 2.0
267K
Trains Circuit network

b Game Crashes

6 months ago

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

Error while running event LogisticTrainNetwork::on_entity_renamed (ID 62)
LogisticTrainNetwork/script/stop-events.lua:347: assertion failed!
stack traceback:
[C]: in function 'assert'
LogisticTrainNetwork/script/stop-events.lua:347: in function <LogisticTrainNetwork/script/stop-events.lua:343>

Happens when renaming other entities like Spidertron, car etc

6 months ago

This will be fixed in the next release.

6 months ago

That would be great thanks!

6 months ago

this should have been fixed for a while now (2.2.1 is the current version).

5 months ago

Thanks, everything works properly again.

5 months ago

LTN - Logistic Train Network (2.3.1)のMODが回復不能なエラーを発生させました。
MOD作成者にこのエラーを報告してください。

Error while running event LogisticTrainNetwork::on_train_changed_state (ID 29)
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/train-events.lua:402: in function <LogisticTrainNetwork/script/train-events.lua:396>

5 months ago

Interesting. This assertion triggers when the requester and the provider have the same name. What were you trying to do?

5 months ago

Please try 2.3.2.

if the problem still persists, you should see an error message in the console (if you have message level > 0). In that case, please open a bug on github (https://github.com/hgschmie/factorio-LogisticTrainNetwork/issues) and attach a screenshot of that train's schedule.

New response