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,806
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 11-04-10, 07:44 PM  
Maxen
A Fallenroot Satyr

Forum posts: 23
File comments: 235
Uploads: 0
Originally posted by katelyn
As it turns out the latest version does not in fact fix this little bug. I was mistaken. There is still a sliver of the spiral being shown.
Aye.. did a clean install, disabled all other addons, and still see the initial spiral... I did mess with the settings a bit, reloading UI a lot, sometimes it was ok, then the spiral came back...
Report comment to moderator  
Reply With Quote
Unread 11-04-10, 07:17 PM  
katelyn
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
As it turns out the latest version does not in fact fix this little bug. I was mistaken. There is still a sliver of the spiral being shown.
Report comment to moderator  
Reply With Quote
Unread 11-04-10, 09:46 AM  
Maxen
A Fallenroot Satyr

Forum posts: 23
File comments: 235
Uploads: 0
Originally posted by Luzzifus
Can't reproduce it in r11. Are you sure you're using the latest version?
I will do a clean install tonight. But I'm pretty sure I am up to date. Thx.
Report comment to moderator  
Reply With Quote
Unread 11-04-10, 09:36 AM  
katelyn
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Updated fixed it. Much appreciated.
Report comment to moderator  
Reply With Quote
Unread 11-04-10, 09:30 AM  
Luzzifus
A Warpwood Thunder Caller
 
Luzzifus's Avatar
AddOn Author - Click to view AddOns

Forum posts: 94
File comments: 237
Uploads: 6
Can't reproduce it in r11. Are you sure you're using the latest version?
Report comment to moderator  
Reply With Quote
Unread 11-03-10, 08:20 PM  
katelyn
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
I can confirm that the initial spiral image still appears when the lua is set to false.
Last edited by katelyn : 11-04-10 at 09:36 AM.
Report comment to moderator  
Reply With Quote
Unread 11-03-10, 02:26 PM  
Maxen
A Fallenroot Satyr

Forum posts: 23
File comments: 235
Uploads: 0
Spiral texture

Hello! Thanks for this nice addon! One small thing, it seems when not using the spiral cooldown that the buff texture are "modified" a bit.. see it in that picture (150%) that the spiral seems to be there...



My config :

Code:
nivBuffDB = 
{
    -- Anchors = { AnchorFrom, AnchorFrame, AnchorTo, x-offset (horizontal), y-offset (vertical) }
    --> Glue the <AnchorFrom> corner of the header to the <AnchorTo> corner of <AnchorFrame>
    --
    -- See addon description on wowinterface.com for more information and examples!    
    
    buffAnchor = { "TOPRIGHT", "UIParent", "TOPRIGHT", -10, -10 },
    debuffAnchor = { "TOPRIGHT", "UIParent", "TOPRIGHT", -8, -135 },
    
    -- growth direction: 0 -> from left to right, 1 -> from right to left
    buffGrowDir = 1,
    debuffGrowDir = 1,
    
    -- horizontal distance between icons
    buffXoffset = 30,
    debuffXoffset = 30,

    -- scale
    buffScale = 1,
    debuffScale = 1.2,

    iconsPerRow = 15,               -- maximum number of icons in one row before a new row starts
    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
    coloredBorder = true,           -- highlight debuffs and weapon enchants with a different border color
    borderBrightness = 0.25,        -- brightness of the default non-colored icon border ( 0 -> black, 1 -> white )
    blinkTime = 6,                  -- a buff/debuff icon will blink when it expires in less than x seconds, set to 0 to disable
    blinkSpeed = 0.75,                -- blinking speed as number of blink cycles per second
    durationPos = "BOTTOM",         -- position of remaining time text, possible values are "TOP" or "BOTTOM"

    -- font color for cooldown text and stack count
    fontColor = { r = 1.0, g = 1.0, b = 0.4 },
}
Report comment to moderator  
Reply With Quote
Unread 11-03-10, 01:59 PM  
kbc8090
A Murloc Raider

Forum posts: 6
File comments: 73
Uploads: 0
The new changes are slightly worse on cpu (very minor) but i'm anal. Could it be because the following is within the do loop?

Code:
BuffFrame:UnregisterEvent("UNIT_AURA")
BuffFrame:Hide()
TemporaryEnchantFrame:Hide()
ConsolidatedBuffs:Hide()
Or the new hookscript?

Also some reason these changes made the buffs insanely small, I basically reverted to last version with my own changes. There was also like a 1/4 of a cooldown pie on my blood presence icon, not sure why that was showing up, seems like its related to the deletion of the makeOpaque function.
Last edited by kbc8090 : 11-03-10 at 02:19 PM.
Report comment to moderator  
Reply With Quote
Unread 11-03-10, 11:35 AM  
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 Veyska
The buffs, they do not disappear when the UI is hidden... :-P
Fixed in r11, thanks for reporting it!

Originally posted by kbc8090
I guess the Register event for UNIT_AURA doesn't fire when weapon enchants are initially put on, I have to trigger an additional buff for them to show up. Probably a blizzard bug?
It has already come to my attention, but I didn't find a way to fix it. UNIT_AURA still seems to fire, just the secure header doesn't update if there are no other buffs.

Originally posted by kit0123
excuse me for bordering again, I wanna ask how I can change the size of the duration text which is below the buff/debuff, at the time being , I can only figure out the modification for the font style but not the font size.
You'd have to pick one of the FontObject presets (see here) and change them in lines 50 (duration) and 62 (stack counter) of "nivBuffs.lua". But it's still on my todo-list to add more font options. ^^
Last edited by Luzzifus : 11-03-10 at 02:10 PM.
Report comment to moderator  
Reply With Quote
Unread 11-02-10, 09:28 PM  
Veyska
A Kobold Labourer
 
Veyska's Avatar

Forum posts: 1
File comments: 56
Uploads: 0
The buffs, they do not disappear when the UI is hidden... :-P
Report comment to moderator  
Reply With Quote
Unread 11-02-10, 12:39 PM  
kbc8090
A Murloc Raider

Forum posts: 6
File comments: 73
Uploads: 0
I guess the Register event for UNIT_AURA doesn't fire when weapon enchants are initially put on, I have to trigger an additional buff for them to show up. Probably a blizzard bug?
Last edited by kbc8090 : 11-02-10 at 12:40 PM.
Report comment to moderator  
Reply With Quote
Unread 10-31-10, 04:34 AM  
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
I'm assuming the latter, just want to make sure ^^
Your assumption is correct.

**edit: idea, trying something..
**edit2: nevermind.
Last edited by Luzzifus : 10-31-10 at 05:50 AM.
Report comment to moderator  
Reply With Quote
Unread 10-31-10, 04:28 AM  
Ael
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
Once again, babies and all that

Just a quick question: I've noticed that auras which have no duration, are treated as having "0 seconds left" when sorted by time, as apposed to "99999 seconds left".

So the buffs are sorted:

1 h - 30 m - 30 s - 10 s - Aura

What I would like is for auras to be first. Like:

Aura - 1 h - 30 m - 30 s - 10 s

Seeing as they have "more" time left than anything else. Is this something that can be changed on your part or is it Blizzards sort-method that forces the buffs to be sorted that way?

I'm assuming the latter, just want to make sure ^^
Report comment to moderator  
Reply With Quote
Unread 10-30-10, 05:47 AM  
kit0123
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
thanks for the updated version and the borders really look great
excuse me for bordering again, I wanna ask how I can change the size of the duration text which is below the buff/debuff, at the time being , I can only figure out the modification for the font style but not the font size.
Report comment to moderator  
Reply With Quote
Unread 10-30-10, 03:32 AM  
Luzzifus
A Warpwood Thunder Caller
 
Luzzifus's Avatar
AddOn Author - Click to view AddOns

Forum posts: 94
File comments: 237
Uploads: 6
It's more than that. Wrapping into the second column won't work correctly. Maybe I'll add it.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: