1.12-0.2.0.9 folder now lost items
Artemis-E opened this issue ยท 10 comments
Since updating random files in my filing cabinets are showing as Air rather than the item that should be in the folder.
I noticed after the update looking at the filing cabinets showed a list of all item like normal. Some however said something like "Item.mob_ingredient_0.name". I took the folder out of the cabinet to see what the item was and it changed the item name to Air.
Also ThermalDynamics item ducts, Mekanism pipes, and Practical Logistics cannot pull from a filing cabinets inventory, then can still insert items. PL can still see the contents of the inventory though.
Hi,
I've gotten a few reports on this before, but was unable to reproduce it, in dev at least. I did change some things around while doing some bugfixes somewhere else, so that may have changed it without my knowing. There is a new version released (v0.2.0.11) to reflect these changes.
Do let me know if this problem still happens. I may have some idea where to start then
I haven't had time to check the update yet.
Here is how it occurred Starting with version 1-12.1-0.1.84 had 6 file cabinets full of folders. 3 of them fed from a mob farm the other 3 were ingots and vanilla items like redstone, ender pearls, lapis.
Updated server and noticed first I couldn't pull items out using pipes. Then when I grabbed the folder for zombie flesh it said 4.9k air in my inventory.
later I tried putting the folder with gunpowder in the suitcase to see if it would allow me to transfer it out faster. That folder turned to air as soon as it went in the suitcase.
Have the same bug on my server after updating from Sky Facotry 4.0.5 to 4.0.8
Random Folders would show "Air" instead of the item. You could still interact with the items via ME but if the server restarts, the "Air" becomes permanent and the items are gone.
Hello!
I'm on version 1.12-0.2.0.14 on Skyfactory 4 and am having the "Air" issues.
I want to say the problem started when I linked my Filing Cabinets to AE although I can't undoubtedly confirm that.
I did remove my cabinets from AE and put them back on Simple Storage and I don't seem to be having the issue any more. I have cleaned up all my air folders yet but it has gotten worse.
Hello. Same problem here after updating SkyFactory to 4.0.8.
My cabinets are connected to an AE system.
I am usually able to recover my items by starting my farms before closing the game. The items enter in and the "air" label disappear.
If I quit the game before doing it, my items are lost.
Same here - had an AE System connected to the cabinets. The "Air" would return to items if I pull it out and place it back via AE. After a restart, the air was permanent.
So the general consensus seems to be a problem that lies with the AE2/Filing Cabinet interaction. After some testing based on this report DarkPacks/SkyFactory-4#1103 it was able to be reproduced outside of a SF4 modpack instance.
A reliable way of reproducing this problem is to somehow extract more than 127 items from the stored folder all at once. AE2 is one of the few mods that can do this with its autocrafting system. The same thing can happen if one hooks a filing cabinet up to Botania's Corporea network and request more than 127 of the same item.
The reason the problem happens with 128 items is because extractItem method will return an itemstack with that folder's contents, which directly modifies the itemstack contained within instead of copying it. So then the stack size is modified. Itemstacks writes their stacksize to NBT as a byte instead of integers, so saving 128+ to NBT will cause it to overflow, setting to 0, which sets the contents of the folder to Air.
This is what I've discovered so far. If you just have your AE2 system doing any mass item extraction, this problem can happen.
I'm also seeing this issue in SkyFactory 4 with Filing Cabinets hooked to AE2. I'm inserting items from Hopping Bonsai Pots into the Filing Folders. They're hooked to AE2 with ME Storage Buses, but a lot of these Filing Cabinets haven't had any extractions done since I replaced Chests with Filing Cabinets last night. I can confirm there have been no extractions because some of the resources I rarely use like Slime and Cocoa Beans are showing up as Air. The weird thing is some of the folders that show up as Air I have access to through my ME Network. Other items that are showing as Air are missing from the system.
I'm running realfilingcabinet-1.12-0.2.0.14, I'm going to try updating to realfilingcabinet-1.12-0.2.0.15 which has "fix an unintended byte overflow, causing items in folders to turn to air under certain conditions" listed under changelog and I'll report my findings after the update.
Edit: Update seems to be going well. Don't have access to any of the items that turned into Air, but I was able to replace all of those folders with new ones and I haven't seen the Air issue arise thus far. Great job on the fix!
So. Yesterday Night the "Air Problem" Occured Again.
Iam Playing Skyfactory 4.
But i have some Interesting Facts...
Sneaking and Unsneaking infront of the Cabinet -> Sometimes u see not air but the actual item while Sneaking. If u unsneak u will see "Air" again. [With WAILA]
If u open and close the Filing Cabinet the same thing happenes as u would sneak and Unsneak, but its totaly random and was a random slot. It had no Actual way to find a pattern, i tried abit.
Iam Currently Playing on Skyfactory 4. With Version 4.0.8
P.s It Turns out, if u hover over the items in AE2 some are Ghost items and not Extractable, and some arent, and if u hover over them. they reapear and the "air" part dissapers.
p.p.s Not all items are still visible after this Bug occured. just some.
Have a nice Day and Have fun Looking threw the code, and find the Error once again :)
Iam also a Programmer... One fix Leads in two new bugs right? :D
Revenge