For some reason when I fire some bullets at Mechanoids from Mechanoids Extraordinaire with What the Hack!, some bullets always get lost in the ticks and these mechanoids survive lethal damage (ex: fluid reprocessor shattered but still alive and moving, which should be lethal). Is there a specific way for me to load the mods? I have attached an example of the log below:
Exception ticking Bullet_556x45mmR6463354: System.NullReferenceException: Object reference not set to an instance of an object
at WhatTheHack.Harmony.Pawn_HealthTracker_ShouldBeDeadFromLethalDamageThreshold.Postfix (Verse.Pawn_HealthTracker instance, System.Boolean& result) [0x00083] in <36a5cccfe7e648a6985b11b501e72bed>:0
at (wrapper dynamic-method) Verse.Pawn_HealthTracker.DMD<DMD?553094784::ShouldBeDeadFromLethalDamageThreshold_Patch1>(Verse.Pawn_HealthTracker)
at (wrapper dynamic-method) Verse.Pawn_HealthTracker.DMD<DMD?-1050104064::ShouldBeDead_Patch0>(Verse.Pawn_HealthTracker)
at (wrapper dynamic-method) Verse.Pawn_HealthTracker.DMD<DMD?-20371456::CheckForStateChange_Patch1>(Verse.Pawn_HealthTracker,System.Nullable1<Verse.DamageInfo>,Verse.Hediff) at (wrapper dynamic-method) Verse.Pawn_HealthTracker.DMD<DMD<AddHediff_Patch2>?686621568::AddHediff_Patch2>(Verse.Pawn_HealthTracker,Verse.Hediff,Verse.BodyPartRecord,System.Nullable1,Verse.DamageWorker/DamageResult)
at Verse.DamageWorker_AddInjury.FinalizeAndAddInjury (Verse.Pawn pawn, Verse.Hediff_Injury injury, Verse.DamageInfo dinfo, Verse.DamageWorker+DamageResult result) [0x0001e] in <29684bdca4b441d38f64a3f064edc8ed>:0
at Verse.DamageWorker_AddInjury.FinalizeAndAddInjury (Verse.Pawn pawn, System.Single totalDamage, Verse.DamageInfo dinfo, Verse.DamageWorker+DamageResult result) [0x000e1] in <29684bdca4b441d38f64a3f064edc8ed>:0
at Verse.DamageWorker_AddInjury.ApplySpecialEffectsToPart (Verse.Pawn pawn, System.Single totalDamage, Verse.DamageInfo dinfo, Verse.DamageWorker+DamageResult result) [0x0000b] in <29684bdca4b441d38f64a3f064edc8ed>:0
at Verse.DamageWorker_AddInjury.ApplyDamageToPart (Verse.DamageInfo dinfo, Verse.Pawn pawn, Verse.DamageWorker+DamageResult result) [0x0011b] in <29684bdca4b441d38f64a3f064edc8ed>:0
at Verse.DamageWorker_AddInjury.ApplyToPawn (Verse.DamageInfo dinfo, Verse.Pawn pawn) [0x00091] in <29684bdca4b441d38f64a3f064edc8ed>:0
at Verse.DamageWorker_AddInjury.Apply (Verse.DamageInfo dinfo, Verse.Thing thing) [0x00013] in <29684bdca4b441d38f64a3f064edc8ed>:0
at (wrapper dynamic-method) Verse.Thing.DMD<DMD?-1392779520::TakeDamage_Patch1>(Verse.Thing,Verse.DamageInfo)
at RimWorld.Bullet.Impact (Verse.Thing hitThing) [0x0009a] in <29684bdca4b441d38f64a3f064edc8ed>:0
at Verse.Projectile.ImpactSomething () [0x0014f] in <29684bdca4b441d38f64a3f064edc8ed>:0
at Verse.Projectile.Tick () [0x000ed] in <29684bdca4b441d38f64a3f064edc8ed>:0
at Verse.TickList.Tick () [0x0015c] in <29684bdca4b441d38f64a3f064edc8ed>:0
Verse.Log:Error(String, Boolean)
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:DMD<DMD?1136358656::Update_Patch1>(Root_Play)
For some reason when I fire some bullets at Mechanoids from Mechanoids Extraordinaire with What the Hack!, some bullets always get lost in the ticks and these mechanoids survive lethal damage (ex: fluid reprocessor shattered but still alive and moving, which should be lethal). Is there a specific way for me to load the mods? I have attached an example of the log below:
Exception ticking Bullet_556x45mmR6463354: System.NullReferenceException: Object reference not set to an instance of an object at WhatTheHack.Harmony.Pawn_HealthTracker_ShouldBeDeadFromLethalDamageThreshold.Postfix (Verse.Pawn_HealthTracker instance, System.Boolean& result) [0x00083] in <36a5cccfe7e648a6985b11b501e72bed>:0 at (wrapper dynamic-method) Verse.Pawn_HealthTracker.DMD<DMD?553094784::ShouldBeDeadFromLethalDamageThreshold_Patch1>(Verse.Pawn_HealthTracker)
at (wrapper dynamic-method) Verse.Pawn_HealthTracker.DMD<DMD?-1050104064::ShouldBeDead_Patch0>(Verse.Pawn_HealthTracker)
at (wrapper dynamic-method) Verse.Pawn_HealthTracker.DMD<DMD?-20371456::CheckForStateChange_Patch1>(Verse.Pawn_HealthTracker,System.Nullable,Verse.DamageWorker/DamageResult)
at Verse.DamageWorker_AddInjury.FinalizeAndAddInjury (Verse.Pawn pawn, Verse.Hediff_Injury injury, Verse.DamageInfo dinfo, Verse.DamageWorker+DamageResult result) [0x0001e] in <29684bdca4b441d38f64a3f064edc8ed>:0
at Verse.DamageWorker_AddInjury.FinalizeAndAddInjury (Verse.Pawn pawn, System.Single totalDamage, Verse.DamageInfo dinfo, Verse.DamageWorker+DamageResult result) [0x000e1] in <29684bdca4b441d38f64a3f064edc8ed>:0
at Verse.DamageWorker_AddInjury.ApplySpecialEffectsToPart (Verse.Pawn pawn, System.Single totalDamage, Verse.DamageInfo dinfo, Verse.DamageWorker+DamageResult result) [0x0000b] in <29684bdca4b441d38f64a3f064edc8ed>:0
at Verse.DamageWorker_AddInjury.ApplyDamageToPart (Verse.DamageInfo dinfo, Verse.Pawn pawn, Verse.DamageWorker+DamageResult result) [0x0011b] in <29684bdca4b441d38f64a3f064edc8ed>:0
at Verse.DamageWorker_AddInjury.ApplyToPawn (Verse.DamageInfo dinfo, Verse.Pawn pawn) [0x00091] in <29684bdca4b441d38f64a3f064edc8ed>:0
at Verse.DamageWorker_AddInjury.Apply (Verse.DamageInfo dinfo, Verse.Thing thing) [0x00013] in <29684bdca4b441d38f64a3f064edc8ed>:0
at (wrapper dynamic-method) Verse.Thing.DMD<DMD?-1392779520::TakeDamage_Patch1>(Verse.Thing,Verse.DamageInfo)
at RimWorld.Bullet.Impact (Verse.Thing hitThing) [0x0009a] in <29684bdca4b441d38f64a3f064edc8ed>:0
at Verse.Projectile.ImpactSomething () [0x0014f] in <29684bdca4b441d38f64a3f064edc8ed>:0
at Verse.Projectile.Tick () [0x000ed] in <29684bdca4b441d38f64a3f064edc8ed>:0
at Verse.TickList.Tick () [0x0015c] in <29684bdca4b441d38f64a3f064edc8ed>:0
Verse.Log:Error(String, Boolean)
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:DMD<DMD?1136358656::Update_Patch1>(Root_Play)
1<Verse.DamageInfo>,Verse.Hediff) at (wrapper dynamic-method) Verse.Pawn_HealthTracker.DMD<DMD<AddHediff_Patch2>?686621568::AddHediff_Patch2>(Verse.Pawn_HealthTracker,Verse.Hediff,Verse.BodyPartRecord,System.Nullable
1