[2.0.77] Selector combinators 'Random Input' doesn't update signal count

Bugs that are actually features.
Kirakian
Manual Inserter
Manual Inserter
Posts: 4
Joined: Wed Jul 24, 2024 5:07 pm
Contact:

[2.0.77] Selector combinators 'Random Input' doesn't update signal count

Post by Kirakian »

Selecter combinators 'Random Input' doesn't update signal count until it selects a new input. This causes my inserter to not have the actual stack size derived from the signal count and overfill the train wagon. I expected that it only selects a single signal to send through instead of creating a freeze frame of the signal. I would want this to be fixed, even if it is making it an option to have live signal count.

This is on 2.0.77 (build 84539 expansion, win64)

Blueprint string where I use 'Random Input' with the unexpected behavior:

User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 4812
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [2.0.77] Selector combinators 'Random Input' doesn't update signal count

Post by boskid »

Not a bug.
Kirakian
Manual Inserter
Manual Inserter
Posts: 4
Joined: Wed Jul 24, 2024 5:07 pm
Contact:

Re: [2.0.77] Selector combinators 'Random Input' doesn't update signal count

Post by Kirakian »

How is this not a bug if the 'Select Input' does update the signal count? What makes this different?
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 4812
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [2.0.77] Selector combinators 'Random Input' doesn't update signal count

Post by boskid »

It is Not a bug because current behavior matches the design decisions of how random input is supposed to work. Just because you want it to work differently does not make it a bug.

Current approach of freezing value when random input skips update was the most reasonable when considering various circuit contraptions for a universal mall where using update interval was used to make network of combinators with high latency propagate all signals down the network before new output was selected. What you are asking for is to have selector combinator freeze selection of the signal but still update the value of the selected signal. This would cause various problems because if you would have contraption where on input you either get signal-A=1 or signal-B=1 (but not both at the same time), when selector combinator would pick select-A to output, at some ticks it would output nothing because it still wants to output signal-A but at the current tick when signal selection is frozen the value would be 0 and as such the output would be empty.
Kirakian
Manual Inserter
Manual Inserter
Posts: 4
Joined: Wed Jul 24, 2024 5:07 pm
Contact:

Re: [2.0.77] Selector combinators 'Random Input' doesn't update signal count

Post by Kirakian »

Thank you for the explanation. I will try to find a work around for my situation.
Post Reply

Return to “Not a bug”