palworld-server-docker icon indicating copy to clipboard operation
palworld-server-docker copied to clipboard

Game progress is lost after server restart

Open chenjx56 opened this issue 1 year ago • 3 comments

Game progress is lost after server restart

I update my steamcmd today and my game save is rolled back to the last time the server was started. Strangely enough, my in-game technology was kept up to date.

To Reproduce

Steps to reproduce the behavior:

  1. ``docker restart container_id'' to restart the server
  2. connect to the server

Expected behavior

Go back to the game progress before restarting the server.

Screenshots

image image

Desktop (please complete the following information)

  • OS: Ubuntu
  • Browser chrome
  • Version 22

docker-compose.yml contents

I do not change anything, and build the docker with this command: "docker build --tag pal_server"

Container/Host Logs

everything is ok.

Additional context

Nothing.

chenjx56 avatar Jan 25 '24 13:01 chenjx56

Did you mounted a volume to the container?

raimannma avatar Jan 25 '24 15:01 raimannma

Show your compose or docker run.

fryfrog avatar Jan 25 '24 17:01 fryfrog

What version of this were you running?

Dashboy1998 avatar Jan 26 '24 01:01 Dashboy1998

Did you mounted a volume to the container?

yes, i use the docker run command in the readMe file.

chenjx56 avatar Jan 26 '24 01:01 chenjx56

Show your compose or docker run.

i use the docker run command which is same with the readme

chenjx56 avatar Jan 26 '24 01:01 chenjx56

What version of this were you running?

0.13.0

chenjx56 avatar Jan 26 '24 01:01 chenjx56

I update my steamcmd today and my game save is rolled back to the last time the server was started. Strangely enough, my in-game technology was kept up to date.

This is because the game appears to constantly save player data but periodically (Not sure how often) save world data.

This was fixed by #98 if rcon is enabled. Otherwise you have to run the save command manually. If you do not have rcon enabled I recommend stopping the server (and container) by issuing the save command the shutdown command in game. That merge is in version 0.14.0.

Note currently backups do not run the save command, I added a fix in #118.

Dashboy1998 avatar Jan 26 '24 01:01 Dashboy1998

I update my steamcmd today and my game save is rolled back to the last time the server was started. Strangely enough, my in-game technology was kept up to date.

This is because the game appears to constantly save player data but periodically (Not sure how often) save world data.

This was fixed by #98 if rcon is enabled. Otherwise you have to run the save command manually. If you do not have rcon enabled I recommend stopping the server (and container) by issuing the save command the shutdown command in game. That merge is in version 0.14.0.

Note currently backups do not run the save command, I added a fix in #118.

thank you so much, I can not reproduce this issue, but I will use the save command in the game.

chenjx56 avatar Jan 26 '24 05:01 chenjx56

@chenjx56 has your issue been resolved?

thijsvanloef avatar Jan 26 '24 09:01 thijsvanloef

@chenjx56 has your issue been resolved?

Yes, thank you very much, I will close the issue.

chenjx56 avatar Jan 26 '24 14:01 chenjx56