Skillfern Triforce Compat Fix

版本 v1.0.0·更新於 2026-08-11

Compatibility patch for SkillFern and Triforce. Prevents their shared Photon event code 187 from being misread by the other mod. Requires both originals.

模組介紹 作者原文

Skillfern-Triforce Compat Fix

A small compatibility patch for DaJadeNinja's SkillFern and Omniscye's Triforce.

What it fixes

SkillFern and Triforce both use Photon event code 187, but their payload formats are different. Without a guard, each mod can receive the other mod's packet and try to parse it as its own data. In the observed failure, Triforce attempted to convert SkillFern's Steam ID string into a float, throwing a FormatException and interrupting SkillFern's network upgrade handling.

This patch leaves both original mods installed and unchanged. At runtime it adds a small Harmony prefix to each event handler:

  • Triforce only handles event 187 when the payload matches its expected four-value form: int, float, float, float.
  • SkillFern only handles event 187 when the payload matches SkillFern's format, including the Steam ID string in slot 1.
  • All non-187 events pass through untouched.

Requirements

  • Omniscye - Triforce 1.0.1
  • DaJadeNinja - SkillFern 1.2.0

Both are declared as package dependencies and remain the actual mods providing their features. This package does not contain or replace either original DLL.

Multiplayer

For consistent behavior, use the patch anywhere SkillFern and Triforce are being used together in the same lobby.

Credits

SkillFern is by DaJadeNinja. Triforce is by Omniscye. This package only provides compatibility logic between them.

安裝與使用 安裝:BepInEx 外掛

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

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

前置依賴

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

BepInEx-BepInExPackOmniscye-TriforceDaJadeNinja-SkillFern

檔案與校驗

檔案名稱
Skillfern_Triforce_Compat_Fix-1.0.0.zip
檔案大小
7.3 KiB
SHA-256
cb080ef9fcad949789086fbf690f0f43267eea1c16927ea4b9fecbcb6a294059
入庫時間
2026-10-09 18:16