Page 1 of 1

[2.0.15] inserter with filter not handling spoilage properly

Posted: Tue Nov 12, 2024 7:26 pm
by siwy2411
Hi everybody.

I have an (long handed) inserter filtered for spoilage removing spoilage from my iron bacteria recipe assembler on Gleba. For reasons unclear to me it get's stuck from time to time in "waiting for source items" status, even though the assembler's production is stuck due to spoilage filling up the output.
11-12-2024, 20-20-53.png
11-12-2024, 20-20-53.png (3.49 MiB) Viewed 481 times
Manually (or "robotically" removing the spoilage makes the whole process un-stuck, same effect can be achieved by deconstructing and reconstructing either the assembler, or the inserter. What is kind of interesting is that the spoilage seems to be present in the output slot reserved for iron bacteria, which should spoil into iron ore, and not spoilage:
11-12-2024, 20-20-19.png
11-12-2024, 20-20-19.png (591.94 KiB) Viewed 481 times
11-12-2024, 20-21-13.png
11-12-2024, 20-21-13.png (383.08 KiB) Viewed 481 times
I even added another spoilage-removing inserter (in bottom right corner of the assembler), but same issue occurs over there as well.
I'm not entirely sure what triggers this bug, but it occurs periodically (I had to un-stuck that process several times already).
log file:
factorio-current.log
(8.89 KiB) Downloaded 3 times
save file:
spejs - platforma na aquilo [WIP].zip
(31.07 MiB) Downloaded 10 times
Edit: I forgot to mention, that exactly same thing happens for similarly configured copper bacteria process.

Re: [2.0.15] inserter with filter not handling spoilage properly

Posted: Wed Nov 13, 2024 2:04 am
by Rseding91
The save you provided is not in the stuck state and doesn't appear to get stuck when I run it. Is there anything special I need to do for it happen?

Re: [2.0.15] inserter with filter not handling spoilage properly

Posted: Wed Nov 13, 2024 7:11 pm
by siwy2411
That's interesting. I just downloaded the save from my post, pasted it into proper directory, loaded it in the game and both iron bacteria and copper bacteria machines are definitely stuck :)
Not sure how that's possible and how to help you reproduce - I'm not using any mods, my game version is 2.0.15, build 80108, and the issue is present for quite some time already.

It might be possible that I'm overlooking something absolutely obvious, but I can clearly see machine stuck in "Output full" state, with output being full of spoilage, and inserter filtered for spoilage configured to take stuff out of the machine stuck in "Waiting for source items" state...

EDIT: I did the test above (downloading save file from the forum and loading it up in the game) on another computer I have Factorio (same version and build) installed on and both machines are stuck there as well.

Re: [2.0.15] inserter with filter not handling spoilage properly

Posted: Wed Nov 13, 2024 7:54 pm
by Rseding91
Ok, I figured out my issue and was able to load it into the stuck state. I was also able to figure out how it's getting stuck and will work on a fix.

Re: [2.0.15] inserter with filter not handling spoilage properly

Posted: Wed Nov 13, 2024 8:44 pm
by Rseding91
This is now fixed for the next release.

Re: [2.0.15] inserter with filter not handling spoilage properly

Posted: Wed Nov 13, 2024 8:50 pm
by siwy2411
Awesome!

You guys probably get this a lot lately, but nevertheless - thanks for such great game! I was a bit worried, that several planets will feel repetitive, but somehow you managed to dodge that bullet! Thanks a lot for many hours of great fun :)