FixRPCLag

v1.0.1·Updated 2024-01-07

Fixes RPC lag. This should fix the several second slowdown that occurs when some mods throw exceptions in the console.

About this mod Author’s original text

Fix RPC Lag

Fixes lag that's caused by NetworkManager.LogLevel being set to Developer. When set to Developer, every RPC error will print the RPC Table Contents, causing a lag spike that lasts for several seconds.

This BepInEx mod was originally made for Lethal Company, but it should work for any game that uses NGO for networking.

Explosion icon by BenHickling on OpenGameArt

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.

Dependencies

Install these first, or the mod will not work:

BepInEx-BepInExPack

File & checksum

Filename
FixRPCLag-1.0.1.zip
File size
16.2 KiB