Railway Tunnel (Alpha)


A railway tunnel so trains can cross under each other. An ALPHA release to demonstrate the concepts and completed functionality so far.

Content
2 years ago
1.1
2.00K
Transportation

b [bug in other mod] issue with se 0.6

2 years ago

not sure if worth looking at or im just dreamin but heres a heads up , when i load game without it loads fine but enable railway tunnel and bang doesnt load

2.973 Error ModManager.cpp:1558: Failed to load mod "space-exploration": space-exploration/data-final-fixes.lua:108: attempt to perform arithmetic on field 'max_health' (a nil value)
stack traceback:
space-exploration/data-final-fixes.lua:108: in main chunk
2.974 Loading mod core 0.0.0 (data.lua)
3.106 Checksum for core: 1476961332
3.165 Error ModManager.cpp:1558: Error in assignID: recipe-category with name 'crafting' does not exist.

2 years ago

That looks like a space ex bug from the message. It reads like they expect an optional value to be set, and apparently my mod doesn't set it, so space ex crashes rather than handle it nicely.

2 years ago

Hi, I checked with the SE team and they stated the first error will be fixed in the next release but there is a second error that is popping up. I posted the second error and their response to it. Not sure if this is something you plan on working on since mod compatibility isn't guaranteed any mod but I figure I would post what their dev team stated. I am not sure when their next release is planned to address the first error.

"Failed to load mods: entity prototype "railway_tunnel-invisible_signal-not_on_map" (rail-signal) collision mask does not collide with entity "rail-chain-signal" (rail-chain-signal).
rail signal collision masks must collide with all other rail signals.
railway_tunnel-invisible_signal-not_on_map modifications:Railway Tunnel > Space Exploration
rail-chain-signal modifications:base mod > Railway Tunnel > Space Exploration"

"It can be fixed by that mod adding an optional dependency on SE (so that it makes its collision mask changes after SE), or by moving its rail-signal collision mask changes to data-updates."

2 years ago

Yea this second error I am sort of not surprised by.
They are correct in the resolution, however, this would require me to test it with that mod to confirm it all works as expected and this change hasn't broken anything else on my side.

If this mod ever becomes active again and not just a proof of concept then I would address this :)