b [Resolved] Crash when placing first LTN stop
When placing the first LTN stop in a game (at a position where a train is still halting, because I removed a non-LTN stop at this position seconds before)
Error while running event LTN_Tracker::on_tick (ID 0)
LTN_Tracker/script/data_processing.lua:162: bad argument #1 of 2 to 'pairs' (table expected, got nil)
[C]: in function 'pairs'
LTN_Tracker/script/data_processing.lua:162: in function 'check_for_new_stops'
LTN_Tracker/script/data_processing.lua:331: in function <LTN_Tracker/script/data_processing.lua:290>
LTN Tracker and LTN was added to an existing save after ~5h, error occurred at ~15h when I wanted to replace the existing rail system with LTN.
Probably doesn't matter, since LTN was unused at that time: The save without any LTN stations has just upgraded from factorio 0.17.25 and maybe also older versions of LTN / LTNT a few minutes before.
LTN Tracker 0.10.8
I've released 0.10.9 with an additional check to prevent that error, but do not quite understand how it could happen in the first place. Probably a mistake in one of the older versions of LTNT that carried over when you updated to 0.10.8. Do you know which version you had installed before?
According to the savegame: LTNT 0.9.0, LTN 1.10.0
Thanks. It is indeed a problem caused by migrating from an older version to 0.10.8 before the first stop is built. Let me know if you are still having trouble when using 0.10.9.
Works fine now, thank you!