RimWorld

RimWorld

Relations Tab
Waldleufer 28 Oct, 2018 @ 12:47pm
Bugreport
I Got the following Error log output:
RimWorld 1.0.2059 rev1005

Please Note that these errors have been displayed after I used the relationis Tab and this Mod together:

[KV] Faction Control - 1.0

Tried to get relation between faction Tedunareuia and itself.
Verse.Log:Error(String, Boolean)
RimWorld.Faction:RelationWith(Faction, Boolean)
RimWorld.Faction:GoodwillWith(Faction)
FactionControl.Patch_Faction_get_Color:Prefix(Faction, Color&)
RimWorld.Faction:get_Color_Patch1(Object)
RimWorld.Planet.Settlement:get_Material()
RimWorld.Planet.WorldObject:get_ExpandingIconColor()
RimWorld.Planet.ExpandableWorldObjectsUtility:ExpandableWorldObjectsOnGUI()
RimWorld.WorldInterface:WorldInterfaceOnGUI()
RimWorld.UIRoot_Play:UIRootOnGUI()
Verse.Root:OnGUI()

Faction Ancients has no leader, and will not be shown in faction view!
Verse.Log:Warning(String, Boolean)
Fluffy_Relations.ForceDirectedGraph.FactionNode:.ctor(Faction, Vector2, Graph, Boolean)
Fluffy_Relations.MainTabWindow_Relations:<CreateGraph>b__27_2(Faction)
System.Linq.<CreateSelectIterator>c__Iterator10`2:MoveNext()
System.Linq.<CreateWhereIterator>c__Iterator1D`1:MoveNext()
System.Collections.Generic.List`1:AddEnumerable(IEnumerable`1)
System.Collections.Generic.List`1:.ctor(IEnumerable`1)
System.Linq.Enumerable:ToList(IEnumerable`1)
Fluffy_Relations.MainTabWindow_Relations:CreateGraph()
Fluffy_Relations.MainTabWindow_Relations:set_CurrentPage(Page)
Fluffy_Relations.MainTabWindow_Relations:DrawSourceButton()
Fluffy_Relations.MainTabWindow_Relations:DoWindowContents(Rect)
Verse.<WindowOnGUI>c__AnonStorey0:<>m__0(Int32)
UnityEngine.GUI:CallWindowDelegate(WindowFunction, Int32, Int32, GUISkin, Int32, Single, Single, GUIStyle)

Faction a mechanoid hive has no leader, and will not be shown in faction view!
Verse.Log:Warning(String, Boolean)
Fluffy_Relations.ForceDirectedGraph.FactionNode:.ctor(Faction, Vector2, Graph, Boolean)
Fluffy_Relations.MainTabWindow_Relations:<CreateGraph>b__27_2(Faction)
System.Linq.<CreateSelectIterator>c__Iterator10`2:MoveNext()
System.Linq.<CreateWhereIterator>c__Iterator1D`1:MoveNext()
System.Collections.Generic.List`1:AddEnumerable(IEnumerable`1)
System.Collections.Generic.List`1:.ctor(IEnumerable`1)
System.Linq.Enumerable:ToList(IEnumerable`1)
Fluffy_Relations.MainTabWindow_Relations:CreateGraph()
Fluffy_Relations.MainTabWindow_Relations:set_CurrentPage(Page)
Fluffy_Relations.MainTabWindow_Relations:DrawSourceButton()
Fluffy_Relations.MainTabWindow_Relations:DoWindowContents(Rect)
Verse.<WindowOnGUI>c__AnonStorey0:<>m__0(Int32)
UnityEngine.GUI:CallWindowDelegate(WindowFunction, Int32, Int32, GUISkin, Int32, Single, Single, GUIStyle)

Faction insects has no leader, and will not be shown in faction view!
Verse.Log:Warning(String, Boolean)
Fluffy_Relations.ForceDirectedGraph.FactionNode:.ctor(Faction, Vector2, Graph, Boolean)
Fluffy_Relations.MainTabWindow_Relations:<CreateGraph>b__27_2(Faction)
System.Linq.<CreateSelectIterator>c__Iterator10`2:MoveNext()
System.Linq.<CreateWhereIterator>c__Iterator1D`1:MoveNext()
System.Collections.Generic.List`1:AddEnumerable(IEnumerable`1)
System.Collections.Generic.List`1:.ctor(IEnumerable`1)
System.Linq.Enumerable:ToList(IEnumerable`1)
Fluffy_Relations.MainTabWindow_Relations:CreateGraph()
Fluffy_Relations.MainTabWindow_Relations:set_CurrentPage(Page)
Fluffy_Relations.MainTabWindow_Relations:DrawSourceButton()
Fluffy_Relations.MainTabWindow_Relations:DoWindowContents(Rect)
Verse.<WindowOnGUI>c__AnonStorey0:<>m__0(Int32)
UnityEngine.GUI:CallWindowDelegate(WindowFunction, Int32, Int32, GUISkin, Int32, Single, Single, GUIStyle)

Tried to get relation between faction Tedunareuia and itself.
Verse.Log:Error(String, Boolean)
RimWorld.Faction:RelationWith(Faction, Boolean)
RimWorld.Faction:GoodwillWith(Faction)
FactionControl.Patch_Faction_get_Color:Prefix(Faction, Color&)
RimWorld.Faction:get_Color_Patch1(Object)
Fluffy_Relations.<>c__DisplayClass27_2:<CreateGraph>b__14()
Fluffy_Relations.ForceDirectedGraph.FactionNode:Draw()
Fluffy_Relations.ForceDirectedGraph.Graph:Draw(Rect)
Fluffy_Relations.MainTabWindow_Relations:DrawFactionRelations()
Fluffy_Relations.MainTabWindow_Relations:DoWindowContents(Rect)
Verse.<WindowOnGUI>c__AnonStorey0:<>m__0(Int32)
UnityEngine.GUI:CallWindowDelegate(WindowFunction, Int32, Int32, GUISkin, Int32, Single, Single, GUIStyle)

Reached max messages limit. Stopping logging to avoid spam.
Verse.Log:Warning(String, Boolean)
Verse.Log:PostMessage()
Verse.Log:Error(String, Boolean)
RimWorld.Faction:RelationWith(Faction, Boolean)
RimWorld.Faction:GoodwillWith(Faction)
FactionControl.Patch_Faction_get_Color:Prefix(Faction, Color&)
RimWorld.Faction:get_Color_Patch1(Object)
Fluffy_Relations.<>c__DisplayClass27_2:<CreateGraph>b__14()
Fluffy_Relations.ForceDirectedGraph.FactionNode:Draw()
Fluffy_Relations.ForceDirectedGraph.Graph:Draw(Rect)
Fluffy_Relations.MainTabWindow_Relations:DrawFactionRelations()
Fluffy_Relations.MainTabWindow_Relations:DoWindowContents(Rect)
Verse.<WindowOnGUI>c__AnonStorey0:<>m__0(Int32)
UnityEngine.GUI:CallWindowDelegate(WindowFunction, Int32, Int32, GUISkin, Int32, Single, Single, GUIStyle)
Showing 1-9 of 9 comments
S.T.A.L.K.E.R. 10 Sep, 2019 @ 10:19pm 
Hello Fluffy Im having the same error I readed in the comments about

Could not load UnityEngine.Texture2D at World/WorldObjects/DefaultFactionBase in any active mod or in base resources.

Verse.Log:Error(String, Boolean)
Verse.ContentFinder`1:Get(String, Boolean)
Fluffy_Relations.Resources:CacheBaseTextures()
Verse.LongEventHandler:UpdateCurrentSynchronousEvent(Boolean&)
Verse.LongEventHandler:LongEventsUpdate(Boolean&)
Verse.Root:Update_Patch1(Object)
Verse.Root_Entry:Update()

https://gist.github.com/9fc0e564534c7f24a531bd623988caf4

2319 line. Thanks for youre time man.



S.T.A.L.K.E.R. 11 Sep, 2019 @ 12:25am 
Problem was Crystalloid (rewrite) sry man.
Hey there and thanks for the hint to send a output log

Basically i use relation tab with the kenshi race hivers

these guys aswell as the androids seem not to be shown in the relation tab if you select "Factions" and not colonists

From outputlog i can tell this is bec these factions do not have a leader

I guess you have an idea how this could be fixed. I do not :D

Thanks for looking into this




https://gist.github.com/HugsLibRecordKeeper/75e3a7ca8c291153d03df40e3d83eefe

Check from line 3150

Western Hive are coming after 10.67306 days.

The Grand Union are coming after 32.85794 days.

Creating new male Husky with skin index of 0 where 5 possible variants were available. Chance was 16%.

40mm Cannon (40x365mm Bofors) burst fire shot count is same or higher than auto fire

Charge SMG (normal) (6x18mm Charged) burst fire shot count is same or higher than auto fire

Faction Deadhive has no leader, and will not be shown in faction view!

Faction Western Hive has no leader, and will not be shown in faction view!

Faction Southern Hive has no leader, and will not be shown in faction view!

Faction Ancients has no leader, and will not be shown in faction view!

Faction Ancients has no leader, and will not be shown in faction view!

Faction a mechanoid hive has no leader, and will not be shown in faction view!

Faction insects has no leader, and will not be shown in faction view!

Faction black hive has no leader, and will not be shown in faction view!

Faction Mutant has no leader, and will not be shown in faction view!

Faction Land of the Enlightened has no leader, and will not be shown in faction view!

Faction MiningCo. has no leader, and will not be shown in faction view!

Exception filling window for Fluffy_Relations.MainTabWindow_Relations: System.NullReferenceException: Object reference not set to an instance of an object
at Fluffy_Relations.MainTabWindow_Relations.set_SelectedFaction (RimWorld.Faction value) [0x00000] in <filename unknown>:0
at Fluffy_Relations.MainTabWindow_Relations.DrawFactioRelations (RimWorld.Faction faction, Vector2 pos, Single width) [0x00000] in <filename unknown>:0
at Fluffy_Relations.MainTabWindow_Relations.DrawDetails (Rect canvas, RimWorld.Faction faction) [0x00000] in <filename unknown>:0
at Fluffy_Relations.MainTabWindow_Relations.DrawFactionRelations () [0x00000] in <filename unknown>:0
at Fluffy_Relations.MainTabWindow_Relations.DoWindowContents (Rect canvas) [0x00000] in <filename unknown>:0
at Verse.Window+<WindowOnGUI>c__AnonStorey0.<>m__0 (Int32 x) [0x00000] in <filename unknown>:0

Mouse position stack is not empty. There were more calls to BeginScrollView than EndScrollView. Fixing.

Exception filling window for Fluffy_Relations.MainTabWindow_Relations: System.NullReferenceException: Object reference not set to an instance of an object
at Fluffy_Relations.MainTabWindow_Relations.set_SelectedFaction (RimWorld.Faction value) [0x00000] in <filename unknown>:0
at Fluffy_Relations.MainTabWindow_Relations.DrawFactioRelations (RimWorld.Faction faction, Vector2 pos, Single width) [0x00000] in <filename unknown>:0
at Fluffy_Relations.MainTabWindow_Relations.DrawDetails (Rect canvas, RimWorld.Faction faction) [0x00000] in <filename unknown>:0
at Fluffy_Relations.MainTabWindow_Relations.DrawFactionRelations () [0x00000] in <filename unknown>:0
at Fluffy_Relations.MainTabWindow_Relations.DoWindowContents (Rect canvas) [0x00000] in <filename unknown>:0
at Verse.Window+<WindowOnGUI>c__AnonStorey0.<>m__0 (Int32 x) [0x00000] in <filename unknown>:0

Mouse position stack is not empty. There were more calls to BeginScrollView than EndScrollView. Fixing.

Exception filling window for Fluffy_Relations.MainTabWindow_Relations: System.NullReferenceException: Object reference not set to an instance of an object
at Fluffy_Relations.MainTabWindow_Relations.set_SelectedFaction (RimWorld.Faction value) [0x00000] in <filename unknown>:0
at Fluffy_Relations.MainTabWindow_Relations.DrawFactioRelations (RimWorld.Faction faction, Vector2 pos, Single width) [0x00000] in <filename unknown>:0
at Fluffy_Relations.MainTabWindow_Relations.DrawDetails (Rect canvas, RimWorld.Faction faction) [0x00000] in <filename unknown>:0
at Fluffy_Relations.MainTabWindow_Relations.DrawFactionRelations () [0x00000] in <filename unknown>:0
at Fluffy_Relations.MainTabWindow_Relations.DoWindowContents (Rect canvas) [0x00000] in <filename unknown>:0
at Verse.Window+<WindowOnGUI>c__AnonStorey0.<>m__0 (Int32 x) [0x00000] in <filename unknown>:0

Mouse position stack is not empty. There were more calls to BeginScrollView than EndScrollView. Fixing.

Exception filling window for Fluffy_Relations.MainTabWindow_Relations: System.NullReferenceException: Object reference not set to an instance of an object
at Fluffy_Relations.MainTabWindow_Relations.set_SelectedFaction (RimWorld.Faction value) [0x00000] in <filename unknown>:0
at Fluffy_Relations.MainTabWindow_Relations.DrawFactioRelations (RimWorld.Faction faction, Vector2 pos, Single width) [0x00000] in <filename unknown>:0
at Fluffy_Relations.MainTabWindow_Relations.DrawDetails (Rect canvas, RimWorld.Faction faction) [0x00000] in <filename unknown>:0
at Fluffy_Relations.MainTabWindow_Relations.DrawFactionRelations () [0x00000] in <filename unknown>:0
at Fluffy_Relations.MainTabWindow_Relations.DoWindowContents (Rect canvas) [0x00000] in <filename unknown>:0
at Verse.Window+<WindowOnGUI>c__AnonStorey0.<>m__0 (Int32 x) [0x00000] in <filename unknown>:0

Mouse position stack is not empty. There were more calls to BeginScrollView than EndScrollView. Fixing.


Fluffy  [developer] 7 Feb, 2020 @ 8:28am 
Hmm, interesting.

The problem here is that in vanilla, all the factions that do not have a leader should not show up for diplomacy; i.e. insects and mechanoids.

Apparently this is not a pattern that these mods follow, so I'll have to come up with a different way to distinguish which factions should be shown (and what portraits to use!).
Maybe there is value defining a entity as human or similiar and you could use this along?

Originally posted by Fluffy:
Hmm, interesting.

The problem here is that in vanilla, all the factions that do not have a leader should not show up for diplomacy; i.e. insects and mechanoids.

Apparently this is not a pattern that these mods follow, so I'll have to come up with a different way to distinguish which factions should be shown (and what portraits to use!).
otischamp 2 Mar, 2020 @ 11:16am 
i'm getting some errors due to icons i think? version 1.1 here's the pastebin: https://pastebin.com/tZ7zcBZK

no output log because of timeout
Fluffy  [developer] 3 Mar, 2020 @ 8:17am 
thanks, that will do. See my reply in the main thread.
CaptArcticWolf 19 Dec, 2020 @ 7:39am 
Found an issue where the Factions Tab and Orbital Trading being bugged. The Factions Tab is removed outright and replaced with the relations (which was the point for visuals) but i also found that the Comm Console for Orbital Trading is disabled Completely. i cannot use nor operate the orbital beacon or orbital trading w/ this mod enabled. i hope this has been resolved already.
Fluffy  [developer] 12 Jul, 2021 @ 10:02pm 
Originally posted by CaptArcticWolf:
Found an issue where the Factions Tab and Orbital Trading being bugged. The Factions Tab is removed outright and replaced with the relations (which was the point for visuals) but i also found that the Comm Console for Orbital Trading is disabled Completely. i cannot use nor operate the orbital beacon or orbital trading w/ this mod enabled. i hope this has been resolved already.
That's a new one for me. Could you share a player_log?
Showing 1-9 of 9 comments
Per page: 1530 50