Download
(105Kb)
Download
Updated: 12-06-10 04:15 PM
Pictures
File Info
Updated:12-06-10 04:15 PM
Created:unknown
Downloads:24,203
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


Post A Reply Comment Options
Unread 04-20-07, 03:56 AM  
Cosmic Cleric
A Deviate Faerie Dragon
 
Cosmic Cleric's Avatar
AddOn Author - Click to view AddOns

Forum posts: 15
File comments: 283
Uploads: 7
Re: Re: Pet Commands?

Originally posted by Elenesski
I was planning on adding these in a future version, but in the interim, I used macros:

_petattack,macro,65,/petattack
_petfollow,macro,232,/petfollow
_petstay,macro,95,/petstay
Thanks for the reply.

Any way to make them only visible when targeting a hostile opponent?
Report comment to moderator  
Reply With Quote
Unread 04-20-07, 03:00 AM  
Elenesski
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 194
Uploads: 2
Re: Pet Commands?

Originally posted by Cosmic Cleric
Does anyone know if pet commands, like 'Attack' (Ctrl-1), 'Defensive' (Ctrl-9), or 'Passive' (Ctrl-0), etc., can be added to buttons? If so, whats the syntax to do it?
I was planning on adding these in a future version, but in the interim, I used macros:

_petattack,macro,65,/petattack
_petfollow,macro,232,/petfollow
_petstay,macro,95,/petstay
Report comment to moderator  
Reply With Quote
Unread 04-19-07, 11:39 PM  
Cosmic Cleric
A Deviate Faerie Dragon
 
Cosmic Cleric's Avatar
AddOn Author - Click to view AddOns

Forum posts: 15
File comments: 283
Uploads: 7
Pet Commands?

Does anyone know if pet commands, like 'Attack' (Ctrl-1), 'Defensive' (Ctrl-9), or 'Passive' (Ctrl-0), etc., can be added to buttons? If so, whats the syntax to do it?
Report comment to moderator  
Reply With Quote
Unread 04-19-07, 09:36 AM  
sirspikey
A Deviate Faerie Dragon
 
sirspikey's Avatar

Forum posts: 19
File comments: 20
Uploads: 1
Talking Re: Re: Re: Re: Little prob

Originally posted by Elenesski
Best thing I can suggest is for you to hack the mod, and add code for this kind of thing. First make a backup copy of the file "eXtremeUnitButtons.lua" so you can quickly replace the file when you are finished.

Next, edit "eXtremeUnitButtons.lua" and go to the function "function XUG_UpdateUnitButtons2(aUnit)" about 2/3rds of the way down the file (or just do a search for it).

Starting at the line for the "function" (where this is line #1), go to line #60, copy in this code:

Code:
if ( aUnit == "target" ) then
    ShowMessage( "Target Buffs+Debuffs: " .. Buffs );
end
Restart the game and go fight a mob that can buff itself with magic. Whatever value appears as the last value past the last "," in the messages will be whatever you need in the debuff. It may very well be that you will need to identify individual spells. To list them, place a slash between the spell names in the CUSTOM BUTTON specification:

_Purge,debuff,Purge,,Spell1/Spell2/Spell3

Remember to restore the "eXtremeUnitButtons.lua" when you are finished.

Regards,
- El

THANX MAN, you're the best
Report comment to moderator  
Reply With Quote
Unread 04-17-07, 03:17 PM  
Vetus
A Murloc Raider
 
Vetus's Avatar

Forum posts: 6
File comments: 59
Uploads: 0
Re: Need a helping hand ^^

Originally posted by Grausam
I am having some issues getting this mod to work /sigh. I am not a developer by any means but I have been playing WoW since release and use many different mods. This one however , has me stumped . I read through the PDF that was included but sadly it seems it is outdated as the mods GUI looks totally different from the one pictured in the PDF :-( All I am looking for is a simple config for a druid if anyone has one already setup and would like to share those files with me i would GREATLY appreciate it . Also to this mods author , I am sorry to hear you are leaving and hope that everything works out well for you no matter where you are headed :-) Good luck to you sir !

*EDIT* I am using AG unit frames by the way if that helps , I followed the PDF to the tee I thought and still can't get any buttons to show up anywhere ^^ /sigh I'm sure it is just because I am half retarded and am missing something menial but any help would be appreciated !
CustomButtons:
_Heal1,health,Healing Touch,,746
_Heal2,health,Regrowth,,500
_Heal3,health,Rejuvenation,,244
_Ready1,buffblink,Mark of the Wild,,Mark of the Wild
_Ready2,buffblink,Thorns,,Thorns
_Ready3,buff,Nature's Grasp,,Nature's Grasp
_Debuff1,debuffblink,Remove Curse,,Curse
_Debuff2,debuffblink,Abolish Poison,,Poison

GroupSpecifications:
Healing,_Heal1,*
Healing,_Heal2,*
Healing,_Heal3,*

Debuffing,_Debuff1,*
Debuffing,_Debuff2,*

Rezing,Rebirth,*

Buffing,_Ready1,*
Buffing,_Ready2,*
Buffing,_Ready3,player

ProfileSpecifications:

Normal,player,Healing
Normal,player,Debuffing
Normal,player,Rezing
Normal,player,Buffing

Normal,party,Healing
Normal,party,Debuffing
Normal,party,Rezing
Normal,party,Buffing

Normal,target,Healing
Normal,target,Debuffing
Normal,target,Rezing
Normal,target,Buffing

Normal,focus,Healing
Normal,focus,Debuffing
Normal,focus,Rezing
Normal,focus,Buffing

That's the setup for my level 37 druid... Hope it helps...
Report comment to moderator  
Reply With Quote
Unread 04-17-07, 10:37 AM  
Grausam
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Need a helping hand ^^

I am having some issues getting this mod to work /sigh. I am not a developer by any means but I have been playing WoW since release and use many different mods. This one however , has me stumped . I read through the PDF that was included but sadly it seems it is outdated as the mods GUI looks totally different from the one pictured in the PDF :-( All I am looking for is a simple config for a druid if anyone has one already setup and would like to share those files with me i would GREATLY appreciate it . Also to this mods author , I am sorry to hear you are leaving and hope that everything works out well for you no matter where you are headed :-) Good luck to you sir !

*EDIT* I am using AG unit frames by the way if that helps , I followed the PDF to the tee I thought and still can't get any buttons to show up anywhere ^^ /sigh I'm sure it is just because I am half retarded and am missing something menial but any help would be appreciated !
Last edited by Grausam : 04-17-07 at 10:40 AM.
Report comment to moderator  
Reply With Quote
Unread 04-17-07, 09:50 AM  
Elenesski
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 194
Uploads: 2
Re: Re: Re: Little prob

Originally posted by sirspikey
CUSTOM BUTTON
_Purge,debuff,Purge,,Magic

GROUP
debuffenemy,_Purge,target

PROFILE
normal,target,debuffenemy,-158,70
Best thing I can suggest is for you to hack the mod, and add code for this kind of thing. First make a backup copy of the file "eXtremeUnitButtons.lua" so you can quickly replace the file when you are finished.

Next, edit "eXtremeUnitButtons.lua" and go to the function "function XUG_UpdateUnitButtons2(aUnit)" about 2/3rds of the way down the file (or just do a search for it).

Starting at the line for the "function" (where this is line #1), go to line #60, copy in this code:

Code:
if ( aUnit == "target" ) then
    ShowMessage( "Target Buffs+Debuffs: " .. Buffs );
end
Restart the game and go fight a mob that can buff itself with magic. Whatever value appears as the last value past the last "," in the messages will be whatever you need in the debuff. It may very well be that you will need to identify individual spells. To list them, place a slash between the spell names in the CUSTOM BUTTON specification:

_Purge,debuff,Purge,,Spell1/Spell2/Spell3

Remember to restore the "eXtremeUnitButtons.lua" when you are finished.

Regards,
- El
Report comment to moderator  
Reply With Quote
Unread 04-17-07, 08:23 AM  
Vetus
A Murloc Raider
 
Vetus's Avatar

Forum posts: 6
File comments: 59
Uploads: 0
Re: Thank you

Originally posted by Cosmic Cleric
Thank you for your time and efforts, it was greatly appreciated.

/salute
I couldn't agree more... You gave a lot to help us play better... And I for one greatly appreciate it...!

Also thank you for the links... I was looking into some of this stuff and those links helped tons...

The very best to you and yours...!!!
Report comment to moderator  
Reply With Quote
Unread 04-17-07, 07:44 AM  
sirspikey
A Deviate Faerie Dragon
 
sirspikey's Avatar

Forum posts: 19
File comments: 20
Uploads: 1
Re: Re: Little prob

_Purge,debuff,Purge,,Magic -button

debuffenemy,_Purge,target -group

normal,target,debuffenemy,-158,70 -profile
Report comment to moderator  
Reply With Quote
Unread 04-17-07, 05:33 AM  
EvilDevil
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
oh well this is a bad news for us

enjoy your life , you have only one. i hope you come back
Last edited by EvilDevil : 04-17-07 at 05:34 AM.
Report comment to moderator  
Reply With Quote
Unread 04-16-07, 06:47 PM  
Cosmic Cleric
A Deviate Faerie Dragon
 
Cosmic Cleric's Avatar
AddOn Author - Click to view AddOns

Forum posts: 15
File comments: 283
Uploads: 7
Thank you

Originally posted by Elenesski
My Friends and Fellow XUB Users:

There are several contributing factors that have combined which will result in my WoW time coming to an end early in May. I'd prefer to not elaborate on the factors, so please don't ask me to provide them. As a result, I will not be able to continue to support v1.6 or complete the work on v2.0.

I'm sorry that this like a let down for you folks; not something you wanted to read today, I'm sure.

What is important to me, is that XUB continues. I know that there are a few XUB users who are also developers. What I'm hoping is that you will become the one who decides they'd like to learn how XUB works (internally) and be able to offer revisions to the thousands of gamers who have downloaded and are using the mod.

I am still quite amazed at to how well it works for such a simple design; I have a button, can I display it? Every character class can use it, and it works well in many situations. It replaces GroupButtons (which was it's original intent), and it's been downloaded thousands of times. I wrote it with the philosophy of "no special cases"; so that the mod would be resilient to future Blizzard patches affecting the API. So whomever of you who picks it up, keep that in mind. While you can do whatever you want with it, the more special cases you add the more time it will take to maintain it. You cannot make any mod work in all cases for everybody. I strive for the 90-10 solution.

So for now, if somebody or a group of you want to pick up the v1.6 version and run with it; I empower you to do so. I feel that the user documentation gives a lot of insight into how it works; more so than probably any other mod out there. I cannot guarantee this offer, but if I have time, I'll try to update the User Documentation, and provide in a 1.6D release the copies of the original .doc files so you can maintain that to if you like.

I wish you all good luck, good times and great happiness.

Regards,
- Elenesski (April 14, 2007)
Thank you for your time and efforts, it was greatly appreciated.

/salute
Report comment to moderator  
Reply With Quote
Unread 04-16-07, 09:32 AM  
Elenesski
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 194
Uploads: 2
Re: Little prob

Originally posted by sirspikey
NOOOO Don't leave...

Well if you must, you must, but it is sad.

hope though you have time to fix one little problem:
The debuff function doesn't trigger when a mob buffs it self, it only trigger when I dot it.
Now I use Pion that alerts me when the target buff it self and then I purge it (Shaman)
But I would prefer that the dubuff function in XUB worked.

Sorry to see you leave, your work will be missed, really hope that someone is able to pick up after you.

//best regards Sindron - Spinebreaker
Give me the line you are using to define your debuff.
Report comment to moderator  
Reply With Quote
Unread 04-16-07, 04:16 AM  
sirspikey
A Deviate Faerie Dragon
 
sirspikey's Avatar

Forum posts: 19
File comments: 20
Uploads: 1
Little prob

NOOOO Don't leave...

Well if you must, you must, but it is sad.

hope though you have time to fix one little problem:
The debuff function doesn't trigger when a mob buffs it self, it only trigger when I dot it.
Now I use Pion that alerts me when the target buff it self and then I purge it (Shaman)
But I would prefer that the dubuff function in XUB worked.

Sorry to see you leave, your work will be missed, really hope that someone is able to pick up after you.

//best regards Sindron - Spinebreaker
Report comment to moderator  
Reply With Quote
Unread 04-16-07, 02:35 AM  
Elenesski
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 194
Uploads: 2
Technical Information for Maintaining XUB

Originally posted by pilif
Elenesski,

I'm terribly sad to see you leave. XUB was what made me play my priest again and now just before the next content patch which is bound to break things, this mod is at the brink of abandonment. *sigh*

I am a developer though, so I may be able to at least fix things as they creep up. I have no idea about LUA or blizards XML format though, so I'm asking you: Where did you get your information from? How did you learn to do this mod - as I understand it, you were at the same point as I am now, which is why I'm asking you.

What I need is a clear documentation of how stuff works.

Thanks

Philip
The UI is designed with "WOW UI Designer". It saves you from having to know a ton about the Blizzard UI XML format. As well, I recommend using the built-in LUA editor. It's not as robust as say, Visual Studio 2005, but it works well. It's key benefit is that it will highlight when you are referencing functions and language keywords. It's a big help.

I use these two LUA links for reference. LUA Tutorials provide a good overview of the function libraries, and Programming in LUA is the main user guide for the language.

As for the WOW API itself. It's broken down into many parts which are all accessible via wowwiki.com. Just a side note; if a wowwiki link appears red, there is no information for it. If blue, there is additional information.
  • Interface Customization - Sort of a roll up page which talks about the Interface Customization.
  • How To Guides - Intro Guides for a lot of capabilities.
  • Main WOW API - Contains the main API library for information based functions. There are hundreds of functions.
  • Widget API - For having access to the various components that make up UI components. For example, there are a number of functions that affect how buttons work, so there is a section that shows buttons.
  • Events API - This is a listing of all the events issued by the game. You can tell the game to only send you information about specific events.
  • Secure Frames Overview - Gives you a list of the type of commands you can send to the new secure frames which have been added in the 2.0 version of the game. When I first wrote XUB I had no idea this page existed, but have since discovered the meanings for all the commands.
  • XML UI Interface - I don't personally use this page except for the odd reference. It gives an overview of the XML schema. WOW UI Designer manages most of this work for me.
  • Macro Guide - Gives a great overview of the /macro commands.

That's a lot of stuff. It took about 3-4 weeks of head scratching and figuring stuff out before I was able to release version 0.9.1a -- but I have 20+ years of systems development experience, so use it as a guide. I certainly didn't find any posts like this one, I had to hunt and peck my way through it all. Fortunately, I found WOW UI Designer early on, so that saved me a ton of work.

There is 3 months of work invested in XUB. I'll try to test the mod on a 2.1 server if I have time.
Report comment to moderator  
Reply With Quote
Unread 04-16-07, 01:33 AM  
pilif
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 14
Uploads: 1
Elenesski,

I'm terribly sad to see you leave. XUB was what made me play my priest again and now just before the next content patch which is bound to break things, this mod is at the brink of abandonment. *sigh*

I am a developer though, so I may be able to at least fix things as they creep up. I have no idea about LUA or blizards XML format though, so I'm asking you: Where did you get your information from? How did you learn to do this mod - as I understand it, you were at the same point as I am now, which is why I'm asking you.

What I need is a clear documentation of how stuff works.

Thanks

Philip
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: