LUA error for heirloom items
Hemario opened this issue ยท 4 comments
Seems like NumBonusIDs
is an empty string and so tonumber(NumBonusIDs)
returns nil
37x AzerPUG's ToolTips\main.lua:101: attempt to compare number with nil
[string "@AzerPUG's ToolTips\main.lua"]:101: in function <AzerPUG's ToolTips\main.lua:89>
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "@TradeSkillMaster\LibTSM\Service\ItemTooltipClasses\Wrapper.lua"]:98: in function `SetMerchantItem'
[string "@FrameXML\MerchantFrame.lua"]:634: in function `MerchantItemButton_OnEnter'
[string "*:OnEnter"]:1: in function <[string "*:OnEnter"]:1>
Locals:
ttname = "GameTooltip"
(for index) = 3
(for limit) = 37
(for step) = 1
i = 3
left = GameTooltipTextLeft3 {
0 = <userdata>
}
text = "Heirloom Upgrade Level: 0/4"
cost = nil
cur = nil
max = nil
currency = nil
nextUpgrade = nil
priceToMax = nil
_ = "Mystical Pauldrons of Elements"
itemLink = "|cff00ccff|Hitem:122357::::::::60:269:::::::|h[Mystical Pauldrons of Elements]|h|r"
itemString = "-cff00ccff-Hitem:122357::::::::60:269:::::::-h[Mystical Pauldrons of Elements]-h-r"
v1 = "-cff00ccff-Hitem"
v2 = "122357"
v3 = ""
v4 = ""
v5 = ""
v6 = ""
v7 = ""
v8 = ""
v9 = ""
v10 = "60"
v11 = "269"
v12 = ""
v13 = ""
NumBonusIDs = ""
BonusID1 = ""
BonusID2 = ""
BonusID3 = ""
BonusID4 = "-h[Mystical Pauldrons of Elements]-h-r"
BonusID5 = nil
BonusID6 = nil
bonusIDList = <table> {
}
(*temporary) = nil
(*temporary) = ""
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to compare number with nil"
searchValue = "Upgrade Level: "
ItemUpgrades = <table> {
7426 = <table> {
}
...
We will look into this shortly! Thanx for sharing a picture as well!
Mind letting you know your version number?
I only downloaded the addon yesterday, so the very latest version I guess :)
local ToolTipsVersion = 21