RimWorld

RimWorld

Moosesian race
Black Jesus 15 Jul, 2023 @ 1:41am
Red Error when using Firehorn
Gun is so powerful it spits out red errors Hahahaha!: https://gist.github.com/HugsLibRecordKeeper/81cae9755613dc85d204132bd1c59a71

Exception ticking WFF_Pellet_Firehorn79530: System.NullReferenceException: Object reference not set to an instance of an object
at RimWorld.PawnRelationUtility.TryAppendRelationsWithColonistsInfo (Verse.TaggedString& text, Verse.TaggedString& title, Verse.Pawn pawn) [0x0004f] in <95de19971c5d40878d8742747904cdcd>:0
at RimWorld.PawnRelationUtility.TryAppendRelationsWithColonistsInfo (Verse.TaggedString& text, Verse.Pawn pawn) [0x00007] in <95de19971c5d40878d8742747904cdcd>:0
at (wrapper dynamic-method) Verse.Grammar.GrammarUtility.Verse.Grammar.GrammarUtility.RulesForPawn_Patch1(string,Verse.Pawn,System.Collections.Generic.Dictionary`2<string, string>,bool,bool)
at Verse.BattleLogEntry_RangedImpact.GenerateGrammarRequest () [0x0006b] in <95de19971c5d40878d8742747904cdcd>:0
at Verse.LogEntry.ToGameStringFromPOV_Worker (Verse.Thing pov, System.Boolean forceLog) [0x00000] in <95de19971c5d40878d8742747904cdcd>:0
at Verse.LogEntry.ToGameStringFromPOV (Verse.Thing pov, System.Boolean forceLog) [0x0005b] in <95de19971c5d40878d8742747904cdcd>:0
at (wrapper dynamic-method) Verse.DamageWorker+DamageResult.Verse.DamageWorker+DamageResult.AssociateWithLog_Patch1(Verse.DamageWorker/DamageResult,Verse.LogEntry_DamageResult)
at (wrapper dynamic-method) RimWorld.Bullet.RimWorld.Bullet.Impact_Patch1(RimWorld.Bullet,Verse.Thing,bool)
at (wrapper dynamic-method) Verse.Projectile.Verse.Projectile.ImpactSomething_Patch1(Verse.Projectile)
at (wrapper dynamic-method) Verse.Projectile.Verse.Projectile.Tick_Patch1(Verse.Projectile)
at (wrapper dynamic-method) Verse.TickList.Verse.TickList.Tick_Patch0(Verse.TickList)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch5 (string)
(wrapper dynamic-method) Verse.TickList:Verse.TickList.Tick_Patch0 (Verse.TickList)
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch3 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch2 (Verse.Game)
(wrapper dynamic-method) Verse.Root_Play:Verse.Root_Play.Update_Patch0 (Verse.Root_Play)

and this one

Failed to create tale object Wounded with parameters Anguish, Lucie, WFF_Firehorn: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object
at RimWorld.PawnRelationUtility.TryAppendRelationsWithColonistsInfo (Verse.TaggedString& text, Verse.TaggedString& title, Verse.Pawn pawn) [0x0004f] in <95de19971c5d40878d8742747904cdcd>:0
at RimWorld.PawnRelationUtility.TryAppendRelationsWithColonistsInfo (Verse.TaggedString& text, Verse.Pawn pawn) [0x00007] in <95de19971c5d40878d8742747904cdcd>:0
at RimWorld.TaleData_Pawn.GenerateFrom (Verse.Pawn pawn) [0x000fd] in <95de19971c5d40878d8742747904cdcd>:0
at RimWorld.Tale_DoublePawn..ctor (Verse.Pawn firstPawn, Verse.Pawn secondPawn) [0x00015] in <95de19971c5d40878d8742747904cdcd>:0
at RimWorld.Tale_DoublePawnAndDef..ctor (Verse.Pawn firstPawn, Verse.Pawn secondPawn, Verse.Def def) [0x00000] in <95de19971c5d40878d8742747904cdcd>:0
at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke(System.Reflection.MonoCMethod,object,object[],System.Exception&)
at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in <eae584ce26bc40229c1b1aa476bfa589>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00014] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Reflection.MonoCMethod.DoInvoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0007a] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Reflection.MonoCMethod.Invoke (System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.RuntimeType.CreateInstanceImpl (System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes, System.Threading.StackCrawlMark& stackMark) [0x00213] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Activator.CreateInstance (System.Type type, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes) [0x00095] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Activator.CreateInstance (System.Type type, System.Object[] args) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at VisualExceptions.ExceptionsAndActivatorHandler+PatchedActivator.CreateInstance (System.Type type, System.Object[] objects, System.Object me) [0x00009] in <07c490e249c249ff929a9cc5067837e4>:0
at (wrapper dynamic-method) RimWorld.TaleFactory.RimWorld.TaleFactory.MakeRawTale_Patch0(RimWorld.TaleDef,object[])
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch5 (string)
(wrapper dynamic-method) RimWorld.TaleFactory:RimWorld.TaleFactory.MakeRawTale_Patch0 (RimWorld.TaleDef,object[])
(wrapper dynamic-method) RimWorld.TaleRecorder:RimWorld.TaleRecorder.RecordTale_Patch1 (RimWorld.TaleDef,object[])
Verse.Pawn_HealthTracker:PreApplyDamage (Verse.DamageInfo,bool&)
(wrapper dynamic-method) Verse.Pawn:Verse.Pawn.PreApplyDamage_Patch1 (Verse.Pawn,Verse.DamageInfo&,bool&)
(wrapper dynamic-method) Verse.Thing:Verse.Thing.TakeDamage_Patch3 (Verse.Thing,Verse.DamageInfo)
(wrapper dynamic-method) RimWorld.Bullet:RimWorld.Bullet.Impact_Patch1 (RimWorld.Bullet,Verse.Thing,bool)
(wrapper dynamic-method) Verse.Projectile:Verse.Projectile.ImpactSomething_Patch1 (Verse.Projectile)
(wrapper dynamic-method) Verse.Projectile:Verse.Projectile.Tick_Patch1 (Verse.Projectile)
(wrapper dynamic-method) Verse.TickList:Verse.TickList.Tick_Patch0 (Verse.TickList)
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch3 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch2 (Verse.Game)
(wrapper dynamic-method) Verse.Root_Play:Verse.Root_Play.Update_Patch0 (Verse.Root_Play)


I get this red error when using the Firehorn it happens when it fires.
< >
Showing 1-6 of 6 comments
Waffel F.  [developer] 17 Jul, 2023 @ 10:08am 
Hi, pardon the late response, I just saw this thread today.
Is the problem still persists as of the time being?
I will look into the matter immediately
Black Jesus 17 Jul, 2023 @ 1:02pm 
Originally posted by Waffel F.:
Hi, pardon the late response, I just saw this thread today.
Is the problem still persists as of the time being?
I will look into the matter immediately

Yeah it still happens. It happens each time the gun is fired seems to only happen if the gun hits a target.
Waffel F.  [developer] 17 Jul, 2023 @ 11:51pm 
Wait, so does the log pops up upon firing or when projectile hit target, exactly?
Black Jesus 18 Jul, 2023 @ 11:01am 
Hits target
Waffel F.  [developer] 18 Jul, 2023 @ 12:51pm 
Curious, does ant other weapon from this mod have the same issue?
Your modlist is quitr a size as well so it would take a while to pin point the conflict, guess I'll try testing it yayo combat
Black Jesus 18 Jul, 2023 @ 3:53pm 
I did have the rifle weapon I forget what it's called it didn't cause any issue. I'm gonna load up that mod list later tonight and do a quicktest game in god mode, spawn in the other weapons, and test them out.
< >
Showing 1-6 of 6 comments
Per page: 1530 50