Download
(110Kb)
Download
Updated: 12-25-08 03:57 AM
Pictures
File Info
Updated:12-25-08 03:57 AM
Created:10-30-08 04:27 AM
Downloads:28,300
Favorites:179
MD5:

Bison  Popular! (More than 5000 hits)

Version: 1.4.3
by: TimTaler [More]

Customizing your buff display.

Features

  • free position of all buff buttons
  • support up to 40 buff buttons
  • individual selection of rows and cols for all buff bars
  • individual selection of scale for all buff bars
  • added ButtonFacade support

Acknowledgement
The addon based on Nimbal Buffalo2.

Commands
/bison or /bi
  • /bi - open blizzard configuration for Bison
  • /bi lock - lock the buttons on the screen
  • /bi enable - enable or disable Bison
  • valid values for bar: buff, debuff, weapon
    • /bi bar show - show or hide the bar (default: show)
    • /bi bar flashing - enable flashing for the bar (default: enabled)
    • /bi bar timer - select the timer for the bar (default: Bison style)
    • /bi bar scale value - the scale for the bar buttons (default: 100%)
    • /bi bar rows value - the rows for the bar
    • /bi bar cols value - the cols for the bar
    • /bi bar horizontal - the first direction for the bar buttons (default: horizontal)
    • /bi bar xPadding value - the horizontal space between the buttons (default: 5)
      a negativ value change the direction of the bar
    • /bi bar yPadding value - the vertical space between the buttons (default: 15)
      a negativ value change the direction of the bar

1.4.3
- setting max buffs to 40, but more is allowed, perhaps a setting for this?
- tweak some localization
- add sorting by Duration
- use Blizzard's UI flash method to perform the frame flashing
- handle flashing of < BUFF_WARNING_TIME timed buffs
- border implementation corrected

1.4.1
- wrong toc corrected

1.4.0
- implementation of ButtonFacade support

1.3.1
- problem with sorting and icon of weapon enchants

1.3.0
- added sorting for bars (duration inc and dec, alphabetical)
- minor changes

1.2.2
- minor changes
- fix for probable race condition on initiation

1.2.0
- minor changes
- toc changed to 30003

1.1.2
- missing first db defaults

1.1.1
- added profile
- changed zip structure

1.0.0
- first stable version
Post A Reply Comment Options
Unread 01-22-09, 11:31 AM  
Blazingstorm
A Deviate Faerie Dragon
 
Blazingstorm's Avatar

Forum posts: 16
File comments: 23
Uploads: 0
Ok, I figured out the .lua and made the changes to suit my needs. Thanks for this wonderful mod.
Report comment to moderator  
Reply With Quote
Unread 01-21-09, 06:12 AM  
TimTaler
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 31
Uploads: 4
At the moment I have no time for new features, sorry.
I will continue the addon as soon as possible.
Report comment to moderator  
Reply With Quote
Unread 01-19-09, 05:49 PM  
Blazingstorm
A Deviate Faerie Dragon
 
Blazingstorm's Avatar

Forum posts: 16
File comments: 23
Uploads: 0
Button Count

Is there a way to configure the number of buttons a player can use. For me personally 32 buttons where to many, and now 40. I think is total over kill, especially when it comes to UI designs. It would be nice to have the ability to change this from like 10 - 20, as an example.
Report comment to moderator  
Reply With Quote
Unread 01-14-09, 12:13 AM  
Gilgallad
A Kobold Labourer

Forum posts: 0
File comments: 15
Uploads: 0
Originally posted by Shestak
I thank you for the help. The font has exchanged, but here its size in any way does not wish to vary, without dependence from number in function.
I used these three lines of code to hardcode the font into the addon because that's what I use on my ui. I'm not that familiar with how to set options using AceConfig-3.0. Also, if you mean "depending on time left, change font size", then I can't help you, sorry.
Last edited by Gilgallad : 01-14-09 at 04:24 AM.
Report comment to moderator  
Reply With Quote
Unread 01-12-09, 07:58 AM  
dragoth
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Lightbulb Tracker Support?

I can't seem to find my tracker icon with this mod loaded (Track Herbs, minerals, etc.) Any suggestions from anyone? I love the mod, just need to be able to swap my tracking.

EDIT: I'm silly. My old buffmod (EBB) kept tracking in with your buffs instead of on the minimap. I didn't know that they moved the tracking buff by default. Sorry!
Last edited by dragoth : 01-12-09 at 05:10 PM.
Report comment to moderator  
Reply With Quote
Unread 01-12-09, 04:19 AM  
Facktotum
A Kobold Labourer

Forum posts: 1
File comments: 36
Uploads: 0
The weapon buffs are not getting skinned by buttonfacade. I tested this with several skins.
Last edited by Facktotum : 01-17-09 at 03:55 AM.
Report comment to moderator  
Reply With Quote
Unread 01-02-09, 05:52 PM  
Facktotum
A Kobold Labourer

Forum posts: 1
File comments: 36
Uploads: 0
Originally posted by TimTaler
@Facktotum
On the next version I will change the format for time less then 1min to 00s. A warning does not be needful you can anable flashing.
If 25 player on a raid use this addon and spam warnings, oh no. Definitely I will not implement such feature.
I think you misunderstood my point. A warning sent to the player himself not anyone in the party or raid. By raid warning I meant where the raid warning message appears. A simple warning in chat frame to self would be great. Sometimes you can miss flashing if you dont constantly look at the buffs frame which I don't
Report comment to moderator  
Reply With Quote
Unread 01-02-09, 03:44 PM  
Shestak
A Deviate Faerie Dragon
 
Shestak's Avatar
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 65
Uploads: 1
Originally posted by Gilgallad
ButtonFacade only modifies graphics.

Btw, I managed to change it by adding these three lines in the BisonButton:New function.

Code:
b.count:SetFont("Path\\to\\font.ttf", 12, "OUTLINE")
b.left:SetFont("Path\\to\\font.ttf", 12, "OUTLINE")
b.ghostlabel:SetFont("Path\\to\\font.ttf", 12, "OUTLINE")
Replace Path\\to\\font.ttf with the path to your font.
I thank you for the help. The font has exchanged, but here its size in any way does not wish to vary, without dependence from number in function.
Report comment to moderator  
Reply With Quote
Unread 01-02-09, 12:28 PM  
Gilgallad
A Kobold Labourer

Forum posts: 0
File comments: 15
Uploads: 0
Originally posted by TimTaler
@Facktotum
On the next version I will change the format for time less then 1min to 00s. A warning does not be needful you can anable flashing.
If 25 player on a raid use this addon and spam warnings, oh no. Definitely I will not implement such feature.

@Shestak
I was thinking the normal font for timer is sufficiently. I can look for a simple ACE3 implementation.
Is there no possibility to change the font with buttonfacade?
ButtonFacade only modifies graphics.

Btw, I managed to change it by adding these three lines in the BisonButton:New function.

Code:
b.count:SetFont("Path\\to\\font.ttf", 12, "OUTLINE")
b.left:SetFont("Path\\to\\font.ttf", 12, "OUTLINE")
b.ghostlabel:SetFont("Path\\to\\font.ttf", 12, "OUTLINE")
Replace Path\\to\\font.ttf with the path to your font.
Last edited by Gilgallad : 01-02-09 at 12:29 PM.
Report comment to moderator  
Reply With Quote
Unread 01-02-09, 05:30 AM  
TimTaler
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 31
Uploads: 4
@Facktotum
On the next version I will change the format for time less then 1min to 00s. A warning does not be needful you can anable flashing.
If 25 player on a raid use this addon and spam warnings, oh no. Definitely I will not implement such feature.

@Shestak
I was thinking the normal font for timer is sufficiently. I can look for a simple ACE3 implementation.
Is there no possibility to change the font with buttonfacade?
Report comment to moderator  
Reply With Quote
Unread 01-01-09, 02:51 PM  
Shestak
A Deviate Faerie Dragon
 
Shestak's Avatar
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 65
Uploads: 1
Prompt please how in file to establish an external font on the timer?
Report comment to moderator  
Reply With Quote
Unread 12-30-08, 10:13 PM  
Facktotum
A Kobold Labourer

Forum posts: 1
File comments: 36
Uploads: 0
Originally posted by TimTaler
Sorry for the long absence but the time before christmas is a hard time .
Saroz joined the project and was making good changes I published on version 1.4.3.
Cheers
Yes everyone deserves a break on christmas holidays

My time format for less then 1min looks better I guess you are referring to this screenshot


Eactly what I meant because 0:10 does look a bit odd. Anything under 1 minute should be in seconds but just one figure. As shown in the screenshot.

Other than that I simply love this addon.

One request if its possible. Notification of when weapon enchants (especially poisons are going to expire) in lets say 20secs. A raid warning or whisper would be great

Happy new year
Report comment to moderator  
Reply With Quote
Unread 12-26-08, 05:19 AM  
TimTaler
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 31
Uploads: 4
Sorry for the long absence but the time before christmas is a hard time .
Saroz joined the project and was making good changes I published on version 1.4.3.

@Sparanoid
It's correct, Bison do not use action button at the moment. I tested a native implementation on single play and raids. But I got massive problems on raids with reorder buffs (protected by blizzard).

@Facktotum
A different color for some times I will not implement. But the different time formatting is a point we can discuss over. The blizzard formatting was not my favorite and so I implemented my own.
Code:
             Blizz           my         yours
10s         10 s            0:10          10s
60s          2 m            1:00         1:00
61s          2 m            1:01         1:01
550s        10 m            9:10         9:10
600s        11 m             10m          10m
1770s       30 m             29m          29m
5370s        2 h            1:29h     1h ? 2h ? 1.5h
I can change the option for time formatting to a drop down menu with more choices. What is the best format for very long times? A user defined format option is a overkill I think. Your time format for less then 1min looks better .

Cheers
Report comment to moderator  
Reply With Quote
Unread 12-25-08, 10:04 PM  
Sparanoid
A Defias Bandit

Forum posts: 3
File comments: 57
Uploads: 0
i'm a shadow priest, when i enabled bison i cannot cancel my shadowform by right clicking on the shadowform icon
Report comment to moderator  
Reply With Quote
Unread 12-23-08, 03:56 AM  
Pixol
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 53
Uploads: 8
Originally posted by Facktotum
Would it be possible to implement a change how buff duration is formatted?

Right now anything with a duration under one hour looks like this: MM:SS


I want to change this, so that buffs with a duration of one minute or longer displays like HH:MM instead of MM:SS. So it looks like this.


I would also like to edit the color of the buff text if it's duration is greater than one minute.

Great mod I loved the original buffalo and this completes my UI.
Not sure if you solved this problem yourself 2 weeks later yet but

if you look into the Bison.lua file with wordpad and go down to
ORIGINAL SCRIPT
--[[---------------------------------------------------------------------------------
timer string
------------------------------------------------------------------------------------]]
function BisonDurationString( seconds, timer)
if not timer then
return SecondsToTimeAbbrev( seconds)
end
if not seconds then
return ''
end
local negative, time
if seconds < 0 then
negative = '-'
time = -seconds
else
negative = ''
time = seconds
end
local min = math.floor( time / 60)
if time < 600 then
return string.format( '|cffffffff%s%d:%02d|r', negative, min, time % 60)
end

if time < 3600 then
return string.format( '|cffffffff%s%dm|r', negative, min)
end

return string.format( '|cffffffff%s%d:%02dh|r', negative, math.floor( min / 60), min % 60)
end
This says...
if time < 600 then
return string.format( '|cffffffff%s%d:%02d|r', negative, min, time % 60)
end
If the time is less than 600 seconds (10minutes) it will show the time format as mm:ss.
ex: if theres 314 seconds on a buff/debuff, it'll say...
05:14

This says...
if time < 3600 then
return string.format( '|cffffffff%s%dm|r', negative, min)
end
If the time is less than 3600seconds (60minutes) it will show the time format as mmm
ex: if theres 1124 seconds on a buff/debuff, it'll say...
18m or 19m I dunno if it rounds up or down.

I suppose from the function set up, this is all theory you can do the testing yourself since you want it this way, you can make the script look like this to make it function the way you want.

NEW SCRIPT
--[[---------------------------------------------------------------------------------
timer string
------------------------------------------------------------------------------------]]
function BisonDurationString( seconds, timer)
if not timer then
return SecondsToTimeAbbrev( seconds)
end
if not seconds then
return ''
end
local negative, time
if seconds < 0 then
negative = '-'
time = -seconds
else
negative = ''
time = seconds
end
local min = math.floor( time / 60)
if time < 60 then
return string.format( '|cffffffff%s%ds|r', negative, time % 60)
end

if time < 3600 then
return string.format( '|cffffffff%s%dm|r', negative, min)
end

return string.format( '|cffffffff%s%d:%02dh|r', negative, math.floor( min / 60), min % 60)
end
Unfortunately I don't have a example to use from for the underlined part, which deals with anything with 3600 seconds or more (ex: flask buffs) to show only 1 hour 2 hour or 3 hour.

Good Luck

Also Thank you for this add-on, been searching around for a upgrade from the heavy CPU consuming old buffalo addon
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: