Train Alert GUI

by eduran

Adds a GUI displaying train-related alerts.

Content
5 years ago
0.17
12
Trains

b Game non-recoverable error

5 years ago

Hi Eduran - still loving the mod, but just got a fatal error from your mod /cry !!
Returned my PAX train to base, jumped off at station, swapped to manual and added a cargo wagon to the train...
... or tried to - this is where is all went horrible wrong. Forgot to take screen pic of error msg, but got my log entry info below. Not sure if this is what caused it to crash, but that was the events as far as I remember...

/old dude

Log:
11773.936 Error MainLoop.cpp:1199: Exception at tick 8935285: The mod Train Alert GUI caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Train_Alerts::on_train_created (ID 66)
Train_Alerts/script/gui_settings_window.lua:175: attempt to compare number with nil
stack traceback:
Train_Alerts/script/gui_settings_window.lua:175: in function 'handler'
Train_Alerts/control.lua:9: in function 'raise_private_event'
Train_Alerts/script/train_state_monitor.lua:170: in function 'handler'
Train_Alerts/control.lua:56: in function <Train_Alerts/control.lua:54

New response