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,929
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, 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-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, 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: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, 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, 09:56 AM  
Protonova
 
Protonova's Avatar

Forum posts: 0
File comments: 33
Uploads: 0
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...)
2) No tool-tips upon hover (the tool-tip doesn't even have to the in game tool-tip it can be an in house tool-tip which has a concise layout comprised of Name of buff, caster, description, and duration.)
__________________
WoWInterface Profile: Fiercy
Github Profile: Protonova
Last edited by Protonova : 12-13-11 at 09:59 AM.
Protonova is offline Report comment to moderator  
Reply With Quote
Unread 12-12-11, 05:42 PM  
aru

Forum posts: 0
File comments: 2
Uploads: 0
I actually use this as a replacement for the default buff bar, but I miss the tooltips; I was wondering if it's possible to add that in?
aru is offline Report comment to moderator  
Reply With Quote
Unread 12-12-11, 12:39 PM  
Zethgryn

Forum posts: 0
File comments: 31
Uploads: 0
Quote:
Originally Posted by Kreiri
Quote:
Originally Posted by Zethgryn
This is a minor thing but can make an option to set the indefinite buffs to be at the bottom of the list instead of the top?
Oops. Fixing it right now.



it's already in there, I just didn't add a slash command yet.
sweet!

Also how is that extra buff bug thingy going?
Last edited by Zethgryn : 12-12-11 at 12:41 PM.
Zethgryn is offline Report comment to moderator  
Reply With Quote
Unread 12-12-11, 11:58 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
This is a minor thing but can make an option to set the indefinite buffs to be at the bottom of the list instead of the top?
Oops. Fixing it right now.

Quote:
Also a guildy of mine was wondering if there's a way to change the buff direction from upwards to downwards.
it's already in there, I just didn't add a slash command yet.
Kreiri is offline Report comment to moderator  
Reply With Quote
Unread 12-12-11, 11:37 AM  
Zethgryn

Forum posts: 0
File comments: 31
Uploads: 0
This is a minor thing but can make an option to set the indefinite buffs to be at the bottom of the list instead of the top?

for example right now it's:

Anthem of Fervor (indefinite Buff)
Motif of Regneration
Fanfare of power

Also a guildy of mine was wondering if there's a way to change the buff direction from upwards to downwards.
Last edited by Zethgryn : 12-12-11 at 11:41 AM.
Zethgryn is offline Report comment to moderator  
Reply With Quote
Unread 12-12-11, 11:06 AM  
Kreiri
Claw of Regulos
 
Kreiri's Avatar
AddOn Author - Click to view AddOns

Forum posts: 19
File comments: 82
Uploads: 2
Re: Re: hm

Quote:
Originally Posted by tparift
Don't feel bad. I went through the exact same thing you did. There is nothing on the main page explaining what to do first. I only figured it out after trying every command listed from the top first.
Description updated.
Kreiri is offline Report comment to moderator  
Reply With Quote
Unread 12-12-11, 09:51 AM  
tparift

Forum posts: 0
File comments: 10
Uploads: 0
Re: hm

Don't feel bad. I went through the exact same thing you did. There is nothing on the main page explaining what to do first. I only figured it out after trying every command listed from the top first.

Quote:
Originally Posted by toptek
I did ,but ty for pointing that out . .Guess I didn't understand it good enough. I'll try again and sorry for newbie post.
tparift is offline Report comment to moderator  
Reply With Quote
Unread 12-12-11, 08:51 AM  
aru

Forum posts: 0
File comments: 2
Uploads: 0
Is there a way to make it so buffs get added to the bottom of the list?
aru is offline Report comment to moderator  
Reply With Quote
Unread 12-11-11, 02:30 PM  
Zethgryn

Forum posts: 0
File comments: 31
Uploads: 0
Very nice quick update, can't wait to try it out in raid today!
Last edited by Zethgryn : 12-11-11 at 04:59 PM.
Zethgryn is offline Report comment to moderator  
Reply With Quote
Unread 12-11-11, 09:37 AM  
toptek
Zombie

Forum posts: 1
File comments: 3
Uploads: 0
hm

I did ,but ty for pointing that out . .Guess I didn't understand it good enough. I'll try again and sorry for newbie post.
toptek is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: