[ISSUE] - Decider Combinator

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
vvv99
Burner Inserter
Burner Inserter
Posts: 8
Joined: Tue Sep 12, 2023 4:39 am
Contact:

[ISSUE] - Decider Combinator

Post by vvv99 »

Hello,

Have an issue with decider combinator returning wrong values. Please see the below images. Image#1 is from the "Map Editor" and Image#2 is from the game play.

This circuit is not mine and was designed by some one else.
designer-filter-item.png
designer-filter-item.png (2.24 MiB) Viewed 172 times
game-filter-item.png
game-filter-item.png (16.1 MiB) Viewed 172 times

The formulae in each of the marked Arithmetic Combinator (AC) / Decider Combinator (DC) is as follow.

AC-1. Gets input signal from "Constant Combinator" (here Inserter) and adds 20Million to this value
AC-2. On Green, gets input signals from Roboport, & on Red, gets input from AC-1. For "EACH" signal, adds 0 to it and outputs it.
DC-3. For "ANYTHING" > 20Million, outputs the signal (HERE IS THE ISSUE)
AC-4. Reduces 20Million from the output from DC-3 and Outputs it to AC-5
AC-5. Reduces 1 from this signal and outputs it.

Last edited by vvv99 on Wed Jul 23, 2025 5:14 am, edited 1 time in total.
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 4043
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [ISSUE] - Decider Combinator

Post by boskid »

Tertius
Smart Inserter
Smart Inserter
Posts: 1335
Joined: Fri Mar 19, 2021 5:58 pm
Contact:

Re: [ISSUE] - Decider Combinator

Post by Tertius »

vvv99 wrote: Wed Jul 23, 2025 5:10 am This circuit is not mine and was designed by some one else.
The problem with using other people's circuits is that you cannot assess how good this circuit is, and you don't even know if it is working at all.

You're now trying to debug a circuit that's inferior in the first place and designed for game version 1.1. A certain wildcard behavior was slightly changed for game version 2, and because of this it isn't working as expected with game version 2. And with game version 2 combinator functionality was added so the whole contraption can be condensed into 1 single decider combinator.

The ANY wildcard (the green one) was slightly changed if used as output. ANY as output picks one signal from the matching signals. In game version 1, if you use the ANY wildcard as condition as well as output, the ANY as output picked the same signal that was picked by ANY in the condition. In game version 2, the ANY as output picks from the whole set of inputs if you don't also use an EACH wildcard, because without EACH, matching signals are either all input signals or none. With EACH, the ANY picks one signal from the signals that matched with the EACH.

So the quick fix for your contraption is to replace the ANY in the condition of combinator 3 with the EACH wildcard.

However, you can replace all combinators with a single one in game version 2. It seems you want to pick one signal that's listed in the roboport inventory and also in the constant combinator.

This will pick all items in the roboport inventory that are also in the constant combinator. If you want just one of the matching items, replace the EACH wildcard in the output (just the one in the output) with the ANY wildcard. The crucial feature is you're able to compare and check values from red and green wire separately. That was not possible with 1.1, so the convoluted blueprint you used.
07-23-2025, 09-40-33.png
07-23-2025, 09-40-33.png (237.18 KiB) Viewed 135 times
For more combinator ideas with single and dual combinators, check this cookbook: viewtopic.php?p=654035#p654035
vvv99
Burner Inserter
Burner Inserter
Posts: 8
Joined: Tue Sep 12, 2023 4:39 am
Contact:

Re: [ISSUE] - Decider Combinator

Post by vvv99 »

boskid wrote: Wed Jul 23, 2025 6:34 am viewtopic.php?p=667188#p667188
Thanks! That clarifies the current behaviour.

Regards,
vvv99
Burner Inserter
Burner Inserter
Posts: 8
Joined: Tue Sep 12, 2023 4:39 am
Contact:

Re: [ISSUE] - Decider Combinator

Post by vvv99 »

Tertius wrote: Wed Jul 23, 2025 7:42 am
vvv99 wrote: Wed Jul 23, 2025 5:10 am This circuit is not mine and was designed by some one else.
The problem with using other people's circuits is that you cannot assess how good this circuit is, and you don't even know if it is working at all.

You're now trying to debug a circuit that's inferior in the first place and designed for game version 1.1. A certain wildcard behavior was slightly changed for game version 2, and because of this it isn't working as expected with game version 2. And with game version 2 combinator functionality was added so the whole contraption can be condensed into 1 single decider combinator.
---
Thank you for the link to the cookbook.

Regards,
Post Reply

Return to “Gameplay Help”