Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception ticking Bullets, Mechanoids Surviving Lethal Damage #43

Open
Whyareuhere opened this issue Apr 9, 2020 · 2 comments
Open

Comments

@Whyareuhere
Copy link

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<ShouldBeDeadFromLethalDamageThreshold_Patch1>?553094784::ShouldBeDeadFromLethalDamageThreshold_Patch1>(Verse.Pawn_HealthTracker)
at (wrapper dynamic-method) Verse.Pawn_HealthTracker.DMD<DMD<ShouldBeDead_Patch0>?-1050104064::ShouldBeDead_Patch0>(Verse.Pawn_HealthTracker)
at (wrapper dynamic-method) Verse.Pawn_HealthTracker.DMD<DMD<CheckForStateChange_Patch1>?-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.DamageInfo>,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<TakeDamage_Patch1>?-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<Update_Patch1>?1136358656::Update_Patch1>(Root_Play)

@rheirman
Copy link
Owner

rheirman commented Apr 9, 2020

Please provide a full hugslib log with the error in it. Press ctrl+f12 or the green share log button to get a shareable link.

@Whyareuhere
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants