Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(7 Kb)
Download
Updated: 12-01-10 12:47 PM
Pictures
File Info
Updated:12-01-10 12:47 PM
Created:10-22-10 02:59 PM
Downloads:11,347
Favorites:101
MD5:

nivBuffs  Popular! (More than 5000 hits)

Version: r24
by: Luzzifus [More]

News

I don't play WoW anymore (at least currently) and do not have an active subscription. So I cannot and will not work on my addons anymore. Sorry.

However, Calebzor has done awesome work in updating and improving this addon, including an ingame config. Check it out here!




About

nivBuffs is a replacement for blizzards default buff frames. It shows your buffs, debuffs and temporary weapon enchants.


Features

  • Using SecureAuraHeaders, so you can cancel buffs via rightclick!
  • Remaining duration can be displayed as spiral texture, bar and/or text.
  • Shows stack count for buffs/debuffs with 2 or more stacks.
  • Blinking icons for buffs/debuffs that will expire soon.
  • Sorted by time, name or spell ID.
  • Custom icon border (change the texture if you don't like it).
  • Support for custom styling with ButtonFacade.
  • Differently colored borders for temporary weapon enchants and debuffs.
  • Debuff highlighting by debuff type.

Config

There is no ingame config (at least not yet), but you can adjust appearance and behaviour in "config.lua" using a text editor.


Known Issues
  • You can cancel weapon enchants by now, but the second one still references to the first.
  • Third weapon enchant doesn't work (because of broken Blizzard code).

FAQ

Because some people still have problems with correctly setting up the anchoring and grow direction stuff, here are some examples (r14+). These are only the settings for buffs, but changing the debuffs works the same way.
lua Code:
  1. -- Anchored to topleft corner of the UI,
  2. -- growing horizontally to the right in rows of 20 icons,
  3. -- next row exactly below the previous
  4. buffAnchor = { "TOPLEFT", "UIParent", "TOPLEFT", 15, -15 },
  5. buffXoffset = 35,
  6. buffYoffset = 0,
  7. buffIconsPerRow = 20,
  8. buffMaxWraps = 10,
  9. buffWrapXoffset = 0,
  10. buffWrapYoffset = -55,
  11.  
  12. -- Anchored to topright corner of the UI,
  13. -- growing horizontally to the left in rows of 20 icons,
  14. -- next row exactly below the previous
  15. buffAnchor = { "TOPRIGHT", "UIParent", "TOPRIGHT", -15, -15 },
  16. buffXoffset = -35,
  17. buffYoffset = 0,
  18. buffIconsPerRow = 20,
  19. buffMaxWraps = 10,
  20. buffWrapXoffset = 0,
  21. buffWrapYoffset = -55,
  22.  
  23. -- Anchored to topleft corner of the UI,
  24. -- growing vertically down in rows of 15 icons,
  25. -- next row to the right of the previous
  26. buffAnchor = { "TOPLEFT", "UIParent", "TOPLEFT", 15, -15 },
  27. buffXoffset = 0,
  28. buffYoffset = -35,
  29. buffIconsPerRow = 15,
  30. buffMaxWraps = 10,
  31. buffWrapXoffset = 35,
  32. buffWrapYoffset = 0,
  33.  
  34. -- Anchored to bottomleft corner of the UI,
  35. -- growing vertically up in rows of 15 icons,
  36. -- next row to the right of the previous
  37. buffAnchor = { "BOTTOMLEFT", "UIParent", "BOTTOMLEFT", 15, 250 },
  38. buffXoffset = 0,
  39. buffYoffset = 35,
  40. buffIconsPerRow = 15,
  41. buffMaxWraps = 10,
  42. buffWrapXoffset = 35,
  43. buffWrapYoffset = 0,
  44.  
  45. -- Anchored to the topleft corner of the minimap,
  46. -- growing vertically down in rows of 15 icons,
  47. -- next row to the left of the previous
  48. buffAnchor = { "TOPRIGHT", "Minimap", "TOPLEFT", -25, 0 },
  49. buffXoffset = 0,
  50. buffYoffset = -35,
  51. buffIconsPerRow = 15,
  52. buffMaxWraps = 10,
  53. buffWrapXoffset = -35,
  54. buffWrapYoffset = 0,
If you need in-depth info about anchoring, read this and this.


TODO
  • Add third weapon enchant (as soon as Blizzard fixes their code base).
  • Consolidation (as soon as Blizzard fixes their code base).

Credits

A big "Thank You!" goes to sigg, as he posted this nice tutorial on SecureAuraHeaders in the forums.

r24
- Debuff border coloring now also works with ButtonFacade.

r23
- Removed experimental code that caused more taint errors.
- Added position offset settings for duration text.

r21
- Fixed taint errors with enabled ButtonFacade.
- Added separate font color settings for duration text and stack counter.
- Added position settings for stack counter.

r20
- Fixed that garbage thingy -> mem usage should stay low now.
- Due to patch 4.0.3 the following things now properly work (at least): canceling weapon enchants, sorting and disabling "separateOwn" attribute.

r19
- Added ButtonFacade support (disabled by default, requires ButtonFacade r344+).
- Added options to adjust font, font size and font style.

r17
- The duration spiral doesn't overlap the border anymore.
- Added duration bars inside of the icons.
- Added option to toggle duration bars.
- Added option to toggle duration text timers.

r15
- Added some options which allow vertical growth and more.
- Duration text now can also be placed to the left or right of the icon.
- Removed "(de)buffGrowDir" options (you can still change it).
- If you have problems setting it up as you wish, check out the example configs on the description page!

r12
- Fixed duration spirals (again).
- Set "separateOwn" header attribute. So whenever blizz fixes their wonderful code, this will actually make your own buffs not be separated from the others.. *cough*
- Fixed buffs/debuffs not hiding when the whole interface is hidden (ALT+Z).
- Random code improvements.

r10
- Added debuff border coloring by debuff type.
- Added separate scale option for debuffs.
- Nicer border via SetBackdrop.
- Border doesn't look awkward anymore when the icon is blinking.
- Stack counter stays opaque when the icon is blinking.
- Increased maximum number of rows to 10.

r9
- Duration spiral can be turned off again.
- Added option for brightness of the default non-colored icon border.
- Remaining time text matches the tooltip time now.

r8
- Even further reduced CPU usage.
- New blinking algorithm.
- Added option to adjust blinking speed.
- Fixed border color error of second weapon enchant (correct icons, tooltip still broken, blame Blizzard).

r7
- Added different border coloring for temporary weapon enchants (item quality) and debuffs (darkred).
- Added option to disable these colored borders.
- Added cooldown spiral for temporary weapon enchants.
- New border texture.
- Reduced CPU usage.
- Removed updateDelay option (not longer neccessary).

r6
- Removed experimental code that caused an error in the SecureAuraHeader code.
- Fixed bug that hides stack count when the cooldown spiral is disabled.

r4
- Growth direction for Dummies.
- Added option to hide cooldown spirals.

r3
- Fixed cooldown spiral overlaying the stack count.
- Fixed cooldown spiral disappearing.
- Added more detailed positioning/anchoring options.
- Added options for font color, update interval and temporary weapon enchants.
Archived Files (16)
File Name
Version
Size
Author
Date
r23
7kB
Luzzifus
11-19-10 03:03 PM
r22
7kB
Luzzifus
11-19-10 07:27 AM
r21
7kB
Luzzifus
11-18-10 12:42 PM
r20
7kB
Luzzifus
11-17-10 11:29 AM
r19
7kB
Luzzifus
11-16-10 03:54 PM
r17
6kB
Luzzifus
11-12-10 01:18 PM
r15
5kB
Luzzifus
11-10-10 09:50 AM
r12
5kB
Luzzifus
11-05-10 08:40 AM
r10
5kB
Luzzifus
10-29-10 10:55 AM
r9
5kB
Luzzifus
10-27-10 01:38 PM
r8
5kB
Luzzifus
10-26-10 12:10 PM
r7
5kB
Luzzifus
10-25-10 12:27 PM
r6
5kB
Luzzifus
10-24-10 02:07 PM
r4
5kB
Luzzifus
10-23-10 04:16 PM
r3
5kB
Luzzifus
10-23-10 10:27 AM
r2
4kB
Luzzifus
10-22-10 03:24 PM


Post A Reply Comment Options
Unread 11-23-10, 05:18 AM  
mojosdojo
A Murloc Raider
 
mojosdojo's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 12
Uploads: 1
Will try and report back.

Edit: I tried a few things including joining raids, parties, playing a few BGs. Still got some taint. I will try a few other addons now, maybe somethings borked with them.
Last edited by mojosdojo : 11-23-10 at 11:13 AM.
mojosdojo is offline Report comment to moderator  
Reply With Quote
Unread 11-22-10, 02:53 PM  
Luzzifus
A Warpwood Thunder Caller
 
Luzzifus's Avatar
AddOn Author - Click to view AddOns

Forum posts: 94
File comments: 234
Uploads: 8
nivBuffs does not (and did never) interact with the CompactRaidFrames, nor does it alter or even access its functions. Nothing else could cause taint, right? I'm at least pretty certain that it cannot be caused by nivBuffs directly.

My only suspicion is that there is some kind of conflict with another addon. So please try to find out which one it could be by disabling questionable addons one by one. Start with those who could possibly alter or hide the Default Raidframes.

**edit:
One more idea: Try disabling lines 369 - 373 in "nivBuffs.lua" (those which are commented with "hide blizz auras").
Last edited by Luzzifus : 11-22-10 at 03:00 PM.
Luzzifus is offline Report comment to moderator  
Reply With Quote
Unread 11-22-10, 02:10 PM  
mojosdojo
A Murloc Raider
 
mojosdojo's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 12
Uploads: 1
I get a lot of taint with the newest version in raids. Log's here: http://www.file-upload.net/download-...taint.rar.html
mojosdojo is offline Report comment to moderator  
Reply With Quote
Unread 11-20-10, 05:10 PM  
Talisia
A Deviate Faerie Dragon

Forum posts: 15
File comments: 21
Uploads: 0
Button Facade

Hiya =) Just downloaded the newest version and I seem to have lost my Buttonfacade support.. came here to see if anyone else has had this issue and seems im the only one?

Omg, totally ignore me! I forget to set it in the lua again.. its been a heavy weekend =P
Last edited by Talisia : 11-20-10 at 07:00 PM.
Talisia is offline Report comment to moderator  
Reply With Quote
Unread 11-20-10, 05:35 AM  
Kangen
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
i use following config:

Code:
    sortMethod = "TIME",            -- how to sort the buffs/debuffs, possible values are "NAME", "INDEX" or "TIME"
    sortReverse = true,             -- reverse sort order
    showWeaponEnch = true,          -- show or hide temporary weapon enchants
    showDurationSpiral = false,     -- show or hide the duration spiral
    showDurationBar = false,         -- show or hide the duration bar
    showDurationTimers = true,      -- show or hide the duration text timers
but i have some issues:

1. sort doesn't work correctly! sometimes pala-aura switch between hots and bufs - but its havn't time ?
2. spiral is false on my config, but shown on some hots!
Kangen is offline Report comment to moderator  
Reply With Quote
Unread 11-19-10, 03:13 PM  
Luzzifus
A Warpwood Thunder Caller
 
Luzzifus's Avatar
AddOn Author - Click to view AddOns

Forum posts: 94
File comments: 234
Uploads: 8
Originally posted by zork
Luzzifus if you still need a skin function you can check applySkin" in the buffstyler.
"applySkin" is defined local. I asked you because I was asked for supporting rActionButtonStyler, so I won't just copy a function from your code. But thanks!

Originally posted by Blt
The only thing that was 'fixed' so far as I know, was being able to click off weapon enchants. However, I hope you aren't an enhancement shaman or rogue, because it's still effectively broken for them. You know, the classes that get the most use of them by far.
I have a fix for the weapon enchants that makes them work properly. Except for the third one of course (Blizzard seems to have completely forgotten about it), but tooltips and icons work, also updating on login/reloadui/apply/reapply and cancelling them. It all sounds too good, right? Right. Unfortunately my fix broke the normal auras. Well, not completely, but it causes very strange errors from blizzards code in combat. Not exactly taints, but it tries to create buttons when it's not neccessary. I really start to hate the SecureAuraHeaders by now..

Originally posted by Valik
Edit: It doesn't seem custom font colors are working anymore. With r20 they were working fine but now I can't get the duration or stack font colors to change from their default.
Fixed.. *cough* Sorry.
Last edited by Luzzifus : 11-19-10 at 03:15 PM.
Luzzifus is offline Report comment to moderator  
Reply With Quote
Unread 11-19-10, 12:51 PM  
Valik
A Defias Bandit

Forum posts: 2
File comments: 12
Uploads: 0
Originally posted by Whylde
is there an option for "testmode" or something within the lua? i ve a hard time adjusting the debuff stuff without knowing where i ve put em without seeing any debuff ^^
I have 3 suggestions for this:
  1. In Terrokar Forest there is a place that gives you a permanent debuff when you are in the area. You can go here and get one debuff. Use a bandage on yourself for a second debuff. Depending on class you may be able to get a third debuff (Weakened Soul, Forbearance, et cetera).
  2. Do the mounted Argent Tournament daily at the Tournament grounds which puts a debuff on you for each faction you defeat. This debuff lasts 5 minutes. As long as you don't turn the quest in you can continue to defeat factions (You may need to destroy the mark you are awarded, however).
  3. Apply a bunch of BUFFS on yourself and configure your buffs where you want your debuffs to display. Once you are happy with the positioning, just set the debuff positioning to that location and restore your buff position location. You don't HAVE to test with debuffs, once you figure out the offsets you're good to go. It's much easier to stack a lot of buffs than debuffs so this is the method I ended up using to test with.

Edit: It doesn't seem custom font colors are working anymore. With r20 they were working fine but now I can't get the duration or stack font colors to change from their default.
Last edited by Valik : 11-19-10 at 01:59 PM.
Valik is offline Report comment to moderator  
Reply With Quote
Unread 11-19-10, 12:48 PM  
Blt
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 24
Uploads: 2
Originally posted by zork
Blizzard just threw a pillow at us that we can either swallow or leave it as it is. I like neither. So hacking their code is the way I'm going to respond. *lol*
Indeed, it wouldn't be so bad if what they did supply actually worked properly. As it is, it's hard to come up with the inspiration to come up with workarounds for issues when there are simple things that you just blatantly can't do, but Blizzard are able to do in the default buff frames because they don't use the template.

It's also frustrating that it doesn't look like it is going to improve anytime soon. The only thing that was 'fixed' so far as I know, was being able to click off weapon enchants. However, I hope you aren't an enhancement shaman or rogue, because it's still effectively broken for them. You know, the classes that get the most use of them by far.
Blt is offline Report comment to moderator  
Reply With Quote
Unread 11-19-10, 12:38 PM  
reale
A Kobold Labourer

Forum posts: 1
File comments: 166
Uploads: 0
Re: Re: r21 Taint

Originally posted by Luzzifus
Just remove that line 262. It was experimental anyways.
PS: You had more than one weapon enchant active, right?
No, that was with just Earthliving on.
reale is offline Report comment to moderator  
Reply With Quote
Unread 11-19-10, 11:18 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1391
File comments: 3398
Uploads: 89
I tried to use the new aura system aswell. I hated it so much that I became mad enough to rebuild rBuff and that actually worked quite well. (rBuffFrameStyler)

Blizzard just threw a pillow at us that we can either swallow or leave it as it is. I like neither. So hacking their code is the way I'm going to respond. *lol*

Luzzifus if you still need a skin function you can check applySkin" in the buffstyler.
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 11-19-10 at 11:23 AM.
zork is offline Report comment to moderator  
Reply With Quote
Unread 11-19-10, 07:51 AM  
Luzzifus
A Warpwood Thunder Caller
 
Luzzifus's Avatar
AddOn Author - Click to view AddOns

Forum posts: 94
File comments: 234
Uploads: 8
Originally posted by blaugznis
can you please add option to change stack count location, like duration text (top, bottom, left, right etc.)?
You can already do that with the offset values.
Luzzifus is offline Report comment to moderator  
Reply With Quote
Unread 11-19-10, 07:50 AM  
blaugznis
A Kobold Labourer

Forum posts: 0
File comments: 17
Uploads: 0
can you please add option to change stack count location, like duration text (top, bottom, left, right etc.)?

thanks
blaugznis is offline Report comment to moderator  
Reply With Quote
Unread 11-19-10, 07:24 AM  
Luzzifus
A Warpwood Thunder Caller
 
Luzzifus's Avatar
AddOn Author - Click to view AddOns

Forum posts: 94
File comments: 234
Uploads: 8
Originally posted by Whylde
is there an option for "testmode" or something within the lua? i ve a hard time adjusting the debuff stuff without knowing where i ve put em without seeing any debuff ^^
I can't "fake" auras for the SecureAuraHeader. Just get a deserter debuff or something like that. ^^
Luzzifus is offline Report comment to moderator  
Reply With Quote
Unread 11-19-10, 05:09 AM  
Whylde
A Kobold Labourer

Forum posts: 0
File comments: 18
Uploads: 0
is there an option for "testmode" or something within the lua? i ve a hard time adjusting the debuff stuff without knowing where i ve put em without seeing any debuff ^^
Whylde is offline Report comment to moderator  
Reply With Quote
Unread 11-19-10, 01:43 AM  
Luzzifus
A Warpwood Thunder Caller
 
Luzzifus's Avatar
AddOn Author - Click to view AddOns

Forum posts: 94
File comments: 234
Uploads: 8
Re: r21 Taint

Originally posted by reale
Getting *tons* of these taint warnings:

11/18 15:10:50.418 An action was blocked in combat because of taint from nivBuffs - nivBuffs_BuffsTempEnchant1:SetAttribute()
11/18 15:10:50.418 Interface\AddOns\nivBuffs\nivBuffs.lua:262 updateWeaponEnchantButtonStyle()
Just remove that line 262. It was experimental anyways.
PS: You had more than one weapon enchant active, right?
Last edited by Luzzifus : 11-19-10 at 01:48 AM.
Luzzifus is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: