Coder Social home page Coder Social logo

Comments (3)

xNul avatar xNul commented on September 17, 2024

Thanks for the report! I noticed the name change issue myself but I didn't know it was specific to migrating saves. Interestingly, in my testing, the ExpRate setting still works so it's partially using the config. I think you're right, there's probably some information in the save which is disabling it, but I'm not sure what it is

from palworld-host-save-fix.

DerEnderKeks avatar DerEnderKeks commented on September 17, 2024

Deleting the WorldOption.sav file seems to do the trick, which is missing on a fresh save generated by a dedicated server. As far as I can tell, it just seems to contain the options that can also be set in the config file. This is what was in the file from my save with default settings:

WorldOption.sav.json
{
  "header": {
    "magic": 1396790855,
    "save_game_version": 3,
    "package_version": {
      "New": [
        522,
        1008
      ]
    },
    "engine_version_major": 5,
    "engine_version_minor": 1,
    "engine_version_patch": 1,
    "engine_version_build": 0,
    "engine_version": "++UE5+Release-5.1",
    "custom_format_version": 3,
    "custom_format": [
      {
        "id": "40d2fba7-4b48-4ce5-b038-5a75884e499e",
        "value": 7
      },
      {
        "id": "fcf57afa-5076-4283-b9a9-e658ffa02d32",
        "value": 76
      },
      {
        "id": "0925477b-763d-4001-9d91-d6730b75b411",
        "value": 1
      },
      {
        "id": "4288211b-4548-16c6-1a76-67b2507a2a00",
        "value": 1
      },
      {
        "id": "1ab9cecc-0000-6913-0000-4875203d51fb",
        "value": 100
      },
      {
        "id": "4cef9221-470e-d43a-7e60-3d8c16995726",
        "value": 1
      },
      {
        "id": "e2717c7e-52f5-44d3-950c-5340b315035e",
        "value": 7
      },
      {
        "id": "11310aed-2e55-4d61-af67-9aa3c5a1082c",
        "value": 17
      },
      {
        "id": "a7820cfb-20a7-4359-8c54-2c149623cf50",
        "value": 21
      },
      {
        "id": "f6dfbb78-bb50-a0e4-4018-b84d60cbaf23",
        "value": 2
      },
      {
        "id": "24bb7af3-5646-4f83-1f2f-2dc249ad96ff",
        "value": 5
      },
      {
        "id": "76a52329-0923-45b5-98ae-d841cf2f6ad8",
        "value": 5
      },
      {
        "id": "5fbc6907-55c8-40ae-8e67-f1845efff13f",
        "value": 1
      },
      {
        "id": "82e77c4e-3323-43a5-b46b-13c597310df3",
        "value": 0
      },
      {
        "id": "0ffcf66c-1190-4899-b160-9cf84a46475e",
        "value": 1
      },
      {
        "id": "9c54d522-a826-4fbe-9421-074661b482d0",
        "value": 44
      },
      {
        "id": "b0d832e4-1f89-4f0d-accf-7eb736fd4aa2",
        "value": 10
      },
      {
        "id": "e1c64328-a22c-4d53-a36c-8e866417bd8c",
        "value": 0
      },
      {
        "id": "375ec13c-06e4-48fb-b500-84f0262a717e",
        "value": 4
      },
      {
        "id": "e4b068ed-f494-42e9-a231-da0b2e46bb41",
        "value": 40
      },
      {
        "id": "cffc743f-43b0-4480-9391-14df171d2073",
        "value": 37
      },
      {
        "id": "b02b49b5-bb20-44e9-a304-32b752e40360",
        "value": 3
      },
      {
        "id": "a4e4105c-59a1-49b5-a7c5-40c4547edfee",
        "value": 0
      },
      {
        "id": "39c831c9-5ae6-47dc-9a44-9c173e1c8e7c",
        "value": 0
      },
      {
        "id": "78f01b33-ebea-4f98-b9b4-84eaccb95aa2",
        "value": 20
      },
      {
        "id": "6631380f-2d4d-43e0-8009-cf276956a95a",
        "value": 0
      },
      {
        "id": "12f88b9f-8875-4afc-a67c-d90c383abd29",
        "value": 45
      },
      {
        "id": "7b5ae74c-d270-4c10-a958-57980b212a5a",
        "value": 13
      },
      {
        "id": "d7296918-1dd6-4bdd-9de2-64a83cc13884",
        "value": 3
      },
      {
        "id": "c2a15278-bfe7-4afe-6c17-90ff531df755",
        "value": 1
      },
      {
        "id": "6eaca3d4-40ec-4cc1-b786-8bed09428fc5",
        "value": 3
      },
      {
        "id": "29e575dd-e0a3-4627-9d10-d276232cdcea",
        "value": 17
      },
      {
        "id": "af43a65d-7fd3-4947-9873-3e8ed9c1bb05",
        "value": 15
      },
      {
        "id": "6b266cec-1ec7-4b8f-a30b-e4d90942fc07",
        "value": 1
      },
      {
        "id": "0df73d61-a23f-47ea-b727-89e90c41499a",
        "value": 1
      },
      {
        "id": "601d1886-ac64-4f84-aa16-d3de0deac7d6",
        "value": 80
      },
      {
        "id": "5b4c06b7-2463-4af8-805b-bf70cdf5d0dd",
        "value": 10
      },
      {
        "id": "e7086368-6b23-4c58-8439-1b7016265e91",
        "value": 4
      },
      {
        "id": "9dffbcd6-494f-0158-e221-12823c92a888",
        "value": 10
      },
      {
        "id": "f2aed0ac-9afe-416f-8664-aa7ffa26d6fc",
        "value": 1
      },
      {
        "id": "174f1f0b-b4c6-45a5-b13f-2ee8d0fb917d",
        "value": 10
      },
      {
        "id": "35f94a83-e258-406c-a318-09f59610247c",
        "value": 41
      },
      {
        "id": "b68fc16e-8b1b-42e2-b453-215c058844fe",
        "value": 1
      },
      {
        "id": "b2e18506-4273-cfc2-a54e-f4bb758bba07",
        "value": 1
      },
      {
        "id": "64f58936-fd1b-42ba-ba96-7289d5d0fa4e",
        "value": 1
      },
      {
        "id": "697dd581-e64f-41ab-aa4a-51ecbeb7b628",
        "value": 88
      },
      {
        "id": "d89b5e42-24bd-4d46-8412-aca8df641779",
        "value": 41
      },
      {
        "id": "59da5d52-1232-4948-b878-597870b8e98b",
        "value": 8
      },
      {
        "id": "26075a32-730f-4708-88e9-8c32f1599d05",
        "value": 0
      },
      {
        "id": "6f0ed827-a609-4895-9c91-998d90180ea4",
        "value": 2
      },
      {
        "id": "30d58be3-95ea-4282-a6e3-b159d8ebb06a",
        "value": 1
      },
      {
        "id": "717f9ee7-e9b0-493a-88b3-91321b388107",
        "value": 16
      },
      {
        "id": "430c4d19-7154-4970-8769-9b69df90b0e5",
        "value": 15
      },
      {
        "id": "aafe32bd-5395-4c14-b66a-5e251032d1dd",
        "value": 1
      },
      {
        "id": "23afe18e-4ce1-4e58-8d61-c252b953beb7",
        "value": 11
      },
      {
        "id": "a462b7ea-f499-4e3a-99c1-ec1f8224e1b2",
        "value": 4
      },
      {
        "id": "2eb5fdbd-01ac-4d10-8136-f38f3393a5da",
        "value": 5
      },
      {
        "id": "509d354f-f6e6-492f-a749-85b2073c631c",
        "value": 0
      },
      {
        "id": "b6e31b1c-d29f-11ec-857e-9f856f9970e2",
        "value": 1
      },
      {
        "id": "4a56eb40-10f5-11dc-92d3-347eb2c96ae7",
        "value": 2
      },
      {
        "id": "d78a4a00-e858-4697-baa8-19b5487d46b4",
        "value": 18
      },
      {
        "id": "5579f886-933a-4c1f-83ba-087b6361b92f",
        "value": 2
      },
      {
        "id": "612fbe52-da53-400b-910d-4f919fb1857c",
        "value": 1
      },
      {
        "id": "a4237a36-caea-41c9-8fa2-18f858681bf3",
        "value": 5
      },
      {
        "id": "804e3f75-7088-4b49-a4d6-8c063c7eb6dc",
        "value": 5
      },
      {
        "id": "1ed048f4-2f2e-4c68-89d0-53a4f18f102d",
        "value": 1
      },
      {
        "id": "fb680af2-59ef-4ba3-baa8-19b573c8443d",
        "value": 2
      },
      {
        "id": "9950b70e-b41a-4e17-bbcc-fa0d57817fd6",
        "value": 1
      },
      {
        "id": "ab965196-45d8-08fc-b7d7-228d78ad569e",
        "value": 1
      }
    ]
  },
  "root": {
    "save_game_type": "/Script/Pal.PalWorldOptionSaveGame",
    "properties": {
      "Version": {
        "Int": {
          "value": 100
        }
      },
      "Timestamp": {
        "Struct": {
          "value": {
            "DateTime": 638415339956860000
          },
          "struct_type": "DateTime",
          "struct_id": "00000000-0000-0000-0000-000000000000"
        }
      },
      "OptionWorldData": {
        "Struct": {
          "value": {
            "Struct": {
              "Settings": {
                "Struct": {
                  "value": {
                    "Struct": {
                      "Difficulty": {
                        "Enum": {
                          "value": "EPalOptionWorldDifficulty::Normal",
                          "enum_type": "EPalOptionWorldDifficulty"
                        }
                      },
                      "DeathPenalty": {
                        "Enum": {
                          "value": "EPalOptionWorldDeathPenalty::ItemAndEquipment",
                          "enum_type": "EPalOptionWorldDeathPenalty"
                        }
                      },
                      "bActiveUNKO": {
                        "Bool": {
                          "value": true
                        }
                      },
                      "bAutoResetGuildNoOnlinePlayers": {
                        "Bool": {
                          "value": true
                        }
                      },
                      "PalEggDefaultHatchingTime": {
                        "Float": {
                          "value": 2.0
                        }
                      },
                      "bIsMultiplay": {
                        "Bool": {
                          "value": true
                        }
                      },
                      "bEnableNonLoginPenalty": {
                        "Bool": {
                          "value": false
                        }
                      },
                      "bIsStartLocationSelectByMap": {
                        "Bool": {
                          "value": false
                        }
                      }
                    }
                  },
                  "struct_type": {
                    "Struct": "PalOptionWorldSettings"
                  },
                  "struct_id": "00000000-0000-0000-0000-000000000000"
                }
              }
            }
          },
          "struct_type": {
            "Struct": "PalOptionWorldSaveData"
          },
          "struct_id": "00000000-0000-0000-0000-000000000000"
        }
      }
    }
  },
  "extra": [
    0,
    0,
    0,
    0
  ]
}

from palworld-host-save-fix.

xNul avatar xNul commented on September 17, 2024

Closed with #17

from palworld-host-save-fix.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.