边缘世界 RimWorld

边缘世界 RimWorld

[RAZ] Mal0 Race
Repeated red error pop up
Getting a repeated error related to a recruited Mal0 pawn. May be related to the fact they can't get an ideology or some moodlets because I guess they use ghoul code? Sharing error here and a github

https://gist.github.com/HugsLibRecordKeeper/0b46662758b9edabac237fcc60eda0dc

Exception ticking Helene (at (92, 0, 117)): System.NullReferenceException: Object reference not set to an instance of an object
[Ref FDFBBEEC]
at RimWorld.Thought_PsychicRitualGuilt.get_CurStageIndex () [0x00014] in <24d25868955f4df08b02c73b55f389fe>:0
at RimWorld.Thought.get_CurStage () [0x00000] in <24d25868955f4df08b02c73b55f389fe>:0
at RimWorld.Thought.MoodOffset () [0x00006] in <24d25868955f4df08b02c73b55f389fe>:0
- POSTFIX OskarPotocki.VanillaTraitsExpanded: Void VanillaTraitsExpanded.MoodOffset_Patch:Postfix(Thought __instance, Single& __result)
- POSTFIX Rimworld.Alite.EBSG.main: Void EBSGFramework.HarmonyPatches:GeneticThoughtMultiplier(Pawn ___pawn, Single& __result, ThoughtDef ___def)
at RimWorld.Thought_Memory.MoodOffset () [0x00019] in <24d25868955f4df08b02c73b55f389fe>:0
at RimWorld.ThoughtHandler.GetAllMoodThoughts (System.Collections.Generic.List`1[T] outThoughts) [0x0001e] in <24d25868955f4df08b02c73b55f389fe>:0
at RimWorld.ThoughtHandler.GetDistinctMoodThoughtGroups (System.Collections.Generic.List`1[T] outThoughts) [0x00000] in <24d25868955f4df08b02c73b55f389fe>:0
at RimWorld.ThoughtHandler.TotalMoodOffset () [0x00023] in <24d25868955f4df08b02c73b55f389fe>:0
- PREFIX PerformanceOptimizer.Main: Boolean PerformanceOptimizer.Optimization_ThoughtHandler_TotalMoodOffset:Prefix(ThoughtHandler __instance, CachedValueTick`1& __state, Single& __result)
- POSTFIX PerformanceOptimizer.Main: Void PerformanceOptimizer.Optimization_ThoughtHandler_TotalMoodOffset:Postfix(CachedValueTick`1 __state, Single& __result)
at RimWorld.Need_Mood.get_CurInstantLevel () [0x00015] in <24d25868955f4df08b02c73b55f389fe>:0
at RimWorld.Need_Seeker.NeedInterval () [0x0000b] in <24d25868955f4df08b02c73b55f389fe>:0
- POSTFIX Rimworld.Alite.EBSG.main: Void EBSGFramework.HarmonyPatches:SeekerNeedMultiplier(NeedDef ___def, Need __instance, Pawn ___pawn)
at RimWorld.Need_Mood.NeedInterval () [0x00000] in <24d25868955f4df08b02c73b55f389fe>:0
- POSTFIX net.avilmask.rimworld.mod.CommonSense: Void CommonSense.Need_NeedInterval_CommonSensePatch:Postfix(Need_Mood __instance)
at RimWorld.Pawn_NeedsTracker.NeedsTrackerTickInterval (System.Int32 delta) [0x00044] in <24d25868955f4df08b02c73b55f389fe>:0
- PREFIX Altered.Carbon: Boolean AlteredCarbon.Pawn_NeedsTracker_NeedsTrackerTickInterval_Patch:Prefix(Pawn_NeedsTracker __instance)
at Verse.Pawn.TickInterval (System.Int32 delta) [0x00142] in <24d25868955f4df08b02c73b55f389fe>:0
at Verse.Thing.DoTick () [0x000eb] in <24d25868955f4df08b02c73b55f389fe>:0
at Verse.TickList.Tick () [0x00139] in <24d25868955f4df08b02c73b55f389fe>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch4 (string)
Verse.TickList:Tick ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch2 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
Verse.Game:UpdatePlay ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)
< >
正在显示第 1 - 2 条,共 2 条留言
razar1  [开发者] 9 月 16 日 下午 12:46 
They don't use ghoul code. They are a humanlike race just like any other HAR mod. Though I do have <preventIdeo> set to true on the pawnkind you summon from the ritual. It wouldn't really make sense for the void entity you abduct to have one of the human faction's ideologies.

I've never had a problem converting those pawns to my own ideology tho.

That said, not sure why it would be erroring in Thought_PsychicRitualGuilt. Something to do with what VanillaTraitsExpanded is expecting perhaps?
最后由 razar1 编辑于; 9 月 16 日 下午 12:46
TheRedPriest 9 月 16 日 下午 3:52 
Perhaps?
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50