jammsen / docker-palworld-dedicated-server

Docker container to easily provision and manage Palworld Dedicated Server
https://hub.docker.com/r/jammsen/palworld-dedicated-server
MIT License
907 stars 157 forks source link

[Bug Report] Your descriptive title here! #80

Closed WarBird25 closed 7 months ago

WarBird25 commented 7 months ago

Have you read the Important information text above

Current behavior

I am sorry but I dont know if this problem is related to this docker image, or because of the game (or I made a mistake) but I would appreciate if anyone can help me.

Some or all settings are not applied. I have pulled the latest docker image and used the docker-compose.yml including RCon. I changed a few settings, for example allow teleport to false and also all the server settings (name, password, ...). But when I start the container and join the game, I don't need a password and I also can teleport. On the other hand, all settings I made when I used the coop mode and shared my game (I copied the saves to the dedicated server) are applied.

Is it possible, that the game ignors the env and .ini files when the save file is copied? Is there a solution to that?

Desired behavior

Settings are applied

Links to screenshots

No response

To Reproduce

I think those are the steps to reproduce the behavior (if its the problem I think it is):

  1. start a local game and set some settings
  2. copy the saves (the content of the \AppData\Local\Pal\Saved\SaveGames\\) to Saved\SaveGames\\\ on the server
  3. start the docker with different settings
  4. check if the docker settings are applied

Software setup

I think thats no OS or Docker issue

Hardware setup

no hardware issue

Additional context

No response

jammsen commented 7 months ago

Hey @WarBird25 the fields software and hardware and title are there for a resason, please use them.

Try deleting the game/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini and let the image create a new one from your docker-compose files.

WarBird25 commented 7 months ago

I am sorry for not adding those, if they help: OS: Debian 12 Docker: 24.0.7

Hardware: AMD Ryzen 5600x 35 gb memory RTX 2060 Super 246 gb harddisk

Deleting the ini did not work. The file is generated with the correct settings from env, but the settings are not loaded

jammsen commented 7 months ago

It reads to me, like you do save manipulation, im not sure what this has to do with Docker and my image.

WarBird25 commented 7 months ago

I was able to solve the problem and you are correct, that it has nothing to do with Docker or the image.

The problem was as I thought, that the server save files include the settings from singleplayer I moved the save from. I was able to solve this by renaming/removing the WorldOption.sav in the Saves folder.

@jammsen Thank you for the fast answers and of course this docker image! :)

jammsen commented 7 months ago

@WarBird25 Happy to hear that it works. If you like this project, please consider giving this repo and the docker-hub-repo a Star.