Download
(105Kb)
Download
Updated: 12-06-10 04:15 PM
Pictures
File Info
Updated:12-06-10 04:15 PM
Created:unknown
Downloads:24,291
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 08-12-07, 04:06 PM  
tayedaen
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 191
Uploads: 6
Originally posted by Cosmic Cleric
1) Question on the timer value that appears on the button. It seems the number is off slightly. By that, I mean that if I do an instant cast buff, it shows a two second cooldown value then a one second then the cooldown finishes. I had thought the global cooldown is just one second, is this true? If so, then why does the numeric value showing on the button start at 2 and after the spinner has made a quarter turn to the right does it go down to 1?
The answer is this: I made the design decision that I don't want to display fractions of a number. There should be no comma values.
So I had to round the numbers somehow. Take 0.9sec for example: If I would round that down, then it would become 0, and everybody would think that the cooldown has finished and click the button.
Since this is not god, I decided to round UP.
So 3.5 second is displayed as 4, then after 0.5 seconds it changes to 3. So the timer is not off, but he is displayed as a rounded number. (the global cooldown is 1.5 sec btw., exept for a few rogue abilities).

I am completely open for suggestions to implement something better - I just could not find it.

Originally posted by Cosmic Cleric
2) Cooldown timer value and display when spell is interrupted. If I have a spell associated with a button, and it has, for example, a three second cooldown, and while I'm trying to cast the spell (already have pushed the button), the mob hits me and causes a interrupt delay, so that the cast will actually take four seconds, the cooldown value does not update, and the cooldown animation and timer value finishes early, even though the spell is still casting.
There is no way to find out if you are interrupted. The spells cooldown is 3 sec -> so I am counting down from 3 to zero, starting with the start of the cast, since this is what the blizzard API is telling me.
Even when it would be possible to change this, I would not recommend to code it, because I am sure this kind of close monitoring would lead to lags.
I think you will have to live with this inconvenience.


Originally posted by Cosmic Cleric
3) Minor UI issues. With the new options you have made available, if I go to the 'Options' UI page, even though the new options are set internally (in memory), the UI still shows my old options that I had selected before v1.8beta 2 (I didn't d/l beta 3).
I will look into this. I was thinking that I am setting them correctly, seems I was mistaken .

best regards
tayedaen
Last edited by tayedaen : 08-12-07 at 04:10 PM.
Report comment to moderator  
Reply With Quote
Unread 08-12-07, 01:27 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
First off, want to say that the fix you put in for me, with the buttons maintaining their cooldown disabled look, is working great! I can now tell when a button is on cooldown, even if I have the mouse button over it.

Found some issues with 1.8 ß4 that I wanted to mention (hate to be the bearer of bad news, but figured you'd want to know about these...

1) Question on the timer value that appears on the button. It seems the number is off slightly. By that, I mean that if I do an instant cast buff, it shows a two second cooldown value then a one second then the cooldown finishes. I had thought the global cooldown is just one second, is this true? If so, then why does the numeric value showing on the button start at 2 and after the spinner has made a quarter turn to the right does it go down to 1? Oh btw my update rate is 0.02.

2) Cooldown timer value and display when spell is interrupted. If I have a spell associated with a button, and it has, for example, a three second cooldown, and while I'm trying to cast the spell (already have pushed the button), the mob hits me and causes a interrupt delay, so that the cast will actually take four seconds, the cooldown value does not update, and the cooldown animation and timer value finishes early, even though the spell is still casting.

3) Minor UI issues. With the new options you have made available, if I go to the 'Options' UI page, even though the new options are set internally (in memory), the UI still shows my old options that I had selected before v1.8beta 2 (I didn't d/l beta 3). Not a big deal, I make a change in the UI to the value that the underlying value is set to, and now they are both in synch. Still though, a cosmetic item that should probably be taken cared of.

As always, thank you for your hard work, it is appreciated.
Last edited by Cosmic Cleric : 08-12-07 at 02:17 PM.
Report comment to moderator  
Reply With Quote
Unread 08-10-07, 03:13 AM  
tayedaen
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 191
Uploads: 6
Hi!

I just posted v1.8 beta4.
If you find bugs please post them, and don't forget to consider that this is a beta

Changelog:
Code:
change notes  for 1.8 beta4:
----------------------------
CHANGED: Color system
    New: Red=Range,Ochre=Buffed,Purple=Cooldown,Cobalt=Mana
    There are also some changes to make implementing a color selector easier later
CHANGED: Tooltip code completely rewritten
    (moved code into separate functions to keep code more readable)
CHANGED: "Hide and Disable" --> "Show as Hidden"
CHANGED: "Enable and buffed" --> "Show as Buffed"
CHANGED: "Red Cooldown/Blue Mana" --> "Color Coded"
CHANGED: Button behaviour regarding buffs
    A BUFF button (custom buttom, type BUFF) goes to the state "INVALID" if the
    selected buff is already active on the destintaion unit.
    A simple button (=not a custom buttom) goes to the state "BUFFED" if the
    spell is already active on the destination unit.
ADDED: new Tooltip option "Show Cooldown even in Combat"
    This replaces the command line option '/XUB cooldownalways'.
    Your old setting is automaticaly converted
ADDED: Tooltips containing a running cooldown will now be updated each update cycle
ADDED: OutOfRange buttons have now a separate alpha from Invalid buttons
    The alpha for invalid is set to 0. This can be changed to x with '/script XUB_INVALID_ALPHA=x

change notes  for 1.8 beta3:
----------------------------
CHANGED: behaviour of unusable buttons
     They are no longer highlightened if mouseovered (requested by CosmicCleric)

change notes  for 1.8 beta2:
----------------------------
ADDED: fix for "XUB_UF_Apply( "PlayerPet" , "PlayerFramePetFrame" )", thx to Abraxis
have fun
tayedaen
Report comment to moderator  
Reply With Quote
Unread 08-09-07, 01:02 PM  
paladindrome
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 140
Uploads: 1
Re: Re: Re: Re: v1.8 Beta based requests

Originally posted by Cosmic Cleric
@ Both of you:

The buttons that appear on the standard Blizzard toolbar, at the bottom of the screen, when you mouse over them, while they are on cooldown, do they also lose their cooldown
They do not seem to be as effected. I tried blessing of protection which has a longer cooldown then the global cooldown. When I click on it it goes dim and I see the global cooldown as a spinner for about 1/3 a second. After that it switches to its own cooldown which counts out the spell cooldown - where the elapsed part of the timer shows the spell at normal brightness. If I hover over the spells I see the mouse highlight - but it is not as pronounced as the XUB buttons. perhaps they are playing with the alpha of the highlight in the lua code - I didn't see it in the XML.

If a spell has a fast or medium cooldown I think the spinner works well. For real long cooldowns (hearthstone or longer) the spinners down have the precision to tell you (I will have to play with a 5 minute cooldown to get a feel -but it takes 5 minutes to get to those last couple of seconds).

Those were my observations.

Drome
Report comment to moderator  
Reply With Quote
Unread 08-09-07, 12:04 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: Re: Re: v1.8 Beta based requests

Going to combine two replies into one reply post...

@paladindrome:

Thanks for your work on this. I agree that performance needs to be up there. However, for me at least, visualization is vitally important too. One of the main reason I use XUB is for the visual queues it offers (like buff blink).

As far as the cooldown timer value goes, I "think" (need to confirm this) it has to do with a 'use' type button, vs. a 'buff' (etc.) type buttons. I'll try to confirm this today and post back here.

Oh, FYI, I'm using v1.8 beta1, upload 2.


@tayedaen:

Originally posted by tayedaen
@CosmicCleric;
I have looked and tried for several days now, and I think I've found a solution.

I still need to test it better, but it seems to work.
The basic idea is to change the alpha of the highlight texture to 0, making it completely transparent.
If the highlight texture is completely transparent then you can of course see the color and the text of the underlaying button

Wait for beta 3 for this to become true
Thanks for your work as well. Its really important for me to have disabled/cooldown buttons appear as if they are on cooldown, so I'll cross my fingers that your potential fix does the trick.


@ Both of you:

The buttons that appear on the standard Blizzard toolbar, at the bottom of the screen, when you mouse over them, while they are on cooldown, do they also lose their cooldown color/transparency level, and appear as if they are NOT on cooldown? I'll try to answer my own question too, but just wondering if either of you already know this?

Thank you both for your hard work, it is appreciated.
Last edited by Cosmic Cleric : 08-09-07 at 12:07 PM.
Report comment to moderator  
Reply With Quote
Unread 08-08-07, 01:55 PM  
tayedaen
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 191
Uploads: 6
Re: Re: v1.8 Beta based requests

@CosmicCleric;
I have looked and tried for several days now, and I think I've found a solution.

I still need to test it better, but it seems to work.
The basic idea is to change the alpha of the highlight texture to 0, making it completely transparent.
If the highlight texture is completely transparent then you can of course see the color and the text of the underlaying button

Wait for beta 3 for this to become true
Report comment to moderator  
Reply With Quote
Unread 08-08-07, 10:50 AM  
paladindrome
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 140
Uploads: 1
Re: v1.8 Beta based requests

Originally posted by Cosmic Cleric The countdown value just does not show at all when I mouse over a button that is on cooldown,
I show the cool down timer counting down to 2 seconds - could be I am running 1.8B,

PLUS the button's appearance changes to look like its NOT on cooldown and can be pressed,
As far as I can tell the Blizzard mouse over highlight is causing this. I made half an attempt to drop the highlight altogether but I was not successful. I dont think we will be able to rewrite Blizzard's highlight code so I would rather try to figure out something that makes the buttons workable. One thought would be to duplicate the UI of the Action bar buttons - that mouse over while on cool down seems much more usable. Another choice could be to make some kind of indicator that shows a button is ready (a checkmark?). No matter what we do I am concerned over latency issues (IE how do we make sure the indication comes the instant that the cool down is done).

The cool down timer value shows on some things sometimes and not other times, depending if the button is associated with a 'use' item or a spell type item
I think making all buttons have a good cool down is a good thing. To start we need a list of where it doesn't work, and knock them out as we can.

the real issue I wanted to bring to your attention is the fact that the visual indication of a button on cooldown (either red color or transparant) is lost when you move the mouse
I hear you loud and clear.

Drome
Report comment to moderator  
Reply With Quote
Unread 08-08-07, 03:14 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: Re: Re: v1.8 Beta based requests

Originally posted by paladindrome
I looked into changing the mouse over / highlight funciton a little bit - but have not had any success. Does the countdown go away or does it get hard to see. When I use transparency in the options screen I find it hard to see the countdown but if I use the red/blue color option the countdown text is visible with the mouse over.

Drome
Sorry for the delay in replying.

I use the red coloring scheme for when a button is not available to be pressed, though I have tried it with the transparent color scheme too.

The countdown value just does not show at all when I mouse over a button that is on cooldown, PLUS the button's appearance changes to look like its NOT on cooldown and can be pressed, but then when I move the mouse away from the button it goes back to the cooldown red color.

The cooldown timer value shows on some things sometimes and not other times, depending if the button is associated with a 'use' item or a spell type item ('buff', 'buffblink', etc.), as far as I can tell.

Forgetting the cooldown timer numeric value display issue for a moment, the color/transparancy level of a button changes when you mouse over it, and it looks like a button is ready to be pressed when its not.

To test this, you should be able to create a button associated with a spell that has a cooldown, press the button, move the mouse away to verify its on cooldown and the color is now red/transparant, then mouse the mouse pointer back over the button, and the button will be highlighted and display as if it is ready to be pressed, when if the cooldown still has thirty seconds to go.

EDIT: To elaborate, while the cooldown timer value not always displaying is an important issue, the real issue I wanted to bring to your attention is the fact that the visual indication of a button on cooldown (either red color or transparant) is lost when you move the mouse pointer over a button, so that the button looks like its ready to be pressed, even though its still on cooldown. This is the primary issue I wish to bring to your attention, while the cooldown timer numeric value being displayed in the button issue being the secondary issue for your attention.

In case it helps, here's my 'Custom Buttons' setup for my warlock...

CUSTOM BUTTONS
_PvPTrinket,use,Insignia of the Horde,!Feared/!Poisoned
_Bandage,use,Warsong Gulch Silk Bandage,Recently Bandaged
_SoulStoneUse,use,Minor Soulstone,Soulstone Resurrection
_HealthStone,use,Lesser Healthstone,
_HealPot,use,Healing Potion,
_DemonSkin,buffblink,Demon Skin,,Demon Skin
_Curseo***ony,buff,Curse of Agony,,Curse of Agony
_CurseofTongues,buff,Curse of Tongues,,Curse of Tongues
_CurseofWeakness,buff,Curse of Weakness,,Curse of Weakness
_CurseofRecklessness,buff,Curse of Recklessness,,Curse of Recklessness
_Corruption,buff,Corruption,,Corruption
_Immolate,buff,Immolate,,Immolate
_HealthFunnel,healthblink,Health Funnel,,150
_Seduction,macro,55,/cast Seduction
_FireShield,macro,339,/cast Fire Shield
Last edited by Cosmic Cleric : 08-08-07 at 03:17 AM.
Report comment to moderator  
Reply With Quote
Unread 08-07-07, 05:30 PM  
Nadras
A Murloc Raider
 
Nadras's Avatar

Forum posts: 5
File comments: 16
Uploads: 0
Re: Re: Re: Re: Is there a how to or tutorial

Originally posted by paladindrome
I will try and update the quickstart pdf this week.

Drome
Sorry about the mix-up was using the docs from the downloads page not the quick start guide inside the zip gonna give them a shot.

Thanks
-Nadras
of Uther
Report comment to moderator  
Reply With Quote
Unread 08-06-07, 02:16 PM  
paladindrome
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 140
Uploads: 1
Re: need help!

Originally posted by Wolverine
it only seems to happen after I join a raid party. All other times it's working great.
I assume you are using XPERL frames for raid. The line that was shown is in the xperl raid support code - and it comes right after we ask XPERL for the frame associated with a raid member.

Does this occur everytime you join a raid - or only sometimes? Does it occur when a new player is added to the raid? Are you in combat when it occurs?

I can see adding a check to make sure that XPERL returned a frame - although if this call fails I don't know the long term ramifications.

Drome
Report comment to moderator  
Reply With Quote
Unread 08-06-07, 10:33 AM  
Wolverine
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
need help!

Hey guys please see if you can assist here. I have only just starting using XUB and it's absolutely superb, the creation interface is fine and very dynamic.

I just have one problem, i have tried to research it, but seems no luck.

http://s20.photobucket.com/albums/b2...urrent=XUB.jpg

here's a screenshot of the problem, and it only seems to happen after I join a raid party. All other times it's working great. I'm using the latest version from this site, and i'm pretty much stuck.. I admit to being a noob, but if you dont ask you'll never know

Thanks in advance for any assistance at all.

Cheers
Report comment to moderator  
Reply With Quote
Unread 08-06-07, 08:30 AM  
paladindrome
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 140
Uploads: 1
Re: Re: Re: Is there a how to or tutorial

Originally posted by Nadras
Yea I tried using the PDF( to make a macro to open /XUB) But to me is wasn't clear on what to do first .
I will try and update the quickstart pdf this week.

Drome
Report comment to moderator  
Reply With Quote
Unread 08-06-07, 08:28 AM  
paladindrome
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 140
Uploads: 1
Re: Re: Re: v1.8 Beta based requests

Originally posted by Cosmic Cleric
if I have a button that is on cooldown, so that it is red, and maybe even showing a cooldown timer numeric value, if I mouse over the button, but not press the button, so that the mouse is just hovering over the button, the cooldown color and the numeric value of the cooldown time left disappears, and shows the button as if it is ready to be clicked, even though it is not.
I looked into changing the mouse over / highlight funciton a little bit - but have not had any success. Does the countdown go away or does it get hard to see. When I use transparency in the options screen I find it hard to see the countdown but if I use the red/blue color option the countdown text is visible with the mouse over.

Drome
Report comment to moderator  
Reply With Quote
Unread 08-05-07, 11:43 AM  
Nadras
A Murloc Raider
 
Nadras's Avatar

Forum posts: 5
File comments: 16
Uploads: 0
Re: Re: Is there a how to or tutorial

Originally posted by Cosmic Cleric
The PDFs that come with the add-on have some examples, though the pdf is kind of out of date. If you want, I can post my pally setup for you? What level/class is your character?
I'm a Level 70 War. Yea I tried using the PDF( to make a macro to open /XUB) But to me is wasn't clear on what to do first .

So any help would be appreciated.
Thanks
-Nadras
Report comment to moderator  
Reply With Quote
Unread 08-05-07, 02:53 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
Question Re: Is there a how to or tutorial

Originally posted by Nadras
Looking at this it looks pretty cool but I'm trying to figure out where to start. So even an example of how to start to use this would be great

Thanks

-Nadras
of Uther
The PDFs that come with the add-on have some examples, though the pdf is kind of out of date. If you want, I can post my pally setup for you? What level/class is your character?
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: