Hi,
I have just found another (or the same?) LTN related issue.
Version: Automatic_Train_Painter_0.3.11, Factorio (Latest Experimental = .22)
after switching factorio from .21 to .22 my map immediately crashed when i connect to the deadicated server:
Main Mods: Space Exploration (= Multi Surface game) , Krastorio 2 ( probably unrelated), LTN, LTN Manager (Alpha)
No issues prior to .22
Medium Network size like 50 Stations ...
Thanks for looking into the issue, if you need more details feel free to request more details.
149.748 Info ServerSynchronizer.cpp:599: nextHeartbeatSequenceNumber(2536) adding peer(1)
149.765 Info ServerMultiplayerManager.cpp:771: updateTick(29606887) changing state from(InGame) to(InGameSavingMap)
149.799 Info ServerMultiplayerManager.cpp:919: updateTick(29606887) received stateChanged peerID(1) oldState(Ready) newState(ConnectedWaitingForMap)
158.398 Info ServerMultiplayerManager.cpp:986: UpdateTick(29606887) Serving map(/opt/factorio/temp/mp-save-0.zip) for peer(1) size(66261194) crc(1909266522)
158.398 Info ServerMultiplayerManager.cpp:771: updateTick(29606887) changing state from(InGameSavingMap) to(InGame)
158.482 Info ServerMultiplayerManager.cpp:919: updateTick(29606887) received stateChanged peerID(1) oldState(ConnectedWaitingForMap) newState(ConnectedDownloadingMap)
168.585 Info ServerMultiplayerManager.cpp:919: updateTick(29606887) received stateChanged peerID(1) oldState(ConnectedDownloadingMap) newState(ConnectedLoadingMap)
172.170 Error MainLoop.cpp:1202: Exception at tick 29607036: The mod LTN - Logistic Train Network (1.13.1) caused a non-recoverable error. Please report this error to the mod author.
Error while running event LogisticTrainNetwork::on_train_changed_state (ID 23)
The mod Automatic Train Painter (0.3.11) caused a non-recoverable error. Please report this error to the mod author.
Error while running event Automatic_Train_Painter::Custom event (ID 200)
__Automatic_Train_Painter__/mod_support/LTN.lua:81: attempt to index field 'painted_ltn_trains' (a nil value)
stack traceback:
__Automatic_Train_Painter__/mod_support/LTN.lua:81: in function 'LTN_unpaint'
__Automatic_Train_Painter__/mod_support/LTN.lua:24: in function <__Automatic_Train_Painter__/mod_support/LTN.lua:23>
stack traceback:
__LogisticTrainNetwork__/script/train-events.lua:157: in function 'TrainLeaves'
__LogisticTrainNetwork__/script/train-events.lua:194: in function <__LogisticTrainNetwork__/script/train-events.lua:188>
stack traceback:
[C]: in function 'raise_event'
__LogisticTrainNetwork__/script/train-events.lua:157: in function 'TrainLeaves'
__LogisticTrainNetwork__/script/train-events.lua:194: in function <__LogisticTrainNetwork__/script/train-events.lua:188>
172.171 Error ServerMultiplayerManager.cpp:90: MultiplayerManager failed: "The mod LTN - Logistic Train Network (1.13.1) caused a non-recoverable error. Please report this error to the mod author.
Error while running event LogisticTrainNetwork::on_train_changed_state (ID 23)
The mod Automatic Train Painter (0.3.11) caused a non-recoverable error. Please report this error to the mod author.
Error while running event Automatic_Train_Painter::Custom event (ID 200)
__Automatic_Train_Painter__/mod_support/LTN.lua:81: attempt to index field 'painted_ltn_trains' (a nil value)
stack traceback:
__Automatic_Train_Painter__/mod_support/LTN.lua:81: in function 'LTN_unpaint'
__Automatic_Train_Painter__/mod_support/LTN.lua:24: in function <__Automatic_Train_Painter__/mod_support/LTN.lua:23>
stack traceback:
__LogisticTrainNetwork__/script/train-events.lua:157: in function 'TrainLeaves'
__LogisticTrainNetwork__/script/train-events.lua:194: in function <__LogisticTrainNetwork__/script/train-events.lua:188>
stack traceback:
[C]: in function 'raise_event'
__LogisticTrainNetwork__/script/train-events.lua:157: in function 'TrainLeaves'
__LogisticTrainNetwork__/script/train-events.lua:194: in function <__LogisticTrainNetwork__/script/train-events.lua:188>"
172.171 Info ServerMultiplayerManager.cpp:771: updateTick(29607036) changing state from(InGame) to(Failed)
172.171 Quitting: multiplayer error.