Download
(94 Kb)
Download
Updated: 06-30-12 01:53 AM
Pictures
File Info
Updated:06-30-12 01:53 AM
Created:07-09-11 10:44 AM
Downloads:6,941
Favorites:17
MD5:
Kreiri's Buff Bars  Popular! (More than 5000 hits)
Version: 2.06
by: Kreiri [More]
Customizable bars for tracking buffs and debuffs. Inspired by Satrina Buff Frames.

Features:
- create bar groups to monitor buffs or debuffs on selected unit
- filter buffs by name, duration and caster (you vs. everyone else)
- customize buff/debuff/font colors, font size, background alpha, size and positions of bar groups.

Type /kbb ui to toggle settings interface.


Filter format:
  • filter by caster:
    • my - only casted by you
    • !my - only casted by others
  • filter by name: n<operator><value>, where <value> is name or part of the name of the buff and <operator> is
    • = - for "equals"
    • ~= - for "includes"
      Filtering by name is case-insensitive.
  • filter by duration: t<operator><value>, where <value> is duration in seconds and <operator> is
    • > - for "greater than"
    • < - for "less than"
    • >= - for "equal or greater than"
    • <= - for "equal or less than"
    Use t==nil and t!=nil to filter buffs with infinite duration

You can make combinations of filters using & (logical and) operator.

Examples:
n~=motif - matches all buffs with "motif" in name
my&n~=motif - matches all buffs with "motif" in name, which were casted by you.

Watching type:
buff to watch buffs,
debuff to watch debuffs.

Filtering type:
whitelist means that only buffs which match at least one of the filters will be displayed;
blacklist means that all buffs will be displayed, except those which match at least one filter.

--------------------------
On performance:
KBB has two throttle values, one for how often bars are redrawn and timers updated, and other for how often KBB asks server for exact remaining time of tracked buffs. If you have performance issues, try playing with KBB.throttle (how often bars are updated) and KBB.callsThrottle (how often KBB asks server for buff info) values in KBB_Defaults.lua file. If you had performance issues, and changing these values helped, please tell me what values you used.


--------------------------
On old slash commands:
they are still there! The list of slash commands is here.
--------------------------

Bug reports and suggestions are welcome. Please be sure to include in your bug report as much details as possible, including error message text, group settings (unit, filtering type, filters, watching type) and what you were doing when the bug occurred.

Post your bug reports here and suggestions here.
2.06
band-aid fix for lua error in radiogroup change handler

2.05
New UI layout.
Bugfixes:
* fixed right-click on buff icon giving lua error
* fixed tooltip being shown off-screen for bars at the edges of the screen
* fixed Buff.Change handler giving lua errors sometimes
Added:
* minimap button
* option to use native tooltip
* settings for bar background color
*separate settings for debuff font color
Changed:
* color data format in saved variables (color4F => color4B)

2.04 profile name textfield will now surrender focus when settings window is closed
fixed /kbb import issues
added /kbb export command
updated .toc file for 1.8 environment

2.03
Updated embedded LibSimpleWidgets to v.1.9.2.
Added range check for font size slider.
Added bars drop to Event.Unit.Available("player") as a countermeasure for buff events weirdness.

2.02
Overrode LibSimpleWidgets' bugged SetSelectedIndex for radio group.

2.01
fixed conflict with MinUI

2.00
GUI!
added profile export
added Command.Buff.Describe for buffs with incomplete description

1.08 (internal)
added duplicate buff IDs check to Buff.Add handler to compensate for extra Buff.Add events after teleporting
added "/kbb r" command (drop all bars and rescan buffs)
added "/kbb editfilter" command
added "/kbb profiles", "/kbb import" commands

1.07
added extra buff rescan to compensate for role changes not always firing buff remove events
tooltip: added workarounds for mouseout event only firing on mouse movement
moved tooltip to the same context as bars as a workaround for "tooltip behind bars" bug
added nil filter value check

1.06
fixed bar width not changing for buffs with infinite durations
added makeshift tooltip
rewrote bar comparison code
added on/off slash command
attempt to make group ids more unique
added index numbers to filter list

Note:
When KBB updates remaining time on bars, it subtracts update interval from remaining buff time, and sometimes asks server for buff info and adjusts bars accordingly.
Try playing with KBB.callsThrottle (how often it asks server for buff info) value in KBB_Defaults.lua file.

1.05
added "setgrowth" command
fixed bug with wrong sort order of buffs with infinite duration
reduced amount of Inspect.Buff.Detail calls
1.04
added sorting of bars by remaining time
removed truncating of too long anchor texts
fixed misaligned bars after setting unit
1.03:
attempt to work around extra Buff.Add events after teleporting
attempt to increase performance
added canceling buffs on right-click

1.02:
workaround for floating point problems in filters
fixed issue with anchors loading wrong texts
added "where" command

1.01 :
added extra nil check in timer update
Archived Files (6)
File Name
Version
Size
Author
Date
2.05
93kB
Kreiri
06-28-12 11:19 AM
2.04
60kB
Kreiri
04-21-12 05:16 AM
2.03
58kB
Kreiri
03-08-12 04:09 PM
2.02
63kB
Kreiri
03-05-12 03:28 PM
2.01
62kB
Kreiri
03-05-12 02:29 PM
2.00
59kB
Kreiri
03-05-12 12:35 PM


Post A Reply Comment Options
Unread 12-13-11, 11:20 AM  
Kreiri
Claw of Regulos
 
Kreiri's Avatar
AddOn Author - Click to view AddOns

Forum posts: 19
File comments: 82
Uploads: 2
Quote:
Originally Posted by Protonova
I love this addon, I hope later on it becomes a SBF like addon! Anyways I'm trying to implement it into my UI but I'm having problems with 2 things.

1) /kbb setgrowth kbbgroup1 down does nothing (all my other groups go down when I do this, group1 doesn't seem to like going down...)
Please send me your saved variables file. your_rift_folder\Interface\Saved\SavedVariables\KreiriBuffBars.lua
You can find my e-mail in RiftAddon.toc file.
Kreiri is offline Report comment to moderator  
Reply With Quote
Unread 12-13-11, 03:07 PM  
Kreiri
Claw of Regulos
 
Kreiri's Avatar
AddOn Author - Click to view AddOns

Forum posts: 19
File comments: 82
Uploads: 2
Quote:
Originally Posted by Zethgryn
Also how is that extra buff bug thingy going?
ZorbaTHut: kreiri, I haven't looked into it yet in depth (it's on my todo list) but I'm guessing it's behaving-as-intended, in the sense that it's not going to get fixed. It's probably just an artifact of how we deal with teleports.
ZorbaTHut: as I said, I'm gonna look into it, I just suspect it'll end up being as-designed.
Kreiri is offline Report comment to moderator  
Reply With Quote
Unread 12-13-11, 03:39 PM  
Protonova
 
Protonova's Avatar

Forum posts: 0
File comments: 33
Uploads: 0
Quote:
Originally Posted by Kreiri
Quote:
Originally Posted by Protonova
I love this addon, I hope later on it becomes a SBF like addon! Anyways I'm trying to implement it into my UI but I'm having problems with 2 things.

1) /kbb setgrowth kbbgroup1 down does nothing (all my other groups go down when I do this, group1 doesn't seem to like going down...)
Please send me your saved variables file. your_rift_folder\Interface\Saved\SavedVariables\KreiriBuffBars.lua
You can find my e-mail in RiftAddon.toc file.
No need, I was able to fix it. I'm not sure why I didn't think of it before... You said to send you the LUA but I went into it and changed growth to down and it worked. I find it so much easier to edit the LUA than do the slash commands in game lol.

Question though, is there anyway to sort down time durations? (Descending sort from top to bottom) At the moment I have Infinite buffs > shortest buffs > longest buffs and I want to make it look like Infinite buffs > longest buffs > shortest buffs.
__________________
WoWInterface Profile: Fiercy
Github Profile: Protonova
Protonova is offline Report comment to moderator  
Reply With Quote
Unread 12-13-11, 03:51 PM  
Kreiri
Claw of Regulos
 
Kreiri's Avatar
AddOn Author - Click to view AddOns

Forum posts: 19
File comments: 82
Uploads: 2
Quote:
Originally Posted by Protonova
Quote:
Originally Posted by Kreiri
Quote:
Originally Posted by Protonova
I love this addon, I hope later on it becomes a SBF like addon! Anyways I'm trying to implement it into my UI but I'm having problems with 2 things.

1) /kbb setgrowth kbbgroup1 down does nothing (all my other groups go down when I do this, group1 doesn't seem to like going down...)
Please send me your saved variables file. your_rift_folder\Interface\Saved\SavedVariables\KreiriBuffBars.lua
You can find my e-mail in RiftAddon.toc file.
No need, I was able to fix it. I'm not sure why I didn't think of it before... You said to send you the LUA but I went into it and changed growth to down and it worked. I find it so much easier to edit the LUA than do the slash commands in game lol.

Question though, is there anyway to sort down time durations? (Descending sort from top to bottom) At the moment I have Infinite buffs > shortest buffs > longest buffs and I want to make it look like Infinite buffs > longest buffs > shortest buffs.
"Infinite buffs > shortest buffs > longest buffs" is a bug and should have been fixed. Are you sure you updated KBB in your addons folder properly? You may still have the old file in there.

About growth. I suspect that you actually didn't have a group with id of kbbgroup1. Group's name is a placeholder atm, just to have something in there; it's set to match group's id on group's creation (purely for my convenience), however, when group is recycled (removed and then re-added), its name is not guaranteed to match its id (again for my convenience). I know that it's confusing, but group ID are internal identifiers, and with graphical UI they won't be exposed to user at all. User will be able to see a list of groups and edit their names, and edit settings of the selected group. I'll take a look at anchors code to see if anchor texts are not updating correctly on group's reuse.
Last edited by Kreiri : 12-16-11 at 02:06 AM.
Kreiri is offline Report comment to moderator  
Reply With Quote
Unread 12-13-11, 05:34 PM  
Zethgryn

Forum posts: 0
File comments: 31
Uploads: 0
hi i encountered this bug in my chatbox

Seems it has something to do with the sorting



nvm, i think it only happens when I have that weird extra buff bug thing
Last edited by Zethgryn : 12-13-11 at 05:45 PM.
Zethgryn is offline Report comment to moderator  
Reply With Quote
Unread 12-14-11, 12:33 AM  
Kreiri
Claw of Regulos
 
Kreiri's Avatar
AddOn Author - Click to view AddOns

Forum posts: 19
File comments: 82
Uploads: 2
Quote:
Originally Posted by Zethgryn
hi i encountered this bug in my chatbox

Seems it has something to do with the sorting
Thank you for the report. I think I have a fix; I'll test it when I'll have time.
Last edited by Kreiri : 12-14-11 at 01:39 AM.
Kreiri is offline Report comment to moderator  
Reply With Quote
Unread 12-14-11, 09:51 PM  
m1s3ri

Forum posts: 0
File comments: 7
Uploads: 0
Seems to be causing severe input delay in a raiding environment. I'll test it more later, but I had them enabled and working fine on EI -- headed over to Murdantix and it gave around 3s delay on using skills intermittently. Switched back over to nkRebuff abd the issues went away.

edit: nevermind. Looks like it was just a network hiccup that happened to coincide perfectly with raid time and my disabling KBB.
Last edited by m1s3ri : 12-17-11 at 08:57 AM.
m1s3ri is offline Report comment to moderator  
Reply With Quote
Unread 12-15-11, 12:09 AM  
Zethgryn

Forum posts: 0
File comments: 31
Uploads: 0
used em today in HK raid, the max i ever saw it go was around 5% for addon cpu, it usually averages around 3. This is also with 5 kbbgroups.

Karuul Alert can get to over 10% and averages around 7%. This is with only 3 buffs on watch/timers

I think it addon usage could be lower but compared to the other buff related addons, i think it is the lowest, which is very good.
Zethgryn is offline Report comment to moderator  
Reply With Quote
Unread 12-15-11, 07:27 PM  
aarion81

Forum posts: 0
File comments: 1
Uploads: 0
UI

This looks like the first decent buff/debuff tracking addon, so awesome job. Only thing I'd really like to see is a UI configuration menu, instead of having to manually input everything
aarion81 is offline Report comment to moderator  
Reply With Quote
Unread 12-17-11, 10:13 AM  
m1s3ri

Forum posts: 0
File comments: 7
Uploads: 0
Trying to use this to watch a few short-duration buffs/debuffs. I have the following:

Code:
kbbgroup4 (id kbbgroup4)
unit - player
watching type - buff
filtering type - whitelist
n=Ruthless Stalker
n=Guarded Steel
n=False Blade
n=Annihilate
my&n~=Motif
my&n~=Munitions
Code:
kbbgroup5 (id kbbgroup5)
unit - player.target
watching type - debuff
filtering type - whitelist
my&n=Impale
my&n=Expose Weakness
my&n=Silver Tip Munitions
my&n~=Coda
my&n=Spike Charge
It has no issues picking up Munitions of any sort, or my Ruthless Stalker; however, Annihilate, Impale, and Expose Weakness don't show up most of the time. I spammed all three of the buffs/debuffs I'm having issues with on the dummy for a bit -- in the same fight, they appeared a few times, but mostly not.
Last edited by m1s3ri : 12-17-11 at 12:57 PM.
m1s3ri is offline Report comment to moderator  
Reply With Quote
Unread 12-17-11, 10:49 AM  
Kreiri
Claw of Regulos
 
Kreiri's Avatar
AddOn Author - Click to view AddOns

Forum posts: 19
File comments: 82
Uploads: 2
I tried your filters on PTS and they worked fine for me. Are you sure these buffs/debuffs were actually up?

Edit: aha. Two groups with same id. Please send me your saved variables file. Also, do you by any chance remember the order in which you added/removed groups?
Last edited by Kreiri : 12-17-11 at 10:56 AM.
Kreiri is offline Report comment to moderator  
Reply With Quote
Unread 12-17-11, 01:00 PM  
m1s3ri

Forum posts: 0
File comments: 7
Uploads: 0
My mistake; the matching ids was a typo. I just went back and did another /kbb list v to confirm that.

I am sure buffs and debuffs are up -- I watched them in the standard buff frame.

Sending saved variables anyway.

edit: also, KBB constantly gives the following error:
Last edited by m1s3ri : 12-17-11 at 01:07 PM.
m1s3ri is offline Report comment to moderator  
Reply With Quote
Unread 12-17-11, 01:03 PM  
Kreiri
Claw of Regulos
 
Kreiri's Avatar
AddOn Author - Click to view AddOns

Forum posts: 19
File comments: 82
Uploads: 2
Updated to version 1.06.

Changes:
  • Added makeshift tooltip. Will appear at mouse cursor when you mouseover the bar. Will not follow your cursor. Will disappear when you move cursor out of bar.
  • Bars can be sorted in ascending or descending order.
  • Filter list now has filter index next to each filter. Please remember that after removal of filter indexes of remaining filters may change.
  • Added on/off slash command.
  • Fixed bar width change for buffs with infinite durations.
  • Tried to make group ids more unique, added code to fix duplicate group ids on loading.

Note on performance:
KBB has two throttle values, one for how often bars are redrawn and timers updated, and other for how often KBB asks server for exact remaining time of tracked buffs. If you have performance issues, try playing with KBB.throttle (how often bars are updated) and KBB.callsThrottle (how often KBB asks server for buff info) values in KBB_Defaults.lua file.
Last edited by Kreiri : 12-17-11 at 01:04 PM.
Kreiri is offline Report comment to moderator  
Reply With Quote
Unread 12-17-11, 01:23 PM  
Kreiri
Claw of Regulos
 
Kreiri's Avatar
AddOn Author - Click to view AddOns

Forum posts: 19
File comments: 82
Uploads: 2
Does "invalid order function" happen with v1.06?
Kreiri is offline Report comment to moderator  
Reply With Quote
Unread 12-17-11, 01:26 PM  
m1s3ri

Forum posts: 0
File comments: 7
Uploads: 0
Just updated and went to spam my rotation on the dummy for a few minutes. No errors, all buffs tracking correctly. Thanks for your hard work!
m1s3ri is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: