Train Alert GUI

by eduran

Adds a GUI displaying train-related alerts.

Content
4 years ago
0.17
9
Trains

b [Resolved] Non-recoverable error

4 years ago
(updated 4 years ago)

Hey eduran, I'm getting this non-recoverable error whenever the GUI opens. Hope this helps to make this awesome mod even better!

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_tick (ID 0)
Gui element with name tral_alert_frame already present in the parent element.
stack traceback:
Train_Alerts/script/EGM_Frame.lua:5: in function 'build'
Train_Alerts/script/gui_alert_window.lua:28: in function 'build_frame'
Train_Alerts/script/gui_alert_window.lua:112: in function 'reset'
Train_Alerts/script/gui_alert_window.lua:130: in function 'get_table'
Train_Alerts/script/gui_alert_window.lua:181: in function 'handler'
Train_Alerts/control.lua:9: in function 'raise_private_event'
Train_Alerts/script/train_state_monitor.lua:190: in function <Train_Alerts/script/train_state_monitor.lua:175>
stack traceback:
[C]: in function 'add'
Train_Alerts/script/EGM_Frame.lua:5: in function 'build'
Train_Alerts/script/gui_alert_window.lua:28: in function 'build_frame'
Train_Alerts/script/gui_alert_window.lua:112: in function 'reset'
Train_Alerts/script/gui_alert_window.lua:130: in function 'get_table'
Train_Alerts/script/gui_alert_window.lua:181: in function 'handler'
Train_Alerts/control.lua:9: in function 'raise_private_event'
Train_Alerts/script/train_state_monitor.lua:190: in function <Train_Alerts/script/train_state_monitor.lua:175>

4 years ago

Thanks. I've released version 0.4.10 with a fix for that issue.

New response