[Rseding91] [0.17.9] Invalid Rail Signals provide strange network signal behavior

This subforum contains all the issues which we already resolved.
Post Reply
Littleman9Mew2
Manual Inserter
Manual Inserter
Posts: 4
Joined: Wed Aug 30, 2017 12:20 am
Contact:

[Rseding91] [0.17.9] Invalid Rail Signals provide strange network signal behavior

Post by Littleman9Mew2 »

I've been working with rail signals with wire and discovered an odd bug in the signal logic when they aren't attached to a track. This applies to both the regular and chain signals. When they aren't attached or placed in an invalid spot, they flash Green -> Yellow -> Red -> Green. However with them hooked up to wires, they actually output something different. The Rail signals output a constant green signal. As evidenced by the lamp in the attachment. While chain signals output seems to change based on when it was connected. When it updates, it goes to the next color. But it only updates upon receiving a wire update. So usually, it's "green" when it's placed, but when hooked up, it goes to "Yellow" and if I hook up another wire to it, or remove it. The output changes to "red" while it continues to be animated without the actual signal itself changing.

I think it should be fixed so that it outputs the cycling colors too. It can make a nice simple clock for wiring! Besides, I don't think it's intended behaviour for either of them to stick to one signal while it cycling like that. Especially with the chain signals strange "change on a wire attaching update" behavior.

The behavior applies even to invalid placed signals on tracks.

The behavior goes to normal as soon as it's placed on a track without being invalid.
[EDIT: oops. Forgot to mark the title, but it has existed before 0.17]
Attachments
The wire outputs are green and red, but the object cycles the colors without updating the signals.
The wire outputs are green and red, but the object cycles the colors without updating the signals.
Capture.PNG (263.28 KiB) Viewed 1359 times

User avatar
TruePikachu
Filter Inserter
Filter Inserter
Posts: 978
Joined: Sat Apr 09, 2016 8:39 pm
Contact:

Re: [0.17.9] Invalid Rail Signals provide strange network signal behavior

Post by TruePikachu »

This...sounds like it could potentially break determinism. Have you tested this in multiplayer to see if it causes a desync?

Rseding91
Factorio Staff
Factorio Staff
Posts: 12215
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.17.9] Invalid Rail Signals provide strange network signal behavior

Post by Rseding91 »

Thanks for the report. It's now fixed for the next version of 0.17.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”