Sid Meier's Civilization VI

Sid Meier's Civilization VI

Better Leader Icon (UI)
 Denne tråd er blevet fastgjort, så den er sikkert vigtig
infixo  [udvikler] 23. mar. 2019 kl. 11:46
Please report issues here.
The thread to report issues.
< >
Viser 1-15 af 17 kommentarer
Kayser 24. juni 2019 kl. 13:12 
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. maj 2020 kl. 21:41 
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. maj 2020 kl. 12:06 
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. juni 2020 kl. 23:48 
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  [udvikler] 2. juni 2020 kl. 0:15 
@scheballs What is your game core version? Number in the left bottom corner on the menu screen when the game starts.
draco963 26. okt. 2020 kl. 18:32 
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  [udvikler] 26. okt. 2020 kl. 18:51 
@draco You have a mod conflict. Another mod overwrites leadericon.xml and BLI cannot find a required UI control.
draco963 5. nov. 2020 kl. 14:20 
Oprindeligt skrevet af 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  [udvikler] 23. maj 2021 kl. 23:44 
Misc.lua line 17 errors.
Jamie-nyanchi 12. dec. 2022 kl. 10:49 
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 kl. 11:24 
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 kl. 2:38 
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  [udvikler] 21. dec. 2022 kl. 13:19 
Oprindeligt skrevet af 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 kl. 14:18 
Oprindeligt skrevet af 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 :)
Sidst redigeret af smark911; 25. feb. 2023 kl. 14:19
ReczKo 22. mar. 2023 kl. 11:22 
Doesn't work properly after great builders leader pack. Cheers
< >
Viser 1-15 af 17 kommentarer
Per side: 1530 50