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
6 days ago
0.14 - 2.0
260K
Trains Circuit network

b [2.0.42][2.3.2] Crash replacing train stop ghost with LTN version "Failed to get EntityGhost"

a month ago

Factorio 2.0.42 with LTN 2.3.2 crashes when replacing a regular train station ghost with an LTN station ghost in map view.

log snippet:
[code]ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF96A39E8D7)
00007FF96A39E8D7 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF96A69BF6C)
00007FF96A69BF6C (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
79.322 Error Entity.cpp:3587: Failed to get EntityGhost for [name=logistic-train-stop, type=train-stop(TrainStop), position={-783.000, -585.000}, direction=West, force=player, surface=nauvis, setup=false, owned-by-ghost=true, to-be-deconstructed=false, to-be-upgraded=false, simulation=true]
79.322 Error CrashHandler.cpp:643: Received 22
Logger::writeStacktrace skipped.
79.322 Info LuaEventDispatcher.cpp:754: dispatching event on_entity_color_changed (ID 196), script mod-SpidertronPatrols
79.322 Error CrashHandler.cpp:190: Map tick at moment of crash: 45695396
79.357 Info CrashHandler.cpp:318: Executable CRC: 2611162946
79.357 Error Util.cpp:95: Unexpected error occurred. If you're running the latest version of the game you can help us solve the problem by posting the contents of the log file on the Factorio forums.
Please also include the save file(s), any mods you may be using, and any steps you know of to reproduce the crash.
89.036 Uploading log file
89.098 Error CrashHandler.cpp:270: Heap validation: success.
89.099 Creating crash dump.
89.256 CrashDump success[/code]

cross-posted on official forum (log, dump, savefile attached there) : https://forums.factorio.com/viewtopic.php?t=127869

6 days ago

Thanks. Sorry for not seeing this earlier, I do have github notifications but did not see the report here.

It seems that this is fixed for 2.0.46.

New response