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.
123 stars 7 forks source link

Character Transfer Failed #20

Closed patchell13 closed 5 months ago

patchell13 commented 5 months 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 5 months 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 5 months 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 5 months ago

The newer version save files use capitalized “i”

MelonFruitbowl commented 5 months 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 5 months ago

@MelonFruitbowl Did you solved it?

jmkl009 commented 5 months ago

Fixed now