Thread Tools Display Modes
12-28-11, 02:34 AM   #1
Veev
A Deviate Faerie Dragon
 
Veev's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2008
Posts: 12
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!

Last edited by Seerah : 12-28-11 at 12:39 PM. Reason: Removed download link - site rules! :)
  Reply With Quote
12-28-11, 03:19 AM   #2
Haleth
This Space For Rent
 
Haleth's Avatar
Featured
Join Date: Sep 2008
Posts: 1,173
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, ... = ()
  Reply With Quote
12-28-11, 05:05 AM   #3
Veev
A Deviate Faerie Dragon
 
Veev's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2008
Posts: 12
Thank you, sir!

Incredibly easy fix

Last edited by Veev : 12-28-11 at 05:10 AM.
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Returning to WoW after a break and addon no longer working, not sure what changed


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off