refinedpipes icon indicating copy to clipboard operation
refinedpipes copied to clipboard

Extractors pulling more items than required, leading to items flung out of pipes

Open DrUltraLux opened this issue 4 years ago • 7 comments

In this case a Furnace requests a log if it reaches 63 logs in the stack. A diamond extractor set to 1 item whitelisting logs, pulls the log from a chest and sends the log along the pipe. However it continues sending more logs along the pipe until the first log reaches the destination. The furnace now full refuses more items and the remaining logs are flung out of the pipes onto the floor.

A complex setup involving redstone comparitors etc. can be used to solve this by pulsing a redstone signal to the extractor. However this seems against the spirit of the mod.

DrUltraLux avatar Apr 25 '20 15:04 DrUltraLux

https://user-images.githubusercontent.com/15698722/107132041-6cd73a80-68a1-11eb-9802-576d94b5c478.mp4

Video of it

aaronhowser1 avatar Mar 08 '21 09:03 aaronhowser1

I am working on a fix for this.

raoulvdberge avatar Mar 08 '21 13:03 raoulvdberge

The issue is that it's basically just oversending. It has to take in account the items that are already on the way.

In theory this is easy to fix, but the accounting on the inventory destination side is hard to do since it's not possible to simulate insert batches of items, so we have to do an estimation, that would work most of the time.

raoulvdberge avatar Mar 08 '21 13:03 raoulvdberge

Additionally, I think if the estimation is unexpectedly wrong the Items should bounce back to the original inventory.

Optionally otherwise maybe play a sound when the item gets ejected?

Then there is also the problem of ending up with tons of items on the ground. Might need to check how many items are in the area before dropping anything.

Darkere avatar Mar 08 '21 14:03 Darkere

The issue is that it's basically just oversending. It has to take in account the items that are already on the way.

In theory this is easy to fix, but the accounting on the inventory destination side is hard to do since it's not possible to simulate insert batches of items, so we have to do an estimation, that would work most of the time.

Maybe just direct item to another side (don't pull it out)?

KhetagAb avatar Mar 22 '21 00:03 KhetagAb

Any chance of an update on this soon? Pretty frustrating

dizzydis avatar Jun 08 '21 21:06 dizzydis

Hi, i allready have same problem i'm using the last version

uchihamaru avatar Jul 28 '21 11:07 uchihamaru