You are viewing a potentially older version of this package. View all versions.
Keroppi-KarmaFix-1.1.1 icon

KarmaFix

Fixed version of KarmaForBeingAnnoying. The original mod calls a removed Landmine.SpawnExplosion overload causing MissingMethodException on every karma trigger. Recompiled against current Assembly-CSharp. Drop-in replacement — existing config preserved.

By Keroppi
Date uploaded 5 months ago
Version 1.1.1
Download link Keroppi-KarmaFix-1.1.1.zip
Downloads 195
Dependency string Keroppi-KarmaFix-1.1.1

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

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

Preferred version: 5.4.2100

README

KarmaFix

Fixed drop-in replacement for CTMods-KarmaForBeingAnnoying.

Problem

The original mod (v1.1.0, abandoned) calls Landmine.SpawnExplosion(Vector3, bool, float, float) — a 4-parameter overload that no longer exists in the current game. This causes a MissingMethodException silently swallowed in the coroutine every time the karma probability roll fires. The probability rolls were working fine; only the actual explosion was broken.

Fix

Recompiled against the current Assembly-CSharp.dll. The compiler resolves the same call to the 8-parameter overload (the 4 new params all have defaults), so no logic changes were needed.

Usage

Replace CTMods-KarmaForBeingAnnoying with this mod in your profile. Your existing Chrigi.KarmaForBeingAnnoyingMod.cfg config file is preserved — this mod uses the same GUID.