边缘世界 RimWorld

边缘世界 RimWorld

Rumours And Deception
Madzombie10 2016 年 12 月 26 日 上午 4:14
Bug
https://gist.github.com/HugsLibRecordKeeper/e0fa3911dbbb42c60c74aba9210cd388 i was getting this error when i started a colony only started when someone told lies to another colonist.



Exception ticking Ida: System.NullReferenceException: Object reference not set to an instance of an object
at RomanceDiversified.SexualityUtilities.GetAdultSocialContext (Verse.Pawn p) [0x00000] in <filename unknown>:0
at RomanceDiversified.Detours._Pawn_RelationsTracker.SecondaryRomanceChanceFactor (RimWorld.Pawn_RelationsTracker _this, Verse.Pawn otherPawn) [0x00000] in <filename unknown>:0
at RomanceDiversified.Detours._InteractionWorker_RomanceAttempt.RandomSelectionWeight (RimWorld.InteractionWorker_RomanceAttempt _this, Verse.Pawn initiator, Verse.Pawn recipient) [0x00000] in <filename unknown>:0
at RimWorld.Pawn_InteractionsTracker+<TryInteractRandomly>c__AnonStorey2F4.<>m__2BC (RimWorld.InteractionDef x) [0x00000] in <filename unknown>:0
at Verse.GenCollection.TryRandomElementByWeight[InteractionDef] (IEnumerable`1 source, System.Func`2 weightSelector, RimWorld.InteractionDef& result) [0x00000] in <filename unknown>:0
at RimWorld.Pawn_InteractionsTracker.TryInteractRandomly () [0x00000] in <filename unknown>:0
at RimWorld.Pawn_InteractionsTracker.InteractionsTrackerTick () [0x00000] in <filename unknown>:0
at Verse.Pawn.Tick () [0x00000] in <filename unknown>:0
at Verse.TickList.Tick () [0x00000] in <filename unknown>:0
Verse.Log:Error(String)
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:Update()
Verse.Root_Play:Update()
最后由 Madzombie10 编辑于; 2016 年 12 月 26 日 上午 4:15
< >
正在显示第 1 - 13 条,共 13 条留言
SeveralPuffins  [开发者] 2016 年 12 月 26 日 上午 7:21 
Hi! Thanks for that. I think it's a Romance Diversified rather than a Rumours and Deception problem, but I just updated both with something that should fix it. Let me know if the problem persists!
Madzombie10 2016 年 12 月 26 日 上午 7:38 
Thanks will do when i can,can't at the moment got a bad sore stomach. But i will let you know either way :)
最后由 Madzombie10 编辑于; 2016 年 12 月 26 日 上午 7:39
SeveralPuffins  [开发者] 2016 年 12 月 26 日 上午 7:41 
Oh no! Christmas food overload? Look after yourself!
Madzombie10 2016 年 12 月 26 日 下午 9:52 
I still get that error.

I've checked my colonist social, Good relationships seems to be causing it.





Exception ticking Ida: System.NullReferenceException: Object reference not set to an instance of an object
at RomanceDiversified.SexualityUtilities.GetAdultSocialContext (Verse.Pawn p) [0x00000] in <filename unknown>:0
at RomanceDiversified.Detours._Pawn_RelationsTracker.SecondaryRomanceChanceFactor (RimWorld.Pawn_RelationsTracker _this, Verse.Pawn otherPawn) [0x00000] in <filename unknown>:0
at RomanceDiversified.Detours._InteractionWorker_RomanceAttempt.RandomSelectionWeight (RimWorld.InteractionWorker_RomanceAttempt _this, Verse.Pawn initiator, Verse.Pawn recipient) [0x00000] in <filename unknown>:0
at RimWorld.Pawn_InteractionsTracker+<TryInteractRandomly>c__AnonStorey2F4.<>m__2BC (RimWorld.InteractionDef x) [0x00000] in <filename unknown>:0
at Verse.GenCollection.TryRandomElementByWeight[InteractionDef] (IEnumerable`1 source, System.Func`2 weightSelector, RimWorld.InteractionDef& result) [0x00000] in <filename unknown>:0
at RimWorld.Pawn_InteractionsTracker.TryInteractRandomly () [0x00000] in <filename unknown>:0
at RimWorld.Pawn_InteractionsTracker.InteractionsTrackerTick () [0x00000] in <filename unknown>:0
at Verse.Pawn.Tick () [0x00000] in <filename unknown>:0
at Verse.TickList.Tick () [0x00000] in <filename unknown>:0
Verse.Log:Error(String)
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:Update()
Verse.Root_Play:Update()
Madzombie10 2016 年 12 月 26 日 下午 9:57 
Im able to save though. This might be something too? I'm not sure.




Object with load ID Thing_Human213024 is referenced (xml node name: pawn) but is not deep-saved. This will cause errors during loading.
Verse.Log:Warning(String)
Verse.DebugLoadIDsSavingErrorsChecker:CheckForErrorsAndClear()
Verse.Scribe:FinalizeWriting()
Verse.SafeSaver:DoSave(String, String, Action)
Verse.SafeSaver:Save(String, String, Action)
Verse.GameDataSaveLoader:SaveGame(String)
RimWorld.<DoFileInteraction>c__AnonStorey380:<>m__4B2()
Verse.LongEventHandler:UpdateCurrentSynchronousEvent(Boolean&)
Verse.LongEventHandler:LongEventsUpdate(Boolean&)
Verse.Root:Update()
Verse.Root_Play:Update()
最后由 Madzombie10 编辑于; 2016 年 12 月 26 日 下午 10:07
SeveralPuffins  [开发者] 2016 年 12 月 27 日 下午 3:19 
Hi! In both cases the error traces to the Romance Diversified routine "GetAdultSocialContext".

Do all of your colonists have adult backstories? The latest version of Romance DOES error check for this, but the problem that log reports tells me that SOMETHING is missing there, and it's the only thing I can think of.
Madzombie10 2016 年 12 月 27 日 下午 10:50 
I made one of my colonist a adult with a backstory and i dont seem to be getting any errors now. I'll let you know if anymore happen :) Thanks for the help
SeveralPuffins  [开发者] 2016 年 12 月 28 日 上午 12:02 
Ahh! Glad to help, and thank you for letting me know about this!
Madzombie10 2016 年 12 月 28 日 上午 12:07 
No problem i'll let you know of any more bugs related to these mods. There fricken awesome!
Madzombie10 2016 年 12 月 28 日 上午 12:17 
Also i was wondering do you know if the psychology mod conflicts with this mod and or the other one?
Madzombie10 2016 年 12 月 28 日 上午 12:21 
I just added psychology into my game i got these errors

EDIT: i just removed psychology from the mod list and no more errors are popping up.

[HugsLib] Exception during DoDetours: System.Exception: Failed to detour method InteractionWorker_RomanceAttempt.RandomSelectionWeight to _InteractionWorker_RomanceAttempt._RandomSelectionWeight (assembly: Psychology) ---> System.Exception: RimWorld.InteractionWorker_RomanceAttempt.RandomSelectionWeight was already detoured to Psychology.Detour._InteractionWorker_RomanceAttempt._RandomSelectionWeight.
at HugsLib.Source.Detour.DetourProvider.CompatibleDetourWithExceptions (System.Reflection.MethodInfo source, System.Reflection.MethodInfo destination) [0x00000] in <filename unknown>:0
at HugsLib.Source.Detour.Helpers.HandleDetour (HugsLib.Source.Detour.DetourMethodAttribute sourceAttribute, System.Reflection.MethodInfo targetInfo) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at HugsLib.Source.Detour.DetourProvider.ThrowClearerDetourException (System.Exception e, System.Reflection.MemberInfo sourceInfo, System.Reflection.MemberInfo targetInfo, System.String detourMode) [0x00000] in <filename unknown>:0
at HugsLib.Source.Detour.Helpers.HandleDetour (HugsLib.Source.Detour.DetourMethodAttribute sourceAttribute, System.Reflection.MethodInfo targetInfo) [0x00000] in <filename unknown>:0
at HugsLib.Source.Detour.Helpers.DoDetours () [0x00000] in <filename unknown>:0
Verse.Log:Error(String)
HugsLib.Utils.ModLogger:ReportException(Exception, String, Boolean, String)
HugsLib.Source.Detour.Helpers:DoDetours()
HugsLib.HugsLibController:ApplyNewDetours()
HugsLib.HugsLibController:LoadReloadInitialize()
HugsLib.HugsLibController:OnDefReloadDetected()
HugsLib.Core.DefReloadWatcher:<Update>b__0()
Verse.LongEventHandler:ExecuteToExecuteWhenFinished()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent()
Verse.LongEventHandler:LongEventsUpdate(Boolean&)
Verse.Root:Update()
Verse.Root_Entry:Update()

[HugsLib] Exception during DoDetours: System.Exception: Failed to detour method PawnGenerator.GenerateTraits to _PawnGenerator._GenerateTraits (assembly: Psychology) ---> System.Exception: Verse.PawnGenerator.GenerateTraits was already detoured to Psychology.Detour._PawnGenerator._GenerateTraits.
at HugsLib.Source.Detour.DetourProvider.CompatibleDetourWithExceptions (System.Reflection.MethodInfo source, System.Reflection.MethodInfo destination) [0x00000] in <filename unknown>:0
at HugsLib.Source.Detour.Helpers.HandleDetour (HugsLib.Source.Detour.DetourMethodAttribute sourceAttribute, System.Reflection.MethodInfo targetInfo) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at HugsLib.Source.Detour.DetourProvider.ThrowClearerDetourException (System.Exception e, System.Reflection.MemberInfo sourceInfo, System.Reflection.MemberInfo targetInfo, System.String detourMode) [0x00000] in <filename unknown>:0
at HugsLib.Source.Detour.Helpers.HandleDetour (HugsLib.Source.Detour.DetourMethodAttribute sourceAttribute, System.Reflection.MethodInfo targetInfo) [0x00000] in <filename unknown>:0
at HugsLib.Source.Detour.Helpers.DoDetours () [0x00000] in <filename unknown>:0
Verse.Log:Error(String)
HugsLib.Utils.ModLogger:ReportException(Exception, String, Boolean, String)
HugsLib.Source.Detour.Helpers:DoDetours()
HugsLib.HugsLibController:ApplyNewDetours()
HugsLib.HugsLibController:LoadReloadInitialize()
HugsLib.HugsLibController:OnDefReloadDetected()
HugsLib.Core.DefReloadWatcher:<Update>b__0()
Verse.LongEventHandler:ExecuteToExecuteWhenFinished()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent()
Verse.LongEventHandler:LongEventsUpdate(Boolean&)
Verse.Root:Update()
Verse.Root_Entry:Update()


[HugsLib] Exception during DoDetours: System.Exception: Failed to detour method Pawn_RelationsTracker.SecondaryRomanceChanceFactor to _Pawn_RelationsTracker._SecondaryRomanceChanceFactor (assembly: Psychology) ---> System.Exception: RimWorld.Pawn_RelationsTracker.SecondaryRomanceChanceFactor was already detoured to Psychology.Detour._Pawn_RelationsTracker._SecondaryRomanceChanceFactor.
at HugsLib.Source.Detour.DetourProvider.CompatibleDetourWithExceptions (System.Reflection.MethodInfo source, System.Reflection.MethodInfo destination) [0x00000] in <filename unknown>:0
at HugsLib.Source.Detour.Helpers.HandleDetour (HugsLib.Source.Detour.DetourMethodAttribute sourceAttribute, System.Reflection.MethodInfo targetInfo) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at HugsLib.Source.Detour.DetourProvider.ThrowClearerDetourException (System.Exception e, System.Reflection.MemberInfo sourceInfo, System.Reflection.MemberInfo targetInfo, System.String detourMode) [0x00000] in <filename unknown>:0
at HugsLib.Source.Detour.Helpers.HandleDetour (HugsLib.Source.Detour.DetourMethodAttribute sourceAttribute, System.Reflection.MethodInfo targetInfo) [0x00000] in <filename unknown>:0
at HugsLib.Source.Detour.Helpers.DoDetours () [0x00000] in <filename unknown>:0
Verse.Log:Error(String)
HugsLib.Utils.ModLogger:ReportException(Exception, String, Boolean, String)
HugsLib.Source.Detour.Helpers:DoDetours()
HugsLib.HugsLibController:ApplyNewDetours()
HugsLib.HugsLibController:LoadReloadInitialize()
HugsLib.HugsLibController:OnDefReloadDetected()
HugsLib.Core.DefReloadWatcher:<Update>b__0()
Verse.LongEventHandler:ExecuteToExecuteWhenFinished()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent()
Verse.LongEventHandler:LongEventsUpdate(Boolean&)
Verse.Root:Update()
Verse.Root_Entry:Update()


最后由 Madzombie10 编辑于; 2016 年 12 月 28 日 上午 12:25
SeveralPuffins  [开发者] 2016 年 12 月 28 日 上午 12:30 
Yeah, Psychology and Romance are competing for a rewrite of the same functions (Making colonists, and how colonists work out attraction). How it worked before was that the one listed lowest down would win, but I'd have to ask the author of HugsLib what happens now.

Here it looks like Romance is winning, but I might be wrong. If it is, Psychology traits like Pluviophile or Anxiety should work fine, but things like Lecher won't have an effect.
Madzombie10 2016 年 12 月 28 日 上午 12:31 
Oh okay didn't know that hahaha.
< >
正在显示第 1 - 13 条,共 13 条留言
每页显示数: 1530 50