jmkl009 / PalworldCharacterTransfer

This script transfers character between worlds in Palworld, which allows friends to transfer their characters to each other's server without losing one's progress.
89 stars 5 forks source link

Character Transfer Failed #20

Closed patchell13 closed 14 hours ago

patchell13 commented 4 days ago

Getting following when trying to transfer:

found instance Found Character Parameter Map Read 25 pals from source save Searching for container data Exception in Tkinter callback Traceback (most recent call last): File "tkinter__init.py", line 1948, in call__ File "char-export.py", line 540, in main KeyError: 'inventoryInfo'

jmkl009 commented 4 days ago

I have pushed a fix, but I am not sure if this is fully compatible with the current version. If you can run python, you can try python char-export.py to help me test it.

MelonFruitbowl commented 2 days ago

I have pushed a fix, but I am not sure if this is fully compatible with the current version. If you can run python, you can try python char-export.py to help me test it.

On line 540 the i in inventoryInfo is capitalized. Uncapitalizing it fixes the issue.

jmkl009 commented 2 days ago

The newer version save files use capitalized “i”

MelonFruitbowl commented 2 days ago

The newer version save files use capitalized “i”

Ahh ok I think the error then is stemming from the fact we are trying to use an old player sav file and writing to a new player sav file. It isnt able to use the Capital I because the old one uses the lowercase.

filav99 commented 1 day ago

@MelonFruitbowl Did you solved it?

jmkl009 commented 14 hours ago

Fixed now