Hi all - was wondering if anyone had a fix for this yet? I think this started in a19 / a19.1. I've seen videos of successful char copies made in a18.
I didn't want to hijack the thread, but our issue is similar - we're on a dedicated server and want to start a new map and carry-over our characters and their inventory.
We did the same thing as
@Pra3t0r 0f R0m3 outlined and even some other variations:
1 - copy over all (3) - "map", "ttp" and "ttp.bak" files, then login for the 1st time
2 - copy over only (2) - "ttp" and "ttp.bak" files, then login for the 1st time
3 - login for the first time, then delete/replace "ttp" and "ttp.bak" files
But to no avail, and the game keeps generating a new character every time. Also tried replacing the files while the server is down and while it's up, no difference.
Checking the logs, we get the error below:
2020-10-05T21:17:35 182.281 ERR Loading player data failed for player 'xxxxxxx', rolling back: Attempted to read past the end of the stream.
at PooledBinaryReader.FillBuffer (System.Int32 _numBytes) [0x00030] in <9f04a0ee08f84f3794a7468a839f2bb0>:0
at PooledBinaryReader.ReadSingle () [0x00000] in <9f04a0ee08f84f3794a7468a839f2bb0>:0
at ItemValue.Read (System.IO.BinaryReader _br) [0x00017] in <9f04a0ee08f84f3794a7468a839f2bb0>:0
...a whole bunch of lines...
at ItemValue.Read (System.IO.BinaryReader _br) [0x00098] in <9f04a0ee08f84f3794a7468a839f2bb0>:0
at EntityCreationData.read (PooledBinaryReader _br, System.Boolean _bNetworkRead) [0x002ad] in <9f04a0ee08f84f3794a7468a839f2bb0>:0
at PlayerDataFile.Read (PooledBinaryReader _br, System.UInt32 _version) [0x00013] in <9f04a0ee08f84f3794a7468a839f2bb0>:0
at PlayerDataFile.Load (System.String _dir, System.String _playerName) [0x00086] in <9f04a0ee08f84f3794a7468a839f2bb0>:0
then the next one:
2020-10-05T21:17:35 182.339 ERR Loading backup player data failed for player 'xxxxxxx', rolling back: Attempted to read past the end of the stream.
at PooledBinaryReader.FillBuffer (System.Int32 _numBytes) [0x00030] in <9f04a0ee08f84f3794a7468a839f2bb0>:0
at PooledBinaryReader.ReadSingle () [0x00000] in <9f04a0ee08f84f3794a7468a839f2bb0>:0
at ItemValue.Read (System.IO.BinaryReader _br) [0x00017] in <9f04a0ee08f84f3794a7468a839f2bb0>:0
...a whole bunch of lines...
at ItemValue.Read (System.IO.BinaryReader _br) [0x00098] in <9f04a0ee08f84f3794a7468a839f2bb0>:0
at EntityCreationData.read (PooledBinaryReader _br, System.Boolean _bNetworkRead) [0x002ad] in <9f04a0ee08f84f3794a7468a839f2bb0>:0
at PlayerDataFile.Read (PooledBinaryReader _br, System.UInt32 _version) [0x00013] in <9f04a0ee08f84f3794a7468a839f2bb0>:0
at PlayerDataFile.Load (System.String _dir, System.String _playerName) [0x0018c] in <9f04a0ee08f84f3794a7468a839f2bb0>:0
I have a feeling that there might be another file being checked for characters now, just need to figure it out and bring that over too. Already tried bringing over the "players.xml" file, but that only seems to hold/track the last time the player(s) were online, their alliances, their land claim blocks, and their bedroll.
Anyone else figured this out? Do share what you did...
Thanks in advance for any help!!
Be safe,
Ynnos