Interface\AddOns\DrunkardSK\DrunkardSK.lua:1313: in function `SetOpenItem'
Interface\AddOns\DrunkardSK\DrunkardSK.lua:1339: in function `?'
...oot\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:146: in function <...oot\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:146>
[string "safecall Dispatcher[4]"]:4: in function <[string "safecall Dispatcher[4]"]:4>
[C]: ?
[string "safecall Dispatcher[4]"]:13: in function `?'
...oot\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:91: in function `Fire'
...ce\AddOns\AtlasLoot\Libs\AceComm-3.0\AceComm-3.0.lua:268: in function <...ce\AddOns\AtlasLoot\Libs\AceComm-3.0\AceComm-3.0.lua:257>
Locals: <none>
And here is the relevant code...
function DrunkardSK:SetOpenItem(item)
local n, l, quality, iL, reqL, t, subT, maxS, equipS, texture = GetItemInfo(item)
DSKBidFrame.link:AddMessage(item);
SetItemButtonTexture(DSKBidFrame.item, texture);
r, g, b, hex = GetItemQualityColor(quality); -- this is line 1313
SetItemButtonNormalTextureVertexColor(DSKBidFrame.item, r, g, b);
end
function DrunkardSK:OpenBidding(prefix, message, distribution, sender)
ItemLink = message;
DrunkardSK:SetOpenItem(ItemLink); -- this is line 1339
DSKBidFrame:Show();
end
basic description
A message is received via acecomm. The message contains an item link. The error seems to occur when getting the quality color of that item. It does not occur every time. It is rather infrequent in fact.
The only thing I can think of is to check it for an error, but this message goes out to multiple people and it is only one of them (not always the same one) that gets it.
On 10 man Rotface we mark the kiter with a raid marker (usually the orange nipple) to make him easy to find. DXE seems to be unmarking the kiter at some point during the encounter.
Well Opie is the only other addon I have that hooks HandleModifiedItemClick. Here is the code for where that happens... It isn't in a function or anything just inside a "do"
do -- Hook linking buttons
local O_SetItemRef, O_SpellButton_OnModifiedClick, O_HandleModifiedItemClick, O_CompanionButton_OnModifiedClick =
SetItemRef, SpellButton_OnModifiedClick, HandleModifiedItemClick, CompanionButton_OnModifiedClick;
...
function HandleModifiedItemClick(...)
if IsModifiedClick("CHATLINK") and GetCurrentKeyBoardFocus() == RKCD_EntryMacro and type((...)) == "string" then
return RKC_HandleLink((...));
end
return O_HandleModifiedItemClick(...);
end
...
end
Could this be overwriting my hook? It is not obvious to me when this is called.
0
0
0
Message: Interface\AddOns\DrunkardSK\DrunkardSK.lua:1313: Usage: GetItemQualityColor(index)
Time: 11/07/10 19:36:35
Count: 1
Stack: [C]: in function `GetItemQualityColor'
Interface\AddOns\DrunkardSK\DrunkardSK.lua:1313: in function `SetOpenItem'
Interface\AddOns\DrunkardSK\DrunkardSK.lua:1339: in function `?'
...oot\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:146: in function <...oot\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:146>
[string "safecall Dispatcher[4]"]:4: in function <[string "safecall Dispatcher[4]"]:4>
[C]: ?
[string "safecall Dispatcher[4]"]:13: in function `?'
...oot\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:91: in function `Fire'
...ce\AddOns\AtlasLoot\Libs\AceComm-3.0\AceComm-3.0.lua:268: in function <...ce\AddOns\AtlasLoot\Libs\AceComm-3.0\AceComm-3.0.lua:257>
Locals: <none>
And here is the relevant code...
function DrunkardSK:SetOpenItem(item)
local n, l, quality, iL, reqL, t, subT, maxS, equipS, texture = GetItemInfo(item)
DSKBidFrame.link:AddMessage(item);
SetItemButtonTexture(DSKBidFrame.item, texture);
r, g, b, hex = GetItemQualityColor(quality); -- this is line 1313
SetItemButtonNormalTextureVertexColor(DSKBidFrame.item, r, g, b);
end
function DrunkardSK:OpenBidding(prefix, message, distribution, sender)
ItemLink = message;
DrunkardSK:SetOpenItem(ItemLink); -- this is line 1339
DSKBidFrame:Show();
end
basic description
A message is received via acecomm. The message contains an item link. The error seems to occur when getting the quality color of that item. It does not occur every time. It is rather infrequent in fact.
The only thing I can think of is to check it for an error, but this message goes out to multiple people and it is only one of them (not always the same one) that gets it.
Any help would be awesome. Many thanks!
0
0
you have been waiting in the queue for the dungeon to start and keep an average of that?
0
Well I made sure I was the only one who could mark and they still were getting removed.
0
Yep that would make sense... would it be possible to preserve the marks... or better yet auto mark the big ooze(s)?
0
0
Dump: value=issecurevariable("HandleModifiedItemClick")
[1]=1
Also, it definitely happens on zoning into an instance... but not always.
0
That was using SecureHook()... Using just Hook() I get...
Dump: value=issecurevariable("HandleModifiedItemClick")
[2]="DrunkardSK"
0
After login...
Dump: value=issecurevariable("HandleModifiedItemClick")
[2]="OPie"
0
No I do not use AddonLoader.
0
Could this be overwriting my hook? It is not obvious to me when this is called.
0
DrunkardSK: function: 1B2F19E8
To...
DrunkardSK: function: 4D1F71E0
Seems to only happen after zoning into a dungeon. Guess it is time to try to narrow that down more.
0