RS485 / LogisticsPipes

The RS485 take on LogisticsPipes -- ESTḌ 2012
https://rs485.network
Other
240 stars 127 forks source link

When doing multi-step auto crafting it all items of 1 type are dumped out of the satellite pipe #954

Open RyokuHasu opened 8 years ago

RyokuHasu commented 8 years ago

Basically I am trying to autocraft sheet metal blocks from Immersive Engineering. I send Iron ingots to a satellite to be made into the plates. But when I try crafting sheet metal with not enough plates it sends ALL of my iron to the satellite and start's dumping it everywhere. But when i autocraft the plates by themselves it doesn't dump all my iron, it only uses what it needs.

Crafting Ammounts: 4 plates = 4 Sheet metal blocks 1 iron ingot = 1 plate

here's images of the crafting setup and storage, everything under the floor is just Gold pipes with basic logistics pipes at all corners and junctions.

image

image

loordgek commented 8 years ago

is there a overflow of items ?

VADemon commented 8 years ago

We noticed a similar problem on our private server (4 Players max). We saw our Logistics Pipe system dumping all our Iron into a metal former (rolling mode) from IC2 to craft iron plates even though only 2 were needed while we had a supplier pipe asking the system to craft quad uranium fuel rods. At the same request the system dumped all the plates it had into another metal former (extruding mode) to craft the fuel cells (empty). Another incident where we noticed the bug was a request for 3 Thermionic Fabricators. The request needed to craft a few bronze ingots and bronze gears and dumped all our Tin and Copper into an Induction Smelter from Thermal Expansion.

At both incidents I noticed the system kinda reserves the items to put into the machines. For example as the system was crafting Bronze we had about 13k copper in our copper barrel (jabba barrel with chassis mk2 [provider and item sink module]), but there were only 6k copper requestable via my Remote Orderer. The same goes for the issue with the quad uranium fuel rods, while the request was going we had 23k iron in our barrel (same setup as copper barrel) but only 1k was requestable. Breaking the crafting pipe and resetting it didnt seem to cancel the request. The supplier pipe which requested the Quad uranium fuel rods was connected to a mini chest. Even as the chest has the requested amount of fuel rods the system continued crafting the rods. I resolved the problem by restartung the Server but thats no good solution obviously. Hope I didn't miss any important information... -- Xunder If you need additional information or want to join the server - feel free to ask us.

bziemons commented 8 years ago

What was the exact supplier pipe configuration @VADemon ?

VADemon commented 8 years ago

I've written down the latest occurence of this bug:

Request: 12 Component Heat Vents
    4 Iron Bars
    4 Tin Plates (Rolling Metal Former, Sat #4)
    1 Heat Vent
        4 Iron Bars
        4 Iron Plates (Rolling Metal Former, Sat #4)
        1 Electric Motor
            1 Iron Ingot
            2 Tin Item Casing (Rolling Metal Former, Sat #4)
            2 Coils
                8 Copper Cables (w/o rubber) (Extruding Metal Former, Sat #5)
                1 Iron

2 Copper Cables sub-requests for crafting * Request type: Crafting, 176 items * Request type: Provider, 0 items (I didnt see this on my client, but my friend who issued the request did until the request finished)

The system reserved all the copper ingots we had: a single JABBA barrel with ~18k copper ingots. We had to restart the server again :(

Screens: 2016-06-18_02 13 15 2016-06-18_02 13 34 2016-06-18_02 13 43 2016-06-18_02 17 15

Xund3r commented 8 years ago

Hello, I am the admin of said server where VADemon and 2 friends of mine are playing. I guess you meant the supplier pipe config which requested the Quad Uranium Fuel Rods? If thats what you meant the bug appered in two different configurations. The first configuration had one full urainium cell in its inventory and was set to infinite request and it dumped all our iron into the rolling metal former. The second occurence had seven fuel rods defined and was set to Bulk 50, the seven fuel rods were defined in one Slot of the supplier pipe. Same thing occured to the iron and the metal former. I solved the problem by having the supplier pipe configured to supply only one cell and set to Partial request mode. I do not know why this solved the bug but it did.

Xund3r commented 8 years ago

I Requested 20 Overclocked Heat Vents. The request semmed to work at first the system flawlessly deliverd 12 Overclocked Vents into the logistics Request Table. After that the system stoped delivering and i went to check things. The system was dumping tin plates into the rolling metal former to get tin item casings even tho everything that needed tin item casings had already been crafted. The number of the item casings in the crafting monitoring window was not 0 so it requested item casings even tho the electric motors which need the casings where finished. To complete the rest of my request (8 Overclocked Vents) the system needed to craft a few gold plates. The metal former which would normally craft them was busy crafting unnecessary tin item casings. I went ahead and pulled every tin plate from the metal former and the system seemed to want to put gold and tin plates into the former(i saw both item types trying to go into the former). As the gold made its way into the former and got plated it went along with the crafting and crafted 2 Overclocked Vents. After that the system still tried to craft Tin Item Casings and Gold Plates but didnt do anything with them(even tho it needed the gold plates to go to the Logistics Crafting Table to craft the vents). I thought maybe the system stops crafting item casings and gold plates if the request was fullfilled so i got myself a few gold plates and stuck them into the logistics crafting table and the request got fullfilled and disappered. The system keeped putting gold and tin plates into the metal former for no apparent reason. I had to stop the server to end the crafting.

I'll add pictures of any key event described in hoping they help. firsthalfcraftingmonitor First half of the crafting monitor. secondhalscraftinmonitor Second half. nogoldtoorder We couldn't order gold. 6 8kgoldinbarrel Even tho we had 6.8k in our Barrel.(Thats what in meant by the system reserves the items for crafting in the previous post) craftintablewhensystemstopeddeliveringgoldplates The Logistics Crafting Table after the systems stoped crafting even tho the request wasn't fullfilled and before I started inserting the plates by hand. littlerequestwindow The Logistics Request Table with the little crafting monitor, maybe its helpful.