- Curse Premium
Member for 11 years, 10 months, and 8 days
Last active Sun, Nov, 27 2016 10:12:56
- 0 Followers
- 95 Total Posts
- 0 Thanks
Nov 16, 2010Here is the error...Posted in: Lua Code Discussion
Message: Interface\AddOns\DrunkardSK\DrunkardSK.lua:1313: Usage: GetItemQualityColor(index)
Time: 11/07/10 19:36:35
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: in function <[string "safecall Dispatcher"]:4>
[string "safecall Dispatcher"]: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>
And here is the relevant code...
local n, l, quality, iL, reqL, t, subT, maxS, equipS, texture = GetItemInfo(item)
r, g, b, hex = GetItemQualityColor(quality); -- this is line 1313
SetItemButtonNormalTextureVertexColor(DSKBidFrame.item, r, g, b);
function DrunkardSK:OpenBidding(prefix, message, distribution, sender)
ItemLink = message;
DrunkardSK:SetOpenItem(ItemLink); -- this is line 1339
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!
Jan 22, 2010Posted in: Raid AddOnsQuote from KnThrakI thought DXE has integrated preserval of marks? I always figured it's that our raidleader uses DBM which removes the marks (I'm assistant).
Well I made sure I was the only one who could mark and they still were getting removed.
Jan 21, 2010Posted in: Raid AddOnsQuote from genetikThat probably happens when the kiter gets the debuff (and then someone else gets it).
Yep that would make sense... would it be possible to preserve the marks... or better yet auto mark the big ooze(s)?
Jan 15, 2010Posted in: Lua Code DiscussionQuote from chiefcastorAfter login...
That was using SecureHook()... Using just Hook() I get...
Jan 15, 2010Posted in: Lua Code DiscussionQuote from Arkayenrodo you use AddonLoader? and is your mod setup for it?
are there other mods setup to use it and loading when you zone?
try temporarily moving addonloader to another directory outside of wow (you cant just disable it) and see if your hooks work again when you zone.
No I do not use AddonLoader.
Jan 15, 2010Well 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"Posted in: Lua Code Discussion
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.
Jan 14, 2010Yep changed from...Posted in: Lua Code Discussion
DrunkardSK: function: 1B2F19E8
DrunkardSK: function: 4D1F71E0
Seems to only happen after zoning into a dungeon. Guess it is time to try to narrow that down more.
- To post a comment, please login or register a new account.