My mate made a single player world and opened to LAN at my place. Now his gone and I wish to play that world, so I copied the entire save from his computer now I can open the game and play but I'm on his character(or at least his inventory and level). I did a test when he joined he was ALSO his character (inv/level). TAB showed my username and his username as it should be.
My question is how can I play my original character with my levels and inventory before I copied that game over?
Thank you for any help in this (minor, yet frustrating) matter
Testing has shown that the hosting account is always the same saved data, which is what you ran into.
Furthermore, when you hosted the world, your characters data would have then been overwritten with the data.
So unless you have access to your mate's original save, or a backup copy from before you opened the world, your own data is gone.
Even if the data was there, there is no simple way to 'migrate' the data because of formatting differences and you would need to use a tool like NBTEdit in any case to edit the saved data.
Technical details:
On hosting via CharacterX: load data from level.dat
On exiting via CharacterX: save data to level.dat, save data to CharacterX.dat
On connect via Lan via CharacterX: load data from CharacterX.dat
On disconnecting via Lan via CharacterX: save data to CharacterX.dat
To restore your data you would need to copy elements from an older CharacterX.dat file to the level.dat file. Despite the fact that they are both DAT files, they are not the same format, as one is data for the whole world (including the world's 'owner' or 'host' character), and one is data for a single character.
That would require changing the game, i.e. a mod of some kind.
Yes, that's why once you open the world your own save data is essentially lost.
No, there's no drawback to continuing, except for the loss of your personal inventory, spawn point, experience. It's all 'replaceable' data.
My mate made a single player world and opened to LAN at my place. Now his gone and I wish to play that world, so I copied the entire save from his computer now I can open the game and play but I'm on his character(or at least his inventory and level). I did a test when he joined he was ALSO his character (inv/level). TAB showed my username and his username as it should be.
My question is how can I play my original character with my levels and inventory before I copied that game over?
Thank you for any help in this (minor, yet frustrating) matter
Furthermore, when you hosted the world, your characters data would have then been overwritten with the data.
So unless you have access to your mate's original save, or a backup copy from before you opened the world, your own data is gone.
Even if the data was there, there is no simple way to 'migrate' the data because of formatting differences and you would need to use a tool like NBTEdit in any case to edit the saved data.
Technical details:
On hosting via CharacterX: load data from level.dat
On exiting via CharacterX: save data to level.dat, save data to CharacterX.dat
On connect via Lan via CharacterX: load data from CharacterX.dat
On disconnecting via Lan via CharacterX: save data to CharacterX.dat
To restore your data you would need to copy elements from an older CharacterX.dat file to the level.dat file. Despite the fact that they are both DAT files, they are not the same format, as one is data for the whole world (including the world's 'owner' or 'host' character), and one is data for a single character.
-On hosting via CharacterX: load data from CharacterX.dat?
So does the Hosts character get saved in level.dat and in CharacterX.dat? is that how i've basically "duplicated" my mates character?
Will there be any problems(errors/crashes) in the future if I just play the duped mates character as my own now?
Yes, that's why once you open the world your own save data is essentially lost.
No, there's no drawback to continuing, except for the loss of your personal inventory, spawn point, experience. It's all 'replaceable' data.