Skip to content
This repository has been archived by the owner on Apr 17, 2021. It is now read-only.

Valheim mod that attempts to remove the network congestion issue introduced with patch 0.146.11 (and is still in 0.147.3)

License

Notifications You must be signed in to change notification settings

mrnotsoevil/valheim-reeenable-nagle

Repository files navigation

Re-enable Nagle's Algorithm in Valheim

The recent version of Valheim (0.146.11) reworked the networking, but disabled an important method that prevents clogging your network with packets, leading to massive lags and disconnects, as well as breaking other services like YouTube or Discord.

This mod attempts to fix this issue and reverts to the old networking method. Please not that rubber banding and desyncs can still occur - this patch is only for removing the massive lags.

Installation

  1. Install Valheim BepInEx
  2. Copy valheim_reenable_nagel.dll (in the ZIP file) into Valheim/BepInEx/plugins

Compiling the plugin

The valheim-show-me/libs folder should contain following DLLs:

  • 0Harmony.dll (from BepInEx)
  • BepInEx.dll (from BepInEx)
  • BepInEx.Harmony.dll (from BepInEx)
  • UnityEngine.dll (from BepInEx)
  • UnityEngine.CoreModule.dll (from BepInEx)
  • assembly_valheim.dll (from Valheim managed directory)
  • assembly_steamworks.dll (from Valheim managed directory)

You can use Visual Studio or Jetbrains Rider.

Harmony patch information

  • Patches SendQueuedPackages in ZSteamSocket (Prefix)

About

Valheim mod that attempts to remove the network congestion issue introduced with patch 0.146.11 (and is still in 0.147.3)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages