RimWorld

RimWorld

Mechanitor Command Relays
Parkle 9. apr. 2024 kl. 14:04
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 ()
< >
Viser 1-10 af 10 kommentarer
Parkle 10. apr. 2024 kl. 8:16 
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 ()
Sidst redigeret af Parkle; 10. apr. 2024 kl. 8:17
Hydrologist  [udvikler] 10. apr. 2024 kl. 11:47 
Can you confirm whether the errors still say something along the lines of "Exception: System.MissingMethodException:", or has it changed?
Parkle 10. apr. 2024 kl. 12:21 
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  [udvikler] 10. apr. 2024 kl. 12:26 
Okay. Is the mod working as expected now, even with those messages?
Parkle 10. apr. 2024 kl. 13:19 
yep, besides those everything's working fine.
Hydrologist  [udvikler] 10. apr. 2024 kl. 15:14 
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 11. apr. 2024 kl. 8:40 
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  [udvikler] 11. apr. 2024 kl. 18:35 
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 12. apr. 2024 kl. 9:04 
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  [udvikler] 12. apr. 2024 kl. 11:55 
Thanks for using my mod!
< >
Viser 1-10 af 10 kommentarer
Per side: 1530 50