RimWorld

RimWorld

Elite Bionics Framework
Dr Coomer 30 Nov, 2020 @ 11:14am
Drafting issue
whenever i draft a pawn i completely lose control of said pawn and i get this error message it seems to mainly be from the glittertech advanced bionics
System.NullReferenceException: Object reference not set to an instance of an object
at EBF.Util.ToolFinderUtils.ToolsAreComparable (Verse.Tool a, Verse.Tool b) [0x00006] in <cef0e940f64a411795f351cb45a0ff75>:0
at EBF.Util.ToolFinderUtils.FindCorrespondingOriginalToolInBaseBody (Verse.Tool attackingTool, Verse.Pawn attacker, Verse.BodyPartRecord attackingPart) [0x00017] in <cef0e940f64a411795f351cb45a0ff75>:0
at EBF.Util.ToolPowerAdjuster.CalculatePowerAdjustmentDueToToolUpgrade (Verse.Pawn attacker, Verse.BodyPartRecord attackingBodyPart, Verse.Tool attackingTool, System.Int32& linearAdjustment, System.Single& scalingAdjustment) [0x00015] in <cef0e940f64a411795f351cb45a0ff75>:0
at EBF.Patches.PostFix_VerbProperties_GetDamageFactorFor.PostFix (System.Single& __result, Verse.Tool tool, Verse.Pawn attacker, Verse.HediffComp_VerbGiver hediffCompSource) [0x000b4] in <cef0e940f64a411795f351cb45a0ff75>:0
at (wrapper dynamic-method) Verse.VerbProperties.Verse.VerbProperties.GetDamageFactorFor_Patch1(Verse.VerbProperties,Verse.Tool,Verse.Pawn,Verse.HediffComp_VerbGiver)
at Verse.VerbProperties.GetDamageFactorFor (Verse.Verb ownerVerb, Verse.Pawn attacker) [0x00033] in <d72310b4d8f64d25aee502792b58549f>:0
at Verse.Verb.IsStillUsableBy (Verse.Pawn pawn) [0x0001a] in <d72310b4d8f64d25aee502792b58549f>:0
at RimWorld.Pawn_MeleeVerbs.<GetUpdatedAvailableVerbsList>g__IsUsableMeleeVerb|18_0 (Verse.Verb v) [0x00000] in <d72310b4d8f64d25aee502792b58549f>:0
at (wrapper dynamic-method) RimWorld.Pawn_MeleeVerbs.RimWorld.Pawn_MeleeVerbs.GetUpdatedAvailableVerbsList_Patch2(RimWorld.Pawn_MeleeVerbs,bool)
at (wrapper dynamic-method) RimWorld.Pawn_MeleeVerbs.RimWorld.Pawn_MeleeVerbs.ChooseMeleeVerb_Patch1(RimWorld.Pawn_MeleeVerbs,Verse.Thing)
at RimWorld.Pawn_MeleeVerbs.TryGetMeleeVerb (Verse.Thing target) [0x00047] in <d72310b4d8f64d25aee502792b58549f>:0
at (wrapper dynamic-method) RimWorld.FloatMenuUtility.RimWorld.FloatMenuUtility.GetMeleeAttackAction_Patch0(Verse.Pawn,Verse.LocalTargetInfo,string&)
at RimWorld.PawnAttackGizmoUtility.GetMeleeAttackGizmo (Verse.Pawn pawn) [0x00057] in <d72310b4d8f64d25aee502792b58549f>:0
at RimWorld.PawnAttackGizmoUtility+<GetAttackGizmos>d__0.MoveNext () [0x0002f] in <d72310b4d8f64d25aee502792b58549f>:0
at Verse.Pawn+<GetGizmos>d__209.MoveNext () [0x00182] in <d72310b4d8f64d25aee502792b58549f>:0
at AllowTool.Patches.Pawn_GetGizmos_Patch+<AppendGizmo>d__1.MoveNext () [0x00088] in <131ad912d0814ce38696f6ecf93156a4>:0
at System.Collections.Generic.List`1[T]..ctor (System.Collections.Generic.IEnumerable`1[T] collection) [0x00077] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00018] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at TorannMagic.TorannMagicMod.Pawn_Gizmo_TogglePatch (System.Collections.Generic.IEnumerable`1[Verse.Gizmo]& __result, Verse.Pawn& __instance) [0x00085] in <7251971294984d22a96edf953ae6bb30>:0
at (wrapper dynamic-method) Verse.Pawn.Verse.Pawn.GetGizmos_Patch24(Verse.Pawn)
at (wrapper dynamic-method) RimWorld.InspectGizmoGrid.RimWorld.InspectGizmoGrid.DrawInspectGizmoGridFor_Patch0(System.Collections.Generic.IEnumerable`1<object>,Verse.Gizmo&)
Verse.Log:Error(String, Boolean)
Verse.Log:ErrorOnce(String, Int32, Boolean)
RimWorld.InspectGizmoGrid:RimWorld.InspectGizmoGrid.DrawInspectGizmoGridFor_Patch0(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)
< >
Showing 1-1 of 1 comments
Vectorial1024  [developer] 28 Dec, 2020 @ 6:27pm 
Hi there! Thanks for reporting this error, and I'll be pushing a test-fix later to see if it fixes this null-ref error.
< >
Showing 1-1 of 1 comments
Per page: 1530 50