RimWorld

RimWorld

Dual Wield [Dev]
Mod keeps throwing errors with Yayo's Combat
It floods the menu whenever I try to wear two weapons. Also I cannot remove the weapon anymore unless I use Character Editor to delete the weapon. I also followed the load order from the yayo page (Mlie) which is Dual Wield first then Yayo's Combat. Any solution??

Btw. Njal is my pawn.

ERROR:
https://gist.github.com/19416899075f5a3dd680a91a1d87b49d

IMAGE:
https://ibb.co/FwmHWdy

ERROR:
Exception drawing Njal: System.TypeLoadException: Could not resolve type with token 010000e0 (from typeref, class/assembly DualWield.Harmony.PawnRenderer_DrawEquipmentAiming, DualWield, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null)
at yayoCombat.patch_DrawEquipment.Prefix (Verse.PawnRenderer __instance, UnityEngine.Vector3 rootLoc, Verse.Pawn ___pawn) [0x0017c] in <ce9982f7d1f24dd89397f2ef1ba380c0>:0
at (wrapper dynamic-method) Verse.PawnRenderer.Verse.PawnRenderer.DrawEquipment_Patch5(Verse.PawnRenderer,UnityEngine.Vector3,Verse.Rot4,Verse.PawnRenderFlags)
at (wrapper dynamic-method) Verse.PawnRenderer.Verse.PawnRenderer.DrawDynamicParts_Patch1(Verse.PawnRenderer,UnityEngine.Vector3,single,Verse.Rot4,Verse.PawnRenderFlags)
at (wrapper dynamic-method) Verse.PawnRenderer.Verse.PawnRenderer.RenderPawnInternal_Patch4(Verse.PawnRenderer,UnityEngine.Vector3,single,bool,Verse.Rot4,Verse.RotDrawMode,Verse.PawnRenderFlags)
at (wrapper dynamic-method) Verse.PawnRenderer.Verse.PawnRenderer.RenderPawnAt_Patch5(Verse.PawnRenderer,UnityEngine.Vector3,System.Nullable`1<Verse.Rot4>,bool)
at Verse.Pawn_DrawTracker.DrawAt (UnityEngine.Vector3 loc) [0x00000] in <38562b1a2ab64eacb931fb5df05ca994>:0
at (wrapper dynamic-method) Verse.Pawn.Verse.Pawn.DrawAt_Patch2(Verse.Pawn,UnityEngine.Vector3,bool)
at Verse.Thing.Draw () [0x00015] in <38562b1a2ab64eacb931fb5df05ca994>:0
at (wrapper dynamic-method) Verse.ThingWithComps.Verse.ThingWithComps.Draw_Patch1(Verse.ThingWithComps)
at (wrapper dynamic-method) Verse.DynamicDrawManager.Verse.DynamicDrawManager.DrawDynamicThings_Patch0(Verse.DynamicDrawManager)
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)
Last edited by (≡◉‿‿◉≡); 6 Mar, 2023 @ 6:08pm
< >
Showing 1-3 of 3 comments
Ogliss  [developer] 7 Mar, 2023 @ 2:46am 
Just an FYI, authors arent notified when you start your own discussion.

Both Yayos Combat and the original Dual Wield mod both destructively prefix the same drawing method, for them to work correctly togeather, Yayo's totally overrides dual wield's patch, part of the changes i made to this verion of dual wield remove that patch, and convert it to a transpiler

as the patch Yayo's targets no longer exists in this build of Dual Wield, its erroring
Last edited by Ogliss; 7 Mar, 2023 @ 2:47am
White Rider 20 Mar, 2023 @ 7:06pm 
Originally posted by Ogliss:
Just an FYI, authors arent notified when you start your own discussion.

Both Yayos Combat and the original Dual Wield mod both destructively prefix the same drawing method, for them to work correctly togeather, Yayo's totally overrides dual wield's patch, part of the changes i made to this verion of dual wield remove that patch, and convert it to a transpiler

as the patch Yayo's targets no longer exists in this build of Dual Wield, its erroring
If this version removes that patch, is there a way of getting them to work together?
Is it the animations that both mods are affecting?

If it's something else about Yayo's combat that's causing an issue, I'd just remove it and use the standalone Yayo's animations mod instead, but if it's the animations, that would suck as that's the only real reason I use Yayo's at all.

I'm interested in trying Dual Wield, but no point for me if these two are incompatible.
Smidge 25 Jul, 2023 @ 1:44pm 
Any fix for this yet?
< >
Showing 1-3 of 3 comments
Per page: 1530 50