legoduded / palworld-worldoptions

A tool for creating WorldOption.sav and applying the PalWorldSettings.ini for dedicated servers
132 stars 14 forks source link

Max Players still taken from ini #11

Open Tetley22 opened 5 months ago

Tetley22 commented 5 months ago

Using your web interface, the ServerPlayerMaxNum setting is still set from the PalWorldSettings.ini and not the generated WorldOption.sav file. I think it may completely ignore this setting in the WorldOption.sav file. I have not checked your repo but there may be a typo/misspelling for this setting?

I tested this by setting a different number in each file and it used the ini setting. I further tested by removing the ini file, and the max players defaulted to 32 players and not the 12 players I set in the WorldOption.sav file.

Edit: Should note it does read other settings from WorldOptions.sav, confirmed by ServerName setting.

legoduded commented 5 months ago

Interesting. I was able to reproduce this. Most other settings in PalWorldSettings.ini are completely ignored if WorldOptions.sav is present. I wonder why this one still needs to load from PalWorldSettings.ini. I guess the workaround is leaving ServerPlayerMaxNum= in your PalWorldSettings.ini.

Going to leave this open for now to see if I can find other values that only load from PalWorldSettings.ini