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

Changelog

Version: 2.0.15
Date: 15.11.2024
  Bugfixes:
    - Fixed: A station with a large request did not release the first place in the request queue.
    - Fixed: Fixed: Game crash due to some unusual train schedules.
    - Fixed: Fixed: Game crash due to some depot configuration.
  Changes:
    - Internal improvement that will reduce the number of entities and allow the output port state to be displayed in a tooltip on the right.
    - The dispatcher now tries to select the nearest available train and supply station to create a delivery.
    - Signal D for active deliveries count.
    - The pause only applies to freight stations.
    - Improved minimum tooltip.
Version: 2.0.14
Date: 12.11.2024
  Changes:
    - Enhance units tooltips (add counts).
    - The pause signal is now yellow (the color of the paused dispatcher).
    - You can pause the dispatcher using a button or signal. Deliveries with such a station will not be created.
    - Newly built dispatchers with settings will be automatically paused to avoid creating deliveries on the copied dispatcher. This can be disabled in the settings.
    - The dispatcher can be paused and unpaused using the F key, hovering the mouse over the dispatcher. This can be disabled in the controls settings.
    - The depot now has no stopping rule and it is possible to set interruptions for refueling or cleaning. In an existing game, you need to remove the stopping rule yourself.
    - A little more precise selection of the appropriate size of train for delivery. It does not matter if you have one type of train: for cargo and for liquid.
Version: 2.0.13
Date: 09.11.2024
  Bugfixes:
    - Game crashes when deleting a large part of the base.
    - Game crashes when re-creating blueprint.
Version: 2.0.12
Date: 09.11.2024
  Bugfixes:
    - Game crashes due to "Turn inserters" option enabled on vanilla inserters.
    - The settings were not saved if the window was closed without clicking Apply.
Version: 2.0.11
Date: 09.11.2024
  Changes:
    - Possibility to using a train group (= name of the Depot station). The group is temporarily deleted during delivery and restored at the depot. Can be disabled in the mod settings.
Version: 2.0.10
Date: 09.11.2024
  Changes:
    - Preserving train interruptions with a workaround (A hack is used until a standard feature is added). Can be disabled in the mod settings.
  Bugfixes:
    - "s" -> "w" for wagons in EN locale.
Version: 2.0.9
Date: 08.11.2024
  Changes:
    - Added tooltips with quantities in other units in the station contents section.
  Bugfixes:
    - Crash if close window of destroyed dispatcher.
Version: 2.0.8
Date: 08.11.2024
  Bugfixes:
    - Refix: Autosave does not work while dispatcher window is opened.
Version: 2.0.7
Date: 07.11.2024
  Changes:
    - Disable manual station renaming if the Station Name option is set.
    - Ability to delete deliveries.
    - Added stopped train parameters on the output port.
    - Added description of signals on the output port in the output settings tooltip.
    - Ability to edit settings of Dispatcher ghost (in some cases Station name will be lost).
  Bugfixes:
    - Crash while adding a wagon to a train at the depot.
    - Crash while clearing or deleting surface.
Version: 2.0.6
Date: 06.11.2024
  Changes:
    - Unassign train group.
  Bugfixes:
    - Fixed: Crash while pasting the copied dispatcher.
    - Fixed: Crash while dropping delivery.
Version: 2.0.5
Date: 06.11.2024
  Bugfixes:
    - Fixed: Crash if create request station before supply station.
Version: 2.0.4
Date: 05.11.2024
  Bugfixes:
    - Fixed: Crash if train length constraints are set.
Version: 2.0.3
Date: 05.11.2024
  Changes:
    - Fix: Removed debug messages and drawings.
    - Fix: "--" balance if requester has more content that requests.
Version: 2.0.2
Date: 05.11.2024
  Changes:
    - Fix: Autosave while dispatcher window is opened.
    - Fix: Put blueprint over exists dispatcher.
Version: 2.0.1
Date: 05.11.2024
  Changes:
    - Rewrite for Factorio 2.0
Version: 0.0.18
Date: 10.01.2023
  Changes:
    - Fixed problem with back movers
Version: 0.0.17
Date: 05.01.2023
  Changes:
    - Fixed game crash if you right-click on the memory button for *
    - Removed debug train labels
    - The netmask can now be less than zero. 0 - no networks, -1 - all networks.
    - Fixed [CRASH] RailLogisticsDispatcher::on_gui_closed. https://github.com/dvilker/FactorioRailLogisticsDispatcher/issues/10
    - Fixed game crash if you mine train or station. Or if it's destroyed.
Version: 0.0.16
Date: 15.12.2022
  Changes:
    - Fixed an issue that all deliveries of the station were deleted, if you delete station, even if the train passed this station
    - Fixed an issue with the game crashing after deleting a supply station
Version: 0.0.15
Date: 13.12.2022
  Changes:
    - Fix an issue with updating blueprints
Version: 0.0.14
Date: 12.12.2022
  Changes:
    - Added support for Nullius overhaul mod (by modo_lv)
    - Fix an issue with early stored blueprints
Version: 0.0.13
Date: 05.12.2022
  Changes:
    - Fixed an issue where nothing was delivered to a station with a lower priority at all
    - Minor gui fixes
Version: 0.0.12
Date: 05.12.2022
  Changes:
    - Add pyindustry optional dependency (by WristWatch)
    - Add Electric Train optional dependency (by WristWatch)
    - Fixed Electric Train getting stuck needing to go to the fuel station (by WristWatch)
    - Improve EN locale (by WristWatch)
    - Beta testing of request and supply station priorities
Version: 0.0.11
Date: 01.12.2022
  Changes:
    - Fixed a bug when the dispatcher did not work, if before that it was removed by the bot and restored
Version: 0.0.10
Date: 29.11.2022
  Changes:
    - Fixed a bug when updating blueprint
    - Added red light - if something is wrong
    - Added hint if rails are missing
Version: 0.0.9
Date: 29.11.2022
  Changes:
    - Fixed a bug when copying settings if the parameters of requests and supplies were specified out of order
Version: 0.0.8
Date: 25.11.2022
  Changes:
    - Fixed undefined behavior if there is an item and liquid with the same name in the game
    - Minor fixes
Version: 0.0.7
Date: 24.11.2022
  Changes:
    - Technology now costs as Rail Signals multiplied by 1.5
    - With "pyindustry" mod technology costs as Rail Signals and recipe contains Electronic circuit instead Advanced circuit
Version: 0.0.6
Date: 21.11.2022
  Changes:
    - Beta release