Space Route Overlay


Automatically adds Colored overlays to space routes/connections based on local asteroids

Utilities
3 hours ago
2.0 - 2.1
1.53K
Factorio: Space Age Icon Space Age Mod

g [Fixed] Crash when mod uses "stargate" space locations

10 days ago

My new mod, Planet Prismaris, uses the same "stargate" space locations as Aegis & Bellicos, and shares the same internal naming convention. However, when I try to load my mod and Space Route Overlay it causes a crash because the setting "SRO-special-graphics-stargates" doesn't exist unless Aegis & Bellicos is also installed. I've got a temporary compatibility patch that's going to go live shortly, but I figured it'd better let you know so it can be fixed on your end.

Error message for your reference:
Failed to load mods: ...route-overlay__/prototypes/render-connection-overlay.lua:265: attempt to index field 'SRO-special-graphics-stargates' (a nil value)
stack traceback:
...route-overlay__/prototypes/render-connection-overlay.lua:265: in main chunk
[C]: in function 'require'
space-route-overlay/data-final-fixes.lua:1: in main chunk

My suggestion to prevent the crash in the future is to make sure the setting always exists but is marked as "hidden = true" if no relevant mod is installed.

10 days ago

Thank you for raising this issue. A fix has been implemented in version 0.3.6, the setting will be available regardless of Aegis & Bellicos's presence.

On an unrelated side-note, would it be alright for me to integrate a compatibility for Planet Prismaris in Share Your Stargates?

10 days ago

That'd be awesome, but it's actually not really needed. Prismaris already detects when Aegis & Bellicos or Share Your Stargates is installed and uses that stargate instead. I got the idea from those two mods in the first place and built it from the ground up to work with them.

New response