Download
(105Kb)
Download
Updated: 12-06-10 04:15 PM
Pictures
File Info
Updated:12-06-10 04:15 PM
Created:unknown
Downloads:24,238
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 07-07-09, 07:40 AM  
Csalago
A Kobold Labourer
 
Csalago's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 85
Uploads: 4
Is there a way to make a macro button cast on the attached frame unit?

so for example as a druid, if I make a macro that casts Natures Swiftness and then Healing Touch, i want it to cast the healing touch on whoever i have attached the button to. yet no matter what I do, the macro will only cast on either myself if no friendly target is selected, or my friendly target.

I even tested this simply with a macro to cast a heal spell. /cast Healing Touch

It will not cast on the party member who's frame the button is attached to. Is this a limitation of the macro buttons?
Report comment to moderator  
Reply With Quote
Unread 07-03-09, 05:11 PM  
Grumwha
A Kobold Labourer

Forum posts: 0
File comments: 16
Uploads: 0
Re: Full error

This latest version is also giving me fits in button location.

I had a custom position before, and since the custom tweaking is not there any longer, I think this variable that is saved is somehow messing up the new relocate function.

I am now stuck with my buttons being too far up, as I've changed my UI back to the blizzard default one untill I can get one that works well with XUB again.

I believe that I'm getting the same error when I use the drop down to select TOPRIGHT, to change to RIGHT.

Error is:

Interface\FrameXML\UIDropDownMenu.lua:503:
attempt to index local 'frame' (a nil value)
Last edited by Grumwha : 07-03-09 at 05:16 PM.
Report comment to moderator  
Reply With Quote
Unread 07-02-09, 05:44 PM  
coldfusion2000
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Full error

[2009/07/02 19:38:40-3-x2]: Interface\FrameXML\UIDropDownMenu.lua:503: attempt to index local 'frame' (a nil value):
<string>:"*:OnLoad":18: in function `func'
Interface\FrameXML\UIDropDownMenu.lua:563: in function `UIDropDownMenuButton_OnClick':
<string>:"*:OnClick":1: in function <[string "*:OnClick"]:1>
Report comment to moderator  
Reply With Quote
Unread 06-28-09, 11:49 AM  
tayedaen
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 191
Uploads: 6
Re: Error with position

Originally posted by coldfusion2000
The mod works fine but I am trying to move the icons to the topleft of the frame and I get this error and they do not move. It gives this error no matter where I try to move it.

UIDropDownMenu.lua:503: Attempt to index local 'frame' (a Nil Value)

Anyone have any idea how to fix this?

I am running the newest version. I am using Xperl but I get it with or without and frame mods.
Can you please post the last lines leading to the error?
Buggrabber, Swatter or what ever will help you getting an output like this:
Code:
...erface\\AddOns\\PitBull4\\Modules\\PowerBar\\PowerBar.lua:102: in function `GetValue'
...terface\\AddOns\\PitBull4\\ModuleHandling\\BarModule.lua:38: in function <...terface\\AddOns\\PitBull4\\ModuleHandling\\BarModule.lua:32>
...terface\\AddOns\\PitBull4\\ModuleHandling\\BarModule.lua:209: in function `UpdateFrame'
Interface\\AddOns\\PitBull4\\ModuleHandling\\Module.lua:271: in function `Update'
Interface\\AddOns\\PitBull4\\UnitFrame.lua:527: in function `Update'
Interface\\AddOns\\PitBull4\\UnitFrame.lua:553: in function `UpdateGUID'
Interface\\AddOns\\PitBull4\\Main.lua:1124: in function `CheckGUIDForUnitID'
I need more then the single line you posted, because there are a lot of ways leading to UIDropDownMenu.lua.

cu
tay

EDIT: typos
Last edited by tayedaen : 06-29-09 at 10:56 AM.
Report comment to moderator  
Reply With Quote
Unread 06-27-09, 06:09 PM  
coldfusion2000
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Error with position

The mod works fine but I am trying to move the icons to the topleft of the frame and I get this error and they do not move. It gives this error no matter where I try to move it.

UIDropDownMenu.lua:503: Attempt to index local 'frame' (a Nil Value)

Anyone have any idea how to fix this?

I am running the newest version. I am using Xperl but I get it with or without and frame mods.
Last edited by coldfusion2000 : 06-27-09 at 06:11 PM.
Report comment to moderator  
Reply With Quote
Unread 06-25-09, 11:08 PM  
Grumwha
A Kobold Labourer

Forum posts: 0
File comments: 16
Uploads: 0
Re: Re: Re: Unexpected Behavior

Originally posted by Chiagoat
Note: I don't follow this closely and I'm certainly no expert, but I use this addon for this exact purpose and created the following custom button:

_Shield,buff,Power Word: Shield,,Weakened Soul/Power Word: Shield

This button works for what I want it to do. It puts the shield spell on whoever the button is attached to, and then fades, only to reappear when both the shield is gone and weakened soul dissipates.

This seems like too easy of a response so I assume there's something I've overlooking with this.
Sweet! This works. THanks!
Report comment to moderator  
Reply With Quote
Unread 06-20-09, 06:55 PM  
Chiagoat
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Re: Re: Unexpected Behavior

Originally posted by paladindrome
Power Word Shield has alwys had a problem )its teh same for the Pally spells that out a debuff on aswell).

I will see if there is anything that can be done - but no promises - we spent a lot of time on it a while ago.

Drome
Note: I don't follow this closely and I'm certainly no expert, but I use this addon for this exact purpose and created the following custom button:

_Shield,buff,Power Word: Shield,,Weakened Soul/Power Word: Shield

This button works for what I want it to do. It puts the shield spell on whoever the button is attached to, and then fades, only to reappear when both the shield is gone and weakened soul dissipates.

This seems like too easy of a response so I assume there's something I've overlooking with this.
Report comment to moderator  
Reply With Quote
Unread 06-11-09, 09:23 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
Re: new baby

Originally posted by tayedaen
Hi,

I just wanted to tell you that I did not work a lot on XUB last week.
Reason: We have a new baby, he's five days old now !

a very happy daddy
tay
C O N G R A T S ! ! !

Your life will never be the same again!
Last edited by Cosmic Cleric : 06-11-09 at 09:23 PM.
Report comment to moderator  
Reply With Quote
Unread 06-08-09, 10:42 AM  
tayedaen
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 191
Uploads: 6
In reply to something CosmicCleric has posted in one of the subthreads:
Originally posted by Cosmic Cleric
So now, for example, if my Mage gets hit with a 'Frost' school based DoT attack, BOTH the "_FireWard" and "_FrostWard" XUB buttons will start blinking, because they are both looking for 'Magic' based debuffs. I only want ONE of the buttons to blink, the one associated with the 'Frost' based damage absorption spell, "_FrostWard".

...

http://www.wowwiki.com/API_COMBAT_LOG_EVENT

The 11th argument to SPELL_AURA_APPLIED and SPELL_AURA_REMOVED is spellSchool
Parsing of the combatlog can be done.
But the combatlog is sometimes unreliable, mostly because of range issues.
That means we need to check UnitAura anyway to get the buff/debuff for a certain unit.

Additionally, parsing the combatloag takes more computing then calling UnitAura.
So I would not want to parse the log in a raid situation.

BUT:
I think it's a good idea, that could be implemented for the player himself.
There is no range problem concerning the player himself anyway

But my primary goal is to get a stable release first, then we can talk about enhancements
So please keep testing an posting , all of you

cu
tay
Last edited by tayedaen : 06-08-09 at 10:43 AM.
Report comment to moderator  
Reply With Quote
Unread 06-08-09, 10:27 AM  
tayedaen
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 191
Uploads: 6
beta 13 is posted.


Changelog for 1.9 beta 13
- changed: Handling of 'Verify' for CustomButtons
- changed: spam when groupmembers had no pets
- fixed: new coordinates for groups now work without CR
- fixed: multiline-macros should work now ("\n")
- fixed: PitBull4 Raid handling

cu
tay
Report comment to moderator  
Reply With Quote
Unread 06-06-09, 02:29 AM  
VolRath217
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
Re: Multi-line macros

Originally posted by abinning
I am pretty sure i've seen it before, but after digging through 20+ pages i can't find it.
So can anyone help a noob out and tell me how to do multi-line macros in xub?
Something like this...
Code:
REZ_macro,macro,111,/raid Rezzin %t \n /cast Ancestral Spirit
Thanks!
Create a Normal Blizzard Macro of
Code:
/raid Rezzin %t
/cast Ancestral Spirit
Now drag that button to one of your action bars. Hover over that button and run the script:
Code:
/run local f,m=GetMouseFocus(); if f==WorldFrame or f==UIParent or not f:GetName() then m='Unnamed or unknown frame' else m=f:GetName() end; ChatFrame1:AddMessage(m)
to get the button ID

Now create a XUB macro such as

Code:
REZ_macro,macro,111,/click buttonidhere
Basically you're clicking a button that clicks another button. As long as you leave that Blizzard macro in the same spot, there shouldn't be a problem.
Report comment to moderator  
Reply With Quote
Unread 06-04-09, 10:50 AM  
Deca
A Kobold Labourer

Forum posts: 0
File comments: 27
Uploads: 0
Re: new baby

Gratz!! very, very cool
Report comment to moderator  
Reply With Quote
Unread 05-24-09, 09:55 AM  
chewm1
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Congrats on the new baby!!

My baby girl will be 4 weeks old tonight at 11:20.

I will tell you that the time just FLYS by. Its been 4 weeks but feels like just a few days.

Matt
Report comment to moderator  
Reply With Quote
Unread 05-24-09, 05:41 AM  
tayedaen
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 191
Uploads: 6
new baby

Hi,

I just wanted to tell you that I did not work a lot on XUB last week.
Reason: We have a new baby, he's five days old now !

a very happy daddy
tay
Report comment to moderator  
Reply With Quote
Unread 05-24-09, 05:38 AM  
tayedaen
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 191
Uploads: 6
Re: Duel talent spec causing problems

Originally posted by chewm1
... I get errors when I use the duel spec options and switch to Ret and lose the Holy Shock spell.
... It doesnt seem to complain when I define a group that uses Holy Shock, only when it is defined as a custom button.
I will have a look at that.

Originally posted by chewm1
Also,
Is there a way to comment out lines in the interface (buttons, groups, or profiles)? I sometimes try new things but dont want them to be used at all times.
I personally do not comment them out, I simply rename them.
Example: Group is called: Heal --> tHeal (I choosed 't' for 'test')
Example 2: Profile is called normal: --> tnormal

cu
tay
Last edited by tayedaen : 05-24-09 at 05:21 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: