Page 1 of 1

[2.0.12] Shift clicking twice bypasses stack limit in assemblers

Posted: Wed Oct 30, 2024 12:58 am
by hopefulfire
This was achieved by shift clicking items into the assembling machine while an inserter was putting items in. Space age dlc is not enabled. Vanilla.
10-29-2024, 20-55-08.png
10-29-2024, 20-55-08.png (266.64 KiB) Viewed 314 times
10-29-2024, 20-53-35.png
10-29-2024, 20-53-35.png (42.26 KiB) Viewed 314 times

Re: [2.0.12] Stack size overflow in assembling machine

Posted: Wed Oct 30, 2024 1:01 am
by Rseding91
Thanks for the report however that is intended. Inserters are allowed to put items over the stack size in situations such as this - it's to prevent them from getting stuck when you do exactly what you did.

Re: [2.0.12] Stack size overflow in assembling machine

Posted: Wed Oct 30, 2024 1:02 am
by hopefulfire
Yes, but it is going over the amount the inserter can insert in this case. I.E., the inserter can insert 2 at once, and I shift click, and it's 7 over or one time 12 over

Re: [2.0.12] Stack size overflow in assembling machine

Posted: Wed Oct 30, 2024 1:05 am
by Rseding91
hopefulfire wrote: Wed Oct 30, 2024 1:02 am Yes, but it is going over the amount the inserter can insert in this case. I.E., the inserter can insert 2 at once, and I shift click, and it's 7 over or one time 12 over
That's correct. That's intended as I said. If it didn't do it, the inserter would get stuck and you would need to manually fix the machine. Instead, we specifically coded it to allow the inserter to put the items in in this scenario and not get stuck.

Re: [2.0.12] Stack size overflow in assembling machine

Posted: Wed Oct 30, 2024 1:07 am
by hopefulfire
Actually, this is an issue even if there is no inserter pointing at the machine. Simply shift clicking twice is enough to cause the bug
10-29-2024, 21-10-01.png
10-29-2024, 21-10-01.png (316.84 KiB) Viewed 294 times

Re: [2.0.12] Stack size overflow in assembling machine

Posted: Wed Oct 30, 2024 1:17 am
by hopefulfire
As a result of this, If you time it right, you can shift click items into the machine at the same time that an inserter tries to insert an item, causing the inserter to get stuck because it can't add an item over the true limit which is 212. This circumvents the intention of allowing 212 items in the machine in the first place (12 items is the maximum a bulk inserter can move in vanilla)

Re: [2.0.12] Stack size overflow in assembling machine

Posted: Wed Oct 30, 2024 1:22 am
by hopefulfire
10-29-2024, 21-21-45.png
10-29-2024, 21-21-45.png (74.56 KiB) Viewed 280 times
10-29-2024, 21-23-53.png
10-29-2024, 21-23-53.png (151.43 KiB) Viewed 279 times
The inserter shown above is stuck because it can't insert into the assembling machine