边缘世界 RimWorld

边缘世界 RimWorld

RunAndGun
Venality 7 月 19 日 下午 12:11
Colonist with mini-gun doesn't shoot unless he's moving
Im using combat extended dev version for 1.6 since an official version hasn't been released yet, this mod may not be the issue but imma post it here anyways:

JobDriver threw exception in toil MakeNewToils's initAction for pawn Randy driver=JobDriver_Wait (toilIndex=0) driver.job=(Wait_Combat (Job_13646392) A = (162, 0, 85) Giver = JobGiver_Orders [workGiverDef: null])
System.NullReferenceException: Object reference not set to an instance of an object
[Ref 3B4B6A12]
at CombatExtended.CompTacticalManager.TryStartCastChecks (Verse.Verb verb, Verse.LocalTargetInfo castTarg, Verse.LocalTargetInfo destTarg) [0x00046] in <32142a6905d6463db07fed0de26b0677>:0
at CombatExtended.HarmonyCE.Harmony_Verb_TryStartCastOn.CheckReload (Verse.Verb __instance, Verse.LocalTargetInfo castTarg, Verse.LocalTargetInfo destTarg) [0x00045] in <32142a6905d6463db07fed0de26b0677>:0
at Verse.Verb.TryStartCastOn (Verse.LocalTargetInfo castTarg, Verse.LocalTargetInfo destTarg, System.Boolean surpriseAttack, System.Boolean canHitNonTargetPawns, System.Boolean preventFriendlyFire, System.Boolean nonInterruptingSelfCast) [0x000c3] in <981a33edf24d499488b0f820d94638e1>:0
- TRANSPILER CombatExtended.HarmonyCE: IEnumerable1 CombatExtended.HarmonyCE.Harmony_Verb_TryStartCastOn:Transpiler(IEnumerable1 instructions, ILGenerator generator)
- PREFIX roolo.RunAndGun.kotobike: Boolean RunAndGun.Harmony.Verb_TryStartCastOn:Prefix(Verb __instance, LocalTargetInfo castTarg, Boolean surpriseAttack, Boolean canHitNonTargetPawns, Boolean& ___surpriseAttack, Boolean& ___canHitNonTargetPawnsNow, LocalTargetInfo& ___currentTarget)
- PREFIX OskarPotocki.VEF: Void VEF.Weapons.VanillaExpandedFramework_Verb_TryStartCastOn_Lasers_Patch:TryStartCastOn_RapidFire_Prefix(Verb& __instance, LocalTargetInfo castTarg)
- POSTFIX OskarPotocki.VEF: Void VEF.Weapons.VanillaExpandedFramework_Verb_TryStartCastOn_Lasers_Patch:TryStartCastOn_RapidFire_Postfix(Verb& __instance, LocalTargetInfo castTarg, Single __state)
at CombatExtended.Verb_LaunchProjectileCE.TryStartCastOn (Verse.LocalTargetInfo castTarg, Verse.LocalTargetInfo destTarg, System.Boolean surpriseAttack, System.Boolean canHitNonTargetPawns, System.Boolean preventFriendlyFire, System.Boolean nonInterruptingSelfCast) [0x00001] in <32142a6905d6463db07fed0de26b0677>:0
at Verse.Verb.TryStartCastOn (Verse.LocalTargetInfo castTarg, System.Boolean surpriseAttack, System.Boolean canHitNonTargetPawns, System.Boolean preventFriendlyFire, System.Boolean nonInterruptingSelfCast) [0x00007] in <981a33edf24d499488b0f820d94638e1>:0
at Verse.Pawn.TryStartAttack (Verse.LocalTargetInfo targ) [0x00056] in <981a33edf24d499488b0f820d94638e1>:0
at Verse.AI.JobDriver_Wait.CheckForAutoAttack () [0x0039b] in <981a33edf24d499488b0f820d94638e1>:0
- TRANSPILER OskarPotocki.VEF: IEnumerable1 VEF.Weapons.VanillaExpandedFramework_JobDriver_Wait_CheckForAutoAttack_Patch:Transpiler(IEnumerable1 instructions, ILGenerator generator)
- TRANSPILER legodude17.mvcf: IEnumerable1 MVCF.PatchSets.PatchSet_TargetFinder:BestTargetTranspiler(IEnumerable1 instructions)
at Verse.AI.JobDriver_Wait.<MakeNewToils>b__3_0 () [0x0003d] in <981a33edf24d499488b0f820d94638e1>:0
at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x001b0] in <981a33edf24d499488b0f820d94638e1>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.AI.JobUtility:TryStartErrorRecoverJob (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver)
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_JobTracker.StartJob_Patch1 (Verse.AI.Pawn_JobTracker,Verse.AI.Job,Verse.AI.JobCondition,Verse.AI.ThinkNode,bool,bool,Verse.ThinkTreeDef,System.Nullable1<Verse.AI.JobTag>,bool,bool,System.Nullable1<bool>,bool,bool,bool)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_JobTracker.EndCurrentJob_Patch1 (Verse.AI.Pawn_JobTracker,Verse.AI.JobCondition,bool,bool)
Verse.AI.JobDriver:EndJobWith (Verse.AI.JobCondition)
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:Notify_PatherArrived ()
Verse.AI.Pawn_PathFollower:PatherArrived ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_PathFollower.TryEnterNextPathCell_Patch1 (Verse.AI.Pawn_PathFollower)
Verse.AI.Pawn_PathFollower:PatherTick ()
Verse.Pawn:Tick ()
Verse.Thing:DoTick ()
Verse.TickList:Tick ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch2 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
Verse.Game:UpdatePlay ()
Verse.Root_Play:Update ()