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 03-05-12, 05:20 PM  
Zethgryn

Forum posts: 0
File comments: 31
Uploads: 0
Weird, I don't understand why i'm still geting them then >.<
Zethgryn is offline Report comment to moderator  
Reply With Quote
Unread 03-05-12, 05:11 PM  
Kreiri
Claw of Regulos
 
Kreiri's Avatar
AddOn Author - Click to view AddOns

Forum posts: 19
File comments: 82
Uploads: 2
Added a group (or loaded one of your profiles), got a bunch of bars on screen, "porticulumed" to another location - nope, no duplicate buffs.

Btw, there's /kbb r slash command - it should force buff rescan on all groups.
Kreiri is offline Report comment to moderator  
Reply With Quote
Unread 03-05-12, 05:06 PM  
Zethgryn

Forum posts: 0
File comments: 31
Uploads: 0
you are using ports and not getting them?
Last edited by Zethgryn : 03-05-12 at 05:07 PM.
Zethgryn is offline Report comment to moderator  
Reply With Quote
Unread 03-05-12, 04:52 PM  
Kreiri
Claw of Regulos
 
Kreiri's Avatar
AddOn Author - Click to view AddOns

Forum posts: 19
File comments: 82
Uploads: 2
I don't know why you are still getting them. I even tried every profile from your saved vars - nope, no ghost bars.
Kreiri is offline Report comment to moderator  
Reply With Quote
Unread 03-05-12, 04:22 PM  
Zethgryn

Forum posts: 0
File comments: 31
Uploads: 0
yep it's still doing it. >.<
Zethgryn is offline Report comment to moderator  
Reply With Quote
Unread 03-05-12, 04:00 PM  
Kreiri
Claw of Regulos
 
Kreiri's Avatar
AddOn Author - Click to view AddOns

Forum posts: 19
File comments: 82
Uploads: 2


Okay, do clean install of KBB - that is, remove KBB's folder in Addons folder and reinstall it. Tell me if ghost bars remain.
Kreiri is offline Report comment to moderator  
Reply With Quote
Unread 03-05-12, 03:49 PM  
Zethgryn

Forum posts: 0
File comments: 31
Uploads: 0
yes
Zethgryn is offline Report comment to moderator  
Reply With Quote
Unread 03-05-12, 03:48 PM  
Kreiri
Claw of Regulos
 
Kreiri's Avatar
AddOn Author - Click to view AddOns

Forum posts: 19
File comments: 82
Uploads: 2
Are you still getting them?
Kreiri is offline Report comment to moderator  
Reply With Quote
Unread 03-05-12, 03:42 PM  
Zethgryn

Forum posts: 0
File comments: 31
Uploads: 0
Are you still working on the ghost buffs? Or is that supposed to be fixed already?
Zethgryn is offline Report comment to moderator  
Reply With Quote
Unread 03-05-12, 03:23 PM  
Kreiri
Claw of Regulos
 
Kreiri's Avatar
AddOn Author - Click to view AddOns

Forum posts: 19
File comments: 82
Uploads: 2
No, the reason for it is a naive addon developer trusting third-party libraries.

Seriously, newly-added to LibSimpleWidgets (1.9.0) SetSelectedIndex for radio group does not deselect other radiobuttons! Good thing this is Lua and overriding a method is easier than making a paper airplane.

Next time I'll check and re-check an updated library before replacing my code with lib's "native"method.
Last edited by Kreiri : 03-05-12 at 03:23 PM.
Kreiri is offline Report comment to moderator  
Reply With Quote
Unread 03-05-12, 03:10 PM  
Zethgryn

Forum posts: 0
File comments: 31
Uploads: 0
I think what it's doing is taking the options from each of the groups and showing them for some reason.

Like if i have the unit player selected in group1 and the unit target selected in group2. Both group1 and group2 will show player and target selected.
Zethgryn is offline Report comment to moderator  
Reply With Quote
Unread 03-05-12, 03:05 PM  
Zethgryn

Forum posts: 0
File comments: 31
Uploads: 0
I sent you a pm ^_^
Zethgryn is offline Report comment to moderator  
Reply With Quote
Unread 03-05-12, 02:53 PM  
Kreiri
Claw of Regulos
 
Kreiri's Avatar
AddOn Author - Click to view AddOns

Forum posts: 19
File comments: 82
Uploads: 2
Weird. Screenshot, please? And please e-mail send your saved variables, too.
Last edited by Kreiri : 03-05-12 at 02:55 PM.
Kreiri is offline Report comment to moderator  
Reply With Quote
Unread 03-05-12, 02:50 PM  
Zethgryn

Forum posts: 0
File comments: 31
Uploads: 0
Ok now that i'm actually fiddling with the gui, i found something weird. This might just be because I had previous kbb settings and have to start new but this is what I see.

The bubbles for the options are enabled in multiple instances. For example for growth direction, mine has 'up' and 'down' both bubbled in and I can't click on it to choose one. Same goes for many of the other options. It's the same for all kbbgroups, even when I try to add a new one.



I can however click on the bubbles in the unit options. As default, the bubbles 'player' and 'player.target' are filled in. When i click on another, for example 'focus' only 1 is filled in, then i choose the one I want.

However when I click on a different group, then go back to the original group, the 2 bubbles 'player' and 'player.target' are filled in again.
Last edited by Zethgryn : 03-05-12 at 02:58 PM.
Zethgryn is offline Report comment to moderator  
Reply With Quote
Unread 03-05-12, 02:41 PM  
Zethgryn

Forum posts: 0
File comments: 31
Uploads: 0
Wonderful, thank you so much ! ^_^
Zethgryn is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: