AITeam-FloodFix icon

FloodFix

Stops big TNT chains from flooding the network and the kill popups, without losing fish value. Also trims voice chat traffic and Opus load.

By AITeam
Last updated 7 hours ago
Total downloads 21
Total rating 0 
Categories Mods Audio AI Generated
Dependency string AITeam-FloodFix-1.0.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2305

README

FloodFix

Fixes the lag, k_EResultLimitExceeded spam and popup flood after exploding lots of TNT in the water.

What it does

  • Fish budget: underwater explosions spawn at most FishPerWindow fish per WindowSeconds. Past that, each explosion spawns 1 fish that carries the value of the fish it would have spawned (kill-score multiplier scaled), so earnings stay about the same.
  • Kill popups: if MaxKillQueue popups are already pending, new kills are merged into the last one instead of queuing.
  • Voice chat: silence is no longer sent 50 times a second (a few trailing empty frames keep the "stopped talking" state), and Opus complexity is lowered (6 -> 3).

Config

BepInEx/config/com.dan.htf.voicefix.cfg

  • TNT: FishPerWindow (30), WindowSeconds (5), MaxKillQueue (2)
  • Voice: OpusComplexity (3), MaxCodecMs (100)
  • Network: TrailingSilenceFrames (5)

Notes

  • Works best installed on the host (explosions are server-side). The voice trim helps whoever has it.
  • Fish value compensation uses the average of the game's 3-5 fish roll, so a single blast can differ slightly.
  • Game version tested: 1.0.12.

Changelog

  • 1.0.0 Initial.