LTN Combinator Modernized


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

Content
5 months ago
1.0 - 1.1
78.6K
Trains Circuit network

b [Fixed] Crash setting a too-large item count

11 months ago

I was just typing a random set of numbers into the Items field of an LTN Combinator, ended up crashing it:

79382.861 Error MainLoop.cpp:1288: Exception at tick 31654: The mod LTN Combinator Modernized (2.0.3) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event LTN_Combinator_Modernized::on_gui_confirmed (ID 148)
Given count value (-99788778781) is too small, the data type allows values from -2147483648 to 2147483647
stack traceback:
[C]: in function 'set_signal'
LTN_Combinator_Modernized/script/ltn_combinator.lua:364: in function 'set_misc_signal'
LTN_Combinator_Modernized/script/ltn_combinator.lua:593: in function 'handler'
LTN_Combinator_Modernized/script/ltn_combinator.lua:794: in function 'wrapper'
flib/gui-lite.lua:139: in function 'handler'
flib/gui-lite.lua:169: in function 'handler'
core/lualib/event_handler.lua:47: in function <core/lualib/event_handler.lua:45>

11 months ago

Well I really thought I had that one trapped.. :/

11 months ago

Fixed for next version

New response