legoduded / palworld-worldoptions

A tool for creating WorldOption.sav and applying the PalWorldSettings.ini for dedicated servers
135 stars 14 forks source link

20 Basecamp pal not working after deleting file from deliciated server #20

Open Xayus1 opened 9 months ago

Xayus1 commented 9 months ago

Long stroy short when i first install the sav file on my delicated server folder it worked but after sometimes i had to change some settings so i delete the sav folder on my server generated new one and once i put the new sav into my server it deleted my game progress. I had to roll the server data back at an earlier time but when i did the sav file again now it not working at all basecamp worker is still at 15. also i notice my sav file looks like this not sure if it normal or not https://i.imgur.com/jdYJbsL.png

Xayus1 commented 9 months ago

It doesn't look like the deliciated server is recognizing the Worldoption.sav

Leayal commented 9 months ago

It doesn't look like the deliciated server is recognizing the Worldoption.sav

Where do you put the worldoption.sav, @Xayus1?

Xayus1 commented 9 months ago

I’m putting it in the correct folder on saved games in the 0 folder follow by the random letter folder

On Thu, Feb 8, 2024 at 11:04 AM Dramiel Leayal @.***> wrote:

It doesn't look like the deliciated server is recognizing the Worldoption.sav

Where do you put the worldoption.sav, @Xayus1 https://github.com/Xayus1?

— Reply to this email directly, view it on GitHub https://github.com/legoduded/palworld-worldoptions/issues/20#issuecomment-1934442943, or unsubscribe https://github.com/notifications/unsubscribe-auth/BGAEWAPTOKY32ZMJWMH4AZLYSTZPHAVCNFSM6AAAAABC66SAV6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZUGQ2DEOJUGM . You are receiving this because you were mentioned.Message ID: @.***>

Leayal commented 9 months ago

I’m putting it in the correct folder on saved games in the 0 folder follow by the random letter folder

  • If there are multiple ones, chance is the server uses another.
  • If there's only one folder, you can try to move all the content of the .\Pal\Saved directory to another place. Then run server and exit it so that the server re-generate everything anew. Finally, copy your old save data into the new directory.

P/s: Please also check if .\Pal\Saved\Config\WindowsServer\palworldsettings.ini exists and their values are what you desired. Because of spaghetti code, the dedicated server uses both .ini and .sav file for the settings. The .\Pal\Saved\Config\WindowsServer\palworldsettings.ini is not in the server's game save, oddly.

Another thing to check is that if both your game client and the dedicated server has modded in-game configurations, such as this Camp configuration mod.

Xayus1 commented 9 months ago

I’m putting it in the correct folder on saved games in the 0 folder follow by the random letter folder

  • If there are multiple ones, chance is the server uses another.
  • If there's only one folder, you can try to move all the content of the .\Pal\Saved directory to another place. Then run server and exit it so that the server re-generate everything anew. Finally, copy your old save data into the new directory.

P/s: Please also check if .\Pal\Saved\Config\WindowsServer\palworldsettings.ini exists and their values are what you desired. Because of spaghetti code, the dedicated server uses both .ini and .sav file for the settings. The .\Pal\Saved\Config\WindowsServer\palworldsettings.ini is not in the server's game save, oddly.

Another thing to check is that if both your game client and the dedicated server has modded in-game configurations, such as this Camp configuration mod.

I try the above and my server wont run, so i had to restore backup server. Guess i will wait till it actually updates on the settings

Leayal commented 9 months ago

I try the above and my server wont run, so i had to restore backup server. Guess i will wait till it actually updates on the settings

I'm sorry if it's unclear. I mentioned about the Camp configuration mod so that you can check if you have it, and to remove it.

The base's level still has to be sufficient to increase the base's worker count, unless changed via that mod above.

However, if your base level has already satisfied the condition...At this point I don't know what could possibly went wrong. Perhaps recent patch (specifically 0.1.4.0 and 0.1.4.1) breaks something, since they did note about attempting to fix corrupting saves related to pal system.

My dedicated server is still with 18 max (DS v0.1.4.1), so I'm sure this program should still work. Specifically, I used the tool in Release and drag&drop my palworldsettings.ini to the tool, not the web app.

As for the .sav format looking like that, it's normal since the file is "compressed" (or packed). It's no longer a text file, but a binary file, opening a binary file that doesn't have any text in it with a text editor/viewer usually make them show random characters like that.