Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(105 Kb)
Download
Updated: 12-06-10 04:15 PM
Pictures
File Info
Updated:12-06-10 04:15 PM
Created:unknown
Downloads:22,153
Favorites:123
MD5:
eXtreme Unit Buttons  Popular! (More than 5000 hits)
Version: v2.0
by: tayedaen [More]
This highly configurable mod allows players to associate buttons to unit frames. It is meant as a replacement to GroupButtons which stopped functioning with the 2.0 patch in December 2006. The mod extends the capabilities of GroupButtons by providing these additional features:
  1. an unlimited number of buttons per unit frame
  2. Buttons which turn on/off depending on the amount of damage a unit has
  3. Buttons which are dimmed if a unit as that buff or a related buff applied.
  4. Buttons which appear when a debuff is applied to a unit.
  5. Buttons which allow you to have any type of "/" slash or macro command on a button
  6. A variety of a modes for different activities in the game. For example, a set of buttons
  7. for soloing, buttons for instances, buttons for raids, buttons for specific bosses (such as Baron Geddon in MC (to all priests to debuff), buttons for PvP, etc.
  8. Assign buttons to unit frames that when clicked cast spells on different units. This feature allows, for example, buffs and heals for the player unit to appear within the target buttons to minimize the amount of mouse movement between buttons.
  9. Works for any kind of non-casting classes; specifically warriors and rogues.

Version 2.0 (Dec 06, 2010) (by tayedaen)

I know that the documentation is a complete mess at the moment, I am already working on it.
But I wanted to have a released version for cataclysm start.

Before upgrading, please read the included 'readme.txt'.

You will loose your config, so read carefully !

Hightlights of the changes since the last official release:

Code:
New: Support for default profiles for spec1 and spec 2
New: Wizards for Group and Profile generation
 Please use them !
New: LDB button (and menu)
New: Default Buttons now always use the Prefix 'SB_'
 This is an abbreviation for StandardButton.
 I recommend to use 'CB_' as prefix for custom buttons.
New: '$' self condition for cast buttons (buff, debuff etc.)
 Example: CB_Renew,buff,Renew,$Renew
 This custom buutton will only chnge to the state BUFFED if the destination unit is buffed with your OWN Renew.
New: '!' inverts conditions for cast buttons (buff, debuff etc.)
New: new debuff condition "Death"
 A button with this condition is only shown if the destination unit is dead.
New: new debuff condition "Purge"
 A button with this condition is only shown if the destination unit has at least one buff to purge.
New: two keywords for exclude-units:
  'hostile'   and    'friendly'
  Example: MyGroupName,SB_Renew,*,hostile
  This button will be hidden on hostile units (= it will only be shown on friendly units)
New: Spell ranks have been removed (multiranking too)
New: Macro buttons support now '[target=unit#]'
 Here unit# will be rpalced at runtime with the unit the button is attached to.
 Example: /target [target=unit#]
Improved: Verification of buttons while configuring the addon

And last but not least: 
!!! Improved: Internals are mostly rewritten from scratch for better performance  !!!

Please refer to 'z_historic_Changelog.txt' for older changes.
Known problems:
XPerl's partypets get no buttons

Known blizzard bugs:
------------------------
'isUsableSpell' is broken, there is nothing I can do to change that.
That means: Some spells are reported 'not usable' if you target a hostile target or NPC (like 'PowerWord: Shield' for example).

Enjoy - Tayedaen
Hightlights of the changes since the last official release:
===========================================================
New: Support for default profiles for spec1 and spec 2
New: Wizards for Group and Profile generation
Please use them !
New: LDB button (and menu)
New: Default Buttons now always use the Prefix 'SB_'
This is an abbreviation for StandardButton.
I recommend to use 'CB_' as prefix for custom buttons.
New: '$' self condition for cast buttons (buff, debuff etc.)
Example: CB_Renew,buff,Renew,$Renew
This custom buutton will only chnge to the state BUFFED if the destination unit is buffed with your OWN Renew.
New: '!' inverts conditions for cast buttons (buff, debuff etc.)
New: new debuff condition "Death"
A button with this condition is only shown if the destination unit is dead.
New: new debuff condition "Purge"
A button with this condition is only shown if the destination unit has at least one buff to purge.
New: two keywords for exclude-units:
'hostile' and 'friendly'
Example: MyGroupName,SB_Renew,*,hostile
This button will be hidden on hostile units (= it will only be shown on friendly units)
New: Spell ranks have been removed (multiranking too)
New: Macro buttons support now '[target=unit#]'
Here unit# will be rpalced at runtime with the unit the button is attached to.
Example: /target [target=unit#]
Improved: Verification of buttons while configuring the addon

And last but not least:
!!! Improved: Internals are mostly rewritten from scratch for better performance !!!

Please refer to 'z_historic_Changelog.txt' for older changes.

Known problems:
XPerl's partypets get no buttons
Optional Files (2)
File Name
Version
Size
Author
Date
Type
2.1beta4
104kB
09-15-12 11:51 AM
Addon
upload1 RC2
105kB
12-01-10 11:42 AM
Addon


Archived Files (1)
File Name
Version
Size
Author
Date
v1.8.2
1MB
tayedaen
07-26-08 03:47 PM


Post A Reply Comment Options
Unread 07-03-07, 12:44 PM  
paladindrome
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 140
Uploads: 4
Originally posted by Bronzeburn
Can someone please explain how you solve it using SELFBUFF? I have never used that feature.
I had hoped to do this quick but the extended maintenance today has foiled me. Perhaps someone else can help - I assume it is a buff spell (unless Tay has included a new type in a version he is working on).

Drome
paladindrome is offline Report comment to moderator  
Reply With Quote
Unread 07-03-07, 10:22 AM  
Bronzeburn
A Kobold Labourer
 
Bronzeburn's Avatar

Forum posts: 0
File comments: 23
Uploads: 0
I am also suffering from the dissappearing priest PW:S and Pallie BoP button when targeting an "invalid" target such as a mob or NPC. Can someone please explain how you solve it using SELFBUFF? I have never used that feature.

Thanks in advance.
Last edited by Bronzeburn : 07-06-07 at 03:44 PM.
Bronzeburn is offline Report comment to moderator  
Reply With Quote
Unread 07-02-07, 09:10 AM  
tayedaen
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 192
Uploads: 42
@Munroe:
RANK is from 'Globalstrings.lua', and this file is always assumed to be correct

About the PowerWord:Shield-problem:
I had no time to check this yet.
I did not notice this problem since my PowerWord:Shield is defined as custom button, type SELFBUFF.
So while this is not checked/fixed yet, I would advice you to use this method.
tayedaen is offline Report comment to moderator  
Reply With Quote
Unread 07-02-07, 08:27 AM  
OxiMoron
A Kobold Labourer

Forum posts: 1
File comments: 30
Uploads: 0
It seems like a very strange and unlikely way to fix it..

You replace a variable with a constant string..

I dunno how it works in lua scripting but in most others languages that would be two totally differend things...
on the other hand: I can't seem to find where the RANK is defined (assuming lua is case sensitive)
(Well it's in eXtremeUnitButtons.lua, but it's local in a function there)
Last edited by OxiMoron : 07-02-07 at 08:28 AM.
OxiMoron is offline Report comment to moderator  
Reply With Quote
Unread 07-01-07, 05:16 AM  
Munroe
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Hi !

I am french and i use the french version of WOW.
This addon is really great and i thanks you for what you have done.

The only problem i have with french version is with rank spells.
I have to change the line 41 in eXtremeUnitButtonsConfig.lua
if ( Rank:find(RANK) ~= nil ) then
replace by
if ( Rank:find("Rang") ~= nil ) then

"Rang" is the french word for "Rank"

It would be great if you could modify this in a future version.

Best regards,
Munroe
Munroe is offline Report comment to moderator  
Reply With Quote
Unread 06-30-07, 01:37 PM  
OxiMoron
A Kobold Labourer

Forum posts: 1
File comments: 30
Uploads: 0
I Just tested this and my PWS disappears too..
really weird..



@tayedaen: Great if you can improve my code I won't complain at all
OxiMoron is offline Report comment to moderator  
Reply With Quote
Unread 06-30-07, 10:54 AM  
paladindrome
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 140
Uploads: 4
Re: Re: Power Word Shield Wierdness

Originally posted by tayedaen
Any things that could help me locking that down?
Try these steps.

Creayte a PWS button for Player, Party, and target.
Add PWS to you main action bars.
Join a team with another person

Target Yourself - all 4 button show.

Target you team member - all four buttons show

Target no one and all three show up (no target so the fourth does not show up)

Target someone not on your team (another player or NPC). No XUB buttons show up, the action bar button shows greyed out.

Keeping non valid unit targeted:

Click where the XUB buttons should be = if fires - after the PWS cooldown and while the spell is active it shows greyed out. When the PWS expires the button turns invisible again.

As far as I can tell the difference is that the button is still actice and in 2.1 it would not work at all.

I do not think this is a bug in XUB - it is a behaviour change by Blizzard. I think it is a bug from blizzard that has not been fixed yet. I would be very interested if XUB could set the alpha and override what Blizzard is doing - although to formailze in a relase risks the no special case rule. I think there are some reports on Shaman or Druid spells that act the similarly - If we can identify a class of buttons and handle that way i would prefer it.

Drome

EDIT: Palidins have similar spells - valid for yourself and party members but not for other players or NPC's.

grpbuf,BlessingofProtection,*

Is one that exhibits the same behavior as PWS.
Last edited by paladindrome : 06-30-07 at 01:34 PM.
paladindrome is offline Report comment to moderator  
Reply With Quote
Unread 06-30-07, 10:14 AM  
tayedaen
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 192
Uploads: 42
Re: Power Word Shield Wierdness

Originally posted by Peregran
I'm a priest and whenever I target a mob hostile or otherwise, my Power Word Shield disappears as an ability to cast on myself. This is really bad when I try to bubble myself when I'm in combat. This is with 1.7b2.....worked with 1.6

- Peregran
I just tested it.
It works perfectly here with Wow 2.1.2 german.
So I cannot confirm your bugreport.
Any things that could help me locking that down?
tayedaen is offline Report comment to moderator  
Reply With Quote
Unread 06-30-07, 09:57 AM  
paladindrome
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 140
Uploads: 4
Re: Power Word Shield Wierdness

Originally posted by Peregran
I'm a priest and whenever I target a mob hostile or otherwise, my Power Word Shield disappears as an ability to cast on myself. This is really bad when I try to bubble myself when I'm in combat. This is with 1.7b2.....worked with 1.6

- Peregran
This is a result of a 2.1 change, that has been partially fixed in 2.12. If you target a valid person (yourself or a party member) you will see the button show up. I am guessing this is the result of the diming behaviour they put in. If you have PWS on you action bar and target a valid parson (someone on you team) it shows as normal. If you target someone not on your team or an NPC that it shows as greyed out.

On the plus side the invisible button still works - this is a positive change in version 2.12. I think there are some druid or shaman spells that act the same way (the =default dimming of the spell on the action bar that carries to the XUB button that is targeted at another unit.

I am wokring on PitBull raid support (have it partially working) and will look into this next. Holiday week coming up so time is tighter then normal.

Drome
paladindrome is offline Report comment to moderator  
Reply With Quote
Unread 06-30-07, 09:56 AM  
tayedaen
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 192
Uploads: 42
Re: Power Word Shield Wierdness

Originally posted by Peregran
I'm a priest and whenever I target a mob hostile or otherwise, my Power Word Shield disappears as an ability to cast on myself. This is really bad when I try to bubble myself when I'm in combat. This is with 1.7b2.....worked with 1.6

- Peregran
I will look at it - but Blizzard posted this as fixed in 2.1.2
tayedaen is offline Report comment to moderator  
Reply With Quote
Unread 06-30-07, 09:55 AM  
tayedaen
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 192
Uploads: 42
Originally posted by OxiMoron
That will make sure the button gets created at the frame specified in the config instead as destination unit
Hi !

Some news here:
while you are right, your code still would lead to some problems because of the way buff/debuff checking works.

But while looking at the code, I got an idea how to implement it that is even better (and makes button checking easier).

So putting a button on any unit targeting a different unit WILL work - but I just handle it differently than your code does
Thank your for suggestion!

best regards
tayedaen
Last edited by tayedaen : 06-30-07 at 09:57 AM.
tayedaen is offline Report comment to moderator  
Reply With Quote
Unread 06-30-07, 09:07 AM  
Peregran
A Kobold Labourer

Forum posts: 0
File comments: 25
Uploads: 0
Power Word Shield Wierdness

I'm a priest and whenever I target a mob hostile or otherwise, my Power Word Shield disappears as an ability to cast on myself. This is really bad when I try to bubble myself when I'm in combat. This is with 1.7b2.....worked with 1.6

- Peregran
Peregran is offline Report comment to moderator  
Reply With Quote
Unread 06-28-07, 07:54 AM  
OxiMoron
A Kobold Labourer

Forum posts: 1
File comments: 30
Uploads: 0
nope it doesn't.. on party frames the aUnitNumber isn't 0 so they it would make the spell target player1, player2, player3 etc.. that's why I removed all that..
OxiMoron is offline Report comment to moderator  
Reply With Quote
Unread 06-28-07, 06:24 AM  
tayedaen
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 192
Uploads: 42
@Oximoron:
It seems you are right
I'll test it at home, but that wont be before weekend.

I wanted to post a 1.7 final today, but that is delayed now till this is fixed.

Btw: Why do you want to change line 908ff ?
The existing code already does all you want:
Code:
            if ( aDestUnit == "*" ) then
                myDestinationUnit = aOnUnit;
            else
                if ( aUnitNumber == 0 ) then
                    myDestinationUnit = aDestUnit;
                else
                    myDestinationUnit = aDestUnit .. aUnitNumber;
                end
            end
@ALL:
Pitbull support will be included in 1.7 final.
Last edited by tayedaen : 06-28-07 at 06:34 AM.
tayedaen is offline Report comment to moderator  
Reply With Quote
Unread 06-28-07, 03:12 AM  
OxiMoron
A Kobold Labourer

Forum posts: 1
File comments: 30
Uploads: 0
well.. with that activated my next spell becomes instant cast, as a healer it's my oh-shit button

I don't want to move my mouse to my own unit frame to activate it and then move back to the party member I want to heal quickly to do that

With some trial, error and crashes (wow and notepad++ don't like each other it seems) I've come up with this:

eXtremeUnitButtons.lua lines 1043-1051
Code:
    if ( XUB_Units[aUnit] == null ) then
        Debug( "ERROR: XUB_Units[aUnit] is NULL" , XUB_Units[aUnit] );
        return;
    end

    -- Increment the number used to uniquely identify the buttons (so we can do a getglobal later to find the frame/button).
    XUB_Units[aUnit] = XUB_Units[aUnit] + 1

    local myButtonName = XUB_GenerateButtonName(aUnit,XUB_Units[aUnit]);
That will make sure the button gets created at the frame specified in the config instead as destination unit.

Around 908:

Code:
            if ( aDestUnit == "*" ) then
                myDestinationUnit = aOnUnit;
            else                
                myDestinationUnit = aDestUnit;                
            end
This way you can use specific units as target, party without a number won't work ofcourse because it wouldn't know who to target


I think this way it's more as it's suppose to be (according to the original documentation) and gives you the option to have the paladin taunt on the target while you use it on the ToT for example.
Last edited by OxiMoron : 06-28-07 at 03:15 AM.
OxiMoron is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: