CLLCCompatibility Crashfixx
Fixes Valheim 1.0+ boss altar spawn crash for CreatureLevelAndLootControl alongside all 1.0.12 API compatibility repairs.
模組介紹 作者原文
CLLC Compatibility CrashFix (Valheim 1.0+)
Compatibility and Boss Spawn Crash Fix for CreatureLevelAndLootControl (CLLC) on Valheim 1.0+ (Ashlands and newer).
What This Fixes
- Boss Altar Summoning Crash (Fixed):
- In Valheim 1.0+, OfferingBowl.DelayedSpawnBoss shifted internal local variables (GameObject to slot 1, BaseAI to slot 2).
- Original CLLC hardcoded loading slot 1, mistakenly treating the boss's 3D GameObject as a Component/BaseAI, causing an immediate fatal engine crash (Access Violation in UnityPlayer.dll / GCHandle:GetTarget) the moment Eikthyr or any boss appeared.
- This package corrects the transpiler instruction to target slot 2 (BaseAI) and adds an upfront null-guard.
- All Prior Valheim 1.0.12 Compatibility Repairs:
- Updates sector APIs (ZDO.GetSector, ZoneSystem.GetZonePos).
- Fixes EffectList.Create (5-argument to 6-argument forwarding).
- Fixes Inventory.Changed and inventory crafting notifications.
- Fixes Minimap.noForest color field references.
- Fixes CookingStation.SpawnItem and Inventory.AddItem argument counts.
Requirements
- Smoothbrain-CreatureLevelAndLootControl-4.6.4
- denikson-BepInExPack_Valheim-5.4.2350 (or newer)
Installation
r2modman:
- Disable or uninstall older L4zerShark_Team-CLLCCompatibility if present (to avoid duplicate loaders).
- Install / Import this mod (CLLCCompatibility_Crashfixx).
- Ensure the original Smoothbrain-CreatureLevelAndLootControl remains installed and enabled.
- Launch modded Valheim!
Dedicated Server Manual Install:
- Extract the patchers/ folder into your server's BepInEx/ directory so the DLL resides at:
BepInEx/patchers/CLLCCompatibility_Crashfixx/CLLCCompatibility.dll
- Remove any old CreatureLevelControl.dll inside BepInEx/cache/ValheimThreeCompatibility/ so it rebuilds cleanly.
- Start the server normally.
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
前置依賴
下面這些內容需要先安裝,否則該模組不會生效:
Smoothbrain-CreatureLevelAndLootControldenikson-BepInExPack_Valheim