CoronerFix

版本 v1.0.1·更新於 2026-09-17

Preloader patch for Coroner fixing massive console log spam (Could not access dying player: Collider was not a player / Index not assigned).

模組介紹 作者原文

Coroner Fix

An automated BepInEx preloader patch for Coroner (EliteMasterEric-Coroner) that silences the rampant console log spam:

[Warning: Coroner] Could not access dying player: Collider was not a player!

[Warning: Coroner] Could not access dying player: Index not assigned!

What It Fixes

In unpatched versions of Coroner (v2.4.1), whenever an enemy attacks or collides with any non-player object (doors, terrain, items, or other enemies), CauseOfDeathPatchState repeatedly emits LogWarning entries. Over a standard session, this floods LogOutput.log with tens or hundreds of thousands of false-positive warning lines, reducing disk performance and cluttering game logs.

This patch cleanly demotes all non-player collision warnings in CauseOfDeathPatchState to LogDebug, suppressing them from standard console and log output while preserving normal cause-of-death reporting functionality.

How It Works

This mod runs as a BepInEx preloader patcher. At game startup, it scans for Coroner.dll in BepInEx/plugins/ and applies the IL patch in-place before plugins are loaded into memory:

  • Fully automated—no manual file decompilation required.
  • Automatically creates a.orig backup of the unpatched binary.
  • Survives mod updates and reinstalls.

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

BepInEx-BepInExPackEliteMasterEric-Coroner

檔案與校驗

檔案名稱
CoronerFix-1.0.1.zip
檔案大小
44.3 KiB