RailTester

by tbterra

Automated intersection tester, Just add blueprint

Utilities
a month ago
1.1 - 2.0
2.27K
Transportation Trains

g Crashes

2 months ago

I receive this notice.
The scenario level caused a non-recoverable error.
Please report this error to the scenario author.

Error while running event level::on_nth_tick(1)
level/control.lua:1023: bad argument #2 of 2 to 'random' (interval is empty)
stack traceback:
[C]: in function 'random'
level/control.lua:1023: in function 'RandomObjectFromTable'
level/control.lua:1009: in function 'SmartSpawn'
level/control.lua:102: in function <level/control.lua:85>

2 months ago

Crash with this blueprint:
https://factoriobin.com/post/unzwi5ypn4g1-EXPIRES
I put it in the chest, alone. I tried extending all lines to the same length from the centre thinking it was due to how non-symmetric it is, but the result is the same.

Error while running event level::on_gui_click (ID 1)
level/control.lua:638: attempt to index local 'ent' (a nil value)
stack traceback:
level/control.lua:638: in function 'ExtendLine'
level/control.lua:458: in function 'StartBPTest'
level/control.lua:436: in function 'StartTest'
level/control.lua:126: in function <level/control.lua:118>

2 months ago
(updated 2 months ago)

Bocian

Crash with this blueprint:
https://factoriobin.com/post/unzwi5ypn4g1-EXPIRES

crash is caused by a disconnected piece of rail that the tester cant extend (in this case the north most rail ramps are missing a piece of elevated rail), i need to make this report as an error but not crash

Choo_Choo_Oreo

control.lua:1023: bad argument #2 of 2 to 'random' (interval is empty)

hmm, looks like the RandomObjectFromTable needs a special case for when the table contains only one item

both of these will be fixed in 0.9.4(which i have just uploaded)

a month ago

bterra

crash is caused by a disconnected piece of rail that the tester cant extend (in this case the north most rail ramps are missing a piece of elevated rail), i need to make this report as an error but not crash

Ah, I haven't noticed that, silly me. Would be nice it didn't crash in this case though. Even if it just starts and trains can't path, that should be a good enough indication that the problem lies with the intersection.

Amazing how far throughput testers have come btw, I'm going to use this a lot ;)

New response