[0.12.4] [kovarex] items with roboport can lock up during crafting
[0.12.4] [kovarex] items with roboport can lock up during crafting
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
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
thy may be stupid but thy am smart (reddutton 2006 seconlife)
Re: 0.12.4 items with roboport can lock up during crafting
Can you provide the save as well?
-
- Long Handed Inserter
- Posts: 64
- Joined: Fri Aug 07, 2015 7:31 am
- Contact:
Re: 0.12.4 items with roboport can lock up during crafting
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.)
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
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.
So it should not happen in 0.12.5.
Re: [0.12.4] [kovarex] items with roboport can lock up during crafting
save file
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
mods list in this post you will be standing at the asembler with the roboports in hand of asembler and no room to place in the asembler
thy may be stupid but thy am smart (reddutton 2006 seconlife)
-
- Long Handed Inserter
- Posts: 64
- Joined: Fri Aug 07, 2015 7:31 am
- Contact:
Re: [0.12.4] [kovarex] items with roboport can lock up during crafting
Perfect. Many thanks!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.
Re: [0.12.4] [kovarex] items with roboport can lock up during crafting
Hey, the same happens to wagons.
I do mods. Modding wiki is friend, it teaches how to mod. Api docs is friend too...
I also update mods, some of them even work.
Recently I did a mod tutorial.
I also update mods, some of them even work.
Recently I did a mod tutorial.
Re: [0.12.4] [kovarex] items with roboport can lock up during crafting
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
That is strange, is it the same save?
Re: [0.12.4] [kovarex] items with roboport can lock up during crafting
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.
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
Thanks, fixed for 0.12.7
This one was related to the change of higher assembling machine overload in high speed.
This one was related to the change of higher assembling machine overload in high speed.
-
- Long Handed Inserter
- Posts: 64
- Joined: Fri Aug 07, 2015 7:31 am
- Contact:
Re: [0.12.4] [kovarex] items with roboport can lock up during crafting
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.
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
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
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.
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.