Jump to content

[mod] ESeeker RJW Forks & Additions


ESeeker

Recommended Posts

Posted
15 minutes ago, Bignickdigger69 said:

Seems to have done the trick! The belts now display normally, and during animation if the settings are set that way.

But since 1.6.1.5 two new red errors are thrown out during startup. Due to me not running S16 it seems.

  Reveal hidden contents

XML error: <xpath>Defs/ThingDef/apparel/layers[li="S16_Underwear" and li="Underwear"]/li[text()="S16_Underwear"]</xpath> doesn't correspond to any field in type PatchOperation. Context: <li Class="PatchOperationRemoved"><xpath>Defs/ThingDef/apparel/layers[li="S16_Underwear" and li="Underwear"]/li[text()="S16_Underwear"]</xpath></li>
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.XmlToObjectUtils:DoFieldSearch (System.Type,System.Xml.XmlNode,System.Xml.XmlNode)
Verse.DirectXmlToObject:ObjectFromXml<Verse.PatchOperation> (System.Xml.XmlNode,bool)
Verse.DirectXmlToObject:ListFromXml<Verse.PatchOperation> (System.Xml.XmlNode)
Verse.DirectXmlToObject:ListFromXmlReflection<Verse.PatchOperation> (System.Xml.XmlNode)
Verse.DirectXmlToObject:ObjectFromXml<System.Collections.Generic.List`1<Verse.PatchOperation>> (System.Xml.XmlNode,bool)
Verse.DirectXmlToObject:ObjectFromXmlReflection<System.Collections.Generic.List`1<Verse.PatchOperation>> (System.Xml.XmlNode,bool)
Verse.DirectXmlToObject:ObjectFromXml<Verse.PatchOperation> (System.Xml.XmlNode,bool)
Verse.DirectXmlToObject:ObjectFromXmlReflection<Verse.PatchOperation> (System.Xml.XmlNode,bool)
Verse.DirectXmlToObject:ObjectFromXml<Verse.PatchOperation> (System.Xml.XmlNode,bool)
Verse.DirectXmlToObject:ListFromXml<Verse.PatchOperation> (System.Xml.XmlNode)
Verse.DirectXmlToObject:ListFromXmlReflection<Verse.PatchOperation> (System.Xml.XmlNode)
Verse.DirectXmlToObject:ObjectFromXml<System.Collections.Generic.List`1<Verse.PatchOperation>> (System.Xml.XmlNode,bool)
Verse.DirectXmlToObject:ObjectFromXmlReflection<System.Collections.Generic.List`1<Verse.PatchOperation>> (System.Xml.XmlNode,bool)
Verse.DirectXmlToObject:ObjectFromXml<Verse.PatchOperation> (System.Xml.XmlNode,bool)
Verse.DirectXmlToObject:ObjectFromXmlReflection<Verse.PatchOperation> (System.Xml.XmlNode,bool)
Verse.DirectXmlToObject:ObjectFromXml<Verse.PatchOperation> (System.Xml.XmlNode,bool)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.ModContentPack.LoadPatches_Patch1 (Verse.ModContentPack)
Verse.ModContentPack:get_Patches ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.LoadedModManager.ErrorCheckPatches_Patch1 ()
Verse.LoadedModManager:LoadAllActiveMods (bool)
Verse.PlayDataLoader:DoPlayLoad ()
Verse.PlayDataLoader:LoadAllPlayData (bool)
Verse.Root/<>c:<Start>b__10_1 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__28_0 ()
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()

 

 and

  Reveal hidden contents

Could not find type named PatchOperationRemoved from node <li Class="PatchOperationRemoved"><xpath>Defs/ThingDef/apparel/layers[li="S16_Underwear" and li="Underwear"]/li[text()="S16_Underwear"]</xpath></li>
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.DirectXmlToObject:ClassTypeOf<Verse.PatchOperation> (System.Xml.XmlNode)
Verse.DirectXmlToObject:ObjectFromXml<Verse.PatchOperation> (System.Xml.XmlNode,bool)
Verse.DirectXmlToObject:ListFromXml<Verse.PatchOperation> (System.Xml.XmlNode)
Verse.DirectXmlToObject:ListFromXmlReflection<Verse.PatchOperation> (System.Xml.XmlNode)
Verse.DirectXmlToObject:ObjectFromXml<System.Collections.Generic.List`1<Verse.PatchOperation>> (System.Xml.XmlNode,bool)
Verse.DirectXmlToObject:ObjectFromXmlReflection<System.Collections.Generic.List`1<Verse.PatchOperation>> (System.Xml.XmlNode,bool)
Verse.DirectXmlToObject:ObjectFromXml<Verse.PatchOperation> (System.Xml.XmlNode,bool)
Verse.DirectXmlToObject:ObjectFromXmlReflection<Verse.PatchOperation> (System.Xml.XmlNode,bool)
Verse.DirectXmlToObject:ObjectFromXml<Verse.PatchOperation> (System.Xml.XmlNode,bool)
Verse.DirectXmlToObject:ListFromXml<Verse.PatchOperation> (System.Xml.XmlNode)
Verse.DirectXmlToObject:ListFromXmlReflection<Verse.PatchOperation> (System.Xml.XmlNode)
Verse.DirectXmlToObject:ObjectFromXml<System.Collections.Generic.List`1<Verse.PatchOperation>> (System.Xml.XmlNode,bool)
Verse.DirectXmlToObject:ObjectFromXmlReflection<System.Collections.Generic.List`1<Verse.PatchOperation>> (System.Xml.XmlNode,bool)
Verse.DirectXmlToObject:ObjectFromXml<Verse.PatchOperation> (System.Xml.XmlNode,bool)
Verse.DirectXmlToObject:ObjectFromXmlReflection<Verse.PatchOperation> (System.Xml.XmlNode,bool)
Verse.DirectXmlToObject:ObjectFromXml<Verse.PatchOperation> (System.Xml.XmlNode,bool)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.ModContentPack.LoadPatches_Patch1 (Verse.ModContentPack)
Verse.ModContentPack:get_Patches ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.LoadedModManager.ErrorCheckPatches_Patch1 ()
Verse.LoadedModManager:LoadAllActiveMods (bool)
Verse.PlayDataLoader:DoPlayLoad ()
Verse.PlayDataLoader:LoadAllPlayData (bool)
Verse.Root/<>c:<Start>b__10_1 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__28_0 ()
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()

 

 

What? that patch should only run if you have S16

looking closer it's not because you don't have S16 but because I accidentally added "d" to that patch's class

Posted

So again, I've updated the mod and tried to trade, and it's still breaking.... Not sure why. Ther are no vehicles or drones on the map. Pawn trying to open the trading menu with a visiting trader... 

Maybe something to do with alien races not having family comp data? And there's no check for when it returns null and just breaks trading altogether?

 

Spoiler

JobDriver threw exception in toil MakeNewToils's initAction for pawn Sam driver=JobDriver_TradeWithPawn (toilIndex=1) driver.job=(TradeWithPawn (Job_2707503) A = Thing_OG_Alien_Tau752660 Giver = ThinkNode_QueuedJob [workGiverDef: null])
System.NullReferenceException: Object reference not set to an instance of an object
[Ref 24B8DA0E]
  at FamilyOverhaul.Comp_FamilyData.get_HasMaster () [0x000e8] in <7217305963fa4b9e859b2c09decddca7>:0 
  at FamilyOverhaul.Family.PreventSellingPersonal_Patch (System.Boolean& __result, Verse.Pawn __instance, System.String& reason) [0x00026] in <7217305963fa4b9e859b2c09decddca7>:0 
  at Verse.Pawn.PreventPlayerSellingThingsNearby (System.String& reason) [0x00016] in <24d25868955f4df08b02c73b55f389fe>:0 
    - PREFIX ESeeker.FO: Boolean FamilyOverhaul.Family:PreventSellingPersonal_Patch(Boolean& __result, Pawn __instance, String& reason)
  at RimWorld.TradeDeal.InSellablePosition (Verse.Thing t, System.String& reason) [0x00136] in <24d25868955f4df08b02c73b55f389fe>:0 
    - PREFIX com.spdskatr.projectrimfactory: Boolean ProjectRimFactory.Common.HarmonyPatches.Patch_TradeDeal_InSellablePosition:Prefix(Thing t, String& reason, Boolean& __result)
    - POSTFIX SmashPhil.VehicleFramework: Void Vehicles.Patch_CaravanHandling:NegotiatorInVehicle(Boolean& __result)
  at RimWorld.TradeDeal.AddAllTradeables () [0x00037] in <24d25868955f4df08b02c73b55f389fe>:0 
  at RimWorld.TradeDeal.Reset () [0x00016] in <24d25868955f4df08b02c73b55f389fe>:0 
RimWorld.TradeDeal..ctor()
  at RimWorld.TradeSession.SetupWith (RimWorld.ITrader newTrader, Verse.Pawn newPlayerNegotiator, System.Boolean giftMode) [0x00024] in <24d25868955f4df08b02c73b55f389fe>:0 
RimWorld.Dialog_Trade..ctor(Pawn playerNegotiator, ITrader trader, Boolean giftsOnly)
  at RimWorld.JobDriver_TradeWithPawn+<>c__DisplayClass3_0.<MakeNewToils>b__1 () [0x0002f] in <24d25868955f4df08b02c73b55f389fe>:0 
  at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x001b0] in <24d25868955f4df08b02c73b55f389fe>:0 
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.JobUtility.TryStartErrorRecoverJob_Patch1 (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver)
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:Notify_PatherArrived ()
Verse.AI.Pawn_PathFollower:PatherArrived ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_PathFollower.TryEnterNextPathCell_Patch1 (Verse.AI.Pawn_PathFollower)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_PathFollower.PatherTick_Patch2 (Verse.AI.Pawn_PathFollower)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Pawn.Tick_Patch4 (Verse.Pawn)
Verse.Thing:DoTick ()
Verse.TickList:Tick ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch3 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch4 (Verse.Game)
Verse.Root_Play:Update ()

 

Posted
19 hours ago, SecretAgentClank said:

So again, I've updated the mod and tried to trade, and it's still breaking.... Not sure why. Ther are no vehicles or drones on the map. Pawn trying to open the trading menu with a visiting trader... 

Maybe something to do with alien races not having family comp data? And there's no check for when it returns null and just breaks trading altogether?

 

  Reveal hidden contents

JobDriver threw exception in toil MakeNewToils's initAction for pawn Sam driver=JobDriver_TradeWithPawn (toilIndex=1) driver.job=(TradeWithPawn (Job_2707503) A = Thing_OG_Alien_Tau752660 Giver = ThinkNode_QueuedJob [workGiverDef: null])
System.NullReferenceException: Object reference not set to an instance of an object
[Ref 24B8DA0E]
  at FamilyOverhaul.Comp_FamilyData.get_HasMaster () [0x000e8] in <7217305963fa4b9e859b2c09decddca7>:0 
  at FamilyOverhaul.Family.PreventSellingPersonal_Patch (System.Boolean& __result, Verse.Pawn __instance, System.String& reason) [0x00026] in <7217305963fa4b9e859b2c09decddca7>:0 
  at Verse.Pawn.PreventPlayerSellingThingsNearby (System.String& reason) [0x00016] in <24d25868955f4df08b02c73b55f389fe>:0 
    - PREFIX ESeeker.FO: Boolean FamilyOverhaul.Family:PreventSellingPersonal_Patch(Boolean& __result, Pawn __instance, String& reason)
  at RimWorld.TradeDeal.InSellablePosition (Verse.Thing t, System.String& reason) [0x00136] in <24d25868955f4df08b02c73b55f389fe>:0 
    - PREFIX com.spdskatr.projectrimfactory: Boolean ProjectRimFactory.Common.HarmonyPatches.Patch_TradeDeal_InSellablePosition:Prefix(Thing t, String& reason, Boolean& __result)
    - POSTFIX SmashPhil.VehicleFramework: Void Vehicles.Patch_CaravanHandling:NegotiatorInVehicle(Boolean& __result)
  at RimWorld.TradeDeal.AddAllTradeables () [0x00037] in <24d25868955f4df08b02c73b55f389fe>:0 
  at RimWorld.TradeDeal.Reset () [0x00016] in <24d25868955f4df08b02c73b55f389fe>:0 
RimWorld.TradeDeal..ctor()
  at RimWorld.TradeSession.SetupWith (RimWorld.ITrader newTrader, Verse.Pawn newPlayerNegotiator, System.Boolean giftMode) [0x00024] in <24d25868955f4df08b02c73b55f389fe>:0 
RimWorld.Dialog_Trade..ctor(Pawn playerNegotiator, ITrader trader, Boolean giftsOnly)
  at RimWorld.JobDriver_TradeWithPawn+<>c__DisplayClass3_0.<MakeNewToils>b__1 () [0x0002f] in <24d25868955f4df08b02c73b55f389fe>:0 
  at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x001b0] in <24d25868955f4df08b02c73b55f389fe>:0 
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.JobUtility.TryStartErrorRecoverJob_Patch1 (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver)
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:Notify_PatherArrived ()
Verse.AI.Pawn_PathFollower:PatherArrived ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_PathFollower.TryEnterNextPathCell_Patch1 (Verse.AI.Pawn_PathFollower)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_PathFollower.PatherTick_Patch2 (Verse.AI.Pawn_PathFollower)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Pawn.Tick_Patch4 (Verse.Pawn)
Verse.Thing:DoTick ()
Verse.TickList:Tick ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch3 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch4 (Verse.Game)
Verse.Root_Play:Update ()

 

no according to my log HAR do in fact get the comp(shown on start-up with debug on in mod's settings)

but just in case can you give me the broken race(s) defName and what it's type is: HumanlikeHive, Humanlike, Insect, Dryad or Mech

at start of patch checks <sellable>.HasFamilyData(), patch skipped if false

the get_HasMaster checks sellable not the negotiator

Posted (edited)

I experienced the same issue as SecretAgendClank, but I noticed some strange behavior. In my situation, if I trade using a slave, I can't have access to all my money and I can't sell all the things the trader can buy. If I sell something with the slave, I get the silver, the trader doesn't receive the items, they disappear from my inventory, and if I try to trade again, my silver is set to 0 in the trade menu despite having silver; no logs appear. I haven't fully tested it, but I seem to remember that if after using a slave to trade any further trading attempts even whit colonist breaks the menu, doesn't give me access to all my silver, and shows an inconsistent list of items to sell.

I got those logs related to this problem but I can't replicate it in a consistent way.

Spoiler

Exception filling window for RimWorld.Dialog_Trade: System.NullReferenceException: Object reference not set to an instance of an object
[Ref BC6472E4]
  at FamilyOverhaul.Comp_FamilyData.get_HasMaster () [0x000e8] in <7217305963fa4b9e859b2c09decddca7>:0 
  at FamilyOverhaul.Family.PreventSellingPersonal_Patch (System.Boolean& __result, Verse.Pawn __instance, System.String& reason) [0x00026] in <7217305963fa4b9e859b2c09decddca7>:0 
  at Verse.Pawn.PreventPlayerSellingThingsNearby (System.String& reason) [0x00016] in <24d25868955f4df08b02c73b55f389fe>:0 
    - PREFIX ESeeker.FO: Boolean FamilyOverhaul.Family:PreventSellingPersonal_Patch(Boolean& __result, Pawn __instance, String& reason)
  at RimWorld.TradeDeal.InSellablePosition (Verse.Thing t, System.String& reason) [0x000dc] in <24d25868955f4df08b02c73b55f389fe>:0 
  at RimWorld.TradeDeal.AddAllTradeables () [0x00037] in <24d25868955f4df08b02c73b55f389fe>:0 
  at RimWorld.TradeDeal.Reset () [0x00016] in <24d25868955f4df08b02c73b55f389fe>:0 
  at RimWorld.TradeDeal.TryExecute (System.Boolean& actuallyTraded) [0x00286] in <24d25868955f4df08b02c73b55f389fe>:0 
    - TRANSPILER OskarPotocki.VanillaSocialInteractionsExpanded: IEnumerable`1 VanillaSocialInteractionsExpanded.TryExecute_Patch:Transpiler(IEnumerable`1 instructions)
    - PREFIX OskarPotocki.VEF: Void VEF.Factions.TradeDeal_TryExecute_Patch:Prefix(List`1 ___tradeables, List`1& __state)
    - PREFIX krelinos.SocialEXPFromTrade: Void SocialEXPFromTrade.Patch1:Prefix(TradeDeal& __instance, List`1& ___tradeables, Object[]& __state)
    - PREFIX OskarPotocki.VanillaPsycastsExpanded: Void VanillaPsycastsExpanded.TradeDeal_TryExecute_Patch:Prefix(List`1 ___tradeables, Int32& __state)
    - POSTFIX OskarPotocki.VEF: Void VEF.Factions.TradeDeal_TryExecute_Patch:Postfix(List`1 __state, Boolean __result)
    - POSTFIX krelinos.SocialEXPFromTrade: Void SocialEXPFromTrade.Patch1:Postfix(Object[] __state, Boolean& __result)
    - POSTFIX com.vanillamemesexpanded: Void VanillaMemesExpanded.VanillaMemesExpanded_TradeDeal_TryExecute_Patch:NotifySuccessfulTrade(Boolean __result)
    - POSTFIX com.alphamemes: Void AlphaMemes.AlphaMemes_TradeDeal_TryExecute_Patch:NotifySuccessfulTrade(Boolean __result, List`1 ___tradeables)
    - POSTFIX OskarPotocki.VanillaPsycastsExpanded: Void VanillaPsycastsExpanded.TradeDeal_TryExecute_Patch:Postfix(Int32 __state, Boolean __result)
  at TradeUI.TradeUIRework+<>c__DisplayClass2_0.<MyDoWindowContents>b__0 () [0x00001] in <d131a7b7cbc8493f94ca523f49a634d9>:0 
  at TradeUI.TradeUIRework.MyDoWindowContents (RimWorld.Dialog_Trade __instance, UnityEngine.Rect& inRect) [0x002c3] in <d131a7b7cbc8493f94ca523f49a634d9>:0 
  at RimWorld.Dialog_Trade.DoWindowContents (UnityEngine.Rect inRect) [0x00101] in <24d25868955f4df08b02c73b55f389fe>:0 
    - TRANSPILER rimworld.hobtook.tradeui: IEnumerable`1 TradeUI.TradeUIRework:DoWindowContentsTranspiler(IEnumerable`1 instructions)
  at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001d3] in <24d25868955f4df08b02c73b55f389fe>:0 
    - TRANSPILER net.pardeike.rimworld.lib.harmony: IEnumerable`1 VisualExceptions.ExceptionsAndActivatorHandler:Transpiler(IEnumerable`1 instructions, MethodBase original)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch4 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Window.InnerWindowOnGUI_Patch1 (Verse.Window,int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)


JobDriver threw exception in toil MakeNewToils's initAction for pawn Nehakvon driver=JobDriver_TradeWithPawn (toilIndex=1) driver.job=(TradeWithPawn_DressCode (Job_8721555) A = Thing_Human3036613 Giver = ThinkNode_QueuedJob [workGiverDef: null])
System.NullReferenceException: Object reference not set to an instance of an object
[Ref F757703E]
  at FamilyOverhaul.Comp_FamilyData.get_HasMaster () [0x000e8] in <7217305963fa4b9e859b2c09decddca7>:0 
  at FamilyOverhaul.Family.PreventSellingPersonal_Patch (System.Boolean& __result, Verse.Pawn __instance, System.String& reason) [0x00026] in <7217305963fa4b9e859b2c09decddca7>:0 
  at Verse.Pawn.PreventPlayerSellingThingsNearby (System.String& reason) [0x00016] in <24d25868955f4df08b02c73b55f389fe>:0 
    - PREFIX ESeeker.FO: Boolean FamilyOverhaul.Family:PreventSellingPersonal_Patch(Boolean& __result, Pawn __instance, String& reason)
  at RimWorld.TradeDeal.InSellablePosition (Verse.Thing t, System.String& reason) [0x000dc] in <24d25868955f4df08b02c73b55f389fe>:0 
  at RimWorld.TradeDeal.AddAllTradeables () [0x00037] in <24d25868955f4df08b02c73b55f389fe>:0 
  at RimWorld.TradeDeal.Reset () [0x00016] in <24d25868955f4df08b02c73b55f389fe>:0 
RimWorld.TradeDeal..ctor()
  at RimWorld.TradeSession.SetupWith (RimWorld.ITrader newTrader, Verse.Pawn newPlayerNegotiator, System.Boolean giftMode) [0x00024] in <24d25868955f4df08b02c73b55f389fe>:0 
RimWorld.Dialog_Trade..ctor(Pawn playerNegotiator, ITrader trader, Boolean giftsOnly)
  at RimWorld.JobDriver_TradeWithPawn+<>c__DisplayClass3_0.<MakeNewToils>b__1 () [0x0002f] in <24d25868955f4df08b02c73b55f389fe>:0 
  at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x00208] in <24d25868955f4df08b02c73b55f389fe>:0 
    - TRANSPILER net.pardeike.rimworld.lib.harmony: IEnumerable`1 VisualExceptions.ExceptionsAndActivatorHandler:Transpiler(IEnumerable`1 instructions, MethodBase original)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch4 (string)
Verse.AI.JobUtility:TryStartErrorRecoverJob (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.JobDriver.TryActuallyStartNextToil_Patch1 (Verse.AI.JobDriver)
Verse.AI.JobDriver:ReadyForNextToil ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.JobDriver.Notify_PatherArrived_Patch1 (Verse.AI.JobDriver)
Verse.AI.Pawn_PathFollower:PatherArrived ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_PathFollower.TryEnterNextPathCell_Patch2 (Verse.AI.Pawn_PathFollower)
Verse.AI.Pawn_PathFollower:PatherTick ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Pawn.Tick_Patch4 (Verse.Pawn)
Verse.Thing:DoTick ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickList.Tick_Patch1 (Verse.TickList)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch5 (Verse.TickManager)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.TickManagerUpdate_Patch3 (Verse.TickManager)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch2 (Verse.Game)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)
 


I also tried to do this with a test and got this other record, I sold an unbonded animal to a slave and the animal turned wild instead of bonding to the trader. line 211
https://gist.github.com/HugsLibRecordKeeper/d1aad879eba3c39a7930ba85de2a652d

Edited by furel
Posted
4 hours ago, furel said:

I experienced the same issue as SecretAgendClank, but I noticed some strange behavior. In my situation, if I trade using a slave, I can't have access to all my money and I can't sell all the things the trader can buy. If I sell something with the slave, I get the silver, the trader doesn't receive the items, they disappear from my inventory, and if I try to trade again, my silver is set to 0 in the trade menu despite having silver; no logs appear. I haven't fully tested it, but I seem to remember that if after using a slave to trade any further trading attempts even whit colonist breaks the menu, doesn't give me access to all my silver, and shows an inconsistent list of items to sell.

I got those logs related to this problem but I can't replicate it in a consistent way.

  Reveal hidden contents

Exception filling window for RimWorld.Dialog_Trade: System.NullReferenceException: Object reference not set to an instance of an object
[Ref BC6472E4]
  at FamilyOverhaul.Comp_FamilyData.get_HasMaster () [0x000e8] in <7217305963fa4b9e859b2c09decddca7>:0 
  at FamilyOverhaul.Family.PreventSellingPersonal_Patch (System.Boolean& __result, Verse.Pawn __instance, System.String& reason) [0x00026] in <7217305963fa4b9e859b2c09decddca7>:0 
  at Verse.Pawn.PreventPlayerSellingThingsNearby (System.String& reason) [0x00016] in <24d25868955f4df08b02c73b55f389fe>:0 
    - PREFIX ESeeker.FO: Boolean FamilyOverhaul.Family:PreventSellingPersonal_Patch(Boolean& __result, Pawn __instance, String& reason)
  at RimWorld.TradeDeal.InSellablePosition (Verse.Thing t, System.String& reason) [0x000dc] in <24d25868955f4df08b02c73b55f389fe>:0 
  at RimWorld.TradeDeal.AddAllTradeables () [0x00037] in <24d25868955f4df08b02c73b55f389fe>:0 
  at RimWorld.TradeDeal.Reset () [0x00016] in <24d25868955f4df08b02c73b55f389fe>:0 
  at RimWorld.TradeDeal.TryExecute (System.Boolean& actuallyTraded) [0x00286] in <24d25868955f4df08b02c73b55f389fe>:0 
    - TRANSPILER OskarPotocki.VanillaSocialInteractionsExpanded: IEnumerable`1 VanillaSocialInteractionsExpanded.TryExecute_Patch:Transpiler(IEnumerable`1 instructions)
    - PREFIX OskarPotocki.VEF: Void VEF.Factions.TradeDeal_TryExecute_Patch:Prefix(List`1 ___tradeables, List`1& __state)
    - PREFIX krelinos.SocialEXPFromTrade: Void SocialEXPFromTrade.Patch1:Prefix(TradeDeal& __instance, List`1& ___tradeables, Object[]& __state)
    - PREFIX OskarPotocki.VanillaPsycastsExpanded: Void VanillaPsycastsExpanded.TradeDeal_TryExecute_Patch:Prefix(List`1 ___tradeables, Int32& __state)
    - POSTFIX OskarPotocki.VEF: Void VEF.Factions.TradeDeal_TryExecute_Patch:Postfix(List`1 __state, Boolean __result)
    - POSTFIX krelinos.SocialEXPFromTrade: Void SocialEXPFromTrade.Patch1:Postfix(Object[] __state, Boolean& __result)
    - POSTFIX com.vanillamemesexpanded: Void VanillaMemesExpanded.VanillaMemesExpanded_TradeDeal_TryExecute_Patch:NotifySuccessfulTrade(Boolean __result)
    - POSTFIX com.alphamemes: Void AlphaMemes.AlphaMemes_TradeDeal_TryExecute_Patch:NotifySuccessfulTrade(Boolean __result, List`1 ___tradeables)
    - POSTFIX OskarPotocki.VanillaPsycastsExpanded: Void VanillaPsycastsExpanded.TradeDeal_TryExecute_Patch:Postfix(Int32 __state, Boolean __result)
  at TradeUI.TradeUIRework+<>c__DisplayClass2_0.<MyDoWindowContents>b__0 () [0x00001] in <d131a7b7cbc8493f94ca523f49a634d9>:0 
  at TradeUI.TradeUIRework.MyDoWindowContents (RimWorld.Dialog_Trade __instance, UnityEngine.Rect& inRect) [0x002c3] in <d131a7b7cbc8493f94ca523f49a634d9>:0 
  at RimWorld.Dialog_Trade.DoWindowContents (UnityEngine.Rect inRect) [0x00101] in <24d25868955f4df08b02c73b55f389fe>:0 
    - TRANSPILER rimworld.hobtook.tradeui: IEnumerable`1 TradeUI.TradeUIRework:DoWindowContentsTranspiler(IEnumerable`1 instructions)
  at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001d3] in <24d25868955f4df08b02c73b55f389fe>:0 
    - TRANSPILER net.pardeike.rimworld.lib.harmony: IEnumerable`1 VisualExceptions.ExceptionsAndActivatorHandler:Transpiler(IEnumerable`1 instructions, MethodBase original)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch4 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Window.InnerWindowOnGUI_Patch1 (Verse.Window,int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)


JobDriver threw exception in toil MakeNewToils's initAction for pawn Nehakvon driver=JobDriver_TradeWithPawn (toilIndex=1) driver.job=(TradeWithPawn_DressCode (Job_8721555) A = Thing_Human3036613 Giver = ThinkNode_QueuedJob [workGiverDef: null])
System.NullReferenceException: Object reference not set to an instance of an object
[Ref F757703E]
  at FamilyOverhaul.Comp_FamilyData.get_HasMaster () [0x000e8] in <7217305963fa4b9e859b2c09decddca7>:0 
  at FamilyOverhaul.Family.PreventSellingPersonal_Patch (System.Boolean& __result, Verse.Pawn __instance, System.String& reason) [0x00026] in <7217305963fa4b9e859b2c09decddca7>:0 
  at Verse.Pawn.PreventPlayerSellingThingsNearby (System.String& reason) [0x00016] in <24d25868955f4df08b02c73b55f389fe>:0 
    - PREFIX ESeeker.FO: Boolean FamilyOverhaul.Family:PreventSellingPersonal_Patch(Boolean& __result, Pawn __instance, String& reason)
  at RimWorld.TradeDeal.InSellablePosition (Verse.Thing t, System.String& reason) [0x000dc] in <24d25868955f4df08b02c73b55f389fe>:0 
  at RimWorld.TradeDeal.AddAllTradeables () [0x00037] in <24d25868955f4df08b02c73b55f389fe>:0 
  at RimWorld.TradeDeal.Reset () [0x00016] in <24d25868955f4df08b02c73b55f389fe>:0 
RimWorld.TradeDeal..ctor()
  at RimWorld.TradeSession.SetupWith (RimWorld.ITrader newTrader, Verse.Pawn newPlayerNegotiator, System.Boolean giftMode) [0x00024] in <24d25868955f4df08b02c73b55f389fe>:0 
RimWorld.Dialog_Trade..ctor(Pawn playerNegotiator, ITrader trader, Boolean giftsOnly)
  at RimWorld.JobDriver_TradeWithPawn+<>c__DisplayClass3_0.<MakeNewToils>b__1 () [0x0002f] in <24d25868955f4df08b02c73b55f389fe>:0 
  at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x00208] in <24d25868955f4df08b02c73b55f389fe>:0 
    - TRANSPILER net.pardeike.rimworld.lib.harmony: IEnumerable`1 VisualExceptions.ExceptionsAndActivatorHandler:Transpiler(IEnumerable`1 instructions, MethodBase original)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch4 (string)
Verse.AI.JobUtility:TryStartErrorRecoverJob (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.JobDriver.TryActuallyStartNextToil_Patch1 (Verse.AI.JobDriver)
Verse.AI.JobDriver:ReadyForNextToil ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.JobDriver.Notify_PatherArrived_Patch1 (Verse.AI.JobDriver)
Verse.AI.Pawn_PathFollower:PatherArrived ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_PathFollower.TryEnterNextPathCell_Patch2 (Verse.AI.Pawn_PathFollower)
Verse.AI.Pawn_PathFollower:PatherTick ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Pawn.Tick_Patch4 (Verse.Pawn)
Verse.Thing:DoTick ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickList.Tick_Patch1 (Verse.TickList)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch5 (Verse.TickManager)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.TickManagerUpdate_Patch3 (Verse.TickManager)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch2 (Verse.Game)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)
 


I also tried to do this with a test and got this other record, I sold an unbonded animal to a slave and the animal turned wild instead of bonding to the trader. line 211
https://gist.github.com/HugsLibRecordKeeper/d1aad879eba3c39a7930ba85de2a652d

in patch Pretraded I run JoinAsSlave check but that variable is stored in guest sub-class which only humanlike have

 

I've been working on a transpiler patch for setting birth gender which has delayed me massively(I've enclosed it in a try statement ensuring it won't break everything on fail, if no start-up errors I will upload the update)

Posted
On 10/18/2025 at 1:53 PM, ESeeker said:

in patch Pretraded I run JoinAsSlave check but that variable is stored in guest sub-class which only humanlike have

 

I've been working on a transpiler patch for setting birth gender which has delayed me massively(I've enclosed it in a try statement ensuring it won't break everything on fail, if no start-up errors I will upload the update)

 
Thing is my negotiator is not a slave/servant and neither is the trader yet it still breaks before I had to add a null check to the code. 

Posted

Latest patch is throwing this error
 

Exception in Verse.StaticConstructorOnStartupUtility.CallAll: System.TypeInitializationException: The type initializer for 'RJWAdditions.Additions' threw an exception. ---> System.TypeLoadException: Could not resolve type with token 01000056 from typeref (expected class 'LLStretcher.Patch_Stretching_AfterSexUtilityUpdateRecords' in assembly 'LLStretcher, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null')
   --- End of inner exception stack trace ---
[Ref FDAF4970]
(wrapper managed-to-native) System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(intptr)
  at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor (System.RuntimeTypeHandle type) [0x0002a] in <51fded79cd284d4d911c5949aff4cb21>:0 
  at Verse.StaticConstructorOnStartupUtility.CallAll () [0x00028] in <24d25868955f4df08b02c73b55f389fe>:0 
    - TRANSPILER net.pardeike.rimworld.lib.harmony: IEnumerable`1 VisualExceptions.ExceptionsAndActivatorHandler:Transpiler(IEnumerable`1 instructions, MethodBase original)
    - POSTFIX LunarFramework.Bootstrap: Void LunarFramework.Internal.Patches.Patch_Verse_StaticConstructorOnStartupUtility:CallAll_Postfix()
    - POSTFIX PerformanceOptimizer.Main: Void PerformanceOptimizer.InitializeMod:Postfix()

 

Posted
1 hour ago, aceman67 said:

Latest patch is throwing this error
 

Exception in Verse.StaticConstructorOnStartupUtility.CallAll: System.TypeInitializationException: The type initializer for 'RJWAdditions.Additions' threw an exception. ---> System.TypeLoadException: Could not resolve type with token 01000056 from typeref (expected class 'LLStretcher.Patch_Stretching_AfterSexUtilityUpdateRecords' in assembly 'LLStretcher, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null')
   --- End of inner exception stack trace ---
[Ref FDAF4970]
(wrapper managed-to-native) System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(intptr)
  at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor (System.RuntimeTypeHandle type) [0x0002a] in <51fded79cd284d4d911c5949aff4cb21>:0 
  at Verse.StaticConstructorOnStartupUtility.CallAll () [0x00028] in <24d25868955f4df08b02c73b55f389fe>:0 
    - TRANSPILER net.pardeike.rimworld.lib.harmony: IEnumerable`1 VisualExceptions.ExceptionsAndActivatorHandler:Transpiler(IEnumerable`1 instructions, MethodBase original)
    - POSTFIX LunarFramework.Bootstrap: Void LunarFramework.Internal.Patches.Patch_Verse_StaticConstructorOnStartupUtility:CallAll_Postfix()
    - POSTFIX PerformanceOptimizer.Main: Void PerformanceOptimizer.InitializeMod:Postfix()

 

I put patches inside try {} to avoid this apparently it didn't work

Posted (edited)
1 hour ago, eduardogui said:

https://gist.github.com/HugsLibRecordKeeper/e53b4b86bbd7ae589eb67cc0123da447
 

I'm getting an error when i click on 'Enslaved Prisoner', its from the mod "Family Overhaul". When i click, it just show the error and nothing pop up after clicking.

I forgot to add null check for InitMaster(a variable used when switching master)

 

Edit: fixed 1.9.2.2

Edited by ESeeker
Posted

Still getting trading errors with this mod. 

 

Spoiler

JobDriver threw exception in toil MakeNewToils's initAction for pawn Spartan driver=JobDriver_TradeWithPawn (toilIndex=1) driver.job=(TradeWithPawn (Job_6338882) A = Thing_OG_Alien_Tau1579248 Giver = ThinkNode_QueuedJob [workGiverDef: null])
System.NullReferenceException: Object reference not set to an instance of an object
[Ref 6E95BB2C]
  at FamilyOverhaul.Comp_FamilyData.get_HasMaster () [0x000ba] in <b116d29d59ff43d490cceab4b180b97e>:0 
  at FamilyOverhaul.Family.PreventSellingPersonal_Patch (System.Boolean& __result, Verse.Pawn __instance, System.String& reason) [0x0002a] in <b116d29d59ff43d490cceab4b180b97e>:0 
  at Verse.Pawn.PreventPlayerSellingThingsNearby (System.String& reason) [0x00061] in <24d25868955f4df08b02c73b55f389fe>:0 
    - POSTFIX ESeeker.FO: Void FamilyOverhaul.Family:PreventSellingPersonal_Patch(Boolean& __result, Pawn __instance, String& reason)
  at RimWorld.TradeDeal.InSellablePosition (Verse.Thing t, System.String& reason) [0x00136] in <24d25868955f4df08b02c73b55f389fe>:0 
    - PREFIX com.spdskatr.projectrimfactory: Boolean ProjectRimFactory.Common.HarmonyPatches.Patch_TradeDeal_InSellablePosition:Prefix(Thing t, String& reason, Boolean& __result)
    - POSTFIX SmashPhil.VehicleFramework: Void Vehicles.Patch_CaravanHandling:NegotiatorInVehicle(Boolean& __result)
  at RimWorld.TradeDeal.AddAllTradeables () [0x00037] in <24d25868955f4df08b02c73b55f389fe>:0 
  at RimWorld.TradeDeal.Reset () [0x00016] in <24d25868955f4df08b02c73b55f389fe>:0 
RimWorld.TradeDeal..ctor()
  at RimWorld.TradeSession.SetupWith (RimWorld.ITrader newTrader, Verse.Pawn newPlayerNegotiator, System.Boolean giftMode) [0x00024] in <24d25868955f4df08b02c73b55f389fe>:0 
RimWorld.Dialog_Trade..ctor(Pawn playerNegotiator, ITrader trader, Boolean giftsOnly)
  at RimWorld.JobDriver_TradeWithPawn+<>c__DisplayClass3_0.<MakeNewToils>b__1 () [0x0002f] in <24d25868955f4df08b02c73b55f389fe>:0 
  at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x001b0] in <24d25868955f4df08b02c73b55f389fe>:0 
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.JobUtility.TryStartErrorRecoverJob_Patch1 (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver)
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:Notify_PatherArrived ()
Verse.AI.Pawn_PathFollower:PatherArrived ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_PathFollower.TryEnterNextPathCell_Patch1 (Verse.AI.Pawn_PathFollower)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_PathFollower.PatherTick_Patch2 (Verse.AI.Pawn_PathFollower)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Pawn.Tick_Patch4 (Verse.Pawn)
Verse.Thing:DoTick ()
Verse.TickList:Tick ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch3 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch4 (Verse.Game)
Verse.Root_Play:Update ()

Family Overhaul is still checking for ownership and family data on pawns that don't have them initalized so getting a null reference for HasMaster(). 

...Having to add a null check myself for public bool HasMaster with each update :(

Posted
18 minutes ago, SecretAgentClank said:

Still getting trading errors with this mod. 

 

  Reveal hidden contents

JobDriver threw exception in toil MakeNewToils's initAction for pawn Spartan driver=JobDriver_TradeWithPawn (toilIndex=1) driver.job=(TradeWithPawn (Job_6338882) A = Thing_OG_Alien_Tau1579248 Giver = ThinkNode_QueuedJob [workGiverDef: null])
System.NullReferenceException: Object reference not set to an instance of an object
[Ref 6E95BB2C]
  at FamilyOverhaul.Comp_FamilyData.get_HasMaster () [0x000ba] in <b116d29d59ff43d490cceab4b180b97e>:0 
  at FamilyOverhaul.Family.PreventSellingPersonal_Patch (System.Boolean& __result, Verse.Pawn __instance, System.String& reason) [0x0002a] in <b116d29d59ff43d490cceab4b180b97e>:0 
  at Verse.Pawn.PreventPlayerSellingThingsNearby (System.String& reason) [0x00061] in <24d25868955f4df08b02c73b55f389fe>:0 
    - POSTFIX ESeeker.FO: Void FamilyOverhaul.Family:PreventSellingPersonal_Patch(Boolean& __result, Pawn __instance, String& reason)
  at RimWorld.TradeDeal.InSellablePosition (Verse.Thing t, System.String& reason) [0x00136] in <24d25868955f4df08b02c73b55f389fe>:0 
    - PREFIX com.spdskatr.projectrimfactory: Boolean ProjectRimFactory.Common.HarmonyPatches.Patch_TradeDeal_InSellablePosition:Prefix(Thing t, String& reason, Boolean& __result)
    - POSTFIX SmashPhil.VehicleFramework: Void Vehicles.Patch_CaravanHandling:NegotiatorInVehicle(Boolean& __result)
  at RimWorld.TradeDeal.AddAllTradeables () [0x00037] in <24d25868955f4df08b02c73b55f389fe>:0 
  at RimWorld.TradeDeal.Reset () [0x00016] in <24d25868955f4df08b02c73b55f389fe>:0 
RimWorld.TradeDeal..ctor()
  at RimWorld.TradeSession.SetupWith (RimWorld.ITrader newTrader, Verse.Pawn newPlayerNegotiator, System.Boolean giftMode) [0x00024] in <24d25868955f4df08b02c73b55f389fe>:0 
RimWorld.Dialog_Trade..ctor(Pawn playerNegotiator, ITrader trader, Boolean giftsOnly)
  at RimWorld.JobDriver_TradeWithPawn+<>c__DisplayClass3_0.<MakeNewToils>b__1 () [0x0002f] in <24d25868955f4df08b02c73b55f389fe>:0 
  at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x001b0] in <24d25868955f4df08b02c73b55f389fe>:0 
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.JobUtility.TryStartErrorRecoverJob_Patch1 (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver)
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:Notify_PatherArrived ()
Verse.AI.Pawn_PathFollower:PatherArrived ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_PathFollower.TryEnterNextPathCell_Patch1 (Verse.AI.Pawn_PathFollower)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_PathFollower.PatherTick_Patch2 (Verse.AI.Pawn_PathFollower)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Pawn.Tick_Patch4 (Verse.Pawn)
Verse.Thing:DoTick ()
Verse.TickList:Tick ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch3 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch4 (Verse.Game)
Verse.Root_Play:Update ()

Family Overhaul is still checking for ownership and family data on pawns that don't have them initalized so getting a null reference for HasMaster(). 

...Having to add a null check myself for public bool HasMaster with each update :(

found probable cause

playerSettings and relations can be null resulting in error

first (method: HasMaster)
if (Self.relations == null)
{

    return Self.playerSettings?.RespectsMaster ?? false;
}

before it checks for bond relation (method: IsMaster)

if (Self.relations == null)
{
    return Self.playerSettings?.RespectedMaster == master;
}

and playerSettings. -> playerSettings?.

Posted (edited)

In RJW Addition this error appears
 

Spoiler

Could not resolve cross-reference: No Verse.ThingDef named RJWA_MechPenis found to give to Verse.DefHyperlink Verse.DefHyperlink

Could not resolve cross-reference: No Verse.ThingDef named RJWA_MechPenis found to give to rjw.HediffDef_SexPart MechImplanter

[RJW] Could not find a RacePartDef named MechBreast referenced by RaceGroupDef named Mechanoid_Genitals_Warqueen.


RJWA_MechPenis seems to doesn't exist

Edited by furel
Posted
4 hours ago, furel said:

In RJW Addition this error appears
 

  Reveal hidden contents

Could not resolve cross-reference: No Verse.ThingDef named RJWA_MechPenis found to give to Verse.DefHyperlink Verse.DefHyperlink

Could not resolve cross-reference: No Verse.ThingDef named RJWA_MechPenis found to give to rjw.HediffDef_SexPart MechImplanter

[RJW] Could not find a RacePartDef named MechBreast referenced by RaceGroupDef named Mechanoid_Genitals_Warqueen.


RJWA_MechPenis seems to doesn't exist

that doesn't make sense it should use MechImplanter

Posted
2 hours ago, ESeeker said:

that doesn't make sense it should use MechImplanter

My mistake. I thought I had the latest version, but I must have mixed up the versions. Sorry

Posted

Apparel Settings 1.6.1.7 is causing animations not to play, throwing out this error. 1.6.1.6.2 still works.

 

Spoiler

JobDriver threw exception in toil unnamed's initAction for pawn Taz driver=JobDriver_RapeComfortPawn (toilIndex=3) driver.job=(RapeComfortPawn (Job_1681) A = Thing_Human375 Giver = ThinkNode_QueuedJob [workGiverDef: null])
System.TypeLoadException: Failure has occurred while loading a type.
[Ref 68229114]
  at AbsCon_Apparel_Settings_For_RJW.ApparelAnimationUtility.DetermineApparelToKeepOn (Verse.Pawn pawn, rjw.Modules.Interactions.SexInteraction interaction, System.Boolean isInitiator) [0x0002c] in <8995c13351cf45ff88d30883be9d7e86>:0
  at AbsCon_Apparel_Settings_For_RJW.HarmonyPatch_RJW.JobDriver_SexBaseInitiator_Postfix (rjw.JobDriver_SexBaseInitiator& __instance) [0x0007a] in <8995c13351cf45ff88d30883be9d7e86>:0
  at rjw.JobDriver_SexBaseInitiator.Start () [0x00325] in <b83521ca65fa481e860c4308799e5105>:0
    - PREFIX C0ffeeRIA: Void C0ffee_s_RJW_Ideology_Addons.HarmonyPatch_JobDriver_SexBaseInitiator:StartPrefix(JobDriver_SexBaseInitiator __instance)
    - POSTFIX rjwanim: Void Rimworld_Animations.HarmonyPatch_JobDriver_SexBaseInitiator_Start:Postfix(JobDriver_SexBaseInitiator& __instance)
    - POSTFIX RJW_Sexperience: Void RJWSexperience.RJW_Patch_VirginityRemover:Postfix(JobDriver_SexBaseInitiator __instance)
    - POSTFIX Abscon_Apparel_Settings_For_RJW: Void AbsCon_Apparel_Settings_For_RJW.HarmonyPatch_RJW:JobDriver_SexBaseInitiator_Postfix(JobDriver_SexBaseInitiator& __instance)
  at rjw.JobDriver_RapeComfortPawn+<>c__DisplayClass0_0.<MakeNewToils>b__4 () [0x00030] in /builds/amevarashi/rjw/1.6/Source/JobDrivers/JobDriver_RapeComfortPawn.cs:55
  at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x001b0] in <24d25868955f4df08b02c73b55f389fe>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.AI.JobUtility:TryStartErrorRecoverJob (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver)
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:Notify_PatherArrived ()
Verse.AI.Pawn_PathFollower:PatherArrived ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_PathFollower.TryEnterNextPathCell_Patch1 (Verse.AI.Pawn_PathFollower)
Verse.AI.Pawn_PathFollower:PatherTick ()
Verse.Pawn:Tick ()
Verse.Thing:DoTick ()
Verse.TickList:Tick ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch2 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch1 (Verse.Game)
Verse.Root_Play:Update ()

 

Also, RJW Additions latest version is throwing out these errors on startup. All seem to be related.

 

Spoiler

Config error in RJWA_HumanlikeCompatiblity: description has leading whitespace
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.DefDatabase`1<RimWorld.StatDef>:ErrorCheckAllDefs ()
System.Reflection.RuntimeMethodInfo:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
System.Reflection.MethodBase:Invoke (object,object[])
Verse.GenGeneric:InvokeStaticMethodOnGenericType (System.Type,System.Type,string)
Verse.PlayDataLoader/<>c:<DoPlayLoad>b__4_1 (System.Type)
System.Threading.Tasks.Parallel/<>c__DisplayClass33_0`2<System.Type, object>:<ForEachWorker>b__0 (int)
System.Threading.Tasks.Parallel/<>c__DisplayClass19_0`1<object>:<ForWorker>b__1 (System.Threading.Tasks.RangeWorker&,int,bool&)
System.Threading.Tasks.TaskReplicator/Replica`1<System.Threading.Tasks.RangeWorker>:ExecuteAction (bool&)
System.Threading.Tasks.TaskReplicator/Replica:Execute ()
System.Threading.Tasks.TaskReplicator/Replica/<>c:<.ctor>b__4_0 (object)
System.Threading.Tasks.Task:InnerInvoke ()
System.Threading.Tasks.Task:Execute ()
System.Threading.Tasks.Task:ExecutionContextCallback (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.Tasks.Task:ExecuteWithThreadLocal (System.Threading.Tasks.Task&)
System.Threading.Tasks.Task:ExecuteEntry (bool)
System.Threading.Tasks.Task:System.Threading.IThreadPoolWorkItem.ExecuteWorkItem ()
System.Threading.ThreadPoolWorkQueue:Dispatch ()
System.Threading._ThreadPoolWaitCallback:PerformWaitCallback ()

 

Spoiler

Config error in RJWA_AnimalCompatiblity: description has leading whitespace
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.DefDatabase`1<RimWorld.StatDef>:ErrorCheckAllDefs ()
System.Reflection.RuntimeMethodInfo:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
System.Reflection.MethodBase:Invoke (object,object[])
Verse.GenGeneric:InvokeStaticMethodOnGenericType (System.Type,System.Type,string)
Verse.PlayDataLoader/<>c:<DoPlayLoad>b__4_1 (System.Type)
System.Threading.Tasks.Parallel/<>c__DisplayClass33_0`2<System.Type, object>:<ForEachWorker>b__0 (int)
System.Threading.Tasks.Parallel/<>c__DisplayClass19_0`1<object>:<ForWorker>b__1 (System.Threading.Tasks.RangeWorker&,int,bool&)
System.Threading.Tasks.TaskReplicator/Replica`1<System.Threading.Tasks.RangeWorker>:ExecuteAction (bool&)
System.Threading.Tasks.TaskReplicator/Replica:Execute ()
System.Threading.Tasks.TaskReplicator/Replica/<>c:<.ctor>b__4_0 (object)
System.Threading.Tasks.Task:InnerInvoke ()
System.Threading.Tasks.Task:Execute ()
System.Threading.Tasks.Task:ExecutionContextCallback (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.Tasks.Task:ExecuteWithThreadLocal (System.Threading.Tasks.Task&)
System.Threading.Tasks.Task:ExecuteEntry (bool)
System.Threading.Tasks.Task:System.Threading.IThreadPoolWorkItem.ExecuteWorkItem ()
System.Threading.ThreadPoolWorkQueue:Dispatch ()
System.Threading._ThreadPoolWaitCallback:PerformWaitCallback ()

 

Spoiler

Config error in RJWA_MechCompatiblity: description has leading whitespace
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.DefDatabase`1<RimWorld.StatDef>:ErrorCheckAllDefs ()
System.Reflection.RuntimeMethodInfo:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
System.Reflection.MethodBase:Invoke (object,object[])
Verse.GenGeneric:InvokeStaticMethodOnGenericType (System.Type,System.Type,string)
Verse.PlayDataLoader/<>c:<DoPlayLoad>b__4_1 (System.Type)
System.Threading.Tasks.Parallel/<>c__DisplayClass33_0`2<System.Type, object>:<ForEachWorker>b__0 (int)
System.Threading.Tasks.Parallel/<>c__DisplayClass19_0`1<object>:<ForWorker>b__1 (System.Threading.Tasks.RangeWorker&,int,bool&)
System.Threading.Tasks.TaskReplicator/Replica`1<System.Threading.Tasks.RangeWorker>:ExecuteAction (bool&)
System.Threading.Tasks.TaskReplicator/Replica:Execute ()
System.Threading.Tasks.TaskReplicator/Replica/<>c:<.ctor>b__4_0 (object)
System.Threading.Tasks.Task:InnerInvoke ()
System.Threading.Tasks.Task:Execute ()
System.Threading.Tasks.Task:ExecutionContextCallback (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.Tasks.Task:ExecuteWithThreadLocal (System.Threading.Tasks.Task&)
System.Threading.Tasks.Task:ExecuteEntry (bool)
System.Threading.Tasks.Task:System.Threading.IThreadPoolWorkItem.ExecuteWorkItem ()
System.Threading.ThreadPoolWorkQueue:Dispatch ()
System.Threading._ThreadPoolWaitCallback:PerformWaitCallback ()

 

Posted
1 hour ago, GenericUsername234 said:

Apparel Settings 1.6.1.7 is causing animations not to play, throwing out this error. 1.6.1.6.2 still works.

 

  Reveal hidden contents

JobDriver threw exception in toil unnamed's initAction for pawn Taz driver=JobDriver_RapeComfortPawn (toilIndex=3) driver.job=(RapeComfortPawn (Job_1681) A = Thing_Human375 Giver = ThinkNode_QueuedJob [workGiverDef: null])
System.TypeLoadException: Failure has occurred while loading a type.
[Ref 68229114]
  at AbsCon_Apparel_Settings_For_RJW.ApparelAnimationUtility.DetermineApparelToKeepOn (Verse.Pawn pawn, rjw.Modules.Interactions.SexInteraction interaction, System.Boolean isInitiator) [0x0002c] in <8995c13351cf45ff88d30883be9d7e86>:0
  at AbsCon_Apparel_Settings_For_RJW.HarmonyPatch_RJW.JobDriver_SexBaseInitiator_Postfix (rjw.JobDriver_SexBaseInitiator& __instance) [0x0007a] in <8995c13351cf45ff88d30883be9d7e86>:0
  at rjw.JobDriver_SexBaseInitiator.Start () [0x00325] in <b83521ca65fa481e860c4308799e5105>:0
    - PREFIX C0ffeeRIA: Void C0ffee_s_RJW_Ideology_Addons.HarmonyPatch_JobDriver_SexBaseInitiator:StartPrefix(JobDriver_SexBaseInitiator __instance)
    - POSTFIX rjwanim: Void Rimworld_Animations.HarmonyPatch_JobDriver_SexBaseInitiator_Start:Postfix(JobDriver_SexBaseInitiator& __instance)
    - POSTFIX RJW_Sexperience: Void RJWSexperience.RJW_Patch_VirginityRemover:Postfix(JobDriver_SexBaseInitiator __instance)
    - POSTFIX Abscon_Apparel_Settings_For_RJW: Void AbsCon_Apparel_Settings_For_RJW.HarmonyPatch_RJW:JobDriver_SexBaseInitiator_Postfix(JobDriver_SexBaseInitiator& __instance)
  at rjw.JobDriver_RapeComfortPawn+<>c__DisplayClass0_0.<MakeNewToils>b__4 () [0x00030] in /builds/amevarashi/rjw/1.6/Source/JobDrivers/JobDriver_RapeComfortPawn.cs:55
  at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x001b0] in <24d25868955f4df08b02c73b55f389fe>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.AI.JobUtility:TryStartErrorRecoverJob (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver)
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:Notify_PatherArrived ()
Verse.AI.Pawn_PathFollower:PatherArrived ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_PathFollower.TryEnterNextPathCell_Patch1 (Verse.AI.Pawn_PathFollower)
Verse.AI.Pawn_PathFollower:PatherTick ()
Verse.Pawn:Tick ()
Verse.Thing:DoTick ()
Verse.TickList:Tick ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch2 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch1 (Verse.Game)
Verse.Root_Play:Update ()

 

Also, RJW Additions latest version is throwing out these errors on startup. All seem to be related.

 

  Reveal hidden contents

Config error in RJWA_HumanlikeCompatiblity: description has leading whitespace
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.DefDatabase`1<RimWorld.StatDef>:ErrorCheckAllDefs ()
System.Reflection.RuntimeMethodInfo:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
System.Reflection.MethodBase:Invoke (object,object[])
Verse.GenGeneric:InvokeStaticMethodOnGenericType (System.Type,System.Type,string)
Verse.PlayDataLoader/<>c:<DoPlayLoad>b__4_1 (System.Type)
System.Threading.Tasks.Parallel/<>c__DisplayClass33_0`2<System.Type, object>:<ForEachWorker>b__0 (int)
System.Threading.Tasks.Parallel/<>c__DisplayClass19_0`1<object>:<ForWorker>b__1 (System.Threading.Tasks.RangeWorker&,int,bool&)
System.Threading.Tasks.TaskReplicator/Replica`1<System.Threading.Tasks.RangeWorker>:ExecuteAction (bool&)
System.Threading.Tasks.TaskReplicator/Replica:Execute ()
System.Threading.Tasks.TaskReplicator/Replica/<>c:<.ctor>b__4_0 (object)
System.Threading.Tasks.Task:InnerInvoke ()
System.Threading.Tasks.Task:Execute ()
System.Threading.Tasks.Task:ExecutionContextCallback (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.Tasks.Task:ExecuteWithThreadLocal (System.Threading.Tasks.Task&)
System.Threading.Tasks.Task:ExecuteEntry (bool)
System.Threading.Tasks.Task:System.Threading.IThreadPoolWorkItem.ExecuteWorkItem ()
System.Threading.ThreadPoolWorkQueue:Dispatch ()
System.Threading._ThreadPoolWaitCallback:PerformWaitCallback ()

 

  Reveal hidden contents

Config error in RJWA_AnimalCompatiblity: description has leading whitespace
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.DefDatabase`1<RimWorld.StatDef>:ErrorCheckAllDefs ()
System.Reflection.RuntimeMethodInfo:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
System.Reflection.MethodBase:Invoke (object,object[])
Verse.GenGeneric:InvokeStaticMethodOnGenericType (System.Type,System.Type,string)
Verse.PlayDataLoader/<>c:<DoPlayLoad>b__4_1 (System.Type)
System.Threading.Tasks.Parallel/<>c__DisplayClass33_0`2<System.Type, object>:<ForEachWorker>b__0 (int)
System.Threading.Tasks.Parallel/<>c__DisplayClass19_0`1<object>:<ForWorker>b__1 (System.Threading.Tasks.RangeWorker&,int,bool&)
System.Threading.Tasks.TaskReplicator/Replica`1<System.Threading.Tasks.RangeWorker>:ExecuteAction (bool&)
System.Threading.Tasks.TaskReplicator/Replica:Execute ()
System.Threading.Tasks.TaskReplicator/Replica/<>c:<.ctor>b__4_0 (object)
System.Threading.Tasks.Task:InnerInvoke ()
System.Threading.Tasks.Task:Execute ()
System.Threading.Tasks.Task:ExecutionContextCallback (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.Tasks.Task:ExecuteWithThreadLocal (System.Threading.Tasks.Task&)
System.Threading.Tasks.Task:ExecuteEntry (bool)
System.Threading.Tasks.Task:System.Threading.IThreadPoolWorkItem.ExecuteWorkItem ()
System.Threading.ThreadPoolWorkQueue:Dispatch ()
System.Threading._ThreadPoolWaitCallback:PerformWaitCallback ()

 

  Reveal hidden contents

Config error in RJWA_MechCompatiblity: description has leading whitespace
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.DefDatabase`1<RimWorld.StatDef>:ErrorCheckAllDefs ()
System.Reflection.RuntimeMethodInfo:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
System.Reflection.MethodBase:Invoke (object,object[])
Verse.GenGeneric:InvokeStaticMethodOnGenericType (System.Type,System.Type,string)
Verse.PlayDataLoader/<>c:<DoPlayLoad>b__4_1 (System.Type)
System.Threading.Tasks.Parallel/<>c__DisplayClass33_0`2<System.Type, object>:<ForEachWorker>b__0 (int)
System.Threading.Tasks.Parallel/<>c__DisplayClass19_0`1<object>:<ForWorker>b__1 (System.Threading.Tasks.RangeWorker&,int,bool&)
System.Threading.Tasks.TaskReplicator/Replica`1<System.Threading.Tasks.RangeWorker>:ExecuteAction (bool&)
System.Threading.Tasks.TaskReplicator/Replica:Execute ()
System.Threading.Tasks.TaskReplicator/Replica/<>c:<.ctor>b__4_0 (object)
System.Threading.Tasks.Task:InnerInvoke ()
System.Threading.Tasks.Task:Execute ()
System.Threading.Tasks.Task:ExecutionContextCallback (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.Tasks.Task:ExecuteWithThreadLocal (System.Threading.Tasks.Task&)
System.Threading.Tasks.Task:ExecuteEntry (bool)
System.Threading.Tasks.Task:System.Threading.IThreadPoolWorkItem.ExecuteWorkItem ()
System.Threading.ThreadPoolWorkQueue:Dispatch ()
System.Threading._ThreadPoolWaitCallback:PerformWaitCallback ()

 

method stated in error wasn't changed besides removing unnecessary spacing(which is ignored by code)

 

config error is intentional for visual reasons(although replacing it with \n should solve it, all 3 shares description resulting in 3 errors)

Posted
21 hours ago, ESeeker said:

method stated in error wasn't changed besides removing unnecessary spacing(which is ignored by code)

 

config error is intentional for visual reasons(although replacing it with \n should solve it, all 3 shares description resulting in 3 errors)

Not sure, just giving you what data my caveman brain could come up with. 1.6.1.7 doesn't allow animations to start and throws an error, 1.6.1.6.2 allows animations to start as soon as I downgrade it.

 

Having a weird game freeze as well, seemingly related to family overhaul. Downgraded to 1.8.6 and haven't had a freeze yet. No errors associated with it that I can paste, as the application just hangs indefinitely and I have to end process.

 

At the end of the day, downgraded RJW Additions to 2.4.2, Family Overhault to 1.8.6, and Apparel Settings to 1.6.1.6.2 and the game is stable.

Posted
4 hours ago, GenericUsername234 said:

Not sure, just giving you what data my caveman brain could come up with. 1.6.1.7 doesn't allow animations to start and throws an error, 1.6.1.6.2 allows animations to start as soon as I downgrade it.

 

Having a weird game freeze as well, seemingly related to family overhaul. Downgraded to 1.8.6 and haven't had a freeze yet. No errors associated with it that I can paste, as the application just hangs indefinitely and I have to end process.

 

At the end of the day, downgraded RJW Additions to 2.4.2, Family Overhault to 1.8.6, and Apparel Settings to 1.6.1.6.2 and the game is stable.

(FO) I just found out I forgot to add <implied>true</implied> to PawnRelationDef Name="FO_Master_Base"(the 2 abstract variables where added in 1.8.7)

(AT) I was looking into it but realised I'm on 1.6.1.6.2 and as I got the game running I can't download the latest version

 

note when I update I delete my copy and then use Libidinous Loader to download latest version(resets Visual Studio and sets all files last updated date to the same date)

Posted
On 10/30/2025 at 7:33 PM, GenericUsername234 said:

Not sure, just giving you what data my caveman brain could come up with. 1.6.1.7 doesn't allow animations to start and throws an error, 1.6.1.6.2 allows animations to start as soon as I downgrade it.

 

Having a weird game freeze as well, seemingly related to family overhaul. Downgraded to 1.8.6 and haven't had a freeze yet. No errors associated with it that I can paste, as the application just hangs indefinitely and I have to end process.

 

At the end of the day, downgraded RJW Additions to 2.4.2, Family Overhault to 1.8.6, and Apparel Settings to 1.6.1.6.2 and the game is stable.

 

For what it's worth, I was getting those weird freezes as well, and downgrading to the versions you mentioned made the game stable for me as well.

Posted

Updated to current verison, noticed family data is populating correctly for me now, but currently getting a new issue every couple minutes... Something family overhaul and trying to wander...

 

Spoiler

Exception in Verse.AI.ThinkNode_Tagger TryIssueJobPackage: System.NullReferenceException: Object reference not set to an instance of an object
[Ref 8AF155D7]
  at FamilyOverhaul.Comp_FamilyData.AllowedInsideRoom (Verse.Room room, System.Boolean anyMaster) [0x0001d] in <6a73ed3afa9a409883379308a0cf74cf>:0 
  at FamilyOverhaul.AIBehaviours.CanWanderToCell_Patch (System.Boolean& __result, Verse.IntVec3 c, Verse.Pawn pawn, Verse.IntVec3 root) [0x000b4] in <6a73ed3afa9a409883379308a0cf74cf>:0 
  at RimWorld.RCellFinder.CanWanderToCell (Verse.IntVec3 c, Verse.Pawn pawn, Verse.IntVec3 root, System.Func`4[T1,T2,T3,TResult] validator, System.Int32 tryIndex, Verse.Danger maxDanger, System.Boolean careAboutSunlight, System.Boolean careAboutPollution, System.Boolean careAboutRotStink, System.Boolean canBashDoors) [0x00024] in <46372f5dadbf4af8939e608076251180>:0 
    - PREFIX ESeeker.FO: Boolean FamilyOverhaul.AIBehaviours:CanWanderToCell_Patch(Boolean& __result, IntVec3 c, Pawn pawn, IntVec3 root)
    - POSTFIX Dubwise.DubsBadHygiene: Void DubsBadHygiene.Patches.HarmonyPatches+Patch_CanWanderToCell:Postfix(IntVec3& c, Pawn& pawn, Boolean& __result)
    - POSTFIX net.avilmask.rimworld.mod.CommonSense: Void CommonSense.RCellFinder_CanWanderToCell_CommonSensePatch:Postfix(Boolean& __result, IntVec3 c, Pawn pawn)
  at RimWorld.RCellFinder.RandomWanderDestFor (Verse.Pawn pawn, Verse.IntVec3 root, System.Single radius, System.Func`4[T1,T2,T3,TResult] validator, Verse.Danger maxDanger, System.Boolean canBashDoors) [0x0024b] in <46372f5dadbf4af8939e608076251180>:0 
  at Verse.AI.JobGiver_Wander.GetExactWanderDest (Verse.Pawn pawn) [0x0005b] in <46372f5dadbf4af8939e608076251180>:0 
  at Verse.AI.JobGiver_Wander.TryGiveJob (Verse.Pawn pawn) [0x000b5] in <46372f5dadbf4af8939e608076251180>:0 
    - PREFIX SmashPhil.VehicleFramework: Boolean Vehicles.Patch_JobSystem:VehiclesDontWander(Pawn pawn, Job& __result)
    - PREFIX net.avilmask.rimworld.mod.CommonSense: Boolean CommonSense.JobGiver_Wander_TryGiveJob_CommonSensePatch:Prefix(Pawn pawn, Job& __result)
    - POSTFIX net.avilmask.rimworld.mod.CommonSense: Void CommonSense.JobGiver_Wander_TryGiveJob_CommonSensePatch:Postfix(Pawn pawn, Job& __result)
  at Verse.AI.ThinkNode_JobGiver.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x00000] in <46372f5dadbf4af8939e608076251180>:0 
  at Verse.AI.ThinkNode_Priority.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x00022] in <46372f5dadbf4af8939e608076251180>:0 
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Tagger:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Conditional:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Conditional:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_JobTracker.DetermineNextJob_Patch1 (Verse.AI.Pawn_JobTracker,Verse.ThinkTreeDef&,bool)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Glue:AbiFixup<Verse.AI.ThinkResult Verse.AI.Pawn_JobTracker:DetermineNextJob(Verse.ThinkTreeDef&, System.Boolean),Verse.AI.ThinkResult Verse.AI.Pawn_JobTracker.DetermineNextJob_Patch1(Verse.AI.Pawn_JobTracker, Verse.ThinkTreeDef&, System.Boolean)> (Verse.AI.Pawn_JobTracker,Verse.AI.ThinkResult&,Verse.ThinkTreeDef&,bool)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_JobTracker.EndCurrentJob_Patch3 (Verse.AI.Pawn_JobTracker,Verse.AI.JobCondition,bool,bool)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Group.Lord.Cleanup_Patch1 (Verse.AI.Group.Lord)
Verse.AI.Group.LordManager:RemoveLord (Verse.AI.Group.Lord)
RimWorld.LordJob_Ritual:ApplyOutcome (single,bool,bool,bool)
RimWorld.LordJob_Ritual:<CreateGraph>b__82_10 ()
Verse.AI.Group.TransitionAction_Custom:DoAction (Verse.AI.Group.Transition)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Group.Transition.Execute_Patch1 (Verse.AI.Group.Transition,Verse.AI.Group.Lord)
Verse.AI.Group.Transition:CheckSignal (Verse.AI.Group.Lord,Verse.AI.Group.TriggerSignal)
Verse.AI.Group.Lord:CheckTransitionOnSignal (Verse.AI.Group.TriggerSignal)
Verse.AI.Group.Lord:LordTick ()
Verse.AI.Group.LordManager:LordManagerTick ()
Verse.Map:MapPostTick ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch3 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch4 (Verse.Game)
Verse.Root_Play:Update ()
 

As for any race mod issue I come across, if I come across any gamebreaking bugs again involving them I'll point them out. 

Posted
On 11/5/2025 at 2:08 AM, SecretAgentClank said:

Updated to current verison, noticed family data is populating correctly for me now, but currently getting a new issue every couple minutes... Something family overhaul and trying to wander...

 

  Reveal hidden contents

Exception in Verse.AI.ThinkNode_Tagger TryIssueJobPackage: System.NullReferenceException: Object reference not set to an instance of an object
[Ref 8AF155D7]
  at FamilyOverhaul.Comp_FamilyData.AllowedInsideRoom (Verse.Room room, System.Boolean anyMaster) [0x0001d] in <6a73ed3afa9a409883379308a0cf74cf>:0 
  at FamilyOverhaul.AIBehaviours.CanWanderToCell_Patch (System.Boolean& __result, Verse.IntVec3 c, Verse.Pawn pawn, Verse.IntVec3 root) [0x000b4] in <6a73ed3afa9a409883379308a0cf74cf>:0 
  at RimWorld.RCellFinder.CanWanderToCell (Verse.IntVec3 c, Verse.Pawn pawn, Verse.IntVec3 root, System.Func`4[T1,T2,T3,TResult] validator, System.Int32 tryIndex, Verse.Danger maxDanger, System.Boolean careAboutSunlight, System.Boolean careAboutPollution, System.Boolean careAboutRotStink, System.Boolean canBashDoors) [0x00024] in <46372f5dadbf4af8939e608076251180>:0 
    - PREFIX ESeeker.FO: Boolean FamilyOverhaul.AIBehaviours:CanWanderToCell_Patch(Boolean& __result, IntVec3 c, Pawn pawn, IntVec3 root)
    - POSTFIX Dubwise.DubsBadHygiene: Void DubsBadHygiene.Patches.HarmonyPatches+Patch_CanWanderToCell:Postfix(IntVec3& c, Pawn& pawn, Boolean& __result)
    - POSTFIX net.avilmask.rimworld.mod.CommonSense: Void CommonSense.RCellFinder_CanWanderToCell_CommonSensePatch:Postfix(Boolean& __result, IntVec3 c, Pawn pawn)
  at RimWorld.RCellFinder.RandomWanderDestFor (Verse.Pawn pawn, Verse.IntVec3 root, System.Single radius, System.Func`4[T1,T2,T3,TResult] validator, Verse.Danger maxDanger, System.Boolean canBashDoors) [0x0024b] in <46372f5dadbf4af8939e608076251180>:0 
  at Verse.AI.JobGiver_Wander.GetExactWanderDest (Verse.Pawn pawn) [0x0005b] in <46372f5dadbf4af8939e608076251180>:0 
  at Verse.AI.JobGiver_Wander.TryGiveJob (Verse.Pawn pawn) [0x000b5] in <46372f5dadbf4af8939e608076251180>:0 
    - PREFIX SmashPhil.VehicleFramework: Boolean Vehicles.Patch_JobSystem:VehiclesDontWander(Pawn pawn, Job& __result)
    - PREFIX net.avilmask.rimworld.mod.CommonSense: Boolean CommonSense.JobGiver_Wander_TryGiveJob_CommonSensePatch:Prefix(Pawn pawn, Job& __result)
    - POSTFIX net.avilmask.rimworld.mod.CommonSense: Void CommonSense.JobGiver_Wander_TryGiveJob_CommonSensePatch:Postfix(Pawn pawn, Job& __result)
  at Verse.AI.ThinkNode_JobGiver.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x00000] in <46372f5dadbf4af8939e608076251180>:0 
  at Verse.AI.ThinkNode_Priority.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x00022] in <46372f5dadbf4af8939e608076251180>:0 
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Tagger:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Conditional:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Conditional:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_JobTracker.DetermineNextJob_Patch1 (Verse.AI.Pawn_JobTracker,Verse.ThinkTreeDef&,bool)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Glue:AbiFixup<Verse.AI.ThinkResult Verse.AI.Pawn_JobTracker:DetermineNextJob(Verse.ThinkTreeDef&, System.Boolean),Verse.AI.ThinkResult Verse.AI.Pawn_JobTracker.DetermineNextJob_Patch1(Verse.AI.Pawn_JobTracker, Verse.ThinkTreeDef&, System.Boolean)> (Verse.AI.Pawn_JobTracker,Verse.AI.ThinkResult&,Verse.ThinkTreeDef&,bool)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_JobTracker.EndCurrentJob_Patch3 (Verse.AI.Pawn_JobTracker,Verse.AI.JobCondition,bool,bool)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Group.Lord.Cleanup_Patch1 (Verse.AI.Group.Lord)
Verse.AI.Group.LordManager:RemoveLord (Verse.AI.Group.Lord)
RimWorld.LordJob_Ritual:ApplyOutcome (single,bool,bool,bool)
RimWorld.LordJob_Ritual:<CreateGraph>b__82_10 ()
Verse.AI.Group.TransitionAction_Custom:DoAction (Verse.AI.Group.Transition)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Group.Transition.Execute_Patch1 (Verse.AI.Group.Transition,Verse.AI.Group.Lord)
Verse.AI.Group.Transition:CheckSignal (Verse.AI.Group.Lord,Verse.AI.Group.TriggerSignal)
Verse.AI.Group.Lord:CheckTransitionOnSignal (Verse.AI.Group.TriggerSignal)
Verse.AI.Group.Lord:LordTick ()
Verse.AI.Group.LordManager:LordManagerTick ()
Verse.Map:MapPostTick ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch3 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch4 (Verse.Game)
Verse.Root_Play:Update ()
 

As for any race mod issue I come across, if I come across any gamebreaking bugs again involving them I'll point them out. 

could list pawn type (animal/humanlike) and faction that are wandering

CanWanderToCell_Patch will ignore hostile and wild pawns as well as if target tile is in same room

just updated: 1.9.5

Posted
Spoiler

Error in WorldPawnGCTick(): System.InvalidOperationException: Collection was modified; enumeration operation may not execute. [Ref ECB26EC2]  [0x00000] in :0   at System.Collections.Generic.Dictionary2+Enumerator[TKey,TValue].MoveNext () [0x00013] in :0   at System.Linq.Enumerable+WhereEnumerableIterator1[TSource].MoveNext () [0x0004e] in :0   at FamilyOverhaul.PedigreeData.Cleanup (System.String me) [0x00057] in :0   at FamilyOverhaul.PedigreeData.Cleanup (System.String me) [0x00051] in :0   at FamilyOverhaul.Comp_FamilyData.PostDestroy (Verse.DestroyMode mode, Verse.Map previousMap) [0x00063] in :0   at Verse.ThingWithComps.Destroy (Verse.DestroyMode mode) [0x00026] in :0   at Verse.Pawn.Destroy (Verse.DestroyMode mode) [0x00097] in :0     - TRANSPILER SmashPhil.VehicleFramework: IEnumerable1 Vehicles.Patch_Construction:ValidDestroyModeForVehicles(IEnumerable1 instructions)     - PREFIX VFEInsectoidsMod: Void VFEInsectoids.Pawn_Destroy_Patch:Prefix(Pawn __instance)     - PREFIX Genes40k.Mod: Boolean Genes40k.PerpetualNoDestroy:Prefix(Pawn __instance, DestroyMode& mode)     - POSTFIX Krkr.RocketMan: Void RocketMan.Patches.Pawn_Notify_Dirty+Pawn_Dirty:Postfix(Pawn __instance)     - POSTFIX cat2002.showhair: Void ShowHair.HarmonyPatches.Pawn_Removed_Patch:Postfix(Pawn __instance)     - POSTFIX uuugggg.rimworld.SmartMedicine.main: Void SmartMedicine.Destroy_Pawn_Patch:Postfix(Pawn __instance)     - POSTFIX Genes40k.Mod: Void Genes40k.LivingSaintDestroyRemoveCount:Postfix(Pawn __instance)     - POSTFIX ShipInteriorMod2: Void SaveOurShip2.PreserveSoul2:Postfix(Pawn __instance, DestroyMode mode)   at RimWorld.Planet.WorldPawns.DiscardPawn (Verse.Pawn p, System.Boolean silentlyRemoveReferences) [0x00014] in :0   at RimWorld.Planet.WorldPawns.RemoveAndDiscardPawnViaGC (Verse.Pawn p) [0x00007] in :0   at RimWorld.Planet.WorldPawnGC+d__13.MoveNext () [0x00111] in :0   at RimWorld.Planet.WorldPawnGC.WorldPawnGCTick () [0x00069] in :0   at RimWorld.Planet.WorldPawns.WorldPawnsTick () [0x00306] in :0     - PREFIX Krkr.RocketMan.Soyuz: Void Soyuz.Patches.WorldPawns_Patch+WorldPawns_WorldPawnsTick_Patch:Prefix()     - POSTFIX Krkr.RocketMan.Soyuz: Void Soyuz.Patches.WorldPawns_Patch+WorldPawns_WorldPawnsTick_Patch:Postfix() UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:RimWorld.Planet.WorldPawns.WorldPawnsTick_Patch1 (RimWorld.Planet.WorldPawns) RimWorld.Planet.World:WorldTick () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch3 (Verse.TickManager) Verse.TickManager:TickManagerUpdate () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch4 (Verse.Game) Verse.Root_Play:Update ()

Context, 146 Shamblers spawned... (That's gotta be excessive, wish I knew more about storyteller settings to prevent that lol)

This error triggered almost a 100 times... exception involving PedigreeData.Cleanup

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...