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
1 year, 1 month ago
1.1 - 2.0
4.81K
Logistics Trains

b [BUG] Crash when using bots

6 months ago

Was using bots to cut/paste blueprints

https://imgur.com/a/T8l73hI

6 months ago

Thanks for the report.

6 months ago

Havent played for a few days, but just realized, the crash happens when deconstructing stations and dispatcher at the same time. Deconstructing one or the other alone works fine.

30 days ago
(updated 30 days ago)

This bug is still here. Just found the same exact thing:

The mod Rail Logistics Dispatcher 2 (2.0.24) caused a non-recoverable error. Please report this error to the mod author.

Error while running event RailLogisticsDispatcher::on_robot_mined_entity (ID 73) __RailLogisticsDispatcher__/script/entity.lua:40: attempt to index local 'disp' (a nil value) stack traceback:
__RailLogisticsDispatcher__/script/entity.lua:40: in function 'dispUpdateStop' __RailLogisticsDispatcher__/script/entity.lua:649: in function 'entityHandleRemoveStop' __RailLogisticsDispatcher__/script/entity.lua:672: in function 'entityHandleRemoved' __RailLogisticsDispatcher__/control.lua:138: in function <__RailLogisticsDispatcher__/control.lua:134>

Noted on Nebbeh's solution of just not robotically deconstructing both at the same time.

New response