Page 1 of 1
[0.12.4] [kovarex] items with roboport can lock up during crafting
Posted: Mon Aug 24, 2015 10:50 pm
by reddutton
when crafting a items that contains a roboport and since the item stack size for roboports is 5 they will not go in to the assembler to let the other ingredients in the crafter
to reproduce use upgraded electric mod (
https://forums.factorio.com/forum/vie ... 93&t=13733) in save and automate the advanced roboport
it will run a coupple cycles then then when roboports are added it may try to add more than the assembler can take and will halt the production
- ice_screenshot_20150824-183000.png (152.52 KiB) Viewed 14821 times
Re: 0.12.4 items with roboport can lock up during crafting
Posted: Tue Aug 25, 2015 9:20 am
by kovarex
Can you provide the save as well?
Re: 0.12.4 items with roboport can lock up during crafting
Posted: Tue Aug 25, 2015 1:25 pm
by codewarrior
This is actually a specific case of a more general bug, which can be described as follows:
The player has the "Increased Inserter Stack Size" technologies, so the inserter can move 5 of an item at once. The assembly machine has an ingredient slot that has a non-multiple-of-5 number of items in the slot, and the stack limit for the item in the slot is small (usually equal to the number needed for the assembly recipe). The inserter will attempt to insert 5 items into the machine, but this would go over the stack limit for the slot, so it only inserts some of the items it is holding. Thus, the inserter gets stuck holding the rest of the items it picked up.
In Vanilla, you can usually observe this using Rocket Part ingredients due to their low stack size of 10, as follows:
- Research "Inserter Item Stack Size Bonus 4" and "Rocket Silo"
- Build a Rocket Silo
- Place a chest containing at least 20 of each Rocket Part ingredient. (Requester Chests are helpful).
- Place exactly one of each ingredient into the Rocket Silo by hand.
- Place an inserter between the chest and the silo.
The inserter will move exactly two handfuls of one of the ingredients, and it will stop after the second handful, unable to insert all of it into the silo.
(My workaround for the small stack sizes is to have one requester chest for each item type, so when one item gets stuck, the other items can still be inserted to continue crafting.)
Re: [0.12.4] [kovarex] items with roboport can lock up during crafting
Posted: Tue Aug 25, 2015 2:23 pm
by kovarex
Ok, so the limit now is max(3 X recipe requirements, stack size) + (inserter stack size bonus).
So it should not happen in 0.12.5.
Re: [0.12.4] [kovarex] items with roboport can lock up during crafting
Posted: Tue Aug 25, 2015 2:23 pm
by reddutton
save file
mods list in this post
https://forums.factorio.com/forum/vie ... 91#p102308
you will be standing at the asembler with the roboports in hand of asembler and no room to place in the asembler
Re: [0.12.4] [kovarex] items with roboport can lock up during crafting
Posted: Tue Aug 25, 2015 3:07 pm
by codewarrior
kovarex wrote:Ok, so the limit now is max(3 X recipe requirements, stack size) + (inserter stack size bonus).
So it should not happen in 0.12.5.
Perfect. Many thanks!
Re: [0.12.4] [kovarex] items with roboport can lock up during crafting
Posted: Tue Aug 25, 2015 4:34 pm
by Adil
Hey, the same happens to wagons.
Re: [0.12.4] [kovarex] items with roboport can lock up during crafting
Posted: Wed Sep 02, 2015 2:13 am
by mooop12
I'm experiencing this issue in 0.12.5, can anyone confirm?
Re: [0.12.4] [kovarex] items with roboport can lock up during crafting
Posted: Wed Sep 02, 2015 8:28 am
by kovarex
That is strange, is it the same save?
Re: [0.12.4] [kovarex] items with roboport can lock up during crafting
Posted: Wed Sep 02, 2015 12:53 pm
by mooop12
Tried it with the same save and it's ok, but on my save and a set of mods of my own it still seems bugged.
Here's my save with mods (I skipped WaiTex because of it's size):
https://www.dropbox.com/s/9o1t9ime4tigpig/bug.rar?dl=0
You will be next to a Assembling Machine that assembles Steam Engines MK3, and it is stuck trying to insert Steam Engines MK2 into it.
Re: [0.12.4] [kovarex] items with roboport can lock up during crafting
Posted: Tue Sep 08, 2015 12:29 pm
by kovarex
Thanks, fixed for 0.12.7
This one was related to the change of higher assembling machine overload in high speed.
Re: [0.12.4] [kovarex] items with roboport can lock up during crafting
Posted: Mon Oct 26, 2015 2:40 pm
by codewarrior
I've found another way the inserter can lock up while inserting items.
The allowed overload for assembly machines depends on the machine's speed.
The speed bonus provided by beacons is reduced when the beacon is not at 100% electricity.
When the speed bonus drops because your power needs are not met, an inserter can freeze while inserting an item.
This happens because the allowed overload for the machine shrunk while the inserter was in motion.
When the base is restored to 100% power, the inserter will resume inserting the item. However, if another inserter has already inserted that item and the assembly machine is fully loaded, the first inserter will remain frozen.
This hints that an inserter may also freeze if it is active while speed modules are removed.
Re: [0.12.4] [kovarex] items with roboport can lock up during crafting
Posted: Mon Oct 26, 2015 2:46 pm
by kovarex
Well, but the other inserter still can insert other items, so this is not game breaking.
Re: [0.12.4] [kovarex] items with roboport can lock up during crafting
Posted: Mon Oct 26, 2015 4:39 pm
by ccik
The same happens to cargo wagons, as already stated, and happens in 0.12.13
Inserters can also get stuck on filtered cargo wagons, depending on stack size filtered and inserter upgrade level. This is only a problem if you try to load different items through the same inserter.
Nothing game breaking, this can be avoided by configuring the stack sizes to multiples of the inserter stack upgrade, however, it is slightly annoying to change everything after you researched another upgrade. Also, the inserter locks up from time to time, due to not enough items.