Schall Railway Controller


Assist train organizations and dispatches. Adds a GUI listing idling and stalled trains (or other customizable filters). Displays train status, for easy and quick schedule inspection and assignment. (Locale: English, Deutsch, 正體中文, 简体中文, Português Brasileiro)

Utilities
a month ago
0.17 - 2.0
4.86K
Trains

g Crash when opening GUI

a month ago
(updated a month ago)

First it was crash when showing moving trains in the GUI with the first error message , might be related to my station naming nomenclature, because after fixing a few things in my train test network; and removing a few spaces that were randomly added to the end of one station name , it got worse and is now crashing as soon as i open the GUI with the second error message

station names :
(parametrised stations are not in the network or train schedule)
[virtual-signal=signal-grey] Depot
⟻ [item=copper-ore] Requester
[item=copper-ore] ⟼ Provider
⟻ [item=iron-ore] Requester
[item=iron-ore] ⟼ Provider

[item=parameter-0] ⟼ [item=locomotive] Provider
[item=train-stop]⟻ [item=parameter-0] Requester

1rst error:

The mod Schall Railway Controller (2.0.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event SchallRailwayController::on_train_schedule_changed (ID 122)
SchallRailwayController/lib/RClib.lua:424: attempt to index local 'record' (a nil value)
stack traceback:
SchallRailwayController/lib/RClib.lua:424: in function 'elem_label_train_station'
SchallRailwayController/lib/RCgui.lua:298: in function 'frame_main_refresh'
SchallRailwayController/lib/RCgui.lua:1348: in function 'refresh_all'
SchallRailwayController/control.lua:342: in function <SchallRailwayController/control.lua:330>

2nd error :

The mod Schall Railway Controller (2.0.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event SchallRailwayController::on_gui_click (ID 1)
SchallRailwayController/lib/RClib.lua:563: attempt to index field '?' (a nil value)
stack traceback:
SchallRailwayController/lib/RClib.lua:563: in function 'elem_label_train_line'
SchallRailwayController/lib/RCgui.lua:300: in function 'frame_main_refresh'
SchallRailwayController/lib/RCgui.lua:394: in function 'frame_main_create'
SchallRailwayController/control.lua:47: in function <SchallRailwayController/control.lua:28>

a month ago

i got rid of second error deleting this : (the parametrised trains for making my Blueprints)

https://factoriobin.com/post/2rg5fizeoml0-EXPIRES

and this is the bit generating the 1rst error: (requires Editor Extensions mod)

https://factoriobin.com/post/6pium5

New response