Rail Logistics Dispatcher

by Viidi

Adds a dispatcher (building) to automate railway logistics based on provide and request stations. Has intuitive interface. Was inspired by LTN but went a different way.

Content
3 days ago
1.1 - 2.0
2.96K
Logistics Trains

b [FIXED in 2.0.5] Error if create request station before supply station.

15 days ago

2.0.4 : If I try to setup a station to request 1 wagon of iron ore, but had no iron ore "supply" station in the network yet, this error occurs as soon as I connect the request station RLD to the circuit network at that station.

If i make sure theres a supply station somewhere that has that item setup first, the error doesn't occur.

Error MainLoop.cpp:1429: Exception at tick 4011990: The mod Rail Logistics Dispatcher 2 (beta) (2.0.4) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event RailLogisticsDispatcher::on_nth_tick(2)
RailLogisticsDispatcher/script/entity.lua:1102: attempt to index local 'orgProvide' (a nil value)
stack traceback:
RailLogisticsDispatcher/script/entity.lua:1102: in function 'dispUpdate'
RailLogisticsDispatcher/script/entity.lua:1380: in function <RailLogisticsDispatcher/script/entity.lua:1356>

15 days ago

Hi. Thank you for the detailed bug report! The problem is clear, I'll fix it soon.

New response