xNul / palworld-host-save-fix

Fixes the bug which forces a player to create a new character when they already have a save. Useful for migrating maps from co-op to dedicated servers and from one dedicated server to another.
MIT License
887 stars 69 forks source link

zlib.error when Level.sav #71

Closed a361570441 closed 7 months ago

a361570441 commented 7 months ago

Traceback (most recent call last): File "/Users/heybox/Patrick-pycharm/heybox_script/pal/main.py", line 58, in sav_to_json('', 'Level.sav') File "/Users/heybox/Patrick-pycharm/heybox_script/pal/main.py", line 40, in sav_to_json uncompressed_data = zlib.decompress(data[12:]) zlib.error: Error -3 while decompressing data: invalid block type

levscaut commented 7 months ago

i found the solution. make sure to shut down server when you download and maniuplate the save

SkMoran commented 7 months ago

thank you !!!! it makes me terrible so long

i found the solution. make sure to shut down server when you download and maniuplate the save

xNul commented 7 months ago

haha, thanks for explaining it levscaut. I'll go ahead and close this issue