Page 1 of 1

[Genhis][2.0.16] Deconstruction cross causes wrong items to be removed from spidertrons

Posted: Sun Nov 10, 2024 1:01 pm
by teflillyphiliac
What did you do?
In a spidertron inventory, in remote view, right-click on multiple stacks of items of different types to apply deconstruction crosses.

What happened?
As items are carried away by construction bots, the inventory is automatically sorted. This causes items to move into earlier slots. As this happens any remaining deconstruction crosses do not move to follow the stack they were originally removing, but instead stay over the slots they were originally pointing at. This may now contain a different type of item. Construction bots will then start removing those items, instead of the ones instructed.

The wrong types of items, and sometimes the wrong number of items, may be removed.

If many deconstruction crosses are used at the same time this can get very messy, entriely the wrong items end up being removed.

What did you expect to happen instead?
Behaviourally: For each right-click, construction bots should eventually carry away exactly the number of items that were in that slot at the moment that it was right-clicked on. Unless that type of items runs out for some other reason before the construction bots can collect that number of items.
Visually: The deconstruction crosses should attempt to follow stacks of items as they move.

Does it happen always, once, or sometimes?
Always

Discussion

There seems to be a related issue with deconstruction crosses in roboports. While a deconstruction cross is active bots can fly away, or new bots can arrive. This leads to very confusing behavour. I do not know how many bots are actually deconstructed in this case. Often, the deconstruction cross can get stuck pointing at an empty inventory slot and won't go away. Closing the roboport and opening it again clears the stuck deconstruction cross.

Stuck deconstruction crosses on empty slots can also happen in spidertrons, although it seems to clear itself quickly without closing the inventory.

This issue implies that there could be issues with non-sorting inventories as well (such as chests and trains). If an inserter or logistics bots are adding or removing items from the inventory while a deconstruction cross is active the wrong number of items may be carried away by construction bots, although I have not tested this yet.

Re: [Genhis][2.0.16] Deconstruction cross causes wrong items to be removed from spidertrons

Posted: Tue Nov 12, 2024 2:41 pm
by ividyon
Video example of this and other issues with ghost stacks in vehicles:

https://cloud.hisui.moe/s/kyzLBXCKyL7sYjp

Re: [Genhis][2.0.16] Deconstruction cross causes wrong items to be removed from spidertrons

Posted: Wed Nov 13, 2024 12:28 am
by teflillyphiliac
That video captures it perfectly.
I think roboports also have the same issue with requested items shown in the video.