Decider combinator GUI showing mismatched input/ouput

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
report0r
Burner Inserter
Burner Inserter
Posts: 8
Joined: Thu Aug 22, 2024 3:39 pm
Contact:

Decider combinator GUI showing mismatched input/ouput

Post by report0r »

When input signals are changing fastly, output from decider combinator GUI can mismatch its input.

How to reproduce: In attached picture, two selector combinators select one random signal from one constant combinator with A=1 B=-1, their ouputs are wired into a decider combinator that only ouputs its inputs when every input is negative. Then pause the game multiple times you will see sometimes the signals mismatch.
Attachments
427520_20260726121133_1.png
427520_20260726121133_1.png (3.73 MiB) Viewed 131 times
mmmPI
Smart Inserter
Smart Inserter
Posts: 5215
Joined: Mon Jun 20, 2016 6:10 pm
Contact:

Re: [2.1.12] Decider combinator GUI showing mismatched input/ouput

Post by mmmPI »

This is how combinator works, if you use the /editor to pause the game, you can more precisely control time flow, the game update circuit values at most 60 times per second, every tick, and it takes 1 tick for the value in the input of a combinator to pass through the output. The mismatch you see is most likely that 1 tick delay.
Check out my latest mod ! It's noisy !
report0r
Burner Inserter
Burner Inserter
Posts: 8
Joined: Thu Aug 22, 2024 3:39 pm
Contact:

Re: Decider combinator GUI showing mismatched input/ouput

Post by report0r »

Thanks, it makes sense. I understand how combinator works, didn't realized that input/output signals in GUI reflect current tick state.
Post Reply

Return to “Gameplay Help”