Railway Signalling Overseer

by Sopel

This is a mod for factorio that checks the visible railway in realtime and checks whether the signal placement is correct.

Utilities
3 months ago
1.1
2.14K

Changelog

Version 1.1.28
  Fixes:
    - Fix highlight_signals_assumed_correct attempting to highlight invalid signals, leading to a crash.
Version 1.1.27
  Fixes:
    - Fix data-final-fixes.lua was erroneusly still present.
Version 1.1.26
  Fixes:
    - Restrict selection tool in a proper way. Fix issues with alien biomes.
Version 1.1.25
  Fixes:
    - Revert 1.1.24 as it was producing false positives for roundabouts...
Version 1.1.24
  Improvements:
    - Recognize more instances of self-waits on chain signals. (only enabled for factorio >=1.1.62)
Version 1.1.23
  Fixes/Improvements:
    - Fix and improve chain signal suggestion logic once again.
Version 1.1.22
  Improvements:
    - Improve performance and accuracy of chain signal suggestions with new features from 1.1.62.
Version 1.1.21
  Features:
    - Add optional highlighting of signals marked as correct by the user.
Version 1.1.20
  Fixes:
    - Handle more cases when attempting to add tags to a blueprint.
    - Remove reliance on e.mapping for correct signal identification in a blueprint and related crashes.
    - Selection tool for marking correct signals will no longer select tiles.
Version 1.1.19
  Fixes:
    - Fix crash when destroying an entity without unit_number.
Version 1.1.18
  Features:
    - Add unassume functionality (alt selection)
  Improvements:
    - Replace correct-rail-signal entity with a tag stored in global. No more additional entities.
    - Partial workaround for https://forums.factorio.com/88100. Copy/cut should work correctly now.
  Fixes:
    - Fix config not saving through version changes.
Version 1.1.17
  Fixes:
    - Rectify correctness and consistency of partial expansion.
  Improvements:
    - Improve expansion logic recurrence condition
    - Use deepcopy only when necessary
    - Slight low-level optimizations
Version 1.1.16
  Fixes:
    - Fix crashes related to user selections of some kind.
    - Inform the user of the bug in factorio https://forums.factorio.com/88100 when applicable.
Version 1.1.15
  Improvements:
    - Replace correct-rail-signal in created blueprints with rail-signal with an appropriate tag. Allows removing the mod without compromising blueprints.
Version 1.1.14
  Features:
    - Add a special rail-signal entity that informs the script to assume it's correct.
    - Add a selection tool (under shortcut) to mark signals as correct.
Version 1.1.13
  Fixes:
    - Fix occasional graph connectivity inconsistencies.
Version 1.1.12
  Fixes:
    - Fix fusion logic for blocks like start of the stacker.
    - Fix segments sometimes being incorrectly marked as having uncertain chain signals.
    - Fix incorrect block determination when searching for space after chain signals.
Version 1.1.11
  Features:
    - Fuse blocks after a chain signal for length computation if there's no actual intersection.
    - Optional suggestions for (missing) chain signal placement.
  Fixes:
    - Highlighting sometimes not working for single-segment blocks.
Version 1.1.10
  Fixes:
    - Fixed crash when quickly rebuilding the rail.
Version 1.1.9
  Fixes:
    - Overlays are now only visible to the relevant player.
    - Wording and spelling.
  Features:
    - Optional rail highlights.
Version 1.1.8
  Improvements:
    - More optimizations to graph creation.
  Changes:
    - Make running a manual update disable automatic updates.
Version 1.1.7
  Improvements:
    - Optimizations regarding graph creations and overlay generation.
Version 1.1.6
  Features:
    - Allow multiple message overlays per segment.
  Fixes:
    - Fixed train calculation length.
    - Fixed crash on single update button click.
Version 1.1.5
  Features:
    - Added a button to force full map analysis.
Version 1.1.4
  Features:
    - Optionally show problems as alerts.
  Fixes:
    - Fixed results for chains that are not fully explored being drawn.
Version 1.1.3
  Features:
    - Manual single update and clear buttons.
    - Initial railway scan range selection slider.
  Fixes:
    - Fixed and improved graph creation and expansion.
    - Fixed stations being incorrectly recognized as rail signals.
Version: 1.1.2
  Fixes:
    - Fixed GUI state consistency issues.
Version: 1.1.1
  Fixes:
    - Fixed infinite recursion due to some cycles in the railway network.
    - More graceful handling of railways with two-way segments, at least no crashes.
    - Fixed crashes on open/close config caused by incorrect gui bookkeeping.
Version: 1.1.0
  Features:
    - Initial release.