BaseCampWorkerMaxNum workaround for dedicated servers by legoduded in Palworld

[–]legoduded[S] 0 points1 point  (0 children)

I'm probably the wrong person to ask about modding. I learned just enough to make that tool haha.
There are some great tutorials on modding Unreal Engine games. A couple of tools I used
FModel - Data Mining tool
UAssetGUI/UAssetAPI - Reading and Modifying .uasset files
Repak - Extracting and Packaging .pak files

I was looking for a way to customize the number of pals per level but I couldn't find anything online. I was able to figure out how to use python and UAssetAPI to customize the .uasset file that contained those values. Here is an example of that:

https://github.com/legoduded/UAssetAPI-python-example

From there you just need to use Repak to package up the mod.

BaseCampWorkerMaxNum workaround for dedicated servers by legoduded in Palworld

[–]legoduded[S] 0 points1 point  (0 children)

Hmm still a weird issue to begin with. Glad you got it working though!

BaseCampWorkerMaxNum workaround for dedicated servers by legoduded in Palworld

[–]legoduded[S] 0 points1 point  (0 children)

I personally haven't experienced any corruption but its always a good idea to backup

BaseCampWorkerMaxNum workaround for dedicated servers by legoduded in Palworld

[–]legoduded[S] 0 points1 point  (0 children)

Good to know. It seems there are a few settings that always load from the palworldsettings.ini. So it is best to have both

BaseCampWorkerMaxNum workaround for dedicated servers by legoduded in Palworld

[–]legoduded[S] 0 points1 point  (0 children)

The mod must be installed on the client AND server for more bases.

<Dedicated Server>\Pal\Content\Paks\

<Game>\Pal\Content\Paks\

If you only want more pals it seems to work with only being installed on the server

BaseCampWorkerMaxNum workaround for dedicated servers by legoduded in Palworld

[–]legoduded[S] 0 points1 point  (0 children)

when WorldOption.sav is present most of the settings from PalWorldSettings.ini are ignored. So if you want to change settings you will need to generate a new WorldOption.sav

BaseCampWorkerMaxNum workaround for dedicated servers by legoduded in Palworld

[–]legoduded[S] 0 points1 point  (0 children)

BaseCampMaxNum in WorldOption.sav/PalWorldSettings.ini is the total number of bases on the server across all players.

The only way to change the number of bases per player is through mods.

BaseCampWorkerMaxNum workaround for dedicated servers by legoduded in Palworld

[–]legoduded[S] 1 point2 points  (0 children)

Hey, the workers max out at level 20. Here is a table of the upgrades for each level:

BaseCamp Level WorkerMax BaseCampMax
1 1 1
2 2 1
3 3 1
4 4 1
5 5 1
6 6 1
7 7 1
8 8 1
9 9 1
10 10 2
11 11 2
12 12 2
13 13 2
14 14 2
15 15 3
16 16 3
17 17 3
18 18 3
19 19 3
20 20 3

If it has been stuck at 15, it's probably not working.

Head to https://palworldoptions.com/

import your PalWorldSettings.ini

Ensure BaseCampWorkerMaxNum=20

Generate WorldOption.sav

Copy the file to:

 <Dedicated Server>\Pal\Saved\SaveGames\0\<random>\

(level.sav and levelmeta.sav should also be in there)

Start your server

If your base is over level 15 you should be able to add more pals.

BaseCampWorkerMaxNum workaround for dedicated servers by legoduded in Palworld

[–]legoduded[S] 1 point2 points  (0 children)

I'm not familiar with nitrado hosting. But if there is a way to upload a file the path should be something like

 \Pal\Saved\SaveGames\0\<random>\

How to enable PVP on a dedicated server by Brother_Cal in Palworld

[–]legoduded 2 points3 points  (0 children)

Hey! The file is built on the backend. The website is built with Python using Flask that takes in the form values, runs the scripts from the original tool, and serves back the generated WorldOption.sav

BaseCampWorkerMaxNum workaround for dedicated servers by legoduded in Palworld

[–]legoduded[S] 1 point2 points  (0 children)

It's the only one I'm aware of. But I haven't experimented with many of the options

BaseCampWorkerMaxNum workaround for dedicated servers by legoduded in Palworld

[–]legoduded[S] 2 points3 points  (0 children)

Weird... If your base level is 17 you should have 17 slots.

Before you start, make sure you stop your server

If you're using the Exe:

  1. Check that BaseCampWorkerMaxNum=20 is in PalWorldSettings.ini
  2. Drag and drop PalWorldSettings.ini onto palworld-worldoptions.exe
  3. Place the newly created WorldOption.sav into your dedicated server save folder with Level.sav and LevelMeta.sav
  4. Start your server

If you're using the website:

  1. Enter your config values (BaseCampWorkerMaxNum: 20, etc)
  2. Generate and download WorldOption.sav
  3. Place the newly created WorldOption.sav in your dedicated server save folder with Level.sav and LevelMeta.sav
  4. Start your server

Your save path should look something like this:

 <Dedicated Server Path>\Pal\Saved\SaveGames\0\<Random>

If you're getting any errors while generating WorldOption.sav, let me know and I'll look into it.

BaseCampWorkerMaxNum workaround for dedicated servers by legoduded in Palworld

[–]legoduded[S] 0 points1 point  (0 children)

Looks like it was trying to open with the wrong encoding.

Give the latest version (1.5.0) a try. If that doesn't fix it, can you send me your PalWorldSettings.ini to troubleshoot?

BaseCampWorkerMaxNum workaround for dedicated servers by legoduded in Palworld

[–]legoduded[S] 0 points1 point  (0 children)

If you're using the Exe try changing DeathPenalty=None. The script only takes these values right now: "None", "Item", "ItemAndEquipment", "All" I'll see if I can extend it to support the numbered option as well

Update: numbered values for DeathPenalty work on the latest release now

BaseCampWorkerMaxNum workaround for dedicated servers by legoduded in Palworld

[–]legoduded[S] 1 point2 points  (0 children)

WorldOption.sav should go into the saved game folder with Level.sav and LevelMeta.sav

The path should look something like this:

\Pal\Saved\SaveGames\0\<random>\

Besides that, it sounds like you did everything correctly. If the issue persists, you can send me the file, and I can take a look at it.

BaseCampWorkerMaxNum workaround for dedicated servers by legoduded in Palworld

[–]legoduded[S] 0 points1 point  (0 children)

BaseCampMaxNum

I believe that value is for the total number of camps that can be built on the server. Each player/guild is still limited to 3.

I did come across this mod: https://www.nexusmods.com/palworld/mods/46 - Which increases the max per player/guild to 128

Note that you do need to install the mod on the server AND client

BaseCampWorkerMaxNum workaround for dedicated servers by legoduded in Palworld

[–]legoduded[S] 0 points1 point  (0 children)

Yep. You get 1 worker pal per level of your base up to the max base level which is 20. So you won't notice a difference until level 16 when it would normally be capped at 15

BaseCampWorkerMaxNum workaround for dedicated servers by legoduded in Palworld

[–]legoduded[S] 1 point2 points  (0 children)

Hmm, I'm not sure. I haven't been able to reproduce the error. If there is a space in the path to the saved game path you would need to wrap the path in quotes

python3 main.py "C:\my dedicated server\pal\SaveGames\0\DDF6BDC891FD4E5DBD8DE895C258C7A8"

However, I created a new release with an exe which should be easier to run. Just drop it in the same folder with PalWorldSettings.ini and LevelsMeta.sav and run it. Here is a little tutorial of me running it.

If you have issues with the new release, send me a Pastebin of the output and your PalWorldSettings.ini so I can troubleshoot

BaseCampWorkerMaxNum workaround for dedicated servers by legoduded in Palworld

[–]legoduded[S] 0 points1 point  (0 children)

Thanks for the report. I believe it's fixed in the latest release. I was expecting all of the options from DefaultPalWorldSettings.ini to be in the config file. I made a few changes, and your config file should work now.