When 2 inserters with stack bonus are chained together they can become deadlocked when handling single stack items. This only happens to single stack items and seems to be related to the fact they are placed on the ground if not actively wanted by anything by inserters. Whereas stackable items are held in hand by the inserter.
Setup
In the below screenshot ignore the lack of power, that's just to get things positioned.
Step 1: have an inserter with stack bonus try to unload multiple single stack items sequentially into the same tile. Seen in row 1 and 2 in image
Step 2: add a second inserter with stack bonus to try and pick up from the tile with the items placed on it. It will wait indefinitely.
Example Save game
Attached is a save game example of the bug in action. Base game with no mods to reproduce in 16.20.
The deadlock can be seen occurring in the save game below.
It also seems to be possible to occur if the first inserter is running faster than the second one. In this example save game the deadlock occurred after 5-10 inserter load actions without external input.
To clear the deadlock pickup the items between the 2 inserters (framed by the belt pointing at it).
[Rseding91] Single stack item deadlock chained inserters with stack bonu
- Muppet9010
- Filter Inserter
- Posts: 279
- Joined: Sat Dec 09, 2017 6:01 pm
- Contact:
[Rseding91] Single stack item deadlock chained inserters with stack bonu
- Attachments
-
- single stack item bug.zip
- single stack item bug example
- (1.52 MiB) Downloaded 186 times
- impetus maximus
- Smart Inserter
- Posts: 1299
- Joined: Sat Aug 20, 2016 10:07 pm
- Contact:
Re: Single stack item deadlock chained inserters with stack bonu
couldn't reproduce this. the second inserter just grabs the item from the first, then lastly grabs the item off the ground.
[edit]ok i see, it only happens with artillery shells.
[edit]ok i see, it only happens with artillery shells.
- Muppet9010
- Filter Inserter
- Posts: 279
- Joined: Sat Dec 09, 2017 6:01 pm
- Contact:
Re: Single stack item deadlock chained inserters with stack bonu
quick video made showing it attached, had to zip the mp4 to get it uploaded.
- Attachments
-
- Factorio 2018-01-28 20-09-22-556.zip
- demo video (zipped)
- (20.38 MiB) Downloaded 194 times
- Muppet9010
- Filter Inserter
- Posts: 279
- Joined: Sat Dec 09, 2017 6:01 pm
- Contact:
Re: Single stack item deadlock chained inserters with stack bonu
Oops say your edit after doing reply.
It seems to happen to any single stack count entity as I originally hit when using the universal pallet mod with loading & unloading pallets which are single stack items.
It seems to happen to any single stack count entity as I originally hit when using the universal pallet mod with loading & unloading pallets which are single stack items.
- impetus maximus
- Smart Inserter
- Posts: 1299
- Joined: Sat Aug 20, 2016 10:07 pm
- Contact:
Re: Single stack item deadlock chained inserters with stack bonu
yeah, stack size seems to be messing with the inserter stack logic.
- impetus maximus
- Smart Inserter
- Posts: 1299
- Joined: Sat Aug 20, 2016 10:07 pm
- Contact:
Re: Single stack item deadlock chained inserters with stack bonu
happens with stack sizes of 10 (infinity chest) with a stack inserter with full bonus.
Re: Single stack item deadlock chained inserters with stack bonu
Thanks for the report. It's now fixed for the next version of 0.16.
If you want to get ahold of me I'm almost always on Discord.