Lua Error
Vardex opened this issue ยท 2 comments
Hi, addon doesn't work for me, here the error I got:
6x Error loading AdvancedTooltips\ScalingData.lua
19x AdvancedTooltips\Core.lua:423: attempt to index field '?' (a nil value)
AdvancedTooltips\Core.lua:423: in function `IsComboStats'
AdvancedTooltips\Core.lua:472: in function `scanStats'
AdvancedTooltips\Core.lua:643: in function `OnTooltip_Item'
AdvancedTooltips\Core.lua:661: in function <AdvancedTooltips\Core.lua:661>
[C]: ?
[C]: ?
[C]: ?
[C]: in function `SetCompareItem'
FrameXML\GameTooltip.lua:722: in function `GameTooltip_ShowCompareItem'
FrameXML\GameTooltip.lua:552: in function <FrameXML\GameTooltip.lua:550>
[C]: ?
[C]: ?
...
[C]: ?
[C]: ?
[C]: ?
[C]: ?
...faceTradeSkillMaster\Core\Lib\TooltipLib.lua:95: in function <...faceTradeSkillMaster\Core\Lib\TooltipLib.lua:93>
[C]: ?
[C]: in function `SetBagItem'
FrameXML\ContainerFrame.lua:1376: in function `ContainerFrameItemButton_OnEnter'
[string "*:OnEnter"]:1: in function <[string "*:OnEnter"]:1>
[C]: ?
Locals:
frame = ShoppingTooltip1TextLeft18 {
0 = <userdata>
}
text = "Your damaging abilities have a chance to grant you Elemental Whirl, increasing your Critical Strike, Haste, Mastery, or Versatility by 243 for 10 sec."
stat_array = <table> {
}
(for generator) = <function> defined =[C]:-1
(for state) = <table> {
17 = "Leech"
21 = "Avoidance"
18 = "Haste"
29 = "Versatility"
26 = "Mastery"
9 = "Critical Strike"
14 = "Speed"
}
(for control) = 17
k = 17
v = "Leech"
(*temporary) = nil
(*temporary) = 120
(*temporary) = "player"
(*temporary) = 120
(*temporary) = " by ([,%d]+)"
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field '?' (a nil value)"
330x AdvancedTooltips\Core.lua:359: attempt to index field '?' (a nil value)
AdvancedTooltips\Core.lua:359: in function `AppendStatInfo'
AdvancedTooltips\Core.lua:447: in function `updateStats'
AdvancedTooltips\Core.lua:473: in function `scanStats'
AdvancedTooltips\Core.lua:643: in function `OnTooltip_Item'
AdvancedTooltips\Core.lua:659: in function <AdvancedTooltips\Core.lua:659>
[C]: ?
[C]: ?
[C]: ?
[C]: in function `SetAction'
...ibraries\LibActionButton-1.0\LibActionButton-1.0.lua:1566: in function `SetTooltip'
...ibraries\LibActionButton-1.0\LibActionButton-1.0.lua:1371: in function <...ibraries\LibActionButton-1.0\LibActionButton-1.0.lua:1364>
...ibraries\LibActionButton-1.0\LibActionButton-1.0.lua:574: in function <...ibraries\LibActionButton-1.0\LibActionButton-1.0.lua:572>
(tail call): ?
[C]: ?
Locals:
InCombatSkipped
Yeah, looks like it can't load one of the files
6x Error loading AdvancedTooltips\ScalingData.lua
This contains the scaling for stats -> percentages (eg, 72 crit = 1%). Can you check that file exists at:
%WorldOfWarcraft%\Interface\Addons\AdvancedTooltips? If it does, can you attach it here? Curious if maybe the wrong version was uploaded to Curse.
Also, since that was a new file added from the previous version, I think you need to exit and reload the game prior to it being loaded, so if you updated from the twitch client and then did a /reload, I would expect this to happen.