CraftyCartsRemake 1 0 Fix
Unofficial Valheim 1.0 compatibility patch for CraftyCartsRemake (1.0.1: fixes hammer repair being broken on 1.0.14).
About this mod Author’s original text
CraftyCartsRemake 1.0 Fix (Unofficial)
Temporary community patch for Valheim 1.0.
Fixes
1.0.1 — hammer repair no longer breaks (Valheim 1.0.14)
On 1.0.14 nothing could be repaired with the hammer. Damaged pieces still
highlighted, but clicking did nothing at all — no repair, no error, no sound.
The client log showed:
MissingMethodException: Method not found: UnityEngine.GameObject.EffectList.Create(UnityEngine.Vector3,UnityEngine.Quaternion,
UnityEngine.Transform,single,int)
Stack trace:
(wrapper dynamic-method) Player.DMD(Player,ItemDrop/ItemData,Piece)
Cause: this mod's UpgradeCartRepairPatch is a Harmony prefix on
Player.Repair, and it called two game methods that have since gained extra
optional parameters:
| called | exists on 1.0.14 |
|---|---|
| EffectList.Create(Vector3, Quaternion, Transform, float, int) | …, int variant = -1, ZDOID gamepadEffectsExclusiveToPlayer = default) |
| Character.Message(MessageType, string, int, Sprite) | …, Sprite icon = null, bool log = false) |
C# binds optional arguments at the call site, so a build compiled against an
older Valheim emits a call to the old arity, and that overload no longer exists.
The reason this broke all repairing rather than only cart upgrades: Mono
resolves every method token when it compiles a method body, not when execution
reaches that line. The prefix runs on every Player.Repair call, so the first
repair attempt threw before a single line of the prefix ran — it never reached
its return true, so vanilla repair was never handed control, for any piece.
Fixed by repointing both call sites to the current overloads, passing the
defaults the game itself declares (default(ZDOID) and false). No behaviour
change.
1.0.0
- Build menu crash (ArgumentOutOfRangeException in PieceTable)
- Vagon.FixedUpdate → UpdateMass Harmony patch
Notes
This is not an official update.
Remove this package once Azumatt releases an official 1.0-compatible version of
CraftyCartsRemake.
If repair ever silently stops working again after a Valheim patch, this is the
first thing to suspect, and the client's BepInEx/LogOutput.log will name the
missing signature.
Original mod: CraftyCartsRemake by OdinPlus
1.0 compatibility patch: wocky
Made this with the assistance of AI
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file. In multiplayer, the host and every client need the same mods installed.
Install these first, or the mod will not work: