lloesche / valheim-server-docker

Valheim dedicated gameserver with automatic update, World backup, BepInEx and ValheimPlus mod support
https://hub.docker.com/r/lloesche/valheim-server
Apache License 2.0
1.92k stars 269 forks source link

Modified DLL file gets overwritten each time #537

Closed daxxio closed 1 year ago

daxxio commented 1 year ago

Hi there!

I am trying to add a modified dll file to reduce lag on the dedicated server. But I noticed the following log entry each time I replace the file: Dec 11 13:57:48 /supervisord: valheim-updater >f+++++++++ valheim_server_Data/Managed/assembly_valheim.dll It gets replaced by the orginal file again.

Here is the modified file in question: assembly_valheim.zip

Is there a way that I can say: Ignore this dll file, do not replace it? For extra info, I edited the file according to this guide: https://jamesachambers.com/revisiting-fixing-valheim-lag-modifying-send-receive-limits/

daxxio commented 1 year ago

Found a fix already. I just copied the file over with the PRE_SERVER_RUN_HOOK variable.