Adds logistic-train-stops acting as anchor points for building a fully automated, train logistic network. It can handle all possible train configuration. Just send all trains to depots and LTN will pick the best suitable train for a job. LTN cuts the amount of rolling stock required to run a megabase down to 30% or less. With cargo ships installed also adds a logistic port for ships.
Mods introducing new content into the game.
Version: 3.1.0
Date: 2026-08-09
Major Features:
- Rewrote the request processor to cover more situations where multiple providers exist but not all are available. This should consistently provide better matches and distribution across multiple providers. There may be some obscure problems lurking in extreme corner cases, so any bug reports are welcome.
Changes:
- add 'ltn-list-refuel-excluded' console command to show which locomotives are not considered for refueling in LTN.
- reworked some of the locale strings, especially around pluralisation. If you maintain a language pack for LTN, you may need to update it. LTN officially only supports English and German.
- If no provider for a delivery is available, the console message now contains a breakdown why existing providers couldn't be selected.
- When printing a network id, now list the various networks, not just the hexadecimal value
- When printing a merged delivery manifest, print the various items, not just a stack summary
Version: 3.0.1
Date: 2026-07-30
Bugfixes:
- If a chosen provider stop was inaccessible, LTN would report "no train found ..." even if more than one stop could provide items.
LTN Now iterates through all provider stops if more than one exists. based on a discussion on the forums with @deadbyte and @pavel.recnik
Version: 3.0.0
Date: 2026-06-24
Changes:
- Update to Factorio 2.1
Version: 2.9.0
Date: 2026-08-06
Major Features:
- Rewrote the request processor to cover more situations where multiple providers exist but not all are available. This should consistently provide better matches and distribution across multiple providers. There may be some obscure problems lurking in extreme corner cases, so any bug reports are welcome.
Changes:
- add 'ltn-list-refuel-excluded' console command to show which locomotives are not considered for refueling in LTN.
- reworked some of the locale strings, especially around pluralisation. If you maintain a language pack for LTN, you may need to update it. LTN officially only supports English and German.
- If no provider for a delivery is available, the console message now contains a breakdown why existing providers couldn't be selected.
- When printing a network id, now list the various networks, not just the hexadecimal value
- When printing a merged delivery manifest, print the various items, not just a stack summary
Version: 2.9.0
Date: 2026-08-06
Major Features:
- Rewrote the request processor to cover more situations where multiple providers exist but not all are available. This should consistently provide better matches and distribution across multiple providers. There may be some obscure problems lurking in extreme corner cases, so any bug reports are welcome.
Changes:
- add 'ltn-list-refuel-excluded' console command to show which locomotives are not considered for refueling in LTN.
- reworked some of the locale strings, especially around pluralisation. If you maintain a language pack for LTN, you may need to update it. LTN officially only supports English and German.
- If no provider for a delivery is available, the console message now contains a breakdown why existing providers couldn't be selected.
- When printing a network id, now list the various networks, not just the hexadecimal value
- When printing a merged delivery manifest, print the various items, not just a stack summary
Version: 2.8.2
Date: 2026-07-30
Bugfixes:
- If a chosen provider stop was inaccessible, LTN would report "no train found ..." even if more than one stop could provide items.
LTN Now iterates through all provider stops if more than one exists. based on a discussion on the forums with @deadbyte and @pavel.recnik
Changes:
- backport 2.1 changes
Version: 2.8.1
Date: 2026-06-22
Bugfixes:
- Ensure that remote API calls can find stops for fluids (fixes #67, thank you @wildd0g for reporting).
Changes:
- Have the very first Update Dispatcher API call after scheduling a delivery to match subsequent API calls. (addresses comment in #49 by @wildd0g).
Version: 2.8.0
Date: 2026-05-28
Changes:
Bugfixes:
- When a train contains an item with a quality other than normal arrives at a provider that supplies the
same item in quality normal, the output got confused and sent out the wrong signal. Reported by @Odhrean in #47
- Ensure that the Request_By_Stop values accurately reflect station requests before dispatching. Reported by @wildd0g in #48.
Minor Features:
- Support locomotive types that do not need refueling. Expose a new remote API where such mods can register with LTN
to have their locomotives excluded from refueling.
Version: 2.7.1
Date: 2026-05-24
Changes:
- When removing a mod that provides surface connections, clean up existing connection references
in deliveries, otherwise on_dispatcher_updated will not fire until all invalid entities have
disappeared
Bugfixes:
- Ensure that no duplicate surface connections are listed when sending dispatcher updates
- When trains switch surfaces often, the train_selected count could have gotten lost
- If an entity representing a surface connection gets invalidated, the on_dispatcher_updated event
may have been silently discarded.
Minor Features:
- Add clarification and documentation for other mods that use cross-surface connections with LTN.
Makes [LTN - Space Exploration Integration](https://mods.factorio.com/mod/ltn-space-exploration) work well.
Version: 2.7.0
Date: 2026-05-12
Bugfixes:
- Fixed crash bugs, reported by @kratons123 (#32), @smittythesmith (#34), @afatsum72 (#36),
@Giuzu (#40), @tundy (#43, #57), @xyzzycgn (#52), @ArhangeL1790 (#55), @theojk2 (#56), @CoreNest (#58)
and many more.
- Fix support for double-ended trains (and single endeded stations). Reported by @lamhoangsudo and @Que914
on the forums
Changes:
- Make all .log and .printmsg statements lazy; this should help a bit with FPS.
Minor Features:
- new startup setting to control Train Limit for depot stations
Version: 2.6.0
Date: 2025-12-17
Changes:
- Implement a fairer train selection algorithm that does not select by path length. This
is controlled by the `ltn-depot-fudge-factor` setting. If the setting is 0, the old, distance-based
algorithm is still used.
- Use train_manager to compute travel distance between stations, replace the simple 'shortest path as the crow flies' algorithm
Version: 2.5.1
Date: 2025-11-24
Bugfixes:
- fix crash bug when comparing surfaces (reported by many people on the Forum)
Version: 2.5.0
Date: 2025-11-20
Minor Features:
- add new event, `on_delivery_reassigned`; gets raised when a delivery moves from one train to another.
- add new setting, `Advanced Cross-Surface Delivery` to control deliveries in multi-surface networks.
Changes:
- when a refuel station has no fuel signals, turn its lamp gray, not cyan
- when enabling detailed messages, report if a station uses the default network id (not receiving a
network id signal)
- remove train limit from LTN stops and remove any signal to change train limits
- upper limit for refuel interrupt now uses <=, this allows setting '1' as a value.
Bugfixes:
- fix crash with fuel station not having fuel signals right after construction
Version: 2.4.3
Date: 2025-11-17
Bugfixes:
- remove fuel station and depot status when a stop changes from a depot/fuel station to something else
Version: 2.4.2
Date: 2025-09-28
Changes:
- debug logging is now controlled by an int setting to provide different levels of logging.
Bugfixes:
- fix crash when another mod adds a temporary refueling record at the beginning of the schedule
- make sure that any freshly minted train that gets sent to a depot for the first time really gets
the wait condition for the depot. Reported by @mikegarrison on the forums
Version: 2.4.1
Date: 2025-09-27
Bugfixes:
- fix a crash when using a depot or fuel station that is not connected to a rail (reported by @YenzRahbek on the forum)
- fix a crash when reading schedule conditions does not contain a constant (reported by @Generalisator on the forum)
Changes:
- setting 'ltn-depot-fluid-cleaning' to -1 will always clean all fluids from the train
Version: 2.4.0
Date: 2025-09-26
Changes:
- When updating the schedule, try to keep the depot stop valid all the time
- Add setting to choose between refueling with an interrupt or dynamic (LTN controlled) refueling
- Implement dynamic refueling (controlled by LTN)
- Default for 'ltn-provider-ignore-stopped-train' setting is changed from `true` to `false` (Issue #26, reported by @Quetzler on github)
Bugfixes:
- When a station changes status (depot -> fuel stop or regular stop, fuel stop -> depot etc.),
ensure that all status bits are correctly updated. Fixes #28, reported by @Spacey42 on the forum)
Version: 2.3.4
Date: 2025-06-23
Changes:
- restore the behavior that the virtual signals for the lamp color are only present on the green wire. Add documentation.
- allow negative amount of fuel for refuel station (treat it as positive). Allows using the LTN combinator to provide fuel amounts.
Bugfixes:
- fuel station lamp switched to blue when train parked, then back to cyan when train leaves
Version: 2.3.3
Date: 2025-05-09
Bugfixes:
- fix broken GetNextLogisticStop function (Reported by @harag-on-stream on Github, PR #18. Thank you!)
- when a train is put under LTN control, it is removed from a train group first (Suggested by @wchristian on Github, #17. Thank you!)
Changes:
Version: 2.3.2
Date: 2025-03-21
Changes:
- Make schedule parsing more robust after someone managed to trigger the `assert(record.provider ~= record.requester)` assert. Reported by @labminto on the mod forum.
Version: 2.3.1
Date: 2025-03-20
Bugfixes:
- Fix the prototype meld statements
- Explicitly initialize the storage depot array. Fixes #14, reported by @ITZtephen on github
Version: 2.3.0
Date: 2025-03-11
Changes:
- refactor schedule management with new LuaSchedule API
- add new station type 'fuel station'
- add new virtual signal 'ltn-fuel-station' to declare a stop to be a fuel station
- add configuration option 'ltn-schedule-fuel-station' to enable/disable fuel station support
- add configuration option 'ltn-schedule-reset-interrupts' to enable/disable schedule reset
- add configuration option 'ltn-schedule-reselect-depot' to enable depot changes within a network
- [API] add attribute `is_fuel_station` to `ltn.TrainStop` to show whether this is a fuel station
- [API] add attribute `fuel_signals` to `ltn.TrainStop` for the fuel conditions added to the refuel interrupt
- trains will reselect a depot in their network when leaving requester and 'delivery ends at requester' is active
- Hide LTN internal entities (stop lamp + combinators) from Factoriopedia
Version: 2.2.1
Date: 2025-02-27
Bugfixes:
- fix crash when renaming a non-LTN entity (e.g. a spidertron). Reported in the mod forum by @Nekrobot, thank you!
Changes:
Version: 2.2.0
Date: 2025-02-26
Bugfixes:
- fix typo in dispatcher that caused crashes when recomputing shipmends because of too many stacks
Changes:
- Changed default network value from -1 ("all networks") to 0 ("no networks"). This affects any station
that has no explicit network id signal connected. Rationale for that change is that before this release,
turning off a connected combinator (LTN or constant combinator) will activate the station for all
networks instead of turning it off. If your setup relies on the default signal being "-1", set it
explicitly in the LTN settings.
- Add a new setting "Requesters ignore stopped trains" that allows ignoring unloading trains when scheduling
new requests
Version: 2.1.2
Date: 2025-02-25
Changes:
- enforce that only items can be put into a merged delivery (Same as #9 by @abrenneke, thanks for the PR!)
Version: 2.1.1
Date: 2025-02-23
Changes:
- support quality for cargo/fluid wagons (they might have larger inventories).
- harden the signal processing to only allow item/fluid signals.
Version: 2.1.0
Date: 2025-02-12
Changes:
- support item quality for requesters and providers.
Version: 2.0.3
Date: 2025-02-06
Bugfixes:
- Fix "unscheduled cargo" messages even if everything is ok. (#3, reported by @Litcube)
Version: 2.0.2
Date: 2025-02-05
Bugfixes:
- Fix fluid capacity calculation (change for factorio 2.0 API)
- Fix crash with fluid deliveries (#2, reported by @disifere)
- Fix crash with assertion failed (#1, reported by @Hoochie63)
Changes:
- Fix weird fractional stack reports for fluids
- Improve short-circuit logic
Version: 2.0.1
Date: 2025-02-03
Bugfixes:
- Fixed the info.json (well, the *one* time I did not test it...)
Version: 2.0.0
Date: 2025-02-03
Changes:
- Ported to Factorio 2.0
Version: 1.18.6
Date: 2024-01-30
Bugfixes:
- Message delivery-removed-depot used fallback stop names instead of Rich Text #331
Version: 1.18.5
Date: 2023-08-30
Features:
- moved logistic ports to their own technology
- new icon for logistic ports
Version: 1.18.4
Date: 2023-07-28
Features:
- Upgrade planner functionality for train-stop and port #323
Version: 1.18.3
Date: 2023-04-01
Bugfixes:
- get_next_logistic_stop returns nil when called from on_train_schedule_changed at delivery creation #319
Version: 1.18.2
Date: 2023-01-05
Bugfixes:
- skip over not existing position signals with error message instead of crashing outright
Version: 1.18.1
Date: 2022-12-13
Bugfixes:
- crash when on_train_changed_state is raised for trains stopped at invalid stops. Should only happen if scripts remove stops without raising script_raised_destroy.
Version: 1.18.0
Date: 2022-11-05
Features:
- Create deliveries across surfaces, train surface transitions have to be handled by 3rd party mods
- added remote call connect_surfaces
- added remote call disconnect_surfaces
- added remote call clear_all_surface_connections
- added remote call reassign_delivery
- added remote call get_or_create_next_temp_stop
- added remote call get_next_logistic_stop
Changes:
- added on_dispatcher_updated.new_deliveries as replacement for on_delivery_created
- removed event on_delivery_created, running in same tick as dispatcher produced microstutter
Bugfixes:
- crash when deleting all stops in train schedule, if train is parked at requester and "Delivery completes at requester" enabled #312
Version: 1.17.1
Date: 2022-10-10
Features:
- create ghosts for Lamp and Combinator on stop death #307
Version: 1.17.0
Date: 2022-09-23
Features:
- added event on_delivery_created #304
Changes:
- added LuaTrain to on_delivery_pickup_complete #298
- added LuaTrain to on_delivery_completed #298
Version: 1.16.10
Date: 2022-07-22
Features:
- use RichText [train-stop=uid] for stations
- use RichText [train=uid] for trains
Changes:
- GPS tags disabled by default, was too spammy
Version: 1.16.9
Date: 2022-06-19
Bugfixes:
- additional merged delivery stack size check #271
Version: 1.16.8
Date: 2022-06-19
Features:
- show cargo as rich text in no-provider-found, provider-found, creating-delivery #283
- added map-setting: Providers output existing cargo (default on), workaround for inserters stuck with items #272, #294
Version: 1.16.7
Date: 2021-11-17
Bugfixes:
- trains didn't break for temp stops, potentially overshooting and repathing to other stops
Version: 1.16.6
Date: 2021-11-14
Bugfixes:
- trains leaving requester didn't fully clean all delivery tables
- trains entering depot with existing delivery raise on_delivery_failed #277
Version: 1.16.5
Date: 2021-11-07
Features:
- use rail_direction for temp stops #275
Bugfixes:
- schedules did not always reset when using conditional Depot Signals
Version: 1.16.4
Date: 2021-11-06
Bugfixes:
- Add handling of on_entity_cloned event #274
Version: 1.16.3
Date: 2021-06-30
Bugfixes:
- changes to ltn-depot-fluid-cleaning where not applied #269
- trains entering depots with fluids also raise an alert
Version: 1.16.2
Date: 2021-06-28
Bugfixes:
- incorrect sprite sheet size for normal res output #267
Version: 1.16.1
Date: 2021-06-28
Features:
- graphics update by snouz #266
Version: 1.16.0
Date: 2021-03-26
Changes:
- find free trains using table.sort
Bugfixes:
- depot priority should be properly working now
Version: 1.15.7
Date: 2021-03-21
Bugfixes:
- also check signal.name and signal.type for virtual signals
Version: 1.15.6
Date: 2021-03-20
Bugfixes:
- skip over nil signal.name or signal.type, how can a signal name be nil in the first place?
Version: 1.15.5
Date: 2021-03-10
Features:
- trains entering depots with cargo raise an alert
- trains entering depots can have fluid residue automatically removed #185
Changes:
- reset schedules at requester before raising API events #255
Version: 1.15.4
Date: 2021-02-27
Features:
- added setting to disable GPS tags
Version: 1.15.3
Date: 2021-02-16
Bugfixes:
- moved lamp controllers off grid, preventing adjacent lamps to connect to it #253
Version: 1.15.2
Date: 2021-02-06
Bugfixes:
- delivery timout messages accessed position data of stop entities without checking validity #251
Version: 1.15.1
Date: 2021-02-03
Features:
- added gps rich-text to station names in chat #246
- increased verbosity of no-provider-found logfile entry #244
Bugfixes:
- subtracted delivery from providers twice #250
Version: 1.15.0
Date: 2020-11-26
Features:
- updated to Factorio 1.1
Version: 1.14.6
Date: 2020-10-04
Features:
- Hotkey disabling/enabling Dispatcher by Steinio, default ctrl-shift-D #234
Version: 1.14.5
Date: 2020-09-17
Features:
- Factorio alerts can be disabled per user
Bugfixes:
- on_provider events didn't include LuaTrain
- on_requester_unscheduled_cargo_alert.unscheduled_load lacked type prefix
Version: 1.14.4
Date: 2020-09-13
Changes:
- pushed FLib to 0.3.3
Version: 1.14.3
Date: 2020-09-04
Bugfixes:
- increased TrainLeaves debug log verbosity
- fluid deliveries sometimes incorrectly detected incomplete pickup due to lsb differences #230
Version: 1.14.2
Date: 2020-08-30
Bugfixes:
- disabled auto barreling on fluids used for alert icons #228
Version: 1.14.1
Date: 2020-08-28
Bugfixes:
- added missing delivery check in TrainArrives
Version: 1.14.0
Date: 2020-08-28
Features:
- updated to Factorio 1.0
- use Factorio alert system for common warnings and errors
- added cargo alerts
Version: 1.13.10
Date: 2020-07-28
Features:
- increased message level of empty-depot to warning #217
- increased message level of no-train-found to warning #217
Version: 1.13.9
Date: 2020-06-06
Features:
- reworked German localisation #216
- localisation for dropdowns
Version: 1.13.8
Date: 2020-05-29
Bugfixes:
- Checks adjusting requester amounts used stop.backer_name instead of stop.unit_number. https://forums.factorio.com/viewtopic.php?p=496164#p496164
Version: 1.13.7
Date: 2020-05-27
Features:
- updated icons
Version: 1.13.6
Date: 2020-05-26
Changes:
- replaced OpteraLib with FLib
Version: 1.13.5
Date: 2020-05-20
Bugfixes:
- multiple IO entities could be built on top of another #214
- stops could connect to IO entities of different stops
Version: 1.13.4
Date: 2020-05-17
Bugfixes:
- Increased selection priority on secondary entities #213
Version: 1.13.3
Date: 2020-05-15
Changes:
- Updated secondary entity collisions using empty collision tables
Version: 1.13.2
Date: 2020-05-15
Changes:
- Updated secondary entity collisions using "not-colliding-with-itself"
Version: 1.13.1
Date: 2020-04-16
Features:
- added depot priority control signal
Changes:
- refactored on_stops_updated to be in line with base event naming conventions
Version: 1.13.0
Date: 2020-04-12
Features:
- use temp stops for train pathing, removes requirement of unique stop names by GloinTheDark #210
Version: 1.12.10
Date: 2020-04-10
Changes:
- optimized filtered event calls
- changed error-invalid-stop-index to warning
Bugfixes:
- script_raised_destroy wasn't properly registered
Version: 1.12.9
Date: 2020-04-08
Changes:
- on_delivery_pickup_complete returns train inventory as actual_shipment
Version: 1.12.8
Date: 2020-04-01
Features:
- use event filters
Version: 1.12.7
Date: 2020-03-20
Bugfixes:
- removed support for train scedule conditions item/fluid > n https://forums.factorio.com/viewtopic.php?f=214&t=82576
Version: 1.12.6
Date: 2020-03-07
Bugfixes:
- prevent another possible call to invalid stop entity
Version: 1.12.5
Date: 2020-03-03
Bugfixes:
- fixed bug introduced with 1.12.4
Version: 1.12.4
Date: 2020-03-02
Bugfixes:
- fixed rare crash removing ltn entities in editor mode during dispatcher update phase
Version: 1.12.3
Date: 2020-02-23
Changes:
- refactored on_dispatcher_updated, on_delivery_pickup_complete, on_delivery_completed and on_delivery_failed to be in line with base event naming conventions
Version: 1.12.2
Date: 2020-02-12
Changes:
- updated license
Bugfixes:
- flagged LTN-Tracker rip-off as incompatible
Version: 1.12.1
Date: 2020-01-22
Bugfixes:
- fixed mipmap warning
Version: 1.12.0
Date: 2020-01-21
Features:
- updated to Factorio 0.18
Version: 1.11.9
Date: 2020-01-17
Bugfixes:
- switching isDepot on with parked train would not properly make the train available
Version: 1.11.8
Date: 2020-01-01
Bugfixes:
- Encoded position signal for carriage types counts incorrectly with backwards trains #200
Version: 1.11.7
Date: 2019-12-03
Bugfixes:
- global lookup tables are reset every time mod configuration changes
Version: 1.11.6
Date: 2019-11-07
Bugfixes:
- fixing broken stop indexes again
Version: 1.11.5
Date: 2019-11-05
Bugfixes:
- actually remove broken stop indexes found by 1.11.3 changes
Version: 1.11.4
Date: 2019-11-01
Bugfixes:
- removed left over debug logging
Version: 1.11.3
Date: 2019-10-30
Changes:
- push to stable 0.17.74
Bugfixes:
- prevent entering too large values in timeout settings #196
- additional safeguards against invalid indexing
Version: 1.11.2
Date: 2019-10-07
Bugfixes:
- compare forces by object when merging forces
- process request state didn't end tick update after running out of requests #196
Version: 1.11.1
Date: 2019-09-26
Features:
- check if requester, provider and train are on the same surface
- check forces by object instead of name
Version: 1.11.0
Date: 2019-09-06
Features:
- stop iteration should be more robust
- allow n-th tick stepping for all updates
- request processing spread across multiple ticks
Changes:
- replaced setting "limit stops per tick" with "updates per tick"
- added setting "update every n-th tick"
Bugfixes:
- stop name list wasn't updated correctly when removing invalid stops
- some fixes to German setting translation
Version: 1.10.15
Date: 2019-08-17
Features:
- support script_raised_revive
Version: 1.10.14
Date: 2019-07-29
Changes:
- replaced custom NewGame+ call with base api on_pre_surface_cleared #186
Bugfixes:
- error-invalid-stop had no text assigned
Version: 1.10.13
Date: 2019-07-27
Features:
- Encoded position signal for carriage types https://forums.factorio.com/viewtopic.php?f=214&t=73122
- reorganized encoded position signals in subgroups per carriage type
Changes:
- renamed internal position signal names, signals of rolling stock from mods can't be migrated and will be missing
Version: 1.10.12
Date: 2019-07-05
Bugfixes:
- fixed German translation #182
Version: 1.10.11
Date: 2019-05-28
Changes:
- depot inactivity is now in seconds
- stop timeout is now in seconds
- delivery timeout is now in seconds
- removed 60 min limits for timeouts
Bugfixes:
- changes to stop timeout only applied after save and reload #178
Version: 1.10.10
Date: 2019-05-21
Features:
- support script_raised_built and script_raised_destroy
Bugfixes:
- ensure remote functions exist before calling them
Version: 1.10.9
Date: 2019-05-19
Features:
- add LTN entities to picker dolly blacklist
- added map setting for default network ID #163
Version: 1.10.8
Date: 2019-04-21
Bugfixes:
- Stop distance cache is reset on version updates
Version: 1.10.7
Date: 2019-04-13
Features:
- Added on_dispatcher_no_train_found event #173
Bugfixes:
- Fixed nil error in debug log introduced in 1.10.6
Version: 1.10.6
Date: 2019-04-06
Bugfixes:
- Restore lamp color after fixing stop error #171
- always start with stop updated after a config change, ensure consistent data and filled tables
Version: 1.10.5
Date: 2019-03-30
Changes:
- moved more functionality to Opteras Library
Bugfixes:
- signal names are generated properly for locomotives and wagons with localised_name
Version: 1.10.4
Date: 2019-03-19
Changes:
- moved functionality to Opteras Library
Bugfixes:
- renaming stops in editor can cause errors
Version: 1.10.3
Date: 2019-03-14
Features:
- added on_delivery_pickup_complete
Changes:
- removed get_ prefix and _event suffix from events
Bugfixes:
- fixed potential upgrade path errors
Version: 1.10.2
Date: 2019-03-07
Features:
- added Stack Thresholds, only for items of course
Changes:
- refactored code into modules
- interface events return data formatted like base events, e.g. event.provided_by_stop, event.requests_by_stop
Bugfixes:
- fixed potential nil reference #157
Version: 1.10.1
Date: 2019-03-03
Features:
- recipes are more affordable with Bob Electronics
- added circuit network as dependency for technology
- fluid unloads signal fluids with constant -1 #154
Changes:
- switched dependency for creative-mode to the 0.17 re-release
Version: 1.10.0
Date: 2019-02-27
Features:
- updated to Factorio 0.17
- new thumbnail
- status lamp works without power
Version: 1.9.11
Date: 11.2.2019
Changes:
- removed placeholder dependency for Noxys Multidirectional Trains, use old versions at own peril
Version: 1.9.10
Date: 10.2.2019
Features:
- added interface on_delivery_completed_event, {delivery = delivery, trainID = trainID}
- added interface on_delivery_failed_event, {delivery = delivery, trainID = trainID}
- added Provided_by_Stop to on_dispatcher_updated_event
Bugfixes:
- mining or destroying a train carriage will once again fail attached delivery
- Interface Stop data requester_priority always returned 0
- typo reqestPriority in initialization
Version: 1.9.9
Date: 3.2.2019
Bugfixes:
- Desync from 1.9.8 changes to update interval and stop index
Version: 1.9.8
Date: 3.2.2019
Features:
- support for rewritten Noxys Multidirectional Trains https://github.com/CyaNox/Noxys_Multidirectional_Trains/pull/8
- added Dispatcher.UpdateInterval to Interval
Bugfixes:
- Interface reported nil thresholds for error state stops
Version: 1.9.7
Date: 13.1.2019
Features:
- added setting "limit stops per tick"
- invalid stops have IO entities and references removed when encountered during runtime
Bugfixes:
- trying to write or read from invalid stop IO entities no longer crashes
- blueprints of ltn ports preserve circuit connections
- placing stops next to each other no longer links the wrong IO entities
Version: 1.9.6
Date: 12.12.2018
Features:
- added logistic port if cargo ships is active
Changes:
- performance tweaks
Bugfixes:
- handle layered icons of different sizes
Version: 1.9.5
Date: 7.12.2018
Changes:
- license exempts streaming from no commercial
Version: 1.9.4
Date: 16.11.2018
Features:
- lamp colors can also be read through red wire
- cables from hidden combinator to lamp no longer originate in the middle of the lamp sprite
Version: 1.9.3
Date: 23.10.2018
Bugfixes:
- fix corrupted stops in on_configuration_changed
- remove corrupt stops if fixing fails
Version: 1.9.2
Date: 15.10.2018
Bugfixes:
- left over init from 1.9.0 caused error #141
Changes:
- renamed remote interface ltn-interface to logistic-train-network
Version: 1.9.1
Date: 14.10.2018
Bugfixes:
- stops are removed before surface deletion #139
- added creative mode blacklisting to on_load
Changes:
- turned remote interface callbacks into events
- added interface demo to /Interface_Demo/control.lua
Version: 1.9.0
Date: 11.10.2018
Features:
- added remote interface callbacks to recieve stop and dispatcher data
Bugfixes:
- Trains arriving at depots in error state will not be added to available train list
Version: 1.8.2
Date: 2.10.2018
Bugfixes:
- setting Stop timeout was missing some description
- changing "Stop is Depot" signal to 0 didn't remove available train
- deactivating a depot through circuit condition didn't remove available train
- short circuited depot didn't remove available train
Version: 1.8.1
Date: 12.9.2018
Bugfixes:
- on_load checks for corrupt stops
Version: 1.8.0
Date: 17.8.2018
Features:
- added optional circuit conditions to schedules
Changes:
- enabled read from train for all ltn stops by default
- enabled send to train for all ltn stops by default
- generated schedules use ≥ (ltn stops still parse > for loading list output)
Version: 1.7.13
Date: 29.7.2018
Features:
- added notifications for skipping request processing due to no transport capacities in depot
- spam filter works with no-train-found notifications #128
Version: 1.7.12
Date: 20.7.2018
Bugfixes:
- recreate stops missing from global stop list in on_configuration_changed
Changes:
- removed incompatible flag of there-is-my-ghost 0.16.7 seems to work well with LTN
- removed creative mode from optional dependencies until it's updated to 0.16
Version: 1.7.11
Date: 15.7.2018
Changes:
- flagged there-is-my-ghost as incompatible until that mod stops messing up LTN's composite stop entity
Version: 1.7.10
Date: 17.6.2018
Bugfixes:
- Avoid nil error when station is renamed during build #122
Changes:
- pushed to 0.16.51 stable
Version: 1.7.9
Date: 31.5.2018
Bugfixes:
- newly created deliveries reset stop lamps from blue to yellow
- FARL (and possibly other mods) could mine IO entities
Version: 1.7.8
Date: 23.5.2018
Bugfixes:
- crash Key "icon_size" not found #116
Version: 1.7.7
Date: 12.5.2018
Changes:
- pushed to 0.16.36 stable
- added creative mode (fix for 0.16) to optional dependencies
- added requester network id to provider not found message
- added requester & provider merged network id to train not found and train found message
- moved train not found message to from detailed to notification level
Version: 1.7.6
Date: 37.3.2018
Features:
- parked trains controlled by LTN are signalled with blue lamp #106
Version: 1.7.5
Date: 3.3.2018
Bugfixes:
- Nil reference Error when deconstructing stop with set network id #107
Version: 1.7.4
Date: 17.2.2018
Changes:
- Replaced lua signal merging with api function
Version: 1.7.3
Date: 10.2.2018
Bugfixes:
- Error when copy-pasting station names https://forums.factorio.com/viewtopic.php?f=214&t=57578 and #102
Version: 1.7.2
Date: 3.2.2018
Features:
- remove filters and locked slots from trains entering a depot
- support entity icons with sizes other than 32x32 https://forums.factorio.com/viewtopic.php?f=48&t=57151
Bugfixes:
- renaming could cause wrong stations being removed from station name list https://forums.factorio.com/viewtopic.php?f=214&t=57371
Removed:
- Chinese translation, please use a language pack like https://mods.factorio.com/mod/zh-CN
Version: 1.7.1
Date: 20.1.2018
Bugfixes:
- automatically generated icons are always cropped to 32x32
Changes:
- Updated Chinese translation
Version: 1.7.0
Date: 20.1.2018
Features:
- Added binary encoded network ID
- Encoded position signals have unique icons
- Encoded position signals are properly grouped by locomotive and wagon types
Changes:
- Removed obsolete migration
Version: 1.6.4
Date: 14.1.2018
Bugfixes:
- Trains are reinitialized each configuration change to catch changes to locomotives and wagons
- Trains where not properly removed from lookup table when leaving stops
Version: 1.6.3
Date: 7.1.2018
Bugfixes:
- Error when removing depot in state yellow #95
Changes:
- pushed base to 0.16.14
Version: 1.6.2
Date: 30.12.2017
Features:
- in game changelog
Changes:
- pushed base to 0.16.8
- data phase item detection is more robust
- migrating from versions older than 1.1.1 displays error message
Version: 1.6.1
Date: 20.12.2017
Features:
- hr graphics
- yellow depot lamp color indicating a train with assigned delivery still being parked
Removed:
- migration support for versions < 1.1.1 (final Factorio 0.14 release)
Changes:
- stop timeout description no longer mentions inactivity #83
- train references from MainLocomotive.unit_number to train.id
- deliveries will be removed instantly if the assigned train changes composition e.g a wagon is removed
- lamp colors update faster
Bugfixes:
- mining a single locomotive parked at an ltn stop would not update the stop
Version: 1.6.0
Date: 14.12.2017
Features:
- updated to Factorio 0.16
- train composition signal for artillery wagon
Version: 1.5.5 - last build for Factorio 0.15
Date: 14.12.2017
Features:
- added depot inactivity setting
Changes:
- Mod Description includes LTN
Version: 1.5.4
Date: 8.12.2017
Features:
- option to reset delivery and schedule when trains leave requester
Version: 1.5.3
Date: 1.12.2017
Features:
- lamp outputs number of active deliveries as value of yellow signal (green wire only)
- lamp outputs error code as values of red/pink signal (green wire only)
- depots, short circuited and disabled stops reset stops active deliveries count completely (use to reset stops showing wrong counts)
Bugfixes:
- active deliveries to/from a stop sometimes isn't properly updated
Version: 1.5.2
Date: 13.11.2017
Changes:
- station time out from inactivity to time passed
- reduced overhead in on_train_changed_state
- pushed base to 0.15.37 (stable)
Version: 1.5.1
Date: 3.11.2017
Changes:
- updated Chinese translation
- stops deactivated by circuit condition or other scripts are not updated
- short circuited stops are skipped without reading circuit signals
- short circuit and deactivated error state take priority over duplicate name
Version: 1.5.0
Date: 17.10.2017
Features:
- added request priority control signal #22
Changes:
- changed provider priority icon to be in line with request priority
- changed provider prioritization to provider priority > #existing deliveries from provider > amount #69
Bugfixes:
- request threshold icon to show ≤ instead of ≥
- locked slots where subtracted from total train slots instead of per wagon
Version: 1.4.14
Date: 13.10.2017
Features:
- added mod setting "Dispatcher Enabled"
Version: 1.4.13
Date: 6.10.2017
Changes:
- reverted base dependency to 0.15.34 (stable)
Version: 1.4.12
Date: 2.10.2017
Features:
- allowed negative provider priority again #64
Changes:
- pushed base to 0.15.35
Version: 1.4.11
Date: 29.9.2017
Features:
- thresholds are read as absolute values
- ignore negative control signals except thresholds
Version: 1.4.10
Date: 15.9.2017
Changes:
- improved circuit signal read performance
- pushed base to 0.15.34
Version: 1.4.9
Date: 26.8.2017
Features:
- added localized mod title and mod description
Bugfixes:
- fixed possible integer overflow from mod settings
- limit max values on stop and delivery timeout to 1 hour
- limit other int settings to 2^32 -1
Version: 1.4.8
Date: 18.8.2017
Features:
- added more details to debug log messages
Changes:
- "no provider found" warning message changed from message level 2 to 1
- message level dropdown texts better reflect their behaviour
Version: 1.4.7
Date: 11.8.2017
Bugfixes:
- distance check could prevent better matching trains from being picked
- error encoding train composition for trains longer than 31 carriages #55
Version: 1.4.6
Date: 6.8.2017
Changes:
- bumped required Factorio version to current stable
Bugfixes:
- Dispatcher picked trains closest to request stop instead of providing stop
- local wagon capacity lookup table could potentially cause desync
Version: 1.4.5
Date: 1.8.2017
Changes:
- removed left over debug message
Version: 1.4.4
Date: 1.8.2017
Changes:
- performance optimizations
Bugfixes:
- deliveries where not properly reserved
Version: 1.4.3
Date: 30.7.2017
Bugfixes:
- fixed nil reference when no providers are available
Version: 1.4.2
Date: 30.7.2017
Changes:
- internally store train capacity for faster access when searching available trains
- rewritten Dispatcher logic
Version: 1.4.1
Date: 30.7.2017
Bugfixes:
- Items where not removed from providers after being added to an order
- orders where merged between different requester
Version: 1.4.0
Date: 17.7.2017
Features:
- Dispatcher is no longer limited to 1 train/s
Changes:
- Dispatcher goes through requests by age of requests/item instead of requests/stop
- spread dispatcher update over 3 ticks
Version: 1.3.5
Date: 8.7.2017
Features:
- "message level" for console messages only (no level 4: debug)
- "write debug logfile" checkbox for debug log generation into Factorio-current.log
Removed:
- "log level" and "log output" settings
Changes:
- provider prioritization making deliveries merge more reliably (#trains > provider priority > #existing deliveries from provider > amount)
Bugfixes:
- potential nil reference during stop update
Version: 1.3.4
Date: 21.6.2017
Changes:
- code cleanup
- train state change and train created events are only active if LTN stops exist
Version: 1.3.3
Date: 18.6.2017
Changes:
- automatically set output combinator limit
- exceeding output slot size results in some signals being not generated by the output and a console message
Version: 1.3.2
Date: 4.6.2017
Changes:
- Chinese translation
Bugfixes:
- fixed error with no longer existing items #43
Version: 1.3.1
Date: 2.6.2017
Features:
- added support for force merging
Changes:
- added force to deliveries
Version: 1.3.0
Date: 2.6.2017
Features:
- Request Threshold and Provide Threshold
- Disable Warnings Messages control signal #34
- limit messages to force where possible #40
- workaround for fluid wagon residue #31
Removed:
- Minimum Delivery Size and Ignore Minimum Delivery Size
- Best Effort, Provide Threshold = 1 does the same now
- toggle to loading list, stops only show expected inventory after loading
Version: 1.2.8
Date: 24.5.2017
Features:
- added German locale
- added 128x128 tech icon
- overloaded trains no longer cause requesters to flip to providers during delivery #33
Changes:
- set expected train inventory to default to active
Bugfixes:
- bug in Chinese locale
Version: 1.2.7
Date: 19.5.2017
Bugfixes:
- potential nil references in first_signal and stop ghost entities
Version: 1.2.6
Date: 17.5.2017
Bugfixes:
- error when schedule is referencing non existing items
Version: 1.2.5
Date: 16.5.2017
Changes:
- replaced workaround with get_fluid_count and get_fluid_contents
Version: 1.2.4
Date: 13.5.2017
Features:
- added toggle between output of positive load, negative unload amount and expected train inventory after (un-)loading
- added Chinese locale by 745275633
- formated setting descriptions, should be less wall of text
Bugfixes:
- a crash when adding carriages to trains parked at provider or requester
Version: 1.2.3
Date: 9.5.2017
Features:
- duplicate names are checked across all train-stops instead of only LTN Stops
Changes:
- improved performance of checking duplicate names by using events introduced with 0.15
Bugfixes:
- desync https://forums.factorio.com/viewtopic.php?f=23&t=46873
- dispatcher picks providers with incompatible train length
Version: 1.2.2
Date: 7.5.2017
Changes:
- overloading trains updates delivery size once per update interval (before update was only done once train leaves provider)
Bugfixes:
- overloading trains reserved too much of an item/fluid in provider
- fluid deliveries where accidentally deleted at departure from provider
Version: 1.2.1
Date: 1.5.2017
Changes:
- updated mod setting descriptions
- replaced floating-text hack to get inventory sizes with 0.15 functions
- added support of icons{} to signal generation
Version: 1.2.0
Date: 29.4.2017
Features:
- updated to Factorio 0.15
- added support for any Fluid Wagon for fluid transport
- config.lua settings moved to options-mod settings
Removed:
- support of RailTanker (RailTankers will be ignored, removed fake item conversions)
- removed grey detection signal from output
Changes:
- short circuit detection uses network id
Version: 1.1.3 - last version for Factorio 0.14
Date: 19.5.2017
Bugfixes:
- fixed error when schedule is referencing non existing items
- fixed potential nil references in first_signal and stop ghost entities
Version: 1.1.1
Date: 24.4.2017
Features:
- speed up loading by skipping parts of initialization according to old_version
Changes:
- automatically remove orphaned lamp control entities
- messages differing only in item count are treated as the same message by the message filter
- decreased delivery-removed-timeout and delivery-removed-train-invalid from log level 2 to 1
Bugfixes:
- deconstruction of broken stops properly removes stop and surrounding I/O entities