Train Throughput Estimator


Estimates the throughput of a selected train configuration through an intersection, with other helpful statistics

Utilities
3 years ago
1.1
586

b non recoverable error when no locomotive ?

a year ago
(updated a year ago)

Hello !

Was attempting to use the mod to get an estimation of throughput for train circling in a loop to see if it matches own calculations of braking distances and subsequent throughput, was curious to see how the block lenght was modeled for the estimation, and when failing to select properly trains with the tool , i ended selecting only some wagons. Which i think leads to this error when trying to move it in the list in front of another valid train :

The mod Train Throughput Estimator (1.0.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event train-throughput-estimator::on_gui_click (ID 1)
train-throughput-estimator/script/tte_gui.lua:660: attempt to index field '?' (a nil value)
stack traceback:
train-throughput-estimator/script/tte_gui.lua:660: in function 'handle_action'
train-throughput-estimator/control.lua:12: in function <train-throughput-estimator/control.lua:10>

Tried several time after that, and i think is something to do with having only wagon selected, but it doesn't always reproduce, sometimes it properly shows "no throughput" with numbers, sometimes it's nothing at all and it can yield to the bug, or a situation where one cannot remove anything from the list of value that are to be displayed.

i took a pic in case it can help :

https://ibb.co/HDQ3PBw

New response