RimWorld

RimWorld

Luci heals more!
Tuta 6 Nov, 2022 @ 9:47am
[Bug report] interaction with bigger better stronger alpha animal
Hi! First thank you for the mod.
I encountered this bug with the following error message:

Exception ticking hediff (LuciferiumHigh ticksSinceCreation=10469) for pawn AA_BlizzariskClutchMother51609. Removing hediff... Exception: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at LHM.HediffComp_LuciferiumHeal.AffectPawnsAge () [0x00105] in <a27d3ed867b64b90b92e5612ef66f966>:0
at LHM.HediffComp_LuciferiumHeal.CompPostTick (System.Single& severityAdjustment) [0x00043] in <a27d3ed867b64b90b92e5612ef66f966>:0
at Verse.HediffWithComps.PostTick () [0x00024] in <2a35adf0a6b2491888068e783d046a45>:0
at Verse.Pawn_HealthTracker.HealthTick () [0x00039] in <2a35adf0a6b2491888068e783d046a45>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Pawn_HealthTracker:HealthTick ()
(wrapper dynamic-method) Verse.Pawn:Verse.Pawn.Tick_Patch2 (Verse.Pawn)
Verse.TickList:Tick ()
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch4 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
Verse.Game:UpdatePlay ()
Verse.Root_Play:Update ()

Full log here: https://gist.github.com/19583da62cd930b6017b53d424012f53

I did some testing and it works fine on pawns and other vanilla/AA animals. So I think it's something to do with this mod:https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2861530452

Thank you!
< >
Showing 1-2 of 2 comments
who_stole_my_name  [developer] 16 Nov, 2022 @ 11:10am 
Sorry, it took a bit longer, but I was able to solve this bug. It turns out some alpha animals have diffecrt amount of life stages. Normal vanila animals have 3 stages, but something like BlizzariskClutchMother has only 1
Tuta 16 Nov, 2022 @ 8:39pm 
Thank you so much! Loving this mod. Now I give all my combat animal luci.
< >
Showing 1-2 of 2 comments
Per page: 1530 50