[2.0.10] Signal splits block on wrong side of crossing

We are aware of them, but they have low priority. We have more important things to do. They go here in order not to take space in the main bug thread list.
Bocian
Burner Inserter
Burner Inserter
Posts: 10
Joined: Tue May 12, 2020 6:50 pm
Contact:

[2.0.10] Signal splits block on wrong side of crossing

Post by Bocian »

Sometimes a signal will split a rail block in an incorrect position, offset by a few tiles. It can lead issues like this, where the split happens on the opposite side of the crossing to where the signal was placed.
Image
Attachments
2.png
2.png (829.84 KiB) Viewed 292 times
Loewchen
Global Moderator
Global Moderator
Posts: 9336
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [2.0.10] Signal splits block on wrong side of crossing

Post by Loewchen »

Post the save please, see 3638.

Ref.: 119270
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3078
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [2.0.10] Signal splits block on wrong side of crossing

Post by boskid »

I can tell you entire history of why this signal spot exists to conclude why this is a minor/wont fix.

During 2.0 development we tried if its possible to build a 2-gap T-junction and it was possible, however it was only possible to correctly put signals if the rail system was left hand drive. This made one of devs angry and alternative signal spots were added to allow for correct T-junction build:
11-12-2024, 22-04-37.png
11-12-2024, 22-04-37.png (675.55 KiB) Viewed 180 times
Here you may notice this exact case where signal is built slightly far from the ralted rail end:
11-12-2024, 22-05-33.png
11-12-2024, 22-05-33.png (251.95 KiB) Viewed 180 times
This is why this specific rail has alternative signal spots that are binding to the same rail end:
11-12-2024, 22-06-13.png
11-12-2024, 22-06-13.png (370.93 KiB) Viewed 180 times
Problem is that this signal spot is far enough from one of its ends that it is possible to build rails between a signal and rail piece end.

I am not willing to add bits of logic to make this signal decide to bind to the other end of a rail as in this case both ends would still remain valid and i would have to add some extra collision condition to prevent it from selecting split on the "wrong" side.

It is slightly annoying given that it breaks one of the expectations but i think this outweights the benefits of having this extra signal spot available and as such i am going to move this to Minor issues.
Abex
Manual Inserter
Manual Inserter
Posts: 2
Joined: Fri Jun 10, 2016 7:43 pm
Contact:

Re: [2.0.10] Signal splits block on wrong side of crossing

Post by Abex »

This leads to very confusing situations, like the following blueprint where the short curved rail causes the signal to become invalid despite being visually quite far away.
2024-11-21_23-09-28.png
2024-11-21_23-09-28.png (185.14 KiB) Viewed 83 times


This is especially hard to debug when you place down a bunch of T junctions that overlap each other and they suddenly all become invalid.
2024-11-21_23-11-50.png
2024-11-21_23-11-50.png (1003.28 KiB) Viewed 83 times
Ideally it would split the segments where the signal actually lives, but failing that, it would be nice if there was a bit more feedback on how the rail is failing to split. The "sensor" across the track disappears on the problematic signals, but they all show the same in the signal planner and have the same "Cannot divide segments" message. It would be nice if the problematic ones more explicitly said that their split point was covered by the same track hitbox on both sides, and/or the ones that were able to split indicated that in the signal planner.
Post Reply

Return to “Minor issues”