WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   General Authoring Discussion (https://www.wowinterface.com/forums/forumdisplay.php?f=20)
-   -   Returning to WoW after a break and addon no longer working, not sure what changed (https://www.wowinterface.com/forums/showthread.php?t=42234)

Veev 12-28-11 02:34 AM

Returning to WoW after a break and addon no longer working, not sure what changed
 
If someone could take a brief look at this I'd greatly appreciate it. The addon used to work 100% fine, but I went away for a few patches and of course it's broken now... and I have no idea what Blizzard changed. :P

Full addon: <snip>

Lua: http://pastebin.com/YZdQnHzG

Error message:
Code:

Message: ...ace\AddOns\SpellNotifications\SpellNotifications.lua:128: bad argument #1 to 'band' (number expected, got string)
Time: 12/28/11 03:32:33
Count: 10
Stack: [C]: in function `band'
...ace\AddOns\SpellNotifications\SpellNotifications.lua:128: in function `SpellNotifications_OnEvent'
[string "*:OnEvent"]:1: in function <[string "*:OnEvent"]:1>

Locals: (*temporary) = "Bakedchops"
(*temporary) = 1
(*temporary) = "number expected, got string"

I seem to get error messages related to "destFlags" -- I tried changing the "destFlags" value to simply "9" (as a friend suggested), which removed the error messages but the addon is still not functioning otherwise.

Thanks for your time!

Haleth 12-28-11 03:19 AM

COMBAT_LOG_EVENT_UNFILTERED changed a few times. These are the new arguments:

Code:

timeStamp, event, hideCaster, sourceGUID, sourceName, sourceFlags, sourceRaidFlags, destGUID, destName, destFlags, destRaidFlags, ... = ()

Veev 12-28-11 05:05 AM

Thank you, sir!

Incredibly easy fix :D


All times are GMT -6. The time now is 03:42 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI