davqvist / Q-Tech

A lightweight non-expert tech progression modpack for 1.15
2 stars 0 forks source link

Sometimes when x-net pushes to an energizing orb (from Powah), items vanish #30

Open Chezzik opened 4 years ago

Chezzik commented 4 years ago

This bug doesn't happen every time, but it happens a lot.

I have x-net pulling steel ingots from a bin, and pushing them to two locations. One is an inventory that is full or disabled, and the other is an energizing orb. I set x-net to pull from the bin by the stack. It pushes to the disabled inventory with no filter or restriction. For pushing to the orb, I have it set to filter on steel ingots, and stop after 1 is in the orb.

As long as the energy orb has 1 (or more) items in it that match the filter (steel ingot), nothing is moved. As soon as the number of steel ingots in the orb is zero and the orb is ready to receive items, x-net takes a full stack (64) from the bin, and then puts one in the orb. The other 63 vanish.

In some cases, I've seen it continue removing more steel ingots by the stack and they just disappear. I've seen it go from 2048 to 1 ingot in under a second. Other times, it stops as soon as one ingot is put in the orb. I haven't figured out what I'm doing different between these two cases.

If I mess with the priorities of the destinations, then it seems to fix the bug. Even after setting the priorities back to 0, I can't make the bug happen again. It's very touchy.

I have a video that shows the bug happening, but I can't seem to attach it.

Chezzik commented 4 years ago

Video example here: https://youtu.be/WgUwbwOW3m0

Chezzik commented 4 years ago

Ok, this problem is definitely a bug in X-net.

I just experienced it again when pushing a limited quantity of redstone to an alloy smelter (from Silent's Mechanisms).

I changed the extract mode to "single" instead of "stack", and the bug stopped occurring.