Hello, this isn't strictly a "bug" (in that there was no game crash or bug report) but...
My wife and I usually play together on a world using LAN connection. She uses the desktop which hosts the game, and I use a laptop to join in. The problem started when I started experiencing a lot of lag in the Nether, so we tried to switch computers. We both logged out, then I logged in on the desktop using my own account. But when I logged in, I wasn't in the Nether anymore. I was in her house, with all her equipment and experience! It was my skin, my account, but essentially all HER player data.
So then she logs in on the laptop, and she appears... as herself! Her house, her equipment, her experience, all that! So now, all my stuff is LOST and all of her stuff has been DUPLICATED! We tried switching back but it did not fix things.
This is, at worst, a pretty sucky way to permanently lose a good set of enchanted diamond armor on a straight vanilla world. It is, at best, a pretty cheap way to dupe a whole friggin inventory load of anything you can imagine...
The Meaning of Life, the Universe, and Everything.
Join Date:
7/23/2014
Posts:
43
Minecraft:
Zenitra
Member Details
This occurs as a consequence of maps having a player 'file' for the host that contains their inventory, stats, experience, etc ..., regardless of the player that is currently acting as the host.
If you uploaded your map file and sent me the link I could attempt to rescue your player data and edit it back into your player file using a NBT File Editor, no guarantees on the data being retrievable however, but it is worth a shot.
This is a result of the LAN game evolving out of the original single player game. Inventory for the host didn't need to be based off of logged in account. And this is how all those downloadable maps work. When you log in, no matter what account, you get the inventory and spawn that was designed into the map.
This occurs as a consequence of maps having a player 'file' for the host that contains their inventory, stats, experience, etc ..., regardless of the player that is currently acting as the host.
If you uploaded your map file and sent me the link I could attempt to rescue your player data and edit it back into your player file using a NBT File Editor, no guarantees on the data being retrievable however, but it is worth a shot.
I appreciate that, but I think at this point it's no use. Once I opened it, it wrote over my whole inventory.
I can get the armor again. What REALLY annoys me is loosing all those statistics... The unknown bragging rights, gone forever in the blink of an eye.
I see the problem at large, and I wonder if there is a way to fix it. Like gerbil said, it would come with wins and losses. Seems like the "fix" would ruin a lot of downloadable maps, unless they had command blocks or something to set the inventory of the player. This seems like a legit fix, but it puts a lot on the map maker. Maybe it's worth it, though. Because this bug could have been pretty brutal.
The code could probably be re-written so that instead of reading from level.dat, then writing to <player>.dat AND level.dat (current state of affairs), the code first attempted to read from <player>.dat and only if that failed read from level.dat. The auto save feature could continue to update both because when the original host loaded the game it would load from their <player>.dat first.
This sounds like a minimal change only related to the initialization code. Maybe someday Mojang will do something like that.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
My wife and I usually play together on a world using LAN connection. She uses the desktop which hosts the game, and I use a laptop to join in. The problem started when I started experiencing a lot of lag in the Nether, so we tried to switch computers. We both logged out, then I logged in on the desktop using my own account. But when I logged in, I wasn't in the Nether anymore. I was in her house, with all her equipment and experience! It was my skin, my account, but essentially all HER player data.
So then she logs in on the laptop, and she appears... as herself! Her house, her equipment, her experience, all that! So now, all my stuff is LOST and all of her stuff has been DUPLICATED! We tried switching back but it did not fix things.
This is, at worst, a pretty sucky way to permanently lose a good set of enchanted diamond armor on a straight vanilla world. It is, at best, a pretty cheap way to dupe a whole friggin inventory load of anything you can imagine...
ThanatosMace
If you uploaded your map file and sent me the link I could attempt to rescue your player data and edit it back into your player file using a NBT File Editor, no guarantees on the data being retrievable however, but it is worth a shot.
This is a result of the LAN game evolving out of the original single player game. Inventory for the host didn't need to be based off of logged in account. And this is how all those downloadable maps work. When you log in, no matter what account, you get the inventory and spawn that was designed into the map.
I appreciate that, but I think at this point it's no use. Once I opened it, it wrote over my whole inventory.
I can get the armor again. What REALLY annoys me is loosing all those statistics... The unknown bragging rights, gone forever in the blink of an eye.
I see the problem at large, and I wonder if there is a way to fix it. Like gerbil said, it would come with wins and losses. Seems like the "fix" would ruin a lot of downloadable maps, unless they had command blocks or something to set the inventory of the player. This seems like a legit fix, but it puts a lot on the map maker. Maybe it's worth it, though. Because this bug could have been pretty brutal.
ThanatosMace
This sounds like a minimal change only related to the initialization code. Maybe someday Mojang will do something like that.