Draconic-Inc / Draconic-Evolution

Other
340 stars 171 forks source link

Draconic Chest - lost inventory #295

Closed Kotawolf closed 8 years ago

Kotawolf commented 8 years ago

Was using a chest, and when I restart my server to correct a config file the chest that was in inventory wiped. Chest was in my characters inventory, about 2-3 lines of inventory in it, when I went to duplicate it, had 5 stacks of just vanilla dirt in there for testing.

This is a custom server build. Server is being ran on a Win 7 laptop, has 4gig (ram) dedicated just to MC Server.

After posting in the wrong forum, not put in correct place. Here is my mod list, was built from mods on curse, plus Immibis Core and Dimensional-anchor -=-=-=-=-=-=-=-=-=-=-=-

-=-=-=-=-=-=-=-=-=-=-=- Apparently, some sort of mod conflict, hoping someone knows and can point out what it could be, or help eliminate mods that it won't be.

brandon3055 commented 8 years ago

Hay welcome to the DE issue tracker! Ok so how are you restarting your server? Do you use a restart script? or just /stop then start? Try running /save-all before stopping and see if it still happens.

I really dont see how this could be an issue with another mod. And the only other thing it could be is minecraft not saving the player inventory properly before stopping. Unless the contents are actually whipped when you break the chest and not when the server stops. In that case that can be caused by the server running low on ram when you break the chest which prevents the data from being saved.

Kotawolf commented 8 years ago

Use the stop command, then run the bat file for startup.

I'll test with that /save-all I'd been carrying the chest with a bunch of nether ore, a couple turtles and such for a little bit.. 20-30 min maybe?

And now, I've let it sit for this time, restarted (both client and server) again, and EVERYTHING is back in the chest. Sometimes I don't like Java.

brandon3055 commented 8 years ago

You said you were able to reproduce this? I assume you broke the chest immediately before restarting?

I also have java sometimes because nether me nor another modder i am currently chatting with can think of any reason this would happen.

If running save-all fixes it then maby just create a restart bat that runs save-all stop then restarts. If not... i dont know...

Kotawolf commented 8 years ago

Correct. I'll remember to do that save-all command. Just peaked, the server is only using about 1/4 of the ram allocated via the bat file.

Didn't restart the computer, maybe windows was doing something in the background. I don't know coding, I just fix hardware normally.

Thanks for that advise.

brandon3055 commented 8 years ago

Yea... an issue with windows is very unlikely. I dont actually know if save-all will work, Why i asked you to test it