Sid Meier's Civilization VI

Sid Meier's Civilization VI

Better Leader Icon (UI)
 This topic has been pinned, so it's probably important
infixo  [developer] 23 Mar, 2019 @ 11:46am
Please report issues here.
The thread to report issues.
< >
Showing 1-15 of 17 comments
Kayser 24 Jun, 2019 @ 1:12pm 
Doesn't work properly after June patch (no icons displayed). Would love to see an update, because I'm so missing the feature that displays available trades/gold.
Atlas 20 May, 2020 @ 9:41pm 
This appears to have problems with the Maya/Gran Colombia patch. The leader icon is a ?, no stats are displayed, and I cannot open the World Rankings. This could be caused by another mod, so I am only saying this to corroborate if anyone else also finds something broken.
CyberGamer15 21 May, 2020 @ 12:06pm 
I'm also having the same issue as Atlas, with the leader icon showing up as a ? and all.

This mod seemed to work fine for me before the patch, but it seems to be having issues now.
Scheballs 1 Jun, 2020 @ 11:48pm 
Started a GS playthrough and the entire game UI disappears when I find my first leader.
Checked the Lua logs and found this error.

"Runtime Error: C:\Users\Administrator\Documents\My Games\Sid Meier's Civilization VI (Epic)\Mods\1691629919\XP1\DiplomacyRibbon_Expansion1.lua:13: Type check failed: (expected 'boolean', but got 'table')
stack traceback:
C:\Users\Administrator\Documents\My Games\Sid Meier's Civilization VI (Epic)\Mods\1691629919\XP1\DiplomacyRibbon_Expansion1.lua:13: in function 'AddLeader'
C:\Program Files\Epic Games\SidMeiersCivilizationVI\Base\Assets\UI\DiplomacyRibbon.lua:216: in function 'UpdateLeaders'
C:\Program Files\Epic Games\SidMeiersCivilizationVI\DLC\Expansion2\UI\Replacements\DiplomacyRibbon_Expansion2.lua:40: in function 'UpdateLeaders'
C:\Program Files\Epic Games\SidMeiersCivilizationVI\DLC\Expansion2\UI\Replacements\DiplomacyRibbon_Expansion2.lua:105: in function 'LateInitialize'
C:\Program Files\Epic Games\SidMeiersCivilizationVI\Base\Assets\UI\DiplomacyRibbon.lua:931: in function 'OnInit'"
infixo  [developer] 2 Jun, 2020 @ 12:15am 
@scheballs What is your game core version? Number in the left bottom corner on the menu screen when the game starts.
draco963 26 Oct, 2020 @ 6:32pm 
I have the same error as Matthomar and Scheballs. As soon as I meet a player Civ, the UI vanishes. I like what this mod should do, how can I help troubleshoot?

Game version 1.0.6.9 (521158)
Last runtime error in Lua log:
Runtime Error: E:\Games\Steam\steamapps\workshop\content\289070\1691629919\Base\LeaderIcon.lua:149: attempt to index a nil value
stack traceback:
E:\Games\Steam\steamapps\workshop\content\289070\1691629919\Base\LeaderIcon.lua:149: in function 'LeaderIcon:UpdateAllToolTips'
E:\Games\Steam\steamapps\workshop\content\289070\1691629919\Base\LeaderIcon.lua:104: in function 'LeaderIcon:UpdateIcon'
E:\Games\Steam\steamapps\workshop\content\289070\872393108\LUA\DiplomacyActionView.lua:1708: in function 'PopulateLeader'
E:\Games\Steam\steamapps\workshop\content\289070\1691629919\XP2\DiplomacyActionView_Expansion2_BLI.lua:15: in function 'PopulateLeader'
E:\Games\Steam\steamapps\workshop\content\289070\872393108\LUA\DiplomacyActionView.lua:1947: in function 'PopulateDiplomacyRibbon'
E:\Games\Steam\steamapps\workshop\content\289070\872393108\LUA\DiplomacyActionView.lua:2757: in function 'OnDiplomacyStatement'
[C]: in function 'func'
[C]: in function '(anonymous)'
TutorialUIRoot: diplo stmt type=1812035902
infixo  [developer] 26 Oct, 2020 @ 6:51pm 
@draco You have a mod conflict. Another mod overwrites leadericon.xml and BLI cannot find a required UI control.
draco963 5 Nov, 2020 @ 2:20pm 
Originally posted by infixo:
@draco You have a mod conflict. Another mod overwrites leadericon.xml and BLI cannot find a required UI control.
Thank you for the response infixo.
infixo  [developer] 23 May, 2021 @ 11:44pm 
Misc.lua line 17 errors.
Jamie-nyanchi 12 Dec, 2022 @ 10:49am 
Hey! I really like this mod and I wanted to share a couple really small bugs I noticed.

1. When the "Show Yields in HUD Ribbon" option is set to Always Show and you're playing with teams, the top yield value slightly overlaps with the team number just above it. They don't overlap without this mod.

2. When used with CQUI, some of the information from CQUI is missing on the Relationship Intel Report screen. One of them is the relationship value. So instead of showing "Declared Friend (83)", for example, it instead shows "Declared Friend ()" with the value missing. Another one is the total sum value below the reasons for the relationship status. So instead of showing "+25 Total", for example, it doesn't show anything. Since this mod is supposed to be compatible with CQUI, I figured I'd report it.
Jamie-nyanchi 15 Dec, 2022 @ 11:24am 
I looked into the files a bit to see if I could resolve these myself and I think I found something for both.

1. For this one, I edited Line 64 in "Base/DiplomacyRibbon.xml" and Line 65 in "XP2/DiplomacyRibbon.xml" so that "Offset" is equal to "1,60" instead of "1,55". I got this value from the base game's DiplomacyRibbon.xml, which doesn't have this small bug.

2. I'm not familiar with Civ 6 modding, but I'm thinking this has something to do with the load order of the DiplomacyActionView.lua files. I don't know how to make mods interact better with each other, but this seems to be resolved by just removing the imports and replacements for DiplomacyActionView in "Better Leader Icon.modinfo".

If I was confident that these had no side effects, I'd submit this as a PR to your Github, but like I mentioned, I'm not familiar with Civ 6 modding, so it'd be better to leave that to you. I know these are super minor bugs anyway, but I just want to help where I can.
Wolfengrim 18 Dec, 2022 @ 2:38am 
This is causing my UI to disapear.

Runtime Error: D:\SteamLibrary\steamapps\workshop\content\289070\1691629919\Base\LeaderIcon.lua:149: attempt to index a nil value
stack traceback:
D:\SteamLibrary\steamapps\workshop\content\289070\1691629919\Base\LeaderIcon.lua:149: in function 'LeaderIcon:UpdateAllToolTips'
D:\SteamLibrary\steamapps\workshop\content\289070\1691629919\Base\LeaderIcon.lua:104: in function 'LeaderIcon:UpdateIcon'
D:\SteamLibrary\steamapps\common\Sid Meier's Civilization VI\Base\Assets\UI\DiplomacyRibbon.lua:137: in function 'AddLeader'
D:\SteamLibrary\steamapps\workshop\content\289070\1691629919\XP1\DiplomacyRibbon_Expansion1.lua:14: in function 'AddLeader'
D:\SteamLibrary\steamapps\workshop\content\289070\2581704421\AKWDIP_DiplomacyRibbon.lua:27: in function 'AKWDIP_AddLeaderBLI'
D:\SteamLibrary\steamapps\common\Sid Meier's Civilization VI\Base\Assets\UI\DiplomacyRibbon.lua:219: in function 'UpdateLeaders'
D:\SteamLibrary\steamapps\common\Sid Meier's Civilization VI\DLC\Expansion2\UI\Replacements\DiplomacyRibbon_Expansion2.lua:45: in function 'UpdateLeaders'
D:\SteamLibrary\steamapps\common\Sid Meier's Civilization VI\Base\Assets\UI\DiplomacyRibbon.lua:594: in function 'OnTurnBegin'
[C]: in function 'func'
[C]: in function '(anonymous)'
Runtime Error: D:\SteamLibrary\steamapps\workshop\content\289070\1691629919\Base\LeaderIcon.lua:149: attempt to index a nil value
stack traceback:
D:\SteamLibrary\steamapps\workshop\content\289070\1691629919\Base\LeaderIcon.lua:149: in function 'LeaderIcon:UpdateAllToolTips'
infixo  [developer] 21 Dec, 2022 @ 1:19pm 
Originally posted by Wolfengrim:
This is causing my UI to disapear.
Runtime Error: D:\SteamLibrary\steamapps\workshop\content\289070\1691629919\Base\LeaderIcon.lua:149: attempt to index a nil value
This error means that LeaderIcon.xml is not loaded properly i.e. you have a mod conflict.
smark911 25 Feb, 2023 @ 2:18pm 
Originally posted by sicksicksix:
Big sad incoming.

With my current set up, adding this mod makes the UI disappear after I meet a non-city-state civ in single player.
I will eventually find out why... evennntualllyyyyy .....

same here, since there is no solution and I can't identify the conflicting mod, the only choice I have is disabling the mod.
I ll just report from the comments section:
this mod is NOT compatible with Extended Diplomacy ribbon !
Activating the two mods together WILL cause the interface to diseappear !

Now my bug is explained. Thanks :)
Last edited by smark911; 25 Feb, 2023 @ 2:19pm
ReczKo 22 Mar, 2023 @ 11:22am 
Doesn't work properly after great builders leader pack. Cheers
< >
Showing 1-15 of 17 comments
Per page: 1530 50