#item level range WA throwing error on fyrakk weapon

14 messages · Page 1 of 1 (latest)

rugged coyote
#

I have a weakaura that puts the item level range for an item next to it in its tooltip, and it's worked wonderfully all season; however, i recently looted the 1h mace from Fyrakk N and every time i mouseover the item it throws a lua error. the errors are below -- i tried checking the custom code to see if i could determine the issue, and i didn't get the same error when my warrior equipped the 1h axe from LFR Fyrakk. https://wago.io/9sDRPgnTb is the WA.

Message: [string "return function() local bonusIds = {"]:67: attempt to concatenate local 'text' (a nil value)
Count: 9
Stack: [string "return function() local bonusIds = {"]:67: attempt to concatenate local 'text' (a nil value)
[string "=[C]"]: ?
[string "return function() local bonusIds = {"]:67: in function <[string "return function() local bonusIds = {"]:55>
[string "return function() local bonusIds = {"]:101: in function <[string "return function() local bonusIds = {"]:79>
[string "=(tail call)"]: ?
[string "=[C]"]: in function securecallfunction' [string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:162: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:157> [string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:182: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:178> [string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:218: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:208> [string "=[C]"]: in function SetAttribute'
[string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:243: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:236>
[string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:389: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:339>
[string "=[C]"]: in function securecallfunction' [string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:336: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:335> [string "=(tail call)"]: ? [string "@Interface/FrameXML/PaperDollFrame.lua"]:1769: in function PaperDollItemSlotButton_OnEnter'
[string "*PaperDollFrame.xml:47_OnEnter"]:1: in function <[string "*PaperDollFrame.xml:47_OnEnter"]:1>

Locals: (*temporary) = <function> defined =[C]:-1

Message: [string "return function() local bonusIds = {"]:67: attempt to concatenate local 'text' (a nil value)
Count: 95
Stack: [string "return function() local bonusIds = {"]:67: attempt to concatenate local 'text' (a nil value)
[string "=[C]"]: ?
[string "return function() local bonusIds = {"]:67: in function <[string "return function() local bonusIds = {"]:55>
[string "return function() local bonusIds = {"]:101: in function <[string "return function() local bonusIds = {"]:79>
[string "=(tail call)"]: ?
[string "=[C]"]: in function securecallfunction' [string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:162: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:157> [string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:182: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:178> [string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:218: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:208> [string "=[C]"]: in function SetAttribute'
[string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:243: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:236>
[string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:389: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:339>
[string "=[C]"]: in function securecallfunction' [string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:336: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:335> [string "=(tail call)"]: ? [string "@Interface/FrameXML/PaperDollFrame.lua"]:1769: in function UpdateTooltip'
[string "@Interface/FrameXML/GameTooltip.lua"]:600: in function <Interface/FrameXML/GameTooltip.lua:593>

Locals: (*temporary) = <function> defined =[C]:-1

Renames the Tooltips to show the Respective Item Level Range Works with every Language My S3 Pack: https://wago.io/eCl-7

near needle
#

have you contacted the author about it?

#

and you say that you checked the custom code to determine the issue - what did you find?

rugged coyote
#

people have posted similar errors in the comments on the WA, with no response since november

near needle
#

sounds like it's abandoned then

rugged coyote
#

i checked to see if there was a weird bonus id that wasn't being checked

#

like when i did /dump on the item, a bonus id came back that wasn't in the code

#

local function itemHasDesc(linkInfo)
local hasDesc, shadowflame = false, false
for i=1, tonumber(linkInfo[14]) do
if descIds[tonumber(linkInfo[14+i])] then hasDesc = true end
if tonumber(linkInfo[14+1]) == 9584 then shadowflame = true end
end
return hasDesc, shadowflame
end

local function renameUpgradePath(tooltip, data)
if tooltip ~= GameTooltip then return end

#

this is something else i found but i'm not sure what i would need to change to adjust vakash's tooltip

#

he also said that he did a version that fixed the fyrakk weapons

#

and the others all work fine, but this one is just being weird lmao

near needle
#

if you just want to obliterate the error and move on, then replacing text with (text or "") in the offending line might do the trick

#

i don't know if that would break other things, but you're the one with the weapon that's breaking things 🙂

rugged coyote
#

haha true