CombatExtendedRWMod / CombatExtended

Combat Extended mod for RimWorld
129 stars 91 forks source link

Pawn unable to throw pila #1180

Closed pirate1337 closed 4 years ago

pirate1337 commented 4 years ago

Pawn will just stand there, the aim charges up but nothing is thrown.

Here is the error that is spat out. Exception ticking Nunez (at (108, 0, 128)): System.NullReferenceException: Object reference not set to an instance of an object at (wrapper dynamic-method) CombatExtended.Verb_LaunchProjectileCE.DMD<DMD<TryCastShot_Patch1>?-1475423360::TryCastShot_Patch1>(CombatExtended.Verb_LaunchProjectileCE) at CombatExtended.Verb_ShootCE.TryCastShot () [0x00022] in <51a637428c0449319bfa1366f15a6d64>:0 at CombatExtended.Verb_ShootCEOneUse.TryCastShot () [0x00000] in <51a637428c0449319bfa1366f15a6d64>:0 at (wrapper dynamic-method) Verse.Verb.DMD<DMD<TryCastNextBurstShot_Patch0>?1055484288::TryCastNextBurstShot_Patch0>(Verse.Verb) at Verse.Verb.WarmupComplete () [0x00013] in <29684bdca4b441d38f64a3f064edc8ed>:0 at CombatExtended.Verb_LaunchProjectileCE.WarmupComplete () [0x0006e] in <51a637428c0449319bfa1366f15a6d64>:0 at CombatExtended.Verb_ShootCE.WarmupComplete () [0x0009e] in <51a637428c0449319bfa1366f15a6d64>:0 at Verse.Stance_Warmup.Expire () [0x00000] in <29684bdca4b441d38f64a3f064edc8ed>:0 at Verse.Stance_Busy.StanceTick () [0x00017] in <29684bdca4b441d38f64a3f064edc8ed>:0 at Verse.Stance_Warmup.StanceTick () [0x000f7] in <29684bdca4b441d38f64a3f064edc8ed>:0 at Verse.Pawn_StanceTracker.StanceTrackerTick () [0x00018] in <29684bdca4b441d38f64a3f064edc8ed>:0 at (wrapper dynamic-method) Verse.Pawn.DMD<DMD<Tick_Patch2>?-220191616::Tick_Patch2>(Verse.Pawn) 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:Update()

N7Huntsman commented 4 years ago

I'm now encountering this issue when testing in base Combat Extended. Is it possible this version of the pila is from a mod, or that you have a mod that changes the vanilla pila?

pirate1337 commented 4 years ago

I'm now encountering this issue when testing in base Combat Extended. Is it possible this version of the pila is from a mod, or that you have a mod that changes the vanilla pila?

I don't believe so, I'll remove all my mods and see how it functions with just Combat Extended.

pirate1337 commented 4 years ago

Pilas/Javelins seem to work just fine with just CE loaded. It must be some mod messing with it.

pirate1337 commented 4 years ago

Okay I seem to have fixed it myself. Turns out I had both Yayo's Combat and CE enabled at the same time. Should've went through my modlist first before deciding to open an issue.