RimWorld

RimWorld

Mechanitor Command Relays
Parkle Apr 9, 2024 @ 2:04pm
Spamming errors in the log related to a deconstructed relay
I'm getting a lot of errors in the log bloating my player.log to huge sizes seemingly because of a relay I deconstructed


this error is spammed \/


Exception ticking Hydroxyapatite_CommandRelay7299588 (at (227, 0, 186)): System.MissingMethodException: System.Collections.Generic.List`1<Verse.Building> Verse.ListerBuildings.AllBuildingsColonistOfDef(Verse.ThingDef)
at Hydroxyapatite_MechanitorCommandRelays.Hediff_CommandRelay.PostAdd (System.Nullable`1[T] dinfo) [0x00007] in <887e1719a461480c9ab65e282764c598>:0
at Verse.HediffSet.AddDirect (Verse.Hediff hediff, System.Nullable`1[T] dinfo, Verse.DamageWorker+DamageResult damageResult) [0x00098] in <cd7169108ea74757aa50c5b33d275c15>:0
at (wrapper dynamic-method) Verse.Pawn_HealthTracker.Verse.Pawn_HealthTracker.AddHediff_Patch2(Verse.Pawn_HealthTracker,Verse.Hediff,Verse.BodyPartRecord,System.Nullable`1<Verse.DamageInfo>,Verse.DamageWorker/DamageResult)
at Verse.Pawn_HealthTracker.AddHediff (Verse.HediffDef def, Verse.BodyPartRecord part, System.Nullable`1[T] dinfo, Verse.DamageWorker+DamageResult result) [0x0000e] in <cd7169108ea74757aa50c5b33d275c15>:0
at Hydroxyapatite_MechanitorCommandRelays.CompCommandRelay.CompTick () [0x0015e] in <887e1719a461480c9ab65e282764c598>:0
at Verse.ThingWithComps.Tick () [0x00024] in <cd7169108ea74757aa50c5b33d275c15>:0
at Verse.TickList.Tick () [0x0015c] in <cd7169108ea74757aa50c5b33d275c15>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch4 (string)
Verse.TickList:Tick ()
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch4 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch2 (Verse.Game)
Verse.Root_Play:Update ()


with a couple of these interspersed between \/


Exception ticking hediff (CommandRelay brain ticksSinceCreation=1) for pawn Mal. Removing hediff... Exception: System.MissingMethodException: System.Collections.Generic.List`1<Verse.Building> Verse.ListerBuildings.AllBuildingsColonistOfDef(Verse.ThingDef)
at Hydroxyapatite_MechanitorCommandRelays.Hediff_CommandRelay.PostTick () [0x00015] in <887e1719a461480c9ab65e282764c598>:0
at (wrapper dynamic-method) Verse.Pawn_HealthTracker.Verse.Pawn_HealthTracker.HealthTick_Patch0(Verse.Pawn_HealthTracker)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch4 (string)
(wrapper dynamic-method) Verse.Pawn_HealthTracker:Verse.Pawn_HealthTracker.HealthTick_Patch0 (Verse.Pawn_HealthTracker)
(wrapper dynamic-method) Verse.Pawn:Verse.Pawn.Tick_Patch1 (Verse.Pawn)
Verse.TickList:Tick ()
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch4 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch2 (Verse.Game)
Verse.Root_Play:Update ()
< >
Showing 1-10 of 10 comments
Parkle Apr 10, 2024 @ 8:16am 
The only difference with the 3 new messages is the start, they start with

this
Hydroxyapatite_CommandRelay7299588

this
Hydroxyapatite_CommandRelay11736790

and this
Cached System.Collections.Generic.List`1[Verse.Building] relays.


All followed by
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Message (string)
(wrapper dynamic-method) Hydroxyapatite_MechanitorCommandRelays.Hediff_CommandRelay:Hydroxyapatite_MechanitorCommandRelays.Hediff_CommandRelay.RecacheCommandRelays_Patch0 (Hydroxyapatite_MechanitorCommandRelays.Hediff_CommandRelay)
Hydroxyapatite_MechanitorCommandRelays.Hediff_CommandRelay:PostTick ()
(wrapper dynamic-method) Verse.Pawn_HealthTracker:Verse.Pawn_HealthTracker.HealthTick_Patch0 (Verse.Pawn_HealthTracker)
(wrapper dynamic-method) Verse.Pawn:Verse.Pawn.Tick_Patch1 (Verse.Pawn)
Verse.TickList:Tick ()
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch4 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch2 (Verse.Game)
Verse.Root_Play:Update ()
Last edited by Parkle; Apr 10, 2024 @ 8:17am
Hydrologist  [developer] Apr 10, 2024 @ 11:47am 
Can you confirm whether the errors still say something along the lines of "Exception: System.MissingMethodException:", or has it changed?
Parkle Apr 10, 2024 @ 12:21pm 
The only thing I'm getting now are the messages I pasted in my comment above yours. There aren't any error messages anymore but I figured since those 3 are still flooding my log I'd mention it just in case.
Hydrologist  [developer] Apr 10, 2024 @ 12:26pm 
Okay. Is the mod working as expected now, even with those messages?
Parkle Apr 10, 2024 @ 1:19pm 
yep, besides those everything's working fine.
Hydrologist  [developer] Apr 10, 2024 @ 3:14pm 
That's good, at least. I'm away from my desk right now, but I'll be investigating this as soon as I get back.
Parkle Apr 11, 2024 @ 8:40am 
I feel bad about clogging up the comments so I'm going to post here. In my 1.4 version, I'm still getting the messages, I made sure I have the newest version by verifying integrity and reinstalling the mod but the messages persist—same ones, nothing new.
Hydrologist  [developer] Apr 11, 2024 @ 6:35pm 
Looking at the changelogs for the workshop listing, it looks like the upload last night didn't actually go through for some reason. It looks like it did this time, so fingers crossed it works now.
Parkle Apr 12, 2024 @ 9:04am 
works perfectly, I'm doing a mostly mechanoid run colony, and this mod is essential to the save. Thank you so much for the help!
Hydrologist  [developer] Apr 12, 2024 @ 11:55am 
Thanks for using my mod!
< >
Showing 1-10 of 10 comments
Per page: 1530 50