hooksecurefunc("QuestMapLogTitleButton_OnEnter", function(self) local id = C_QuestLog.GetQuestIDForLogIndex(self.questLogIndex) addLine(GameTooltip, id, kinds.quest) end)
I am getting the following lua error since the 9.0 patch when hovering over currencies in the curency tab:
Message: Interface\AddOns\idTip\idTip-8.2.1.lua:341: attempt to call global 'GetCurrencyListLink' (a nil value) Time: Fri Oct 16 08:59:10 2020 Count: 11 Stack: Interface\AddOns\idTip\idTip-8.2.1.lua:341: attempt to call global 'GetCurrencyListLink' (a nil value)
It would be awesome that you could hide the ID, but if you press example shift while mouseovering something; you see the id in tooltip (but only when you press shift while moseovering).
I think I figured out how to fix this for Shadowlands. Need to change the quest section to this:
-- Quests
hooksecurefunc("QuestMapLogTitleButton_OnEnter", function(self)
local info = C_QuestLog.GetInfo(self.questLogIndex)
local id = info.questID
addLine(GameTooltip, id, kinds.quest)
end)
Had an issue where it showed up twice on an item, in this example it was on Fel Leather Boots. See my screenshot below!
ItemID: 25686
ItemID: 25686
In reply to DomDashSix:
Another example (I also now have ATT-Classic installed - but didn't in previous screenshot)
Download for fixed idTip (fix taken from kiburan's post):
idTip-9.0.2-tbcc.zip
Fix for The Burning Crusade Classic (TBC) at line 29 of idTip.lua:
Change the last value from 20000 to 30000.
From:
local isClassicWow = select(4,GetBuildInfo()) < 20000
To:
local isClassicWow = select(4,GetBuildInfo()) < 30000
Can someone update me when the new version comes out? Thanks!
Is the author if this addon going to hand it off or add anyone to it who is more active?
9.0.1 diff
https://gist.github.com/Ketho/5a6c2feef1bbab6cb4cb0d4e58c521df/revisions
Fix for 9.x at line 354 of idTip.lua:
hooksecurefunc("QuestMapLogTitleButton_OnEnter", function(self)
local qlinfo = C_QuestLog.GetInfo(self.questLogIndex);
addLine(GameTooltip, qlinfo.questID, kinds.quest)
end)
+an additional change if you care about the currency tooltips posted above.
In reply to Curnivore:
Alternative:
hooksecurefunc("QuestMapLogTitleButton_OnEnter", function(self)
local id = C_QuestLog.GetQuestIDForLogIndex(self.questLogIndex)
addLine(GameTooltip, id, kinds.quest)
end)
I am getting the following lua error since the 9.0 patch when hovering over currencies in the curency tab:
Message: Interface\AddOns\idTip\idTip-8.2.1.lua:341: attempt to call global 'GetCurrencyListLink' (a nil value)
Time: Fri Oct 16 08:59:10 2020
Count: 11
Stack: Interface\AddOns\idTip\idTip-8.2.1.lua:341: attempt to call global 'GetCurrencyListLink' (a nil value)
Locals:
In reply to AllatarLoE:
Changing line 341 to
local id = tonumber(string.match(C_CurrencyInfo.GetCurrencyListLink(index),"currency:(%d+)"))
did resolve the issue for me.
In reply to Forge_User_96911164:
Many thanks, that did the trick
Hope author will find time to update that small, but VERY useful addon!
This was on GitHub, thank you Niketa!
on line 355 Replace with:
local id = C_QuestLog.GetInfo(self.questLogIndex).questID
This worked for SL beta.
Ref: https://github.com/silverwind/idTip/issues/56
It would be awesome that you could hide the ID, but if you press example shift while mouseovering something; you see the id in tooltip (but only when you press shift while moseovering).
Would be happy about a function that you can copy/paste an ID from a item through a shortcut with. Thanks. :-)
I think I figured out how to fix this for Shadowlands. Need to change the quest section to this:
comment can be deleted by mods
didnt work for pets in cages :(
no longer works with the new patch 8.2.5 ... any updates?