thijsvanloef / palworld-server-docker

A Docker Container to easily run a Palworld dedicated server.
https://hub.docker.com/r/thijsvanloef/palworld-server-docker
MIT License
2.42k stars 295 forks source link

Server suddenly assigns new Steam/Player IDs #525

Closed Wasilewskiii closed 5 months ago

Wasilewskiii commented 5 months ago

Describe the bug

After updating to todays patch, our server suddenly started to assign different Player/Steam ID´s to people which lead to them having to create new characters because the server thinks they are new players. I cannot see where the issue comes from so far. First I thought it might be connected to just 1 or 2 steam accounts, but it happens to all players on the server. When making a new character and exploring the server, everything that was built and all pals in the bases are still there.

I have now written in multiple places. Nobody was able to help and I´ve seen only a few people having the same issue. I am hoping someone who is deep into the topic might know what is causing it and if it has something to do with this repo at all.

To Reproduce

Restart the server, update to v0.2.0.6 and join the server.

Expected behavior

Players should be able to log in and get their (old) ID assigned so they´re able to play their characters.

Actual behavior

Players get new IDs assigned and they have to create new characters.

OS information (IMPORTANT)

Hardware information (IMPORTANT)

docker-compose.yml contents (IMPORTANT)

docker-compose.yml ```yaml --- services: palworld: image: thijsvanloef/palworld-server-docker:latest restart: unless-stopped container_name: palworld-server stop_grace_period: 30s ports: - 8211:8211/udp - 27015:27015/udp env_file: - .env volumes: - ./palworld:/palworld/ ```

Bug Report Checklist

porochickenrye commented 5 months ago

Are you sure players were assigned new steam ID's on the server instead of the saves got corrupted as mentioned in #457 ?

Wasilewskiii commented 5 months ago

Are you sure players were assigned new steam ID's on the server instead of the saves got corrupted as mentioned in #457 ?

Yeah i checked the save files manually. I have found one player out of around 20 so far, that did not get the character creation screen and was able to login to his old character.

In the meantime i started to get the new player IDs out of the save file, replaced the old ones with the new ones and vice versa. In this proccess I also had to rename the save files in /Players and change 2 places within them where the ID is also set. Since everything is working after doing so, I assume it´s not a save file problem because the old save file shouldn´t work on the new IDs if corrupt.

larsnet commented 5 months ago

I think i have the same problem. After the update my player save data is not loading (new character screen). The world data seems ok. I tried to restore multiple back-ups, but that didn't work.

thijsvanloef commented 5 months ago

I do not have any code relating to any of the logic regarding player ID generation. I do believe this needs to be addressed by the Palworld devs. https://forms.pocketpair.jp/palworld