PizzaClientLagFix

v1.3.4·Updated 2026-09-13

Fixes unpredictable multiplayer lag for Mithrix's pizza (big spinny) attack

About this mod Author’s original text

PizzaClientLagFix

What it do??

If you've ever played multiplayer, you may have noticed extreme lag with Mithrix's pizza (big spinny) attack. This mod aims to fix that.

The problem

The rotation of the attack is technically simulated on clients, but badly, it does not take network delay into consideration at all, and since the damage check is serverside, this results in potentially massive desyncs between the visual position and where the damage is actually applied.

Vanilla sequence of events:

  • Attack starts, spinnies are spawned
  • Non-host dodges attack on their end
  • Host has a completely different rotation, so the non-host gets hit anyway
  • Everyone is sad:(

How fix????

This mod makes the damage check clientside, so whether you take damage or not will always match with the visuals. But because damage is still serverside, this does introduce a slight delay before the damage is actually applied.

Mod sequence of events:

  • Attack starts, spinnies are spawned
  • Either, A:
  • Non-host dodges attack on their end
  • Host runs damage check, hits non-host player, but this is ignored, no damage is dealt
  • B:
  • Non-host gets hit on their end
  • Non-host sends message to host, signaling that they were hit
  • Noticeable, but slight delay for the damage message to be received, depending on ping
  • Host receives damage message, deals damage, regardless of normal damage check
  • Everyone is happy:)

Mithrix's shockwaves are also given this same fix

Credits:

Nuxlar: testing and mod icon

Me: the rest

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:

bbepis-BepInExPackRiskofThunder-HookGenPatcher

File & checksum

Filename
PizzaClientLagFix-1.3.4.zip
File size
71.5 KiB