AzerPUG / ToolTips

http://www.azerpug.com
Other
3 stars 1 forks source link

LUA error for heirloom items #4

Closed Hemario closed 3 years ago

Hemario commented 3 years ago

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> {
 }
 ...
Hemario commented 3 years ago

image

Arco-Dielhof commented 3 years ago

We will look into this shortly! Thanx for sharing a picture as well!

Mind letting you know your version number?

Hemario commented 3 years ago

I only downloaded the addon yesterday, so the very latest version I guess :)

local ToolTipsVersion = 21

Arco-Dielhof commented 3 years ago

The bug we had before and fixed in v20, seemed to have found a way to crawl back in. You can expect a fix within the next 48 hours. v22 that got out today will not have the fix yet, unfortunately, sorry!