Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Luneflyte

#1
Releases / Re: [1.2] Children and Pregnancy - v3.5.2
December 10, 2020, 05:45:26 AM
Hello! Thank you for working on this mod, I've been enjoying it so far.

Unfortunately I'm having a bit of a weird behavior with raiders. They seem to get partway into my killbox loop before becoming stuck, twitching in place.

Exception in JobDriver tick for pawn Yuki driver=JobDriver_Goto (toilIndex=0) driver.job=(Goto (Job_15040243) A=(75, 0, 123))
System.NullReferenceException: Object reference not set to an instance of an object
  at RimWorldChildren.API.ChildrenUtility.RaceUsesChildren (Verse.Pawn pawn) [0x00011] in <983a3154892047e8894820e6d4b4bdbe>:0
  at RimWorldChildren.CombatPatches+AttackTargetFinder_BestShootTargetFromCurrentPosition_Patch.ShouldShootToddlers (Verse.Thing t) [0x00007] in <983a3154892047e8894820e6d4b4bdbe>:0
  at Verse.AI.AttackTargetFinder+<>c__DisplayClass5_0.<BestAttackTarget>b__1 (Verse.AI.IAttackTarget t) [0x000e4] in <d72310b4d8f64d25aee502792b58549f>:0
  at (wrapper dynamic-method) Verse.AI.AttackTargetFinder.Verse.AI.AttackTargetFinder.BestAttackTarget_Patch1(Verse.AI.IAttackTargetSearcher,Verse.AI.TargetScanFlags,System.Predicate`1<Verse.Thing>,single,single,Verse.IntVec3,single,bool,bool)
  at (wrapper dynamic-method) Verse.AI.AttackTargetFinder.Verse.AI.AttackTargetFinder.BestShootTargetFromCurrentPosition_Patch1(Verse.AI.IAttackTargetSearcher,Verse.AI.TargetScanFlags,System.Predicate`1<Verse.Thing>,single,single)
  at RunAndGun.Harmony.JobDriver_SetupToils.checkForAutoAttack (Verse.AI.JobDriver_Goto __instance) [0x000f2] in <b794371ac9ff4775865fbf8a3b981e2c>:0
  at RunAndGun.Harmony.JobDriver_SetupToils+<>c__DisplayClass0_0.<Postfix>b__0 () [0x00073] in <b794371ac9ff4775865fbf8a3b981e2c>:0
  at (wrapper dynamic-method) Verse.AI.JobDriver.Verse.AI.JobDriver.DriverTick_Patch1(Verse.AI.JobDriver)
Verse.Log:Error(String, Boolean)
Verse.AI.JobUtility:TryStartErrorRecoverJob(Pawn, String, Exception, JobDriver)
Verse.AI.JobDriver:Verse.AI.JobDriver.DriverTick_Patch1(JobDriver)
Verse.AI.Pawn_JobTracker:JobTrackerTick()
Verse.Pawn:Verse.Pawn.Tick_Patch1(Pawn)
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:Update()


One of those shows up for each stuck raider.

And here is the hugslib link: https://gist.github.com/bd03321e0f81bf536167fc4bce850fd1

I'm pretty sure I just have another mod that doesn't want to play nice, but I'm pretty new to Rimworld and don't know how to figure out which one it is.

Thank you for your time~

Edit: In a startling moment of Possessing Reading Comprehension, I saw 'Run and Gun' on the error, and in an equally unlikely moment of Trying To Fix Things Myself, disabled Run and Gun to see what would happen. Turns out what happens is the errors goes away and the raiders proceed to raid. Who would have guessed?

RIP Run and Gun, I'll miss you, but the challenge of kids is far more fun.

Edit Redux: The raiders do proceed to raid, but there is a new and exciting error.

JobDriver threw exception in initAction for pawn Tatyana driver=JobDriver_Wait (toilIndex=0) driver.job=(Wait_Combat (Job_16150142))
System.NullReferenceException: Object reference not set to an instance of an object
  at RimWorldChildren.API.ChildrenUtility.RaceUsesChildren (Verse.Pawn pawn) [0x00011] in <983a3154892047e8894820e6d4b4bdbe>:0
  at RimWorldChildren.CombatPatches+AttackTargetFinder_BestShootTargetFromCurrentPosition_Patch.ShouldShootToddlers (Verse.Thing t) [0x00007] in <983a3154892047e8894820e6d4b4bdbe>:0
  at Verse.AI.AttackTargetFinder+<>c__DisplayClass5_0.<BestAttackTarget>b__1 (Verse.AI.IAttackTarget t) [0x000e4] in <d72310b4d8f64d25aee502792b58549f>:0
  at (wrapper dynamic-method) Verse.AI.AttackTargetFinder.Verse.AI.AttackTargetFinder.BestAttackTarget_Patch1(Verse.AI.IAttackTargetSearcher,Verse.AI.TargetScanFlags,System.Predicate`1<Verse.Thing>,single,single,Verse.IntVec3,single,bool,bool)
  at (wrapper dynamic-method) Verse.AI.AttackTargetFinder.Verse.AI.AttackTargetFinder.BestShootTargetFromCurrentPosition_Patch1(Verse.AI.IAttackTargetSearcher,Verse.AI.TargetScanFlags,System.Predicate`1<Verse.Thing>,single,single)
  at (wrapper dynamic-method) Verse.AI.JobDriver_Wait.Verse.AI.JobDriver_Wait.CheckForAutoAttack_Patch1(Verse.AI.JobDriver_Wait)
  at Verse.AI.JobDriver_Wait.<MakeNewToils>b__3_0 () [0x00037] in <d72310b4d8f64d25aee502792b58549f>:0
  at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x001df] in <d72310b4d8f64d25aee502792b58549f>:0
Verse.Log:Error(String, Boolean)
Verse.AI.JobUtility:TryStartErrorRecoverJob(Pawn, String, Exception, JobDriver)
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:Verse.AI.JobDriver.ReadyForNextToil_Patch1(JobDriver)
Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.StartJob_Patch3(Pawn_JobTracker, Job, JobCondition, ThinkNode, Boolean, Boolean, ThinkTreeDef, Nullable`1, Boolean, Boolean)
Verse.AI.Pawn_JobTracker:CheckForJobOverride()
Verse.AI.Pawn_JobTracker:Notify_DamageTaken(DamageInfo)
Verse.Pawn_HealthTracker:Verse.Pawn_HealthTracker.PreApplyDamage_Patch2(Pawn_HealthTracker, DamageInfo, Boolean&)
Verse.Pawn:Verse.Pawn.PreApplyDamage_Patch1(Pawn, DamageInfo&, Boolean&)
Verse.Thing:Verse.Thing.TakeDamage_Patch1(Thing, DamageInfo)
Verse.HealthUtility:DamageUntilDead(Pawn)
Verse.DebugToolsPawns:DamageToDeath(Pawn)
Verse.<>c__DisplayClass8_0:<DebugToolMapForPawns_NewTmp>b__0()
Verse.DebugTool:DebugToolOnGUI()
Verse.DebugTools:DebugToolsOnGUI()
RimWorld.UIRoot_Play:UIRootOnGUI()
Verse.Root:Verse.Root.OnGUI_Patch1(Root)


Hugslib: https://gist.github.com/5719d11034c957fcb47b95a2a59fdff3