[1.1.104] Daisy-chained research labs can jam with modded tech costs

This subforum contains all the issues which we already resolved.
Hexicube
Fast Inserter
Fast Inserter
Posts: 218
Joined: Wed Feb 24, 2016 9:50 pm
Contact:

[1.1.104] Daisy-chained research labs can jam with modded tech costs

Post by Hexicube »

Currently using the following mod to inflate tech costs progressively:

https://mods.factorio.com/mod/Hexi_Scaling_Science_Cost

For visibility, I chose to actually modify the pack count and consumption time and not total number required, so that you can see what the multiplier is directly.

This initially was fine, merely causing increased storage per lab as each lab wants to store double the number of whatever the tech specifies. However, at a large enough multiplier (>100) this actually exceeds the capacity of the lab and inserters will sit there waiting for space for what's currently held since it will not check what actually fits. This then compounds as the inserter continues trying to reach the target fill amount (impossible) and the lab then runs out of another pack.

This looks like a combination of three separate issues:
1. Labs are trying to store double what's specified in the tech, rather than enough to cover a duration like assemblers do
2. Labs do not modify their stored capacity like assemblers do, for recipes that require more than a stack of input
3. Inserters do not check if the target inventory actually has space available for the item it wants to insert

The attached save gets stuck attempting to insert yellow science after hitting 502 packs of space science.

Ideally 1+2 is what gets fixed so that labs attempt to store a reasonable amount of science as well as scaling their input buffer as needed to do so, so that they work just like assemblers do.
Attachments
Science Lab Jam Test.zip
(983.86 KiB) Downloaded 52 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 15490
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [1.1.104] Daisy-chained research labs can jam with modded tech costs

Post by Rseding91 »

Thanks for the report. This is now fixed for 2.0.
If you want to get ahold of me I'm almost always on Discord.
Hexicube
Fast Inserter
Fast Inserter
Posts: 218
Joined: Wed Feb 24, 2016 9:50 pm
Contact:

Re: [1.1.104] Daisy-chained research labs can jam with modded tech costs

Post by Hexicube »

This has resurfaced on 2.0.43 (probably earlier versions too, I only recently updated the mod).

I have a tech set to 250x of each pack per unit (default mod settings, follower robot count 7) and the labs will fill to 500 but the inserter still has extra packs in hand and can't do work until it clears out.
User avatar
PennyJim
Fast Inserter
Fast Inserter
Posts: 107
Joined: Wed Jan 18, 2023 3:49 am
Contact:

Re: [1.1.104] Daisy-chained research labs can jam with modded tech costs

Post by PennyJim »

Hexicube wrote: Sat Apr 19, 2025 7:41 pm This has resurfaced on 2.0.43 (probably earlier versions too, I only recently updated the mod).
You'll want to make a new bug report.
Post Reply

Return to “Resolved Problems and Bugs”