Blue Power

Blue Power

4M Downloads

[Bug] Items(Stacks) lost during traveling through junction within Pneumatic Tubes

tntblockman opened this issue ยท 3 comments

commented

Version: BluePower 1.7.10-0.1.717
Location: Qmunity Sub Server
Copper ore which has been coloured("blue") via "Sorting Machine" makes it's way to the crushers(HydraulicCraft). During traveling through Pneumatic Tubes, the ore will travel through a junction section and become lost(vanish).

The current BP sorting system is fairly basic right now consisting two sorting machines, tubes branch out to two different routes. One heads to processing ores, the other route heads to a set of chests. With a further tube junction on the ore processing side which branches into two, one heading to crusher and the other to friction incinerators. Each machine (HydraulicCraft) is fitted with a relay.

What's really odd is that this basic system works perfect for much of the day. The issue appears to only crop up much later on. And when the bug does occur any items(ore Painted blue) passing through the tube junction(ore processing Junction) will 100% of the time vanish.

Can it be replicated? not sure tbh. This is the second time this bug has occurred, and the reason I've not posted this issue before.

Things I've tried as follows during the issue taking place;
*Thinking initially it was server tps related, and just waiting for 15 mins to see if items would show up.

*Checking all relays, sorting machines, HydraulicCraft machines, and chests to see if missing ore could be found.

*Breaking and placing the bugged section, which does not correct the issue.

*Using a non "ore" item (i.e BP marble painted blue) to pass through ore processing Junction. In the hopes those items will just become stuffed inside the "Relays". But those items also vanish via Junction.

*creating a new colour (Purple) beyond the bugged junction, having a vanilla chest on the end, and setting sorting machine to paint "Marble" purple. This is has an effect where the sorting machine becomes "stuffed", acting like the sorting machine cannot see/find the new coloured purple tube beyond the bugged junction.

commented

"Thinking initially it was server tps related, and just waiting for 15 mins to see if items would show up."

The same thought occured to me right away. It would also explain why it would happen later on the day only. So one important question, are you 100% that items actually are vanishing? As what happens when there's TPS lag, the client side items travelling through the tubes will move faster than on the server side. Therefore, when the client's items hit an intersection, at which point it needs further instructions from the server, it will have to wait until the server catches up. This can be seen as the item standing still at the intersection.

Now, if that takes >5 seconds, the client sided item will simply be removed from the client. (This is done because of a visual glitch, in where an item gets stuck on an intersection on the client side, even though there's no item.) This item will stay invisible until the server catches up, at which point it will 'respawn' at the intersection on its way to the destination.

So the most important question is, is this the case, or is it really vanishing?

commented

After not seeing any of the ore(over 64x12 stacks of BP copper ore) after 24 hours. Yeah MineMarten I can with a definitive answer items will Vanish 100% of the time this issue started. I have left the current system alone on the server, so if any of the BP devs wish to inspect the setup feel free to do so. :)

commented

I've seen this issue multiple times now, only with painted items and not always at a junction. I have items being pulled out of a Factorization mixer.

In my original setup, they were being pulled from the washer with a retriever and going into a chest. A sorting machine would pull from the chest, paint each item, and send them on their way. The empty bucket and sludge would quite often disappear--these items were painted red and were to go down at the very first junction while the other items would continue straight; they were also the items with the longest travel distance.

I've since redone my setup so that the I'm pulling from the mixer with a sorting machine. I'm painting all washed ores black, painting all sludge red, and painting the empty buckets white. The empty buckets go straight into a deployer with no problem, the washed ores go down their route no problem. The sludge, again the farthest travel distance, disappears. After the sludge passes the red paint at a junction, I see it travelling down the tubes (there are no more junctions after the paint) and its destination is a vanilla furnace. Although it looks as though it goes into the furnace, it never actually arrives. I've tried putting a relay on top of the furnace with no difference.

I also thought it might be TPS related, but the items never show up. In the original build, I wound up losing about 32 buckets somewhere. The second build is still on the Qmunity sub server if you'd like to see it, Maarten. I started putting the sludge into a barrel so I would stop losing it, but that's easy enough to revert.