RimWorld

RimWorld

Combat Extended
This topic has been locked
Hunters not hunting
Assigned a bunch of animals to be hunted but none of the pawns who are assigned as hunters do anything. when i selected hunter pawn and right clicked on a pray, this error was recorded in the log :


Root level exception in OnGUI(): System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x00156] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].set_Item (TKey key, TValue value) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at CombatExtended.HarmonyCE.Harmony_VerbProperties.Postfix (Verse.VerbProperties __instance, System.Boolean& __result) [0x00036] in <92389964427a419a9ecb42c85a22c06d>:0
at (wrapper dynamic-method) Verse.VerbProperties.Verse.VerbProperties.get_LaunchesProjectile_Patch1(Verse.VerbProperties)
at Verse.VerbUtility.GetDamageDef (Verse.Verb verb) [0x00000] in <8c412d4a16f94d4cb337e846f2dee469>:0
at Verse.VerbUtility.HarmsHealth (Verse.Verb verb) [0x00000] in <8c412d4a16f94d4cb337e846f2dee469>:0
at MVCF.Features.PatchSets.PatchSet_Hunting+<>c.<HasHuntingWeapon>b__1_0 (MVCF.ManagedVerb mv) [0x0000d] in <c9ebf40f0e104d25818a6ec5875aafc1>:0
at System.Linq.Enumerable.Any[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x0002c] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at MVCF.Features.PatchSets.PatchSet_Hunting.HasHuntingWeapon (Verse.Pawn p, System.Boolean& __result) [0x00010] in <c9ebf40f0e104d25818a6ec5875aafc1>:0
at (wrapper dynamic-method) RimWorld.WorkGiver_HunterHunt.RimWorld.WorkGiver_HunterHunt.HasHuntingWeapon_Patch2(Verse.Pawn)
at RimWorld.WorkGiver_HunterHunt.ShouldSkip (Verse.Pawn pawn, System.Boolean forced) [0x00000] in <8c412d4a16f94d4cb337e846f2dee469>:0
at CombatExtended.WorkGiver_HunterHuntCE.ShouldSkip (Verse.Pawn pawn, System.Boolean forced) [0x00001] in <92389964427a419a9ecb42c85a22c06d>:0
at (wrapper dynamic-method) RimWorld.FloatMenuMakerMap.RimWorld.FloatMenuMakerMap.AddJobGiverWorkOrders_Patch2(UnityEngine.Vector3,Verse.Pawn,System.Collections.Generic.List`1<Verse.FloatMenuOption>,bool)
at RimWorld.FloatMenuMakerMap.AddUndraftedOrders (UnityEngine.Vector3 clickPos, Verse.Pawn pawn, System.Collections.Generic.List`1[T] opts) [0x00085] in <8c412d4a16f94d4cb337e846f2dee469>:0
at (wrapper dynamic-method) RimWorld.FloatMenuMakerMap.RimWorld.FloatMenuMakerMap.ChoicesAtFor_Patch3(UnityEngine.Vector3,Verse.Pawn,bool)
at RimWorld.FloatMenuMakerMap.TryMakeFloatMenu (Verse.Pawn pawn) [0x000dc] in <8c412d4a16f94d4cb337e846f2dee469>:0
at (wrapper dynamic-method) RimWorld.Selector.RimWorld.Selector.HandleMapClicks_Patch1(RimWorld.Selector)
at RimWorld.Selector.SelectorOnGUI () [0x00000] in <8c412d4a16f94d4cb337e846f2dee469>:0
at RimWorld.MapInterface.HandleLowPriorityInput () [0x0000f] in <8c412d4a16f94d4cb337e846f2dee469>:0
at (wrapper dynamic-method) RimWorld.UIRoot_Play.RimWorld.UIRoot_Play.UIRootOnGUI_Patch3(RimWorld.UIRoot_Play)
at (wrapper dynamic-method) Verse.Root.Verse.Root.OnGUI_Patch2(Verse.Root)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch2 (string)
(wrapper dynamic-method) Verse.Root:Verse.Root.OnGUI_Patch2 (Verse.Root)