Download
(17Kb)
Download
Updated: 08-09-08 06:30 PM
Pictures
File Info
Updated:08-09-08 06:30 PM
Created:unknown
Downloads:11,051
Favorites:31
MD5:

UnitButtons  Popular! (More than 5000 hits)

Version: 2.04
by: sstixrud [More]

****ATTENTION****

All,

I just wanted to let everyone know I intend to take a different direction with UnitButtons in the near future. Specifically, I spoke to Maul of Trinity/Trinity2 fame a few months back on some of the challenges I faced with UnitButtons and how I felt Trinity was well suited to providing a button framework other mod authors could extend. Trinity2 is partly the result of that conversation and I am happy to say Maul has added enough functionality now where I can begin coding some of the features from UnitButtons, in the form of a module for Trinity2.

Trinity2 contains the logic for target bars/buttons (currently it supports player, pet, target, targettarget, focus, mouseover, party1-4, pet1-4). Trinity2 does not use the standard blizzard buttons, this means it does not suffer from the 120 button limit and thus every button on every bar can be unique, bars also support more than 12 buttons per bar. Trinity2 is still a bit of a chore to configure as the "clone bar" feature is not enabled yet. This feature will make duplicating party/raid bars a snap.

The module I intend to write for trinity2 will focus on the specialty features found in UnitButtons, namely Dynamic Buttons (flash, dim, hide based on health, debuff, missing buff etc..), hiding buttons based on class etc...


******END******



Brief description: This addon provides you with a button bar of 12 buttons for the player, the player pet, player target, each party member and each party pet. These bars are tied to their respective units, in other words each spell associated with a bar will automatically cast on the unit it is associated with. UnitButtons also provides you the ability to define behaviors to spells based on their type. For example you can make a spell flash when a unit is poisoned, when their health drops / raises to a certain level or even if a buff/debuff wears off.

You configure buttons with the "/ub" or "/ub config" commands.

This ADDON was inspired by GroupButtons, my goal is to add the key functionality without bloat or hard coded variables. This mod relies 100% on the user configuration of spells and thus should be resistant problems as the result of Blizzard patch updates. In addition this ADDON is designed to use minimal CPU & Memory resources, in fact no performance impact should be visable on any WOW capable machine.[/color]

Version 2.0 Released!

Included features:
Player buttons
Party buttons
Target buttons
Pet buttons
Button scale
Button rows
Number of buttons
hide/show based on class
blink/dim/faded buttons based on friendly or target buff/debuff.
blink/dim/hide/show based on friendly unit's health status.
Blinking and hiding of buttons based curable afflictions on a unit.
Fully documented (detailed tooltips) configuration user interface.

Planned features in upcoming version 2.1:
Raid Buttons
Enhance Spell configuration logic, add ranks to spells allowing custom attributes by rank.
Target's target and Target Focus bars
Alternative color highlighting for button status (normal/blue/black as an alternative to show/dim/hide)

CHANGES BETWEEN 2.0b7 and 2.0b9:

* Button id selection is now dynamically determined at startup based on player class
* Config window is now movable and default button locations are on screen at all UI scales.
* Many bugs and cleanups resolved in the config ui
* Many bugs resolved with buttons incorrectly changing visual status.
* Config UI changed where all classes are now enabled by default (check to disable)
* The command "/ub" behaves the same as "/ub config".
* Multiple spells with the same "name" and on the same bar now function as expected (different ranks share the same spell attributes, custom attributes per rank will be supported soon).

CHANGES BETWEEN 2.0b9 and 2.0b10:

* Code cleanup and optimization
* Fixed a number of bugs
* Fixed a few more cases of multiple spells of the same name causing problems
* Debuff target spells now dim for friendly targets
* Combat LockDown protection for configuration ui (auto save / close).
* Buttons are now locked and cannot be dragged while in Dynamic Button mode.

CHANGES BETWEEN 2.0b10 and 2.0b11:

* Fixed the bug where partybars would not show up automatically.
* Worked around a harmless but annoying wow bug (in rare cases UnitClass == nil on party join events)
* Added a user configurable toggle for locking actionbars.

CHANGES BETWEEN 2.0b11 and 2.0b12:

* Adds Petbars

*note* I am aware of two minor bugs in this and previous versions. a) bars do not always get removed when players leave the group. b) I have seen cases where the target bar appears and disappears (if it is disabled) when entering combat.

CHANGES BETWEEN 2.0b12 and 2.0b13:

* Disabled SHOW/HIDE frames option for now. It seems the method I was using to hide the frame but not the buttons will no longer work. In fact a Button's Alpha levels must be equal to or less than the frame alpha level. If anyone knows another way to hide text/frame border without hiding the buttons please let me know.

* I attempted to fix the following bugs:
1) Where parter members leave the group but their bar remains
2) Where disabled bars sometimes appear when entering combat...

I am not sure if I fixed these bugs please let me know if either still exists.

CHANGES BETWEEN 2.0b13 and 2.0b14:

Re-enabled SHOW/HIDING of frame Labels. This was a lot more work then I expected, I ended up rewriting significant portions of the framing code/xml. The good news is this had the positive side effect of disabling the frame dragging "tabs" when they are hidden, instead of just making them invisible. The bad news is everyone will need to re-position frames with this release (buttons layout and dynamic button configuration is not affected).

I cleaned up some of the pet frame logic but more work is left to be done (petbars will not disappear currently if the pet goes away while in combat).

Please let me know if any new bugs pop up in this version that did not exist in the last.

CHANGES BETWEEN 2.0b14 and 2.0b15:

* Added an option to configure bars in two rows of 6 buttons.
* Added an option to reset frames to default locations and set better default placements.
* Cleaned up button spacing.
* Fixed an issue where pet and party frames did not remove when a party or pet member left during combat.
* Adjusted Priest, Druid and Warrior button id usage... (these classes will have to re-order their spells)
* Misc other fixes and cleanups.

CHANGES BETWEEN 2.0b15 and 2.0:

* Tooltips and configuration interface documentation
* Misc tweaks and fixes.

CHANGES BETWEEN 2.0 and 2.01:

* Rewrote target button logic. Target buttons are now friendly/unfriendly aware, buttons will stay hidden if they cannot be cast on the current target.
* Rewrote heal spell logic. Option progression now goes: Hide -> Dim -> Show -> Blink and vis versa, when unit health is between blink and dim buttons will now be shown, Dim was changed so buttons are dimmed when unit health is ABOVE the slider value but below Hide slide value.
* Fixed some other bugs with dynamic health button logic, turning off a slider works as expected now.
* Misc other fixes.

CHANGES BETWEEN 2.01 and 2.02:
* User supplied fix for WOW 2.2! (Thanks darkpoe)

CHANGES BETWEEN 2.02 and 2.03:
* User supplied fix for Druids, let me know if this works or has problems. (Thanks AndyMan)

CHANGES BETWEEN 2.03 and 2.04:
* Validated addon is fully functional with current release.

Optional Files (0)


Post A Reply Comment Options
Unread 09-26-07, 01:46 AM  
terka27
A Defias Bandit

Forum posts: 2
File comments: 5
Uploads: 0
Red face Re: updating what the other guy said

ah, i figured out what i was doing wrong. i was putting in 2.2 instead of 20200. it works now! thank god!!


[Finally go into the Unitbuttons.TOC file and replace the Interface number with 20200 to update it to 2.2]
Report comment to moderator  
Reply With Quote
Unread 09-26-07, 01:35 AM  
darkpoe
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 1
Uploads: 1
updating what the other guy said

I patched the files and uploaded it as a fan update
Link to update for this mod

DO what he said for the .LUA and the .XML

it will then work Perfect!

Originally posted by terka27
this definitely doesn't work for me. when i change all the things it shows up as incompatible. not sure what i'm doing wrong.
For anyone who still uses this, I found the way to fix the problem with all the buttons showing the same thing(actionbutton 1)

Go into the "UBMain" file and do a Search for the phrase "ActionButton_Update" without the apostrophe of course. There should be one for each section, Player, Party, Target, etc. Replace the "ActionButton_Update" line with "ActionButton_UpdateAction" again without the apostrophe.

Finally go into the Unitbuttons.TOC file and replace the Interface number with 20200 to update it to 2.2

Should work!
Last edited by darkpoe : 09-26-07 at 01:59 AM.
Report comment to moderator  
Reply With Quote
Unread 09-25-07, 11:45 PM  
terka27
A Defias Bandit

Forum posts: 2
File comments: 5
Uploads: 0
this definitely doesn't work for me. when i change all the things it shows up as incompatible. not sure what i'm doing wrong.
Report comment to moderator  
Reply With Quote
Unread 09-25-07, 11:11 PM  
douglips
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Unholy_Prince, you rock. That fix did it for me.
Report comment to moderator  
Reply With Quote
Unread 09-25-07, 10:18 PM  
Unholy_Prince
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
For anyone who still uses this, I found the way to fix the problem with all the buttons showing the same thing(actionbutton 1)

Go into the "UBMain" file and do a Search for the phrase "ActionButton_Update" without the apostrophe of course. There should be one for each section, Player, Party, Target, etc. Replace the "ActionButton_Update" line with "ActionButton_UpdateAction" again without the apostrophe.

Finally go into the Unitbuttons.TOC file and replace the Interface number with 20200 to update it to 2.2

Should work!
Report comment to moderator  
Reply With Quote
Unread 08-20-07, 12:04 PM  
Lemna
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
basic use question

I have a *very* basic question on use--

On my druid, Unitbuttons automatically places the buttons that I have on the bottom bar of the default user interface into the self bar under my portrait. I only want to put healing spells in that bar under my portrait, but when I rearrange it, my bottom bar of the default interface also gets rearranged. In other words, I try to put a healing spell button into the first slot of Unitbuttons under the portrait, and it also replaces the attack button in the first slot of my bottom bar. I don't want it to do that, I want them to be separate buttons and not tied together.

What am I doing wrong? How can I move change Unitbuttons' buttons without changing my bottom bar buttons in the default user interface?

I am not very good with mods but I loved Groupbuttons and I would love to use Unitbuttons as a replacement. Thanks for making it!

Maybe add a readme file for some of us who need help with configuration and use?
Report comment to moderator  
Reply With Quote
Unread 08-16-07, 08:18 AM  
Gemini4
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Hey there,

been using an old beta of Benecast made by Phlay just because I dont like the way resent versions of Benecast has been going. It has gotten to be too advanced and laggy. Then I found this mod and its almost everything ive been looking for. Think its nice that its is simple to set up and use. But I got some features id like to see:

1. Dimming of buttons when target/party is to far away, some sort of range check.
2. An option to turn off the tooltip for the unitbuttons without removing the tooltip on the other bars.

And as someone already mentioned, spell rank with left/right clicking of the mouse would be nice

Otherwise a great job on the addon! Just keep it simple!

/Gemini4
Report comment to moderator  
Reply With Quote
Unread 08-14-07, 10:48 AM  
mips
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Thank for your work.
I've feature suggest : Add a bar for Focus if possible.
Don't know how it's works but I guess it should be like Target
Report comment to moderator  
Reply With Quote
Unread 08-10-07, 03:26 PM  
Grumbul
A Defias Bandit

Forum posts: 2
File comments: 13
Uploads: 0
Feature Request:

Attach unit buttons to unit frames automatically. You could look at the code in extreme unit buttons for an example of how to proceed. It will handle attaching to 4 or 5 different unit frame addons.
Report comment to moderator  
Reply With Quote
Unread 07-23-07, 11:23 PM  
TyrannisNorg
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
black morass is an instance in tanaris for caverns of time and is about +65 or so but it happens in quite a few places i don't think to write them down some are instances others are areas. kinda randomly locks it to boot.the way i have it set up is on the target frame they are number 3 and 4 from the left. and i swtched my default blizz frames out to x-perl unitframes and was wondering if there was a way to make the raid buttons for that? or just have the raid buttons, lol.
Report comment to moderator  
Reply With Quote
Unread 07-21-07, 05:44 PM  
Yelina
An Aku'mai Servant

Forum posts: 37
File comments: 51
Uploads: 0
Originally posted by sstixrud
Will .3 be enough?
I'm not familiar with the numbers and dunno if .3 is enough but I would like the option to make them smaller. Specially the petbars. I have all the bars on the smallest and I would like smaller ones for the pets.
So great that you are looking at this request.
Report comment to moderator  
Reply With Quote
Unread 07-21-07, 12:40 PM  
sstixrud
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 15
Uploads: 1
Originally posted by Oakayam
Heya,

I have a request. Could you make button scale more flexible? I'd like in particular to be able to make buttons smaller then .5 scale for a party.

Thanks
Will .3 be enough?
Report comment to moderator  
Reply With Quote
Unread 07-21-07, 12:38 PM  
sstixrud
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 15
Uploads: 1
Originally posted by Ufories
I played Dark Age Of Camelot before playing this game and its been hard playing a healer in WoW. This add on has been the best add on i could find to help heal/cure. Anyways was wondering if there is any way you can add a health/mana bar ( to avoid having to look up at the corner each time to see who's low on health ). Maybe above going across each bar. In DAoC they had a small group window which showed all group members names/health/mana and you were able to click on the name in the small window to target the group member making healing more effective (been trying to find something like it but can't so far). This game it seems to put everything far away, wasting time to drag the mouse from one end to the other
Most people place/attach the buttons next to the Player/Party frames themselves, not down at the bottom of the screen. In addition if you use a mod like x-perl, all of the buffs/debuffs including yours are attached to the unitframes, you can then move these frames/buttons to where ever on the screen makes most sense to you.
Report comment to moderator  
Reply With Quote
Unread 07-21-07, 12:36 PM  
sstixrud
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 15
Uploads: 1
Originally posted by TyrannisNorg
i have found a problem with 2 spells in the target frame when in certain areas like black morass and a few other places, when i have a target and i try to cast shadow word death or mind blast the buttons act as if they aren't there. when i click another spell they have the blizz 1 sec cool down on all spells but they aren't useable at all.


Interesting, I can think of no reason why the logic in this mod would know or care what zone you are in. I am not familiar with these zones, are they dungeons in outlands?

and if you could is the a way to reduce the spacing on the party spell buttons so they don't span halfway across my screen plz? other than that this is still the best addon i have/use love it and recomend it for all healers!
I added an option recently to switch Unit bars to two rows of 6 buttons, this should help some. Obviously you can also decrease the size of the buttons, this will have a much greater effect than changing the button spacing would.

BTW, ya workin on the raid buttons? (had to say something about it, lol) tyvm for the addon
Not at the moment, the number of buttons required causes performance problems. I will look into how best to handle this in the future.
Report comment to moderator  
Reply With Quote
Unread 07-18-07, 05:55 AM  
Ufories
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
I played Dark Age Of Camelot before playing this game and its been hard playing a healer in WoW. This add on has been the best add on i could find to help heal/cure. Anyways was wondering if there is any way you can add a health/mana bar ( to avoid having to look up at the corner each time to see who's low on health ). Maybe above going across each bar. In DAoC they had a small group window which showed all group members names/health/mana and you were able to click on the name in the small window to target the group member making healing more effective (been trying to find something like it but can't so far). This game it seems to put everything far away, wasting time to drag the mouse from one end to the other
Last edited by Ufories : 07-18-07 at 06:01 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: