Somedudethattrytomakemodwork-CLLCCompatibility_Crashfixx icon

CLLCCompatibility Crashfixx

Fixes Valheim 1.0+ boss altar spawn crash for CreatureLevelAndLootControl alongside all 1.0.12 API compatibility repairs.

Last updated 4 days ago
Total downloads 368
Total rating 0 
Categories Mods Tweaks AI Generated Deep North Update
Dependency string Somedudethattrytomakemodwork-CLLCCompatibility_Crashfixx-1.0.0
Dependants 1 other package depends on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2350 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2350
Smoothbrain-CreatureLevelAndLootControl-4.6.4 icon
Smoothbrain-CreatureLevelAndLootControl

Puts YOU in control of creature level and loot!

Preferred version: 4.6.4

README

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

  1. 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.
  2. 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

Thunderstore / r2modman:

  1. Disable or uninstall older L4zerShark_Team-CLLCCompatibility if present (to avoid duplicate loaders).
  2. Install / Import this mod (CLLCCompatibility_Crashfixx).
  3. Ensure the original Smoothbrain-CreatureLevelAndLootControl remains installed and enabled.
  4. Launch modded Valheim!

Dedicated Server Manual Install:

  1. Extract the patchers/ folder into your server's BepInEx/ directory so the DLL resides at: BepInEx/patchers/CLLCCompatibility_Crashfixx/CLLCCompatibility.dll
  2. Remove any old CreatureLevelControl.dll inside BepInEx/cache/ValheimThreeCompatibility/ so it rebuilds cleanly.
  3. Start the server normally.