• Guest, we are doing a new map (refresh) for Herocraft. Gather your friends and get ready! Coming next Friday, 06/28/24 @ 7PM CT play.hc.to
    Read up on the guides and new systems! Here.
    View the LIVE Map here @ hc.to/map
    Stuck or have a problem? use "/pe create" to to open a ticket with staff (There are some known issues and other hotfixes we will be pushing asap)
  • Guest, Make sure to use our LAUNCHER! Read more here!

Bug Loss of items while in crafting table

Dwarfers

Legacy Supporter 6
Joined
Dec 31, 2011
Location
Arizona
So, while the server was going haywire and kicking people, I was trading with villagers for a few hours. I ended up getting at least 19 blocks worth of emeralds. I decided to make the emeralds into blocks and when I got to the last emerald to make it exactly 19 blocks of emeralds I got disconnected from the server. I logged back in when I could in the next minute and found that the 19 blocks of emeralds are gone. I thought they would at least be dropped on the floor and not be gone completely.

I am very pissed right now since it took me hours of trading with villagers to get those just for them to vanish in thin air for nothing.
 

Joey_Beans

Legacy Supporter 9
Joined
Nov 27, 2013
Yeah I lost a stack of 64 iron blocks because of it. It happens when you are disconnected while an item is "in limbo", meaning not in your inventory or a chest or anywhere else that is can be stored. Like if you're using a crafting bench, or trading with a villager, or dragging it between a chest and your inventory (or vice-versa), because the item(s) aren't in a container's inventory slot when you're disconnected from the server. Unfortunately it's not really a "bug", so to speak. It's just a problem caused by the way the game handles item storage.

Fixing the problem could only be done by either making it so there would be no chance of a server disconnect ever happening (which isn't realistically possible) or to completely re-code how the game engine handles item storage/transferring, which is also not all that feasible.

So the only real defense against this is for the player to take cautionary measures. If you notice or hear of any current server issues, do not do anything involving valuable items until the server issues are resolved. It's not a 100% guarantee you won't ever lose anything, but if you're cautious you can minimize possible losses.
 
Last edited:

Kainzo

The Disposable Hero
Staff member
Founder
Adventure Team
Joined
Jan 7, 2011
Location
The 7th Circle of Heaven
I'll keep an eye out - but this can happen with the way the code works with inventories. It's to prevent actual duplication of items.
 
Top