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

[Feature Request] ENV Var for Tickrate

Open stormDE opened this issue 1 year ago • 5 comments

Have you read the Important information text above

  • [X] Yes i did

Current behavior

In some cases for Experimenting, its useful to Set the tickrate lower. this can be be done in /Pal/Saved/Config/LinuxServer/Engine.ini and paste at the bottom of the file following lines:

[/Script/OnlineSubsystemUtils.IpNetDriver] NetServerMaxTickRate=60

Desired behavior

Please Add an ENV like NetServerMaxTickRate=30

Links to screenshots

Some Reddit post: https://www.reddit.com/r/Palworld/comments/19avqax/comment/kip5w5w/?utm_source=share&utm_medium=web2x&context=3

To Reproduce

Nothing to reproduce.

Software setup

  • OS: Ubuntu 22.04 LTS
  • Docker: 20.10.21

Hardware setup

  • vCPU: 6
  • RAM: 16GB
  • Disk: SSD 200GB

Additional context

This Container is Awesome!

stormDE avatar Jan 25 '24 18:01 stormDE

Hey @stormDE thanks for the FR. Few questions arise here:

  • Is there something official that Palworld does support this?
  • What is the default value of the setting?
  • Does it matter if we put it into Engine.ini or PalWorldsettings.ini? I tend to agree with the "jbo-guy" on here: https://www.reddit.com/r/Palworld/comments/19avqax/comment/kip5w5w/?tm_source=share&utm_medium=web2x&context=3

jammsen avatar Jan 25 '24 22:01 jammsen

Hi @jammsen,

I don't know exactly if it would be accepted in another config file, unfortunately these are undocumented settings from pocketpair but well known settings of unreal engine ... But I would take the following statements from this reddit or github gists post.

more details under https://www.reddit.com/r/Palworld/comments/19f6i19/optimizing_palworld_dedicated_server_engineini/

https://gist.github.com/blackjack4494/628748503c182f5cae04ddacd1e453fa

Thanks!

stormDE avatar Jan 26 '24 03:01 stormDE

I have added the functionality, please go ahead and try it, the variable is in the readme, im updating now the docker-compose examples with it.

jammsen avatar Jan 26 '24 12:01 jammsen

Examples are finished too!

jammsen avatar Jan 26 '24 12:01 jammsen

tested and it worked! Thanks so much!

stormDE avatar Jan 29 '24 04:01 stormDE

Im closing this issue as resolved, feel free to reach out again if you need help.

If you like this project, please consider giving this repo and the docker-hub-repo a Star.

jammsen avatar Jan 30 '24 18:01 jammsen