palworld-server-docker icon indicating copy to clipboard operation
palworld-server-docker copied to clipboard

I seem to have a problem with the settings configuration

Open dexterIshere opened this issue 1 year ago • 16 comments

Server runs without the setings configured in PalWorldSettings.ini

I'm not the player in this story, but i hosted a server using your compose file in a dedicated serv for my homies. At the begining i only customised the parameters in the PalWorldSettings.ini located inside blablabla/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini. wich was like that :

[/Script/Pal.PalGameWorldSettings]
OptionSettings=(Difficulty=Difficult,DayTimeSpeedRate=1.000000,NightTimeSpeedRate=1.000000,ExpRate=1.000000,PalCaptureRate=1.000000,PalSpawnNumRate=1.000000,PalDamageRateAttack=1.000000,PalDamageRateDefense=1.000000,PlayerDamageRateAttack=1.000000,PlayerDamageRateDefense=1.000000,PlayerStomachDecreaceRate=1.000000,PlayerStaminaDecreaceRate=1.000000,PlayerAutoHPRegeneRate=1.000000,PlayerAutoHpRegeneRateInSleep=1.000000,PalStomachDecreaceRate=1.000000,PalStaminaDecreaceRate=1.000000,PalAutoHPRegeneRate=1.000000,PalAutoHpRegeneRateInSleep=1.000000,BuildObjectDamageRate=1.000000,BuildObjectDeteriorationDamageRate=1.000000,CollectionDropRate=1.000000,CollectionObjectHpRate=1.000000,CollectionObjectRespawnSpeedRate=1.000000,EnemyDropItemRate=1.000000,DeathPenalty=All,bEnablePlayerToPlayerDamage=False,bEnableFriendlyFire=False,bEnableInvaderEnemy=True,bActiveUNKO=False,bEnableAimAssistPad=True,bEnableAimAssistKeyboard=False,DropItemMaxNum=3000,DropItemMaxNum_UNKO=100,BaseCampMaxNum=128,BaseCampWorkerMaxNum=15,DropItemAliveMaxHours=1.000000,bAutoResetGuildNoOnlinePlayers=False,AutoResetGuildTimeNoOnlinePlayers=72.00000,GuildPlayerMaxNum=20,PalEggDefaultHatchingTime=2.00000,WorkSpeedRate=1.000000,bIsMultiplay=False,bIsPvP=True,bCanPickupOtherGuildDeathPenaltyDrop=False,bEnableNonLoginPenalty=True,bEnableFastTravel=True,bIsStartLocationSelectByMap=True,bExistPlayerAfterLogout=False,bEnableDefenseOtherGuildPlayer=False,CoopPlayerMaxNum=4,ServerPlayerMaxNum=16,ServerName="Default Palworld Server",ServerDescription="",AdminPassword="",ServerPassword="",PublicPort=8211,PublicIP="",RCONEnabled=true,RCONPort=25575,Region="",bUseAuth=True,BanListURL="https://api.palworldgame.com/api/banlist.txt")

But they say that the game was not in Difficult. So i decided to move with the .env file. and the PalWorldSettings.ini file turn into this :

; This configuration file is a sample of the default server settings.
; Changes to this file will NOT be reflected on the server.
; To change the server settings, modify Pal/Saved/Config/LinuxServer/PalWorldSettings.ini.
[/Script/Pal.PalGameWorldSettings]
OptionSettings=(Difficulty=Difficult,DayTimeSpeedRate=1.000000,NightTimeSpeedRate=1.000000,ExpRate=1.000000,PalCaptureRate=1.000000,PalSpawnNumRate=1.000000,PalDamageRateAttack=1.000000,PalDamageRateDefense=1.000000,PlayerDamageRateAttack=1.000000,PlayerDamageRateDefense=1.000000,PlayerStomachDecreaceRate=1.000000,PlayerStaminaDecreaceRate=1.000000,PlayerAutoHPRegeneRate=1.000000,PlayerAutoHpRegeneRateInSleep=1.000000,PalStomachDecreaceRate=1.000000,PalStaminaDecreaceRate=1.000000,PalAutoHPRegeneRate=1.000000,PalAutoHpRegeneRateInSleep=1.000000,BuildObjectDamageRate=1.000000,BuildObjectDeteriorationDamageRate=1.000000,CollectionDropRate=1.000000,CollectionObjectHpRate=1.000000,CollectionObjectRespawnSpeedRate=1.000000,EnemyDropItemRate=1.000000,DeathPenalty=All,bEnablePlayerToPlayerDamage=False,bEnableFriendlyFire=False,bEnableInvaderEnemy=True,bActiveUNKO=False,bEnableAimAssistPad=True,bEnableAimAssistKeyboard=False,DropItemMaxNum=3000,DropItemMaxNum_UNKO=100,BaseCampMaxNum=128,BaseCampWorkerMaxNum=15,DropItemAliveMaxHours=1.000000,bAutoResetGuildNoOnlinePlayers=False,AutoResetGuildTimeNoOnlinePlayers=72.00000,GuildPlayerMaxNum=20,PalEggDefaultHatchingTime=2.00000,WorkSpeedRate=1.000000,bIsMultiplay=False,bIsPvP=True,bCanPickupOtherGuildDeathPenaltyDrop=False,bEnableNonLoginPenalty=True,bEnableFastTravel=True,bIsStartLocationSelectByMap=True,bExistPlayerAfterLogout=False,bEnableDefenseOtherGuildPlayer=False,CoopPlayerMaxNum=4,ServerPlayerMaxNum=16,ServerName="Default Palworld Server",ServerDescription="",AdminPassword="",ServerPassword="",PublicPort=8211,PublicIP="",RCONEnabled=true,RCONPort=25575,Region="",bUseAuth=True,BanListURL="https://api.palworldgame.com/api/banlist.txt")

And same result not even the Dificulty mode changed. BUUUUUUUUUT, in the .env file i changed the servname and password + description and this changes worked because they were able to connect. So why game settings wont work.

THX

dexterIshere avatar Jan 29 '24 22:01 dexterIshere

for now this is yesterday image image id : sha256:6f168a13792cd29c0ab1a103d706eeb280b4a847dc796baa57be5a6be0523280 change use image to this

https://drive.google.com/file/d/19XNxFsn__buVYu-sP48VkrF45W_O80zo/view?usp=sharing

chickiyeah avatar Jan 30 '24 01:01 chickiyeah

THX. i'll try and come back to you

dexterIshere avatar Jan 30 '24 01:01 dexterIshere

for now this is yesterday image image id : sha256:6f168a13792cd29c0ab1a103d706eeb280b4a847dc796baa57be5a6be0523280 change use image to this

https://drive.google.com/file/d/19XNxFsn__buVYu-sP48VkrF45W_O80zo/view?usp=sharing

what am'i suposed to do exactly ?

dexterIshere avatar Jan 30 '24 02:01 dexterIshere

As far as I know, the Difficulty setting is not valid on dedicated servers. You will have to adjust the detailed difficulty.

bbung224 avatar Jan 30 '24 02:01 bbung224

I understood that the Palworldsetting was not completely working, so I told you how, but I think I got it wrong

chickiyeah avatar Jan 30 '24 02:01 chickiyeah

sry but what do you mean by "adjust the detailed difficulty."

dexterIshere avatar Jan 30 '24 02:01 dexterIshere

I understood that the Palworldsetting was not completely working, so I told you how, but I think I got it wrong

ha ok ok

dexterIshere avatar Jan 30 '24 02:01 dexterIshere

As far as I know, the Difficulty setting is not valid on dedicated servers. You will have to adjust the detailed difficulty.

And do you know if other setting like PVP do not work too ?

dexterIshere avatar Jan 30 '24 02:01 dexterIshere

ExpRate, PalCaptureRate, CollectionDropRate, etc.. You might want to check out the following link. https://www.bisecthosting.com/clients/index.php?rp=/knowledgebase/968/How-to-change-the-difficulty-on-a-Palworld-server.html

Also, your dedicated server should be on "Hard" difficulty, but if your players say your server is easy, you should probably make it harder.

bbung224 avatar Jan 30 '24 02:01 bbung224

ExpRate, PalCaptureRate, CollectionDropRate, etc.. You might want to check out the following link. https://www.bisecthosting.com/clients/index.php?rp=/knowledgebase/968/How-to-change-the-difficulty-on-a-Palworld-server.html

Also, your dedicated server should be on "Hard" difficulty, but if your players say your server is easy, you should probably make it harder.

haha well thx !! they'll be entitled to the mischievous composition

dexterIshere avatar Jan 30 '24 02:01 dexterIshere

Sorry, I don't know about the PVP settings. I haven't tested it.

bbung224 avatar Jan 30 '24 02:01 bbung224

np, but by chance, do you know why the Difficulty field may cause issues.

dexterIshere avatar Jan 30 '24 02:01 dexterIshere

I have no clue

bbung224 avatar Jan 30 '24 02:01 bbung224

I have no clue

hmmm, it seem that this is a kind of Preset that if you change it you'd better not to change anything else

dexterIshere avatar Jan 30 '24 10:01 dexterIshere

Problem should be resolved in update 0.19.1 thanks to beomseok-park, please pull the latest image and check if your issue has been resolved.

thijsvanloef avatar Jan 30 '24 19:01 thijsvanloef

If you are still having trouble after updating, please remove your PalWorldSettings.ini and restart your container.

thijsvanloef avatar Jan 30 '24 21:01 thijsvanloef

I just got back, sorry I was away on a business trip for a week. Thank you for continuing my PR :)

Regarding the Setting file, it seems that when we start the starts.sh script, it works correctly and rewrites the Pal configuration file. However, currently, there's an invisible character being added with PalCaptureRate=1.000000e, making the file unreadable for the server and preventing the new server configuration from working.

I deleted the lines that modify EXP_RATE and PalCaptureRate in the starts.sh file, and since then, everything has been working again.

Every time I delete the character and restart the server, it comes back.

Screenshot 2024-01-30 at 22 48 20

GuillaumeBarreau avatar Jan 31 '24 03:01 GuillaumeBarreau

I am writing a method that is a bit more readable in an attempt to simplify and make the writing of this file clearer, as it's a bit complicated to maintain at the moment."

Screenshot 2024-01-30 at 22 50 59

It's the second time I'm doing bash, so please be kind :D

GuillaumeBarreau avatar Jan 31 '24 03:01 GuillaumeBarreau

Closing this issue to merge all related issues into one: https://github.com/thijsvanloef/palworld-server-docker/issues/239

thijsvanloef avatar Jan 31 '24 08:01 thijsvanloef