Code: Select all
__LTN_Tracker__/ltnt/data_processing.lua:454: attempt to perform arithmetic on local 'real_amount' (a nil value)
merged into LTNT thread
Moderator: Optera
Code: Select all
__LTN_Tracker__/ltnt/data_processing.lua:454: attempt to perform arithmetic on local 'real_amount' (a nil value)
Are you using 0.9.6? That should have fixed the error. If it is still happening with that version, I am going to need factorio-current.log of the crash, with logging set to level 2 (full). Or a savegame that let's me reproduce the issue.
This is the LTNT thread and you are dealing with a LTN issue. Anyway, the latest version now requires an additional library mod and my guess is you did not install it. That leads to LTN being deactivated and all of your stops vanishing. Check the mod menu again and have a look at LTN's required mods.mckyle wrote: ↑Thu Mar 21, 2019 4:28 pmIs it just me or is everything broken on LTN ?
I am currently on 0.17.x which is 0.17.16 and it started with adressing all trains to a single station - massive heavy traffic and everything got stuck.
Just updated LTN then (i think it was 1-2 weeks "old") and now every station got deleted and nothing works anymore (obviously when no station is there, can´t even craft it because its gone from the menu)
Did I miss something ?
This happens almost instantly when we join the server and when a train is given an order.245.226 Error MainLoop.cpp:1142: Exception at tick 29598449: The mod LTN - Logistic Train Network 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 LTN Tracker caused a non-recoverable error.
Please report this error to the mod author.
Error while running event LTN_Tracker::Custom event (ID 239)
__LTN_Tracker__/ltnt/data_processing.lua:455: table index is nil
stack traceback:
__LTN_Tracker__/ltnt/data_processing.lua:455: in function <__LTN_Tracker__/ltnt/data_processing.lua:437>
stack traceback:
__LogisticTrainNetwork__/script/train-events.lua:151: in function 'TrainLeaves'
__LogisticTrainNetwork__/script/train-events.lua:192: in function <__LogisticTrainNetwork__/script/train-events.lua:186>
stack traceback:
[C]: in function 'raise_event'
__LogisticTrainNetwork__/script/train-events.lua:151: in function 'TrainLeaves'
__LogisticTrainNetwork__/script/train-events.lua:192: in function <__LogisticTrainNetwork__/script/train-events.lua:186
245.228 Error ServerMultiplayerManager.cpp:92: MultiplayerManager failed: "The mod LTN - Logistic Train Network 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 LTN Tracker caused a non-recoverable error.
Please report this error to the mod author.
Error while running event LTN_Tracker::Custom event (ID 239)
__LTN_Tracker__/ltnt/data_processing.lua:455: table index is nil
stack traceback:
__LTN_Tracker__/ltnt/data_processing.lua:455: in function <__LTN_Tracker__/ltnt/data_processing.lua:437>
stack traceback:
__LogisticTrainNetwork__/script/train-events.lua:151: in function 'TrainLeaves'
__LogisticTrainNetwork__/script/train-events.lua:192: in function <__LogisticTrainNetwork__/script/train-events.lua:186>
stack traceback:
[C]: in function 'raise_event'
__LogisticTrainNetwork__/script/train-events.lua:151: in function 'TrainLeaves'
__LogisticTrainNetwork__/script/train-events.lua:192: in function <__LogisticTrainNetwork__/script/train-events.lua:186>
245.228 Info ServerMultiplayerManager.cpp:738: updateTick(29598449) changing state from(InGame) to(Failed)
245.228 Quitting: multiplayer error.
245.737 Info ServerMultiplayerManager.cpp:138: Quitting multiplayer connection.
245.737 Info ServerMultiplayerManager.cpp:738: updateTick(4294967295) changing state from(Failed) to(Closed)
245.740 Info UDPSocket.cpp:210: Closing socket
245.740 Info UDPSocket.cpp:240: Socket closed
245.740 Info UDPSocket.cpp:210: Closing socket
246.041 Info UDPSocket.cpp:210: Closing socket
246.041 Info UDPSocket.cpp:240: Socket closed
246.042 Goodbye
I've managed to track down and reproduce the crash in a small setup with just a few mods.eduran wrote: ↑Thu Mar 28, 2019 6:21 pmI ran your game for about 45 minutes of ingame time without issue on a headless server. Some of my mod versions might have been more recent than yours (I used the sync mods feature to download the required mods). Can you point to any specific steps that cause the crash?
For me it says that 'LTN Combinator not found'eduran wrote: ↑Wed Mar 27, 2019 7:07 pmThe latest version adds experimantal support for LTN Combinator. If your station is connected to an LTN Combinator, you can select it directly through the station tab by clicking the combinator button.
Hi,