Open wowbanhbao opened 9 months ago
I just pushed a potential fix, please try again with this release: https://github.com/JannikBirn/palworld-host-save-fix/releases/tag/v.0.1.2 Please use a backup of the save state before you ran the script.
How do I use one of my backups? Do I just copy the files from the save into the folder with the server name?
Well, in the best case you made a copy of your whole save folder before you applied the script. If not you can try to copy the files out of the backup folder and replace the current files, but I highly recommend that you make a backup before you do that (a copy of the folder and put it somewhere save)
After I installed this version, I used it and it said it migrated the character data, but when logging back on I still didn't have my old data and it prompted me to make a new character. After trying to do it again its giving me the same error as before where it says something about 'gui' not being executed then closing the application.
same issue friday it worked and today sunday i get the same error
The exception is thrown inside the part of the https://github.com/cheahjs/palworld-save-tools so it would be interesting if you can try to use this tool to convert your Level.sav to JSON and if you get the same error. If so, you can open an issue on the https://github.com/cheahjs/palworld-save-tools repository, maybe the author is able to fix it.
nope dont worked i wrote now to the authors
nope dont worked i wrote now to the authors
Did you get any sort of reply?
Got the answer
Got the answer
Thanks! Were you able to find a way to fix it? I have save files from before the crash and error backed up as well
I dont have a fix at the moment
Got the answer
Did you actually used xNul's script as well or was it just mine?
the last days i used your script and now i tested the xNuls script so far it worked but the next error do i get is this here
Yeah sounds like your save file somehow got corrupted by the scripts. You probably have to rollback to a backup.
I also have this issue for PlayerCharacterHandle.
So ive been playing around with the tool, figured some stuff out. I have three players A: player with corrupted file (all null bytes) B: normal player C: lvl 0 player So we were trying this fix for our dedicated server and followed the video guide by Phyrex Techs. We have 3 player A's on our server and the fix would give us a FileNotFound error like the one above. I tried migrating a player B to a player C and it worked perfectly however. Does anyone have any idea why certain player.sav are being filled with null bytes? I can't convert them into json either using cheahjs's converter (for obvious reasons).
So ive been playing around with the tool, figured some stuff out. I have three players A: player with corrupted file (all null bytes) B: normal player C: lvl 0 player So we were trying this fix for our dedicated server and followed the video guide by Phyrex Techs. We have 3 player A's on our server and the fix would give us a FileNotFound error like the one above. I tried migrating a player B to a player C and it worked perfectly however. Does anyone have any idea why certain player.sav are being filled with null bytes? I can't convert them into json either using cheahjs's converter (for obvious reasons).
Also I'd like to note that Player A is still showing up in the GUI even though the actual .sav file is filled with null bytes, im guessing it got that data (name and level) from the level.sav and not the playeruid.sav
Yeah sounds like your save file somehow got corrupted by the scripts. You probably have to rollback to a backup.
I done it but get the same error
the last days i used your script and now i tested the xNuls script so far it worked but the next error do i get is this here
The reason the handle error happens is that you may not have uploaded the new Level.sav that gets made with the tool. That's what I was doing wrong.
Ok at least some progress here. So the problem is that the player is still inside your Level.sav but the .sav corresponding to the player inside the players folder is missing. This might happen if you used xNuls script before mine and is a sign of a "corrupted" save state. If possible role back to a previous backup since a correct save state is currently necessary for the script to execute properly.
Ok at least some progress here. So the problem is that the player is still inside your Level.sav but the .sav corresponding to the player inside the players folder is missing. This might happen if you used xNuls script before mine and is a sign of a "corrupted" save state. If possible role back to a previous backup since a correct save state is currently necessary for the script to execute properly.
Ya I actually deleted my comment after i realized what the issue was. I got the right player save file and it worked fine. I uploaded everything, started server and it works!
Hi Jannik, just tried this fix again in August 2024. I'm getting a different error (see screen shot below). Have confirmed that the save file isn't corrupted.
Basically trying to move a friend invite code server (i.e., "Join Multiplayer Game (Invite Code)" which I think these are hosted on steam's own servers) to my own fully dedicated server. When I launch my dedicated server, the original host's character is inaccessible, while non host characters are ported in fine to the dedicated server. I get the following error (see below). Maybe the source code needs to be updated to account for new character/file properties?
i have the same problem as @wjvanpatten sadly
EDIT: looking at palworld-save-tools (used by this tool), their tool was updated 2 months ago to support UInt32Property, so theres a possibility that no changes are necessary and a new EXE just needs to be compiled
of note; the latest EXE fails windows defender virus check, the second latest does not
10 tried using the application and whenever it was used there would be an error saying there wasn't a json file for the save or a NameError saying "name 'exit' is not defined" and it gave a code of [5388] failed to execute script 'gui' due to unhandled exception. And on the rare occasion that the file would work and it gave me the confirmation that the data was transferred, whenever I logged on it would still tell me to create a new character.