[0.12.4] [kovarex] items with roboport can lock up during crafting

This subforum contains all the issues which we already resolved.
reddutton
Long Handed Inserter
Long Handed Inserter
Posts: 53
Joined: Sun Jul 19, 2015 12:35 am
Contact:

[0.12.4] [kovarex] items with roboport can lock up during crafting

Post 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
ice_screenshot_20150824-183000.png (152.52 KiB) Viewed 14808 times
thy may be stupid but thy am smart (reddutton 2006 seconlife)
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: 0.12.4 items with roboport can lock up during crafting

Post by kovarex »

Can you provide the save as well?
codewarrior
Long Handed Inserter
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

Post 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.)
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.12.4] [kovarex] items with roboport can lock up during crafting

Post 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.
reddutton
Long Handed Inserter
Long Handed Inserter
Posts: 53
Joined: Sun Jul 19, 2015 12:35 am
Contact:

Re: [0.12.4] [kovarex] items with roboport can lock up during crafting

Post by reddutton »

save file
factori-bug-save.zip
(29.89 MiB) Downloaded 268 times
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
thy may be stupid but thy am smart (reddutton 2006 seconlife)
codewarrior
Long Handed Inserter
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

Post 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!
User avatar
Adil
Filter Inserter
Filter Inserter
Posts: 945
Joined: Fri Aug 15, 2014 8:36 pm
Contact:

Re: [0.12.4] [kovarex] items with roboport can lock up during crafting

Post by Adil »

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.
mooop12
Burner Inserter
Burner Inserter
Posts: 11
Joined: Fri Aug 22, 2014 8:05 am
Contact:

Re: [0.12.4] [kovarex] items with roboport can lock up during crafting

Post by mooop12 »

I'm experiencing this issue in 0.12.5, can anyone confirm?
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.12.4] [kovarex] items with roboport can lock up during crafting

Post by kovarex »

That is strange, is it the same save?
mooop12
Burner Inserter
Burner Inserter
Posts: 11
Joined: Fri Aug 22, 2014 8:05 am
Contact:

Re: [0.12.4] [kovarex] items with roboport can lock up during crafting

Post 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.
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.12.4] [kovarex] items with roboport can lock up during crafting

Post by kovarex »

Thanks, fixed for 0.12.7

This one was related to the change of higher assembling machine overload in high speed.
codewarrior
Long Handed Inserter
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

Post 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.
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.12.4] [kovarex] items with roboport can lock up during crafting

Post by kovarex »

Well, but the other inserter still can insert other items, so this is not game breaking.
ccik
Inserter
Inserter
Posts: 39
Joined: Sun Mar 16, 2014 11:46 am
Contact:

Re: [0.12.4] [kovarex] items with roboport can lock up during crafting

Post 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.
Post Reply

Return to “Resolved Problems and Bugs”