Page 1 of 1

Assembling machine infinitely buffers after decreasing speed

Posted: Fri Jun 09, 2017 6:19 am
by Optera
It's possible to break max input buffer using loaders.

Without modules and beacons the assembler buffers to 144 iron 244 copper cables.
Baseline
Baseline
2017-06-09-07-56-12-5667079.jpg (426.67 KiB) Viewed 6222 times
after boosting it to ridiculous +7000% the buffer grew to 186 iron 469 copper cable
boosted to +7000%
boosted to +7000%
2017-06-09-08-00-30-2034439.jpg (454.32 KiB) Viewed 6222 times
BUT when I remove the beacons so the assembler is holding more than its buffer allows it starts buffering forever.
Assembler of infinite holding
Assembler of infinite holding
2017-06-09-08-11-08-5319542.jpg (436.86 KiB) Viewed 6222 times

Re: Assembler of infinite holding

Posted: Fri Jun 09, 2017 6:38 am
by golfmiketango
This is awesome but pretty clearly a bug. Still, I'd really like to have one. It actually is not a completely unbalanced behavior -- since you can't get the stuff you put into it out automatically without deconstructing it, but instead a trickle of some other product, an argument could be made that factorissimo (for example) is way more OP. Actually deconstructing the thing is probably a fun way to fill your field of vision with bots.

Re: Assembler of infinite holding

Posted: Fri Jun 09, 2017 5:14 pm
by Rseding91
That's working as intended. The amount in the assembling machine scales with the speed boost.

In your case you turned the speed boost up to crazy levels and got crazy results - exactly as I programmed it to work.

Re: Assembler of infinite holding

Posted: Fri Jun 09, 2017 6:39 pm
by Optera
Rseding91 wrote:That's working as intended. The amount in the assembling machine scales with the speed boost.

In your case you turned the speed boost up to crazy levels and got crazy results - exactly as I programmed it to work.
When I first heard of this that was my initial thought too, but this bug is slightly different.

+7000% speed only has a moderate increase in buffer capacity.
The bug happens when you remove the speed bonus while still having the buffer filled to the increased size. This seems to break all limits and allows for infinite number of items to be inserted.

Re: Assembler of infinite holding

Posted: Tue Oct 17, 2017 2:49 pm
by Ruin
Any update on this issue? It really makes loaders unplayable (for me at least) in late game Bob/Angel facs.

Re: Assembling machine infinitely buffers after decreasing speed

Posted: Tue Oct 17, 2017 5:06 pm
by Optera
The devs seem to consider this not a bug.

I added Inventory Sensors to all Loader fed crafting machines and only enable the belt in front of the loader if the machine contains < 200 items.

Re: Assembling machine infinitely buffers after decreasing speed

Posted: Tue Oct 17, 2017 11:19 pm
by Rseding91
I can't reproduce what you describe. It never goes above 144 iron plates no matter how many speed modules in beacons I put around the assembling machine.

Re: Assembling machine infinitely buffers after decreasing speed

Posted: Tue Oct 17, 2017 11:27 pm
by Cribbit
Rseding91 wrote:I can't reproduce what you describe. It never goes above 144 iron plates no matter how many speed modules in beacons I put around the assembling machine.
It sounds like the bug happens when you remove speed modules while the buffer is above what the new buffer would be.

It sounds like this might be reproduceable without crazy beaconing.

Re: Assembling machine infinitely buffers after decreasing speed

Posted: Tue Oct 17, 2017 11:40 pm
by Rseding91
Cribbit wrote:
Rseding91 wrote:I can't reproduce what you describe. It never goes above 144 iron plates no matter how many speed modules in beacons I put around the assembling machine.
It sounds like the bug happens when you remove speed modules while the buffer is above what the new buffer would be.

It sounds like this might be reproduceable without crazy beaconing.
That's what I tried but I could never get it above 144.

Anyway, I think I fixed it but without a reliable way to get it above 144 I can't say for sure.

Re: Assembling machine infinitely buffers after decreasing speed

Posted: Wed Oct 18, 2017 1:14 pm
by Optera
Rseding91 wrote:
Cribbit wrote:
Rseding91 wrote:I can't reproduce what you describe. It never goes above 144 iron plates no matter how many speed modules in beacons I put around the assembling machine.
It sounds like the bug happens when you remove speed modules while the buffer is above what the new buffer would be.

It sounds like this might be reproduceable without crazy beaconing.
That's what I tried but I could never get it above 144.

Anyway, I think I fixed it but without a reliable way to get it above 144 I can't say for sure.
With base beacons and modules the green circuit recipe is always filled to 152 iron plates, 252 copper cable by loaders regardless of speed bonus.
Using modded super speed modules e.g Creative Mode, forces the recipe to load more than above numbers.
After removing the speed boost the effect still triggers for any input holding more than the fill level at base speed.

Re: Assembling machine infinitely buffers after decreasing speed

Posted: Mon Oct 23, 2017 7:25 pm
by Ruin
Thanks for looking at it. :) What version should we test in to see if a fix works? I would get into trouble with late game beacon madness trying to load barrels in Angel's Petrochem fast enough to make rocket fuel in large amounts.

Re: Assembling machine infinitely buffers after decreasing speed

Posted: Mon Oct 23, 2017 7:44 pm
by daniel34
Ruin wrote:Thanks for looking at it. :) What version should we test in to see if a fix works? I would get into trouble with late game beacon madness trying to load barrels in Angel's Petrochem fast enough to make rocket fuel in large amounts.
0.16.0.

Re: Assembling machine infinitely buffers after decreasing speed

Posted: Thu Jan 18, 2018 1:45 pm
by wolfling
Factorio Bug - Assembler overflow.png
Factorio Bug - Assembler overflow.png (1.41 MiB) Viewed 5563 times
Here's an image of what's happening; the assembler highlighted is currently holding over 30,000 units of cellulose. Note the quantity in the GUI on the RHS of the screen.
All the cellulose on the ground is from when I tried to change a different assembler's recipe and it dumped 80k on the ground (FPS of 4.5 for twenty minutes because of that...)