Project Red - Exploration

Project Red - Exploration

27M Downloads

[Transportation] Too many items requested by crafting chip and wrong item count on request. Possible Rounding Errors?

Psy-Virus opened this issue ยท 0 comments

commented

Probably important EDIT:

I just encountered that the requested items probably have to be spread over 2 or more chests in a network.

---

Hey there,
I found another one. :P

  • If you request large amounts of items that don't fill full Stacks, it happens that the items get rounded to the equivalent of full Stacks.
    For example: You have 1108 Diamonds (17,3125 Stacks) in the storage network (suppose it's counted right) and request them, you get 1152 (18 Stacks)

This happened on too many requests to just be a coincidence.

  • Something similar happens if you request something via a crafting chip:

For example:
I have a processing pipeline that makes Diamonds from Wood, in several steps.

The base material is any item that is registered in the Oak Wood-Ore Dictionary Index/class/what ever. So basically all the wood logs.

(Beware, detail alert)

For one diamond I need 256 wood.

  • The network sees, I want a Diamond.

  • So the Diamond-Crafting-Chip asks the network for 256 Wood. The Wood is collected in a Chest.

  • From there it goes to Furnaces that processes the Wood into Charcoal which gets send back to the Chest (The Chest-Furnace-Network is not connected to the Main-Network).

  • The Crafting Chip then sends the Charcoal to a Crafting Chip that's connected to an Auto Crafting Table that processes 4 Charcoal into one Coal.

  • This Coal gets then send to another Crafting-Chip that is again connected to a Chest, that is connected to a network of Industrialcraft Macerators, that process the Coal into Coal-Dust.

  • This Dust is then send to some other machines that finally process the Coal-Dust into the Diamond in some more steps.

  • And finally the Diamond gets send to the Request Pipe, I requested it from.

/(detail alert)

All in all it works. But the first crafting chip requests too much of the base material. Maybe because of the crafting chip that turns Coal into Coal-Dust or maybe because of the CC that turns the Charcoal into Coal.
And perhaps it's the Chip itself too. I have always leftovers (over production) in the chests and Auto Crafting Tables.

The easiest way to reproduce this would be to build a network and build a pipeline that processes a more or less complex recipe. A more or less guaranteed way to see the "bug" would be to request more than needed via the "crafting" "partial" options.

If you need any more details, the world, a video, pictures, don't hesitate to ask, I'm willing to help. This also applies to my other opened issues too, ofc.

Thanks for reading!

:)

EDIT2: Meant Stacks not Chunks O.o... Guess I have Junction-Pipe bugs in my head..