palworld-host-save-fix: How I manually fixed the "guild" problem - might help
Not sure if this helps but i was able to manually fix mine and another guild issue within the level.sav - posting in case this can help with your script in any way. - please note I’ve used values from my level.sav here as an example.
`reference objects:
c0f56c50-b3bc-41c4-ab9b-041a17e6dd0b (group ID a.k.a guild identifier) 3b866a4b-0000-0000-0000-000000000000 (old user ID) 86612e2c-0000-0000-0000-000000000000 (new user ID)`
within the level.sav you have the guild information, you need to replace this with your new character information and find the associated group_ID and attach that to your character e.g.
If you search your guild name you will find the below - the key is your (Group_ID), Guild name - self explanatory, admin/player uid should be copied from your player info as detailed later, ensure you replace the group_name with your new UID as well as the individual_character_handle_ids:
"key": "c0f56c50-b3bc-41c4-ab9b-041a17e6dd0b", (guild ID)
"value": {
"GroupType": {
"id": null,
"value": {
"type": "EPalGroupType",
"value": "EPalGroupType::Guild"
},
"type": "EnumProperty"
},
"RawData": {
"array_type": "ByteProperty",
"id": null,
"value": {
"group_type": "EPalGroupType::Guild",
"group_id": "c0f56c50-b3bc-41c4-ab9b-041a17e6dd0b", (guild id)
"group_name": "86612e2c000000000000000000000000", (replace old UID with new)
"individual_character_handle_ids": [
{
"guid": "86612e2c-0000-0000-0000-000000000000", (replace old UID)
"instance_id": "6dcbc7e3-fa25-416b-b194-4e7b1299ff5c"
},
"org_type": 0,
"base_ids": [
"b7f8ff46-fcf4-486e-9ee7-5c26b65fbdcb",
"29d72add-9af5-466a-a391-a2cb76905d60"
],
"base_camp_level": 20,
"map_object_instance_ids_base_camp_points": [
"2c725ef0-7c17-4825-8814-8c74556d5e54",
"5ae50443-2336-4206-a165-977f6d9dec30"
],
"guild_name": "your guild name",
"admin_player_uid": "86612e2c-0000-0000-0000-000000000000",(replace old UID)
"players": [
{
"player_uid": "86612e2c-0000-0000-0000-000000000000",(replace old UID)
"player_info": {
"last_online_real_time": 10574212330000,
"player_name": "insert player name"
for the character association with the group look within “struct_type”: “PalIndividualCharacterSaveParameter”, or search for “NickName” until you find yours, you want your old character to have the value of your new under the “PlayerUId”
"key": {
"PlayerUId": {
"struct_type": "Guid",
"struct_id": "00000000-0000-0000-0000-000000000000",
"id": null,
"value": "86612e2c-0000-0000-0000-000000000000", (should be your new characters UID)
"type": "StructProperty"
},
"InstanceId": {
"struct_type": "Guid",
"struct_id": "00000000-0000-0000-0000-000000000000",
"id": null,
"value": "e4e7a8af-4e32-241e-f06f-ea8b431c3194",
"type": "StructProperty"
},
"DebugName": {
"id": null,
"value": "",
"type": "StrProperty"
}
},
"value": {
"RawData": {
"array_type": "ByteProperty",
"id": null,
"value": {
"object": {
"SaveParameter": {
"struct_type": "PalIndividualCharacterSaveParameter",
"struct_id": "00000000-0000-0000-0000-000000000000",
"id": null,
"value": {
"Level": {
"id": null,
"value": 20,
"type": "IntProperty"
},
"Exp": {
"id": null,
"value": 40381,
"type": "IntProperty"
},
"NickName": {
"id": null,
"value": "BrotherCal",
"type": "StrProperty"
there will be towards the bottom “group_id”: “ensure this matches your guilds Group_ID as found previously”
"group_id": "c0f56c50-b3bc-41c4-ab9b-041a17e6dd0b" (add your old guild group ID)
},
"type": "ArrayProperty",
"custom_type": ".worldSaveData.CharacterSaveParameterMap.Value.RawData"
}
}
},
About this issue
- Original URL
- State: open
- Created 5 months ago
- Reactions: 4
- Comments: 15
@divytube Note that I am the host for the co-op and I only have another friend in my co-op. I am not sure whether my friend’s progress is retained after migrating to the dedicated server. If you want you can try the tool @Matheo-Moinet provided since it includes fixing for other players as well. MAKE SURE YOU HAVE A BACKUP
Here is what I did from the beginning. Steps -
Level.savtoLevel.sav.json(don’t worry about the prerequisites for this, you should already have Python installed in order to do step 1). For this tool, I followed the Windows GUI steps. Essentially, Just drag and drop theLevel.savonto theconvert.md, which will open the command prompt. It might take some time, but after a while theLevel.sav.jsonwill be created.Level.sav.json, according to the screenshot above. You can use NotePad++ or any editors that support editing JSON. I don’t recommend using an online JSON editor, since the file may be too big and crush the editor.Level.sav.jsonfile, just drag and dropLevel.sav.jsonback on toconvert.md. This will convertLevel.sav.jsonback toLevel.sav. (Important - this will override theLevel.savyou have previously, make sure you have a backup)Level.sav, continues from 10 to 12 in this guide.Hi! I think what you described here is pretty much the same procedure as https://gist.github.com/mojobojo/c9e1e3d05d074408ed4bd6fbe04e62ef which I automated at https://github.com/Matheo-Moinet/palworld-server-save-transfer Hope this helps !
It worked for me, ty