Train Supply Manager

Control train scheduling via a publish/subscribe event based system. Easy to use, and stress tested to gigabase level
5 days ago
0.16 - 0.17
8454

Changelog

Version: 0.4.4
Date: 09. 03. 2019
  Bugfixes:
    - Fix so that using the new item tags in the fuel station name won't
      cause random stations to be removed from a trains schedule every
      time it leaves a stop.
    - Updated changelog.txt to be the YAML format that the Factorio 0.17
      mod manager wants to see.
    - Changed style to use minimal_width to fix visibility of "p" on the ping 
      map button in Korean version
    - updated Korean translation
              

Version: 0.4.3
Date: 09. 03. 2019
  Minor features:
    - Added thumbnail
    - added technology description to locale file
  Bugfixes:
    - fixed width of buttons used in guis
              

Version: 0.4.2
Date: 09. 03. 2019
  Bugfixes:
    - Fixed initial supplier settings not saved.  Now when you save a
      new priority default settings are applied, then you need to go
      back in edit mode to change the wait condition settings, if
      desired
              

Version: 0.4.1
Date: 02. 03. 2019
  Bugfixes:
    - Fixed LuaStyle doesn't contain key visible issue
              

Version: 0.4.0
Date: 02. 03. 2019
  Major Features:
    - Version 0,17 compatibility
              

Version: 0.3.30
Date: 10. 02. 2019
  Bugfixes:
    - in some circumstances renaming a station with active requesters
      will have the requesters generate requests on the old station name
              

Version: 0.3.29
Date: 29. 01. 2019
  Bugfixes:
    - Fixed invalid entity in clear_train_config issue (Tantabobo)
              

Version: 0.3.28
Date: 27. 01. 2019
  Bugfixes:
    - Adds check in on_gui_state_chenged_event to restrict action to TSM
      inspired events only (re Train Scaling mod compatibility)
              

Version: 0.3.27
Date: 25. 01. 2019
  Features:
    - added command "/fix_ps_stations" to remove nil stations from any
      priority stationlist should this occur
  Bugfixes:
    - updated Korean translation
              

Version: 0.3.26
Date: 17. 01. 2019
  Bugfixes:
    - another possible cause of multi-player desync caused by
      GUI interactions fix
    - updated Korean translation and cfg file
              

Version: 0.3.25
Date: 15. 01. 2019
  Bugfixes:
    - Restores the update and save buttons to the priority schema
      functions
              

Version: 0.3.24
Date: 15. 01. 2019
  Bugfixes:
    - another possible cause of multi-player desync caused by GUI
      interactions fix
    - on_load explicitly only loads conditional event handlers
  Features:
    - Fuelstop combinator changes - now it clears on train departure and
      only provides 2 signals - number of locomoptives and number of
      non-locomotives
    - TSM menu graphics change - if already open from previous version
      you may need to close and reopen (also slight change to order)
    - Outstanding requests now also provides time outstanding
      information in minutes
              

Version: 0.3.23
Date: 13. 01. 2019
  Bugfixes:
    - Fixes another possible cause of multi-player desync caused by GUI
      iteractions
              

Version: 0.3.22
Date: 11. 01. 2019
  Bugfixes:
    - fixes crashes caused by invalid requester train stops.  Invalid
      entity is removed from the database
    - map ping on invalid requesters will now delete the invalid item
      from the database
    - Blueprinting now restores the wire connection from the train on
      the way signal to the requester
    - Blueprinted requester train stops now also more likely to update
      the requester to changed train stop name correctly
  Minor features:
    - improves sorting on the station list drop down selection
              

Version: 0.3.21
Date: 06. 01. 2019
  Bugfixes:
    - improves GUI behaviour under multi-player where there are many
      players potentially updating the priority schema's at once
    - updates the Korean translation
              

Version: 0.3.20
Date: 28. 12. 2018
  Bugfixes:
    - corrects a potential data integrity issue arising in function
      "check_train_in_Sub_station"
    - corrects behaviour when a train is available in the supply station
      and a calling requester activates
              

Version: 0.3.19
Date: 28. 12. 2018
  Bugfixes:
    - adds the order property back into the new virtual signals (for
      PickerTweaks compatibility)
    - adds more train validation to "check_train_in_Sub_station"
      function
  Minor features:
    - adds item group name for TSM signals
              

Version: 0.3.18
Date: 26. 12. 2018
  Features:
    - Adds new empty wagon icons for each vanilla raw product and oil
      products (icons by Jelgadis)
              

Version: 0.3.17
Date: 22. 12. 2018
  Bugfixes:
    - Fixes crash on gui click
    - fixes error message when opening armor equipment screen
    - Korean language corrections
              

Version: 0.3.16
Date: 22. 12. 2018
  Major features:
    - Adds Korean language support
              

Version: 0.3.15
Date: 22. 12. 2018
  Changes:
    - Changed the recipe cost to remove advanced circuits.
      You now only need the electronic circuits (to improve
      accessibility)
  Features:
    - Added all the new GUI titles into the locale file
    - The fuelstop name is now configurable via mod settings in the
      startup settings area
  Bugfixes:
    - Fixed GUI issue with auto research
              

Version: 0.3.14
Date: 21. 12. 2018
  Bugfixes:
    - Fixed a rare error warning message - "attempt to index field
      'sub_index' (a nil value)"
  Changes:
    - validation now enforces that the priority schema "ID" field is
      unique
  Features:
    - you can now edit a priority schema to access the wait condition
      parser.  This provides a GUI interface to change the default wait
      conditions given to any train assigned a schedule by this
      priority.  For new priority schemas, you need to save the initial
      station selection first then go back in under edit mode.
    - you can now assign a process priority to the requester entity.
      This will affect the order in which requesters are processed when
      there are outstanding requests.  A priority of "1" is highest and
      the default.  Positive numbers only are accepted, and the higher
      the positive number the lower the process priority.
    - refer new demo example (replacing old multi-station) for the new
      functionality at work
              

Version: 0.3.13
Date: 17. 12. 2018
  Features:
    - Adds a train configuration combinator for use at FuelStopx only.
      The combinator will enable differentiation between rolling stock
      configurations so that for example you can correctly refuel 1-1-1s
      and 1-2-1 trains on the same network.
    - Add new startup mod setting to switrch admin only on or off for
      editing the priority schemas
  Bugfixes:
    - Addresses a rare crash on train count signal lost
    - Addresses the station dropdown in the edit list sometimes shows
      duplicates
    - Addresses leftover debug messages
              

Version: 0.3.12
Date: 15. 12. 2018
  Bugfixes:
    - Addresses crash caused by removing all of a train's schedule as
      the train pulls into a train station
    - Addresses using blueprints to place requester's results in
      inoperable requester
    - Addresses when requester station is unreachable all available
      trains from the corresponding depot are deployed to that stop
    - Addresses an issue that could deactivate one train on the way
      signal (across entire network) when removing requester train stops
              

Version: 0.3.11
Date: 13. 12. 2018
  Features:
    - the ability to use more than one supply station in a schedule. As
      long as the station "wait until" condition is set as "cicuit" then
      the supply station will remain in the schedule.  This allows for
      from 1 ... n supply stations in the schedule where n is
      arbitrarily large (no limit).
              

Version: 0.3.10
Date: 12. 12. 2018
  Bugfixes:
    - Addresses "trains stopped working" - in addition if you have this
      issue you need to run command "/fix_requests" to repair the
      database
              

Version: 0.3.9
Date: 12. 12. 2018
  Bugfixes:
    - Addresses error from on_configuration_changed (refer hanes)
              

Version: 0.3.8
Date: 10. 12. 2018
  Bugfixes:
    - Fix to defend against possible desync issues in large MP maps.
      On_configuration_changed changes to global data is now on a delta
      basis rather than table rebuild basis.
    - Also the map ping now places the icon on the map at the requesters
      location, moved to the right 5 tiles so it is not directly over
      the train station.
              

Version: 0.3.7
Date: 07. 12. 2018
  Features:
    - Added delete priority functionality (admin only), validated
      against requesters and outstanding requests - the prirority must
      not be used in either. To help you find these requesters or
      outstanding requests, there is now a map ping feature available on
      the 'RQ' tab and 'R' tab respectively
              

Version: 0.3.6
Date: 07. 12. 2018
  Bugfixes:
    - Removes debug code that could cause lua errors under some
      circumstances
              

Version: 0.3.5
Date: 07. 12. 2018
  Bugfixes:
    - Fixes an issue in pre-existing games that added the mod after the
      event.  Existing trains may not be recognised properly by the mod.
      The train table is now rebuilt on configuration changed.
              

Version: 0.3.4
Date: 07. 12. 2018
  Bugfixes:
    - An issue could previously arise where if you were using duplicate
      requester train stops and then deleting one, the requesters may
      retain their original default backer name rather than be updated
      correctly with the new name.  You can verify if this is the case
      by scanning your 'R' screen list.  This update will stop this from
      occurring. Also, the command "/fix_requests" will correct any
      historic occurrence of this issue - run only once.
              

Version: 0.3.3
Date: 06. 12. 2018
  Bugfixes:
    - Fixed adding supplier stations vis BP with station name returns lua rror
              

Version: 0.3.2
Date: 04. 12. 2018
  Bugfixes:
    - Fixed quirky behaviour when train already at Supplier stop when
      requster initially created (thinkong)
              

Version: 0.3.1
Date: 03. 12. 2018
  Changes:
    - Redacted