QO / lootitem error
silvann opened this issue ยท 8 comments
Just got this error:
Message: ...ce\AddOns\WoWPro_Leveling\WoWPro_Leveling_Parser.lua:748: attempt to concatenate a nil value
Time: 11/24/10 21:47:32
Count: 1
Stack: ...ce\AddOns\WoWPro_Leveling\WoWPro_Leveling_Parser.lua:748: in function <...ce\AddOns\WoWPro_Leveling\WoWPro_Leveling_Parser.lua:740>
...ce\AddOns\WoWPro_Leveling\WoWPro_Leveling_Parser.lua:876: in function UpdateQuestTracker' ...ce\AddOns\WoWPro_Leveling\WoWPro_Leveling_Parser.lua:533: in function
RowUpdate'
Interface\AddOns\WoWPro\WoWPro_Broker.lua:70: in function rowContentUpdate' Interface\AddOns\WoWPro\WoWPro_Broker.lua:95: in function
UpdateGuide'
Interface\AddOns\WoWPro\WoWPro_Frames.lua:546: in function <Interface\AddOns\WoWPro\WoWPro_Frames.lua:541>
[C]: in function SetValue' Interface\AddOns\WoWPro\WoWPro_Broker.lua:65: in function
UpdateGuide'
Interface\AddOns\WoWPro\WoWPro_Broker.lua:267: in function CompleteStep' ...ce\AddOns\WoWPro_Leveling\WoWPro_Leveling_Parser.lua:702: in function
AutoCompleteQuestUpdate'
...ce\AddOns\WoWPro_Leveling\WoWPro_Leveling_Parser.lua:575: in function `EventHandler'
Interface\AddOns\WoWPro\WoWPro.lua:142: in function <Interface\AddOns\WoWPro\WoWPro.lua:122>
Locals: lootitem = "36754"
lootqty = 1
count = nil
track = ""
(_temporary) = ""
(_temporary) = " - "
(_temporary) = nil
(_temporary) = ": "
(*temporary) = "attempt to concatenate a nil value"
In this step:
K Sinok the Shadowrager |QID|12064|QO|Sinok's Key Fragment: 1/1|N|Head to the upper plateau, Sinok is at .| |L|36754|M|26,44|
Only thing different is that it has both a questtext (QO) and a lootitem, so I think it's something related to the 'track' variable. Or, is it a guide bug, where there shouldnt be both a QO and L?
While it IS a guide bug (there is absolutely no reason to list both of those), we also want to allow for mistakes on the guide author's part. I'll look into it.
Well, crap. I must have futzed with that file because I'm not seeing any concatenation on that line. Can you post the code around that line for me, silvann?
That's the line:
track = track.." - "..GetItemInfo(lootitem)..": "
in function GetLootTrackingInfo. Apparently, GetItemInfo(lootitem) is returning nil, though when I run that API ingame with that same ID, it works well.
Let me know if this happens again. I'm not really sure what the status of this error is anymore.
LIne has a double | with nothing in between. Maybe that is what is causing it.
Sinok is at .| |L|36754|M|26,44|
I don't believe that would cause this error - in terms of loot items, the addon checks for |L|Something| and then puts the "Something" in the loot table. But I've been wrong before!