RimWorld

RimWorld

Helmet On Draft
BufflesTE 29 Jul, 2021 @ 9:32pm
1.2 errors
It must be a recent update but Helmets on Draft doesn't work on 1.2 anymore. Pawns simply won't put on their helmets nor take them off in my game.

For testing, I had the following files Active in this order:
  1. Harmony
  2. Core
  3. Royalty
  4. Helmet On Draft
I thought it was a mod clash originally but even on a mostly vanilla game, it throws these error.
This appears on startup:
Error while instantiating a mod of type HelmetOnDraft.HelmetOnDraftMod: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.MissingMethodException: void Verse.Log.Message(string) at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke(System.Reflection.MonoCMethod,object,object[],System.Exception&) at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in <567df3e0919241ba98db88bec4c6696f>:0 --- End of inner exception stack trace --- at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00014] in <567df3e0919241ba98db88bec4c6696f>:0 at System.Reflection.MonoCMethod.DoInvoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0007a] in <567df3e0919241ba98db88bec4c6696f>:0 at System.Reflection.MonoCMethod.Invoke (System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0 at System.RuntimeType.CreateInstanceImpl (System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes, System.Threading.StackCrawlMark& stackMark) [0x00213] in <567df3e0919241ba98db88bec4c6696f>:0 at System.Activator.CreateInstance (System.Type type, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes) [0x00095] in <567df3e0919241ba98db88bec4c6696f>:0 at System.Activator.CreateInstance (System.Type type, System.Object[] args) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0 at Verse.LoadedModManager.CreateModClasses () [0x00076] in <d72310b4d8f64d25aee502792b58549f>:0 Verse.Log:Error(String, Boolean) Verse.LoadedModManager:CreateModClasses() Verse.LoadedModManager:LoadAllActiveMods() Verse.PlayDataLoader:DoPlayLoad() Verse.PlayDataLoader:LoadAllPlayData(Boolean) Verse.<>c:<Start>b__6_1() Verse.LongEventHandler:RunEventFromAnotherThread(Action) Verse.<>c:<UpdateCurrentAsynchronousEvent>b__27_0() System.Threading.ThreadHelper:ThreadStart_Context(Object) System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean) System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean) System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object) System.Threading.ThreadHelper:ThreadStart()

And this appears after undrafting a pawn:
System.MissingMethodException: bool Verse.AI.Pawn_JobTracker.TryTakeOrderedJob(Verse.AI.Job,System.Nullable`1<Verse.AI.JobTag>,bool) at HelmetOnDraft.HelmetOnDraftHarmonyPatch.PatchDraftedProperty (RimWorld.Pawn_DraftController __instance) [0x000ef] in <083a83f249cb4bdc95ec9fcd0d980e3c>:0 at (wrapper dynamic-method) RimWorld.Pawn_DraftController.RimWorld.Pawn_DraftController.set_Drafted_Patch1(RimWorld.Pawn_DraftController,bool) at RimWorld.Pawn_DraftController.<GetGizmos>b__13_1 () [0x00007] in <d72310b4d8f64d25aee502792b58549f>:0 at Verse.Command_Toggle.ProcessInput (UnityEngine.Event ev) [0x00007] in <d72310b4d8f64d25aee502792b58549f>:0 at Verse.GizmoGridDrawer.DrawGizmoGrid (System.Collections.Generic.IEnumerable`1[T] gizmos, System.Single startX, Verse.Gizmo& mouseoverGizmo) [0x0062a] in <d72310b4d8f64d25aee502792b58549f>:0 at RimWorld.InspectGizmoGrid.DrawInspectGizmoGridFor (System.Collections.Generic.IEnumerable`1[T] selectedObjects, Verse.Gizmo& mouseoverGizmo) [0x00209] in <d72310b4d8f64d25aee502792b58549f>:0 Verse.Log:Error(String, Boolean) Verse.Log:ErrorOnce(String, Int32, Boolean) RimWorld.InspectGizmoGrid:DrawInspectGizmoGridFor(IEnumerable`1, Gizmo&) RimWorld.MainTabWindow_Inspect:DrawInspectGizmos() RimWorld.InspectPaneUtility:ExtraOnGUI(IInspectPane) RimWorld.MainTabWindow_Inspect:ExtraOnGUI() Verse.WindowStack:WindowStackOnGUI() RimWorld.UIRoot_Play:UIRootOnGUI() Verse.Root:Verse.Root.OnGUI_Patch1(Root)

Hope this narrows down the issue as I do like this mod.
< >
Showing 1-2 of 2 comments
SteveZero  [developer] 30 Jul, 2021 @ 1:20pm 
should be fixed now. Forgot to set aside the 1.2 compilation for this mod while I was updating my mods to 1.3. Enjoy :)
BufflesTE 31 Jul, 2021 @ 8:22am 
That fixed it. Cheers!
< >
Showing 1-2 of 2 comments
Per page: 1530 50