Immersive Engineering

Immersive Engineering

134M Downloads

[1.12.2] Wooden Storage Crates stacking and getting emptied

chaos234 opened this issue · 19 comments

commented

Hey Blue,

the wodden storage crates are stacking even with different content. NBT-Value is always 0, nut sure if this is intended but better to mention it as not to mention it.

Well, while they are stacked they are getting truncated (there contents) which happened to me while I did a re-log which is not rly funny after all.

Forge: 2739
IE: 0.12-84.jar

Full modlist (some mods maybe out of date while reporting this): https://hastebin.com/qurovowuta.md

EDIT

New full modlist/libraries (some mods maybe out of date while this list was generated): https://pastebin.com/63WCbJfP (this time over pastebin because hastebin has either deleted the old past or it can't be loaded, whyever) - Bug/Problem still exists with the all the listed content there

Hope that this isn't a hard to fix one :)

Here are some images from my player dat file after the last backup: https://i.imgur.com/JavxJXO.png
And here is one from a backup arround 45 minutes ago: https://i.imgur.com/mCmx3RA.png

As you can see, they have gotten truncated how- and whyever.

EDIT: Not sure why, but it seems that Inventory Tweaks may cause this happen. Did not looked closely enough but it seems that IT stacks them, while using it's sorting key and if you then do a re-login all data is vanished.

Not sure if this is then only on ITs end or if it's on both ends thinking - Ok, with SHIFT + Klick they are stacking to, is this an IT feature?

commented

If the NBT Value is null, then they probably didn't save their contents in the first place.
If you pick one up and put it down, does it still have its inventory?

Also, it's Blu. No e. I'm particular on that =P

commented

Sry for that ^^

Well, I don't get it, whey the contents are getting deleted but now there content was deleted after picking them up (with content), putting them into the Tinkers Knapsack which is attached to may Construct's Armory Chestplate and after still playing for over 45+ min I turned bacj to my base with /home home command and placed down all crates an again three of them where compleatly emptied ... exactly those three, which I manually moved into the knapsack.

There was no InvTweaks involved this time, nor did I any reconnect so it seem that smth. must have deleted the item over time but I am not sure what caused the deletion :(

If you have a version with deeper debugging functionality I could maybe get smth. out more.

Also, the NBT is every time 0 (from JEI shown while using F3 + H? for more item details) but until smth. is deleting the items they are saved within my players dat file so I can restore them, as long as any good backup is there available.

For now I can't do anything against this as to be very carefull with the crats or simply let them there where they are.

Could this be a forge bug in 2739? Because it is not only the storage crates which are affected. My mate reported that the iron chests are having the same problem with it. I wouldn't wounder that it is aafter all related to forge again, because on an earlier pixelmon server was a great item deletion while I moved my refined storage system (nothing was there to recover it ... it was a forge error which toled me the RS dev).

If this is true I would slap forge for this shit ... sorry to say this, but in 1.7.10 such things never happened to me :/

commented

Sometimes empty hand but mostly any kind of axe/lumber axe

commented

Feel free to try a newer Forge. I've so far been unable to reproduce the issue.

Also, what tool are you using to break them?

commented

Ive noticed this being an issue with this mod for a long time now, I had to stop using this mod, because of this error, I reported it awhile back, but no fix every came from it.

commented

Hey Blu,

Seeing the same issue on
Forge forge-1.12.2-14.23.4.2759-universal
IE ImmersiveEngineering-0.12-85

Seems to occur after a period of time of the crate being in the player inventory.

commented

Same problem i made some tests and it seems to occur after 4-5 minutes of the player having them in his inventory .Pls fix it it makes the mod really unreliable.

commented

I just tested with my standard IE testing instance and was unable to reproduce the issue. Details are in the last paragraph if anyone is interested in them.
@008nothing @Wolf-Valecos (answers from both of you (and anyone else experiencing this) would be great):

  1. Did this happen in singleplayer or on a dedicated server (or on a LAN server)? If it's a dedicated server, is it a plain Forge server or something like Sponge (if you know)?
  2. What gamemode were you in during the 5 minutes before the contents vanished?
  3. What did you do during those 5 minutes?
  4. What other mods were installed?

Loaded mods were minecraft, mcp, FML, forge, albedo, immersiveengineering, immersivetech, nbtedit, weirdinggadget (IT left over from testing a different bug). Clean singleplayer world (superflat, just a bedrock layer). Added 64 TNT to a crate, switched from creative mode to survival, broke it (using a diamond axe), stood around with the crate in my inventory (in the inventory and chat GUI's) for 10 minutes and placed the crates afterwards, content was 64 TNT as expected.

commented
commented

Just FYI, I am also an author/dev of IE, and Blu is on vacation right now. How about you answer my questions rather than just rant about thing you evidently know nothing about?

commented
commented

This is to less to reproduce it I think. You need a lot more mods or at last a Modpack, where IE is included. Testing only with a small standard instance is not failsafe and testing only in SP is also no secure failsafe test. It must also be tested then in MP (not over SP, over a real minecraft server). After all it depends on what Blu is/will/can do after all but my personal opinion is, that you should test your own Mod against many other mods to kill mod-incompatibality by default and I think, that we have smth. like this, otherwise you wouldn't have failed to reproduce it.

This is exactly why he's asking his list of questions, because sometimes bugs are weird and hard to solve, but instead of helping to solve the bug you've reported you're acting like a child.

@chaos234

commented
commented

Sooo... are you actually going to provide the necessary information?

commented
commented

Thank you.

2.The first time i switched throught all gamemodes many times the second i was in survival.

Are you absolutely certain you didn't switch to creative at any point that second time? Opening the inventory (some interaction may be required) in creative mode on a server will cause issues with many items, see MinecraftForge/MinecraftForge#4580 (and the linked issues; anything in your inventory is an item, even if it can be placed down as a block). I wasn't able to make the crate's content disappear in survival mode, but very reliably in creative mode.

commented

Is the solution Latvian listed possible? It sounds like it requires a rewrite though.

commented

It wasn't ever possible, see my comment below his. This only happens because we don't send all data (to prevent the typical crashes when filling a crate with bees/backpacks of bees). His solution would require sending all data to the client to be able to restore it from that data, so it isn't an option here (nor in most other cases where this happens).

commented

I can respond with more detail if you'd like tomorrow as I saw this late tonight. However yes it has only happened to me since I updated to latest with switching modes, Survival and Creative. So like you said seems to be a creative issue. This is also on a multiplayer instance.