RimWorld

RimWorld

Pick Up And Haul
Twilight 27 Jul, 2021 @ 2:23am
JobsOfOpportunity & PickUpAndHaul ?
Hi, i was running JobsOfOpportunity & PickUpAndHaul for years, bu going from 1.2 t o1.3 i get a Harmony exception:

[CodeOptimist.JobsOfOpportunity][ERR] Failed to apply Harmony patches for CodeOptimist.JobsOfOpportunity. Exception was: HarmonyLib.HarmonyException: Patching exception in method virtual Verse.AI.Job PickUpAndHaul.WorkGiver_HaulToInventory::JobOnThing(Verse.Pawn pawn, Verse.Thing thing, System.Boolean forced) ---> System.MissingMethodException: Verse.TraverseParms Verse.TraverseParms.For(Verse.Pawn,Verse.Danger,Verse.TraverseMode,bool)
at (wrapper managed-to-native) System.Reflection.Module.ResolveMethodToken(intptr,int,intptr[],intptr[],System.Reflection.ResolveTokenError&)
at System.Reflection.MonoModule.ResolveMethod (System.Int32 metadataToken, System.Type[] genericTypeArguments, System.Type[] genericMethodArguments) [0x00015] in <eae584ce26bc40229c1b1aa476bfa589>:0
at HarmonyLib.MethodBodyReader.ReadOperand (HarmonyLib.ILInstruction instruction) [0x0040b] in <c38a8c3281a047488dac8c9d063b7abb>:0
at HarmonyLib.MethodBodyReader.ReadInstructions () [0x00022] in <c38a8c3281a047488dac8c9d063b7abb>:0
at HarmonyLib.MethodCopier..ctor (System.Reflection.MethodBase fromMethod, System.Reflection.Emit.ILGenerator toILGenerator, System.Reflection.Emit.LocalBuilder[] existingVariables) [0x00038] in <c38a8c3281a047488dac8c9d063b7abb>:0
at HarmonyLib.MethodPatcher.CreateReplacement (System.Collections.Generic.Dictionary`2[System.Int32,HarmonyLib.CodeInstruction]& finalInstructions) [0x001b0] in <c38a8c3281a047488dac8c9d063b7abb>:0
at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00057] in <c38a8c3281a047488dac8c9d063b7abb>:0
at HarmonyLib.PatchClassProcessor.ProcessPatchJob (HarmonyLib.PatchJobs`1+Job[T] job) [0x000bb] in <c38a8c3281a047488dac8c9d063b7abb>:0
--- End of inner exception stack trace ---
at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0010f] in <c38a8c3281a047488dac8c9d063b7abb>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x00082] in <c38a8c3281a047488dac8c9d063b7abb>:0
at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00007] in <c38a8c3281a047488dac8c9d063b7abb>:0
at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <c38a8c3281a047488dac8c9d063b7abb>:0
at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <c38a8c3281a047488dac8c9d063b7abb>:0
at HugsLib.ModBase.ApplyHarmonyPatches () [0x0009a] in <4dd8a30b2ddc479e878b55ffe02db6e8>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch2 (string)
HugsLib.Utils.ModLogger:Error (string,object[])
HugsLib.ModBase:ApplyHarmonyPatches ()
HugsLib.HugsLibController:EnumerateChildMods (bool)
HugsLib.HugsLibController:LoadReloadInitialize ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__27_0 ()
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()


I tried with load orders and removing mods but i cant get the game to loadwithout erros ( notthe savegame, the game launch itself). Something must be borked and i guess the mod author might have a faster insight into what might be the trouble.


Cheers
< >
Showing 1-4 of 4 comments
Twilight 27 Jul, 2021 @ 4:33am 
Both mods list as 1.3 compatible. I have Rimworld without the Dlcs
nhatanh0475 27 Jul, 2021 @ 7:46am 
Try verify the games.
Twilight 27 Jul, 2021 @ 7:58am 
Already done, still the same
Twilight 29 Jul, 2021 @ 12:23pm 
I think it was fixed byan update.
< >
Showing 1-4 of 4 comments
Per page: 1530 50