RimWorld

RimWorld

Oni of the Rim
Papa Wraith 23 Oct, 2021 @ 3:27pm
faction doesn't exist? using toolkit mods for streaming, I get this error when calling military aid
https://gist.github.com/c6f2b73ee3a26ca5f6e4071d0eae170a

Tried to get relation between faction tuktopia and itself.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
RimWorld.Faction:RelationWith (RimWorld.Faction,bool)
RimWorld.Faction:RelationKindWith (RimWorld.Faction)
RimWorld.Faction:get_PlayerRelationKind ()
TwitchToolkit.Incidents.IncidentWorker_CallForAid:FactionCanBeGroupSource (RimWorld.Faction,Verse.Map,bool)
TwitchToolkit.Incidents.IncidentWorker_CallForAid/<>c__DisplayClass2_0:<CandidateFactions>b__0 (RimWorld.Faction)
System.Linq.Enumerable/WhereListIterator`1<RimWorld.Faction>:MoveNext ()
Verse.GenCollection:RandomElementByWeight<RimWorld.Faction> (System.Collections.Generic.IEnumerable`1<RimWorld.Faction>,System.Func`2<RimWorld.Faction, single>)
TwitchToolkit.Incidents.IncidentWorker_CallForAid:TryResolveRaidFaction (RimWorld.IncidentParms)
TwitchToolkit.Incidents.IncidentWorker_CallForAid:TryExecuteWorker (RimWorld.IncidentParms)
RimWorld.IncidentWorker:TryExecute (RimWorld.IncidentParms)
(wrapper dynamic-method) TwitchToolkit.IncidentHelpers.MilitaryAid.CallForAid:TwitchToolkit.IncidentHelpers.MilitaryAid.CallForAid.TryExecute_Patch0 (TwitchToolkit.IncidentHelpers.MilitaryAid.CallForAid)
SirRandoo.ToolkitUtils.Models.IncidentProxy:TryExecute ()
SirRandoo.ToolkitUtils.Coordinator:ProcessNextEvent ()
SirRandoo.ToolkitUtils.Coordinator:GameComponentUpdate ()
Verse.GameComponentUtility:GameComponentUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch2 (Verse.Game)
Verse.Root_Play:Update ()
***************
Called GetSituations() for faction tuktopia
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
RimWorld.GoodwillSituationManager:GetSituations (RimWorld.Faction)
RimWorld.GoodwillSituationManager:GetMaxGoodwill (RimWorld.Faction)
RimWorld.Faction:GoodwillWith (RimWorld.Faction)
RimWorld.Faction:get_PlayerGoodwill ()
TwitchToolkit.Incidents.IncidentWorker_CallForAid/<>c:<TryResolveRaidFaction>b__1_0 (RimWorld.Faction)
Verse.GenCollection:RandomElementByWeight<RimWorld.Faction> (System.Collections.Generic.IEnumerable`1<RimWorld.Faction>,System.Func`2<RimWorld.Faction, single>)
TwitchToolkit.Incidents.IncidentWorker_CallForAid:TryResolveRaidFaction (RimWorld.IncidentParms)
TwitchToolkit.Incidents.IncidentWorker_CallForAid:TryExecuteWorker (RimWorld.IncidentParms)
RimWorld.IncidentWorker:TryExecute (RimWorld.IncidentParms)
(wrapper dynamic-method) TwitchToolkit.IncidentHelpers.MilitaryAid.CallForAid:TwitchToolkit.IncidentHelpers.MilitaryAid.CallForAid.TryExecute_Patch0 (TwitchToolkit.IncidentHelpers.MilitaryAid.CallForAid)
SirRandoo.ToolkitUtils.Models.IncidentProxy:TryExecute ()
SirRandoo.ToolkitUtils.Coordinator:ProcessNextEvent ()
SirRandoo.ToolkitUtils.Coordinator:GameComponentUpdate ()
Verse.GameComponentUtility:GameComponentUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch2 (Verse.Game)
Verse.Root_Play:Update ()
*********************
The incident "MilitaryAid" encountered an exception while executing: NullReferenceException(Object reference not set to an instance of an object)
at RimWorld.GoodwillSituationManager.GetMaxGoodwill (RimWorld.Faction other) [0x00026] in <b64badbf3c3d41018b3ca5d3e8c77771>:0
at RimWorld.Faction.GoodwillWith (RimWorld.Faction other) [0x00016] in <b64badbf3c3d41018b3ca5d3e8c77771>:0
at RimWorld.Faction.get_PlayerGoodwill () [0x00006] in <b64badbf3c3d41018b3ca5d3e8c77771>:0
at TwitchToolkit.Incidents.IncidentWorker_CallForAid+<>c.<TryResolveRaidFaction>b__1_0 (RimWorld.Faction fac) [0x00000] in <edba5b8022834d4698df2fad203695a7>:0
at Verse.GenCollection.RandomElementByWeight[T] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] weightSelector) [0x000c2] in <b64badbf3c3d41018b3ca5d3e8c77771>:0
at TwitchToolkit.Incidents.IncidentWorker_CallForAid.TryResolveRaidFaction (RimWorld.IncidentParms parms) [0x00041] in <edba5b8022834d4698df2fad203695a7>:0
at TwitchToolkit.Incidents.IncidentWorker_CallForAid.TryExecuteWorker (RimWorld.IncidentParms parms) [0x00009] in <edba5b8022834d4698df2fad203695a7>:0
at RimWorld.IncidentWorker.TryExecute (RimWorld.IncidentParms parms) [0x0002b] in <b64badbf3c3d41018b3ca5d3e8c77771>:0
at (wrapper dynamic-method) TwitchToolkit.IncidentHelpers.MilitaryAid.CallForAid.TwitchToolkit.IncidentHelpers.MilitaryAid.CallForAid.TryExecute_Patch0(TwitchToolkit.IncidentHelpers.MilitaryAid.CallForAid)
at SirRandoo.ToolkitUtils.Models.IncidentProxy.TryExecute () [0x0001c] in <c7c9dc2361434f488d9e09d3373235db>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
SirRandoo.ToolkitUtils.Helpers.LogHelper:Error (string,System.Exception)
SirRandoo.ToolkitUtils.Models.IncidentProxy:TryExecute ()
SirRandoo.ToolkitUtils.Coordinator:ProcessNextEvent ()
SirRandoo.ToolkitUtils.Coordinator:GameComponentUpdate ()
Verse.GameComponentUtility:GameComponentUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch2 (Verse.Game)
Verse.Root_Play:Update ()



this 3 errors pop up, i provided a link for the crtl=12 thing at the top. I have spoken to the toolkit devs and they suggested it was some thing to do with rimworld not seeing the factions. if you can find anything in the above that can help me fix this, that would be awesome. please =\
Last edited by Papa Wraith; 23 Oct, 2021 @ 3:37pm