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 NRE when selecting new content for BP

1 year, 11 months ago

Found another one. Creating and using blueprints works fine, but using the vanilla "select new content" blueprint feature leads to a non-recoverable error when the selection includes a dispatcher. In this case it seems to happen no matter what the dispatcher is set to.


Error while running event RailLogisticsDispatcher::on_player_setup_blueprint (ID 70)
Index out of bounds: 32 > 0.
stack traceback:
[C]: in function 'set_blueprint_entity_tag'
RailLogisticsDispatcher/control.lua:233: in function 'dataToBlueprint'
RailLogisticsDispatcher/control.lua:247: in function <RailLogisticsDispatcher/control.lua:243>

1 year, 11 months ago

Thank you!

Fixed in 0.0.10

Factorio api is generally not very friendly, many things have to be done in workarounds - mistakes happen.

1 year, 11 months ago

For sure. Thanks again.

New response