Rarity

Rarity

17M Downloads

Possible error occurring with Rarity. BossBannerToast.lua:77: attempt to index local 'rarityColor' (a nil value)

Ookami313 opened this issue ยท 1 comments

commented

Running r715-release-4
While running Time Walking dungeons this past week, I ran into the following error. I'm not sure if this has anything to do with Rarity, but the only portion of the error I recognized listed rarityColor so I thought I would post it here for verification. Thanks.

5x FrameXML\BossBannerToast.lua:77: attempt to index local 'rarityColor' (a nil value)
[string "@FrameXML\BossBannerToast.lua"]:77: in function BossBanner_ConfigureLootFrame' [string "@FrameXML\BossBannerToast.lua"]:57: in function onStartFunc'
[string "@FrameXML\BossBannerToast.lua"]:132: in function `BossBanner_SetAnimState'
[string "@FrameXML\BossBannerToast.lua"]:156: in function <FrameXML\BossBannerToast.lua:143>

Locals:
lootFrame = {
0 =
ItemName = {
}
PlayerName = {
}
IconHitBox = {
}
SetName = {
}
Anim = {
}
Background = {
}
Icon = {
}
Count = {
}
}
data =

{
quantity = 1
itemID = 188420
className = "DEMONHUNTER"
playerName = "Nimriel"
itemLink = "|cff0070dd|Hitem:188420::::::::60:577::22:2:7915:6652:2:28:181:9:60:::::|h[Crypt Lord's Deft Blade]|h|r"
}
itemName = nil
itemLink = nil
itemRarity = nil
_ = nil
_ = nil
_ = nil
_ = nil
_ = nil
_ = nil
itemTexture = nil
_ = nil
_ = nil
_ = nil
_ = nil
_ = nil
setID = nil
rarityColor = nil
(*temporary) = defined =[C]:-1
(*temporary) = {
0 =
}
(*temporary) =
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index local 'rarityColor' (a nil value)"

commented

Hi, that's Blizzard's UI code. Any errors in there are very unlikely to have anything to do with Rarity. The variable rarityColor is used by them to store the color code for an item's rarity (green, purple, etc.) to display, so it's just a coincidence.