Valheim – Fix For multiplayer Lag

Valheim – Fix For multiplayer Lag 1 - steamlists.com
Valheim – Fix For multiplayer Lag 1 - steamlists.com
If you encounter some extreme rubber banding and skipping during multiplayer and can’t attribute it to one person’s connection or faulty server hardware, it is most likely due to the game’s 60kb upload cap and the tendency for players to hit the cap in complex multiplayer situations. Hopefully this guide will help you out but it goes without saying, I do not guarantee anything.

 

 

Download DNSPY

Download DNSPY -> https://github.com/dnSpy/dnSpy/releases 
 
Extract the contents into its’ own folder somewhere on your pc. 
 
Run DNSPY 
 
File > Open: 
Navigate to (Drive where your game is located):\SteamLibrary\steamapps\common\Valheim\valheim_Data\Managed\ 
Select assembly_valheim.dll 
Click Open 
 
In the left panel Titled ‘Assembly Explorer’, Find and select assembly_valheim.dll. 
Select {} 
Select ZDOMAN 
Select m_dataPerSec, Right-Click and select Edit Class… 
in the line “private int m_dataPerSec = ” set it to at least 122880 
Click Compile in the bottom right corner 
Click File > Save Assembly 
 
 
 

Start your Server.

If you are hosting the Valheim locally on your own PC, then all you need to do at this point is launch your server and have some people join. If you are still experiencing lag, then other things may be causing your problems and I am sorry. 
 
If you are connecting to a dedicated server, then you need to replace the assembly_valheim.dll file that the dedicated server uses. Once the file is replaced using the new value, start/restart your server to load the new file. 
 
Check your performance in-game by hitting F2 and checking the data sent value. If this does not go past 60 then you did something wrong or the .dll was overwritten. 
 
IF THE GAME UPDATES, IT OVERWRITES ASSEMBLY_VALHEIM.DLL AND YOU WILL NEED TO REDO THESE STEPS 
 

Written by All Might

This is all about Valheim – Fix For multiplayer Lag; I hope you enjoy reading the Guide! If you feel like we should add more information or we forget/mistake, please let us know via commenting below, and thanks! See you soon!
 
 
 
 


1 Comment

Leave a Reply

Your email address will not be published.


*