Download
(7Kb)
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:14,764
Favorites:97
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.
Post A Reply Comment Options
Unread 10-25-10, 07:03 PM  
reale
A Kobold Labourer

Forum posts: 1
File comments: 164
Uploads: 0
Old Texture

I plopped in the old texture because it went with my theme better. The border color doesn't seem to work on it. Any ideas?
Report comment to moderator  
Reply With Quote
Unread 10-25-10, 11:47 PM  
Naitaeti
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 38
Uploads: 6
Yay

Awesome, thanks!
Report comment to moderator  
Reply With Quote
Unread 10-26-10, 01:05 AM  
Luzzifus
A Warpwood Thunder Caller
 
Luzzifus's Avatar
AddOn Author - Click to view AddOns

Forum posts: 94
File comments: 237
Uploads: 6
Re: Old Texture

Originally posted by reale
I plopped in the old texture because it went with my theme better. The border color doesn't seem to work on it. Any ideas?
Yes, the old border texture is completely black. Adding colors is done by multiplying the color values with the texture colors. So x * 0 = 0, it stays black. Make the texture white, then it should work. But border coloring will be pretty ugly.
Last edited by Luzzifus : 10-26-10 at 01:16 AM.
Report comment to moderator  
Reply With Quote
Unread 10-26-10, 03:23 AM  
Naitaeti
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 38
Uploads: 6
Buffs appearing twice

Just noticed on my mage that Arcane Brilliance is shown twice, this is after a WSG and the buffs have different times left. One 53 min and the other 48 min.

Known issue?

Edit: Shouldn't be related I guess but I did change the layout from left-to-right to right-to-left in the .lua file.
Last edited by Naitaeti : 10-26-10 at 03:24 AM.
Report comment to moderator  
Reply With Quote
Unread 10-26-10, 03:45 AM  
Luzzifus
A Warpwood Thunder Caller
 
Luzzifus's Avatar
AddOn Author - Click to view AddOns

Forum posts: 94
File comments: 237
Uploads: 6
Do both icons have the correct tooltip of arcane brilliance? Are the tooltips for the following buffs correct? (Trying to figure out if it's my fault or not.)
Report comment to moderator  
Reply With Quote
Unread 10-26-10, 03:58 AM  
Naitaeti
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 38
Uploads: 6
Originally posted by Luzzifus
Do both icons have the correct tooltip of arcane brilliance? Are the tooltips for the following buffs correct? (Trying to figure out if it's my fault or not.)
Yes, both tooltips are correct and shows the exact same information. The following tooltips are also correct.

As a side note, when I joined a new BG and recast Arcane Brilliance, I only had the one newly cast buff.

Edit: Screenshots:

http://img15.imageshack.us/img15/1991/buffs1.jpg
http://img14.imageshack.us/img14/4474/buffs2.jpg
Last edited by Naitaeti : 10-26-10 at 04:08 AM.
Report comment to moderator  
Reply With Quote
Unread 10-26-10, 04:28 AM  
Luzzifus
A Warpwood Thunder Caller
 
Luzzifus's Avatar
AddOn Author - Click to view AddOns

Forum posts: 94
File comments: 237
Uploads: 6
The tooltips represent the data of the buffs in the SecureAuraHeader. If they match my icons and timers, it's nothing I can fix.

Btw, did you re-enable the OmniCC timers manually or is that another addon which adds the second timers in the middle of the buttons?
Report comment to moderator  
Reply With Quote
Unread 10-26-10, 04:55 AM  
wingsofscion
A Defias Bandit
 
wingsofscion's Avatar

Forum posts: 2
File comments: 13
Uploads: 0
Currently only getting one weapon enhancement to show (and no duration on it):

http://i54.tinypic.com/2ymvmg9.jpg

As you can see in the screenshot, both weapons have Flametongue. Here's the odd bit: mousing over that empty space between the weapon enhancement and the buff, it shows the tooltip for the main hand weapon, though no icon displays for either main hand or offhand weapon.

Thanks for the addon, by the way, seems to be working just fine otherwise.
Last edited by wingsofscion : 10-26-10 at 04:59 AM.
Report comment to moderator  
Reply With Quote
Unread 10-26-10, 05:10 AM  
Naitaeti
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 38
Uploads: 6
Originally posted by Luzzifus
The tooltips represent the data of the buffs in the SecureAuraHeader. If they match my icons and timers, it's nothing I can fix.

Btw, did you re-enable the OmniCC timers manually or is that another addon which adds the second timers in the middle of the buttons?
Ok, probably Blizzards fault then.

The cool down is probably from tullaCooldownCount
Report comment to moderator  
Reply With Quote
Unread 10-26-10, 12:33 PM  
Ael
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
Dear Luzzifus

Please marry me and have my babies. If you're male, don't worry, we can work something out.

I've been using Satrina's for the longest time, however the only thing I want from my buffmod is the ability to move the frames and also sort them after time. I don't need none of that fancy stuff, and here you go and make the perfect mod for me!

One thing however, aside from singing your praises: I've been fooling around with nivBuffs.lua, but I don't really know what I'm doing. I can't for the life of me figure out how to display the time remaining on buffs the way I want them to be displayed. Pictures say more more than a thousand words:

http://img198.imageshack.us/img198/6614/buffr.jpg

What I want is for the time remaining on the buff to correspond to the time remaining in the tooltip. So instead of "2 m" I want "3 m" under the buff icon. Any chance you can show me how to do that in the .lua? Pretty please?
Report comment to moderator  
Reply With Quote
Unread 10-26-10, 12:46 PM  
Luzzifus
A Warpwood Thunder Caller
 
Luzzifus's Avatar
AddOn Author - Click to view AddOns

Forum posts: 94
File comments: 237
Uploads: 6
Originally posted by Ael
Dear Luzzifus

Please marry me and have my babies. If you're male, don't worry, we can work something out.
I appreciate the compliment, but since we're both male I don't have any intentions to work something out.

Originally posted by Ael
What I want is for the time remaining on the buff to correspond to the time remaining in the tooltip. So instead of "2 m" I want "3 m" under the buff icon. Any chance you can show me how to do that in the .lua? Pretty please?
Wel basically the tooltip time is rounded differently from mine. So it would come down to these two lines in the function "formatTimeRemaining":
lua Code:
  1. local mins = floor(secs / 60)
  2. local hrs = floor(mins / 60)
I'm always rounding down. If you want to round up, change it to this:
lua Code:
  1. local mins = ceil(secs / 60)
  2. local hrs = ceil(mins / 60)
If you want to round to the nearest whole number, change it to this:
lua Code:
  1. local mins = floor(secs / 60 + 0.5)
  2. local hrs = floor(mins / 60 + 0.5)
I'm not sure which of these makes the numbers match, just try both.
Report comment to moderator  
Reply With Quote
Unread 10-26-10, 01:08 PM  
Ael
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
No babies? Aww, man...

Anywho, I tried both of those, but couldn't make it work.

lua Code:
  1. local mins = ceil(secs / 60)
  2. local hrs = ceil(mins / 60)
This one makes all the timers say "1 h" and also turns the spiral back on (even though I've turned it off).

lua Code:
  1. local mins = floor(secs / 60 + 0.5)
  2. local hrs = floor(mins / 60 + 0.5)
This one is correct half the time

Any other ideas?
Report comment to moderator  
Reply With Quote
Unread 10-26-10, 01:28 PM  
Ael
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
Ah, a little tinkering made it work

lua Code:
  1. local mins = ceil(secs / 60)
  2. local hrs = floor(mins / 60)


However, it seems I can't turn the spiral cooldown off in r8 at all.
Report comment to moderator  
Reply With Quote
Unread 10-26-10, 01:58 PM  
Ael
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
Actually, that didn't work at all. When there are minutes left everything looks good. However, when there are seconds left, say 5 secs, it'll say 1:05

Can't make it work! Enough noobtinkering on my part, I'm going to bed.
Report comment to moderator  
Reply With Quote
Unread 10-26-10, 02:03 PM  
Luzzifus
A Warpwood Thunder Caller
 
Luzzifus's Avatar
AddOn Author - Click to view AddOns

Forum posts: 94
File comments: 237
Uploads: 6
Ok, I'll look into it myself. Tomorrow. Maybe. WTB time.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: