LTN Combinator Modernized


Add a combinator with friendly GUI to manage LTN Control Signals for each LTN Train Stop

Content
2 months ago
1.0 - 1.1
89.5K
Trains Circuit network

b [Fixed] Window open when the game was saved doesn't work after loading the game

3 years ago
(updated 3 years ago)

(Aside: Augh! I can edit my message, but apparently not the title. It should be "Window open when the game was saved doesn't work after loading the game")

I got a crash immediately after this autosave, and then got two, different ones, after reloading the save.
I first simply tried to continue editing the currently-selected request (typing "-1000" into the text box that currently says "0") and got this error:

Error while running event LTN_Combinator_Modernized::on_gui_confirmed (ID 144)
__LTN_Combinator_Modernized__/script/gui.lua:97: attempt to call method 'set_slot_value' (a nil value)
stack traceback:
    __LTN_Combinator_Modernized__/script/gui.lua:97: in function 'set_new_signal_value'
    __LTN_Combinator_Modernized__/script/gui.lua:303: in function 'handler'
    __flib__/gui.lua:390: in function <__flib__/gui.lua:376>

I then tried to click on one of the data cards with no value yet, and got this error:

Error while running event LTN_Combinator_Modernized::on_gui_click (ID 1)
__LTN_Combinator_Modernized__/script/gui.lua:208: attempt to call method 'get_slot' (a nil value)
stack traceback:
    __LTN_Combinator_Modernized__/script/gui.lua:208: in function 'change_signal_count'
    __LTN_Combinator_Modernized__/script/gui.lua:344: in function 'handler'
    __flib__/gui.lua:390: in function <__flib__/gui.lua:376>

The save is here: https://drive.google.com/file/d/1wUc_nHaUL6fzboazlsJMbU-atDNJNd7y/view?usp=sharing

This might be related to https://mods.factorio.com/mod/LTN_Combinator_Modernized/discussion/601c9d5512618a6872e581e9

New response