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,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


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-08-07, 04:19 AM  
tayedaen
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 192
Uploads: 42
Re: Bug Report v1.7 final

Originally posted by Cosmic Cleric
For buttons attacked to 'Target', the buttons do not disable like they did with the previous beta.
Ha !
Now I understand why debuffs were added to the buffs
Could you please reenable line 1338 of 'extremeUnitButtons.lua' and tell me if it works then ?
(reenable means: remove the two '--' in front of the line).

Regarding '!Fear/!Poison'
Your own quote below already contained the FIXED version, that was all I wanted to point out
Originally posted by Cosmic Cleric

Originally posted by tayedaen
@cosmicCleric:
You were completely right.
In the original code a 'Use'-Button is only checked for Buffs.
And due to a codeline that I do not completely understand, all debuffs spells on a unit were added to the BUFF list, while only the debuff TYPE was added to the debuff list.
That's the reason why your button disappeared.

So I rewrote some code for the 'use' buttons.
Now you can add an '!' before each condition to invert the buff/debuff behaviour.
For example (pseudo button definition ) : CB_Item,use,Insigina,!Fear/!Poison
.
.
.
.
.
.
tayedaen is offline Report comment to moderator  
Reply With Quote
Unread 07-07-07, 05:37 PM  
Cosmic Cleric
A Deviate Faerie Dragon
 
Cosmic Cleric's Avatar
AddOn Author - Click to view AddOns

Forum posts: 15
File comments: 283
Uploads: 10
Re: Re: New USE DEBUFF ! example in v1.7

Originally posted by tayedaen
@Cosmic Cleric:
Now did you read your own quote in your first post below ? ^^
Because there is already !Fear/!Poison

The changelog is already be corrected here, but I think this is not important enough for an new upload.

And Yes, each condition is checked seperatly, so !Fear/Uber is possible.

best regards
tayedaen
I don't understand by what you meant by me reading my own first quote. I was just speaking of /Fear/Poison vs. Fear/Poison, thats all.

Great on each one being checked seperately!

BTW, just posted a bug report, going to roll back to 1.7b2 for now.

EDIT: b2 not b3
Last edited by Cosmic Cleric : 07-07-07 at 05:38 PM.
Cosmic Cleric is offline Report comment to moderator  
Reply With Quote
Unread 07-07-07, 05:36 PM  
Cosmic Cleric
A Deviate Faerie Dragon
 
Cosmic Cleric's Avatar
AddOn Author - Click to view AddOns

Forum posts: 15
File comments: 283
Uploads: 10
Exclamation Bug Report v1.7 final

For buttons attacked to 'Target', the buttons do not disable like they did with the previous beta.

My setup (example)...

CUSTOM BUTTONS
_Curseo***ony,buff,Curse of Agony,,Curse of Agony
_Corruption,buff,Corruption,,Corruption
_Immolate,buff,Immolate,,Immolate

GROUPS
curse,_Curseo***ony,target
attack,_Corruption,target
attack,_Immolate,target

PROFILE
normal,target,curse,0,40
normal,target,CR
normal,target,attack

When the target already has the 'Curse of Agony' debuff, the button does NOT gray out like it did with the eXtremeUnitButtons_v1_7b2.zip version.

P.S. The web sit is censoring Curse of Agony when typed all together, the letters 'f', 'a', and 'g' get changed to '*'.
Cosmic Cleric is offline Report comment to moderator  
Reply With Quote
Unread 07-07-07, 05:08 PM  
tayedaen
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 192
Uploads: 42
Re: New USE DEBUFF ! example in v1.7

@Cosmic Cleric:
Now did you read your own quote in your first post below ? ^^
Because there is already !Fear/!Poison

The changelog is already be corrected here, but I think this is not important enough for an new upload.

And Yes, each condition is checked seperatly, so !Fear/Uber is possible.

best regards
tayedaen
tayedaen is offline Report comment to moderator  
Reply With Quote
Unread 07-07-07, 03:13 PM  
Cosmic Cleric
A Deviate Faerie Dragon
 
Cosmic Cleric's Avatar
AddOn Author - Click to view AddOns

Forum posts: 15
File comments: 283
Uploads: 10
Exclamation New USE DEBUFF ! example in v1.7

Just a quick remark. The example you give for the new "!" USE DEBUFF functionality...

Code:
CB_Item,use,Insignia,!/Fear/!Poison
Realize you qualified the example with a 'stupid' warning but you may want to change the example, so that it is not confusing (since its the only documentation for the new feature) to ...

Code:
CB_Item,use,Insignia,!Fear/!Poison
The "/" slash character is used to seperate conditions, but in the original example, makes it look like its necessary as a macro command.

Also, can you mix and match BUFF/DEBUFF checks? For example...

Code:
CB_Item,use,Insignia,!Fear/Uber
So checking for a 'Fear' debuff but also checking for an 'Uber' buff?

Thank you again for your hard work, it is appreciated.
Cosmic Cleric is offline Report comment to moderator  
Reply With Quote
Unread 07-07-07, 03:05 PM  
Cosmic Cleric
A Deviate Faerie Dragon
 
Cosmic Cleric's Avatar
AddOn Author - Click to view AddOns

Forum posts: 15
File comments: 283
Uploads: 10
Originally posted by tayedaen
@cosmicCleric:
You were completely right.
In the original code a 'Use'-Button is only checked for Buffs.
And due to a codeline that I do not completely understand, all debuffs spells on a unit were added to the BUFF list, while only the debuff TYPE was added to the debuff list.
That's the reason why your button disappeared.

So I rewrote some code for the 'use' buttons.
Now you can add an '!' before each condition to invert the buff/debuff behaviour.
For example (pseudo button definition ) : CB_Item,use,Insigina,!Fear/!Poison

Is already tested and works here, so it will be in 1.7 final.

I still need to get to get poisoned/feared for a real complete test

best regards
tayedaen
You are a Gentleman and a Scholar! THANK YOU!

And an overall THANK YOU for taking up support for this add-on, it is greatly appreciated, not just by me, but by everyone who uses this add-on. /bow
Cosmic Cleric is offline Report comment to moderator  
Reply With Quote
Unread 07-07-07, 01:23 PM  
Bronzeburn
A Kobold Labourer
 
Bronzeburn's Avatar

Forum posts: 0
File comments: 23
Uploads: 0
Thanks Tay. We all love you for doing this!
Bronzeburn is offline Report comment to moderator  
Reply With Quote
Unread 07-07-07, 06:57 AM  
tayedaen
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 192
Uploads: 42
Hi !

Version 1.7 is now final

This would not have possible if the original code of Elenesski would not have been so well documented.
Thanks Elenesski, not only for a great addon but also for a well documented code .

As usual:
This release has been thoroughly tested by me (tayedaen) and did NOT pop up any nasty bugs.
But thats no guarantee that it will work in any given situation.

Changelog:
-------------
Code:
ADDED: Pitbull support (thx to Palindrome - untested by me since I am not using Pitbull)
ADDED: new Command: /XUB debug
       This toggles debugging On/Off (Default after load = Off)
ADDED: While in debug mode, the tooltips are enhanced to show some important info
       The tooltips are displayed even if the button is invisible
ADDED: possibility to invert a condition for 'use'-buttons
       Normally 'use' buttons are checked against a buff list, showing the button
       only if the unit is not buffed yet.
       If you add a '!' now in front of the condition, the button will be checked
       against DEBUFFS, showing the button only if the unit has the mentioned debuff on it.
       stupid Example: CB_Item,use,Insignia,!Fear/!Poison
ADDED: Conversion routine for saved variables from version < 1.7 (code thx to Palindrome, YAY!)
ADDED: Internal Profiling routines (code thx to Palindrome)
       Profiling is disabled until you enable it in the code (line 349 / 408 of 'extremeUnitButtons.lua')
       If you enable it in the code than you can switch it on/off ingame with /script commands:
          /script XUB_StartProfiling() - start profiling
          /script XUB_DumpProfiling()  - dump current list to chat
          /script XUB_StopProfiling()  - stop profiling
ADDED: Support for X-Perl (thx to pilif - untested by me since I am not using X-Perl)
ADDED: Cooldown visualization (using default blizzard cooldown model (spinner))

FIXED: Buttons can be now properly be assigned to a unit but target another unit
FIXED: Some old typos in the toc file
FIXED: XUB_UF_WIDTH_Float is now saved correctly
FIXED: a _lot_ of small typos/bugs

CHANGED: Removed all occurences of XUG
CHANGED: new code for party/raid changes (code thanks to Elenesski)
CHANGED: Rewriting of a lot of code. Intention was to make this addon faster. (See discussion in the forum)

REMOVED: Removed code for disabling buttons, since it's not going to work with >= 2.1.2 anyway
Known addon bugs:
----------------------
none

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).
I cannot change that, but I implemented a quickfix.
So if you have this bug, then add your spell to the exception list around line 1514 of 'eXtremeUnitButtons.lua ' (or search for QUICKFIX)

There is an even more detailed changelog in the .zip file ,and a README that I recommend you to read, especially if you are upgrading directly from v1.6.

Enjoy the new release !
tayedaen
Last edited by tayedaen : 07-07-07 at 11:24 AM.
tayedaen is offline Report comment to moderator  
Reply With Quote
Unread 07-07-07, 05:01 AM  
tayedaen
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 192
Uploads: 42
@cosmicCleric:
You were completely right.
In the original code a 'Use'-Button is only checked for Buffs.
And due to a codeline that I do not completely understand, all debuffs spells on a unit were added to the BUFF list, while only the debuff TYPE was added to the debuff list.
That's the reason why your button disappeared.

So I rewrote some code for the 'use' buttons.
Now you can add an '!' before each condition to invert the buff/debuff behaviour.
For example (pseudo button definition ) : CB_Item,use,Insigina,!Fear/!Poison

Is already tested and works here, so it will be in 1.7 final.

I still need to get to get poisoned/feared for a real complete test

best regards
tayedaen
Last edited by tayedaen : 07-07-07 at 05:03 AM.
tayedaen is offline Report comment to moderator  
Reply With Quote
Unread 07-07-07, 03:51 AM  
tayedaen
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 192
Uploads: 42
Hi !

It's weekend, and so I had finally the time to continue with the addon.

1.7 is going final soon, only some minor tests to do.

@ Bronzeburn:
You are right - it's not working. The reason it worked here was because I added a code that fixes this specific (Blizzard) bug.
Blizzard promised to fix the bug in 2.1.2 but the fix did not work as intended.
So 'isUsablespell' ist still broken - it returns 'nil' if the target you are targeting is not capable to receive the spell.
My problem is that I cannot post this to Slouken here because I play on an european server.
If someone of you is using an US-account then please post this bugreport there.

@Oximoron:
The destination unit works now as intended

@Munroe:
soory for the short answer. It really was a hard week.
Now the more complete answer to your problem should have been:
All language localizations are in a blizzard file called 'globalstring.lua'.
This file is not visible normally, if you want to look at it have to extract ist from an .mpq file (or you use the links Cosmic Cleric has provided).
But the whole point of my answer was:
There CAN be no bug with rank, because its translated by Blizzard automatically.
I am using a german client (deDE), and in german, 'rank' is tramslated to 'rang'. And the auto-translation works perfectly here.
So I can only imagine that you have somehow an english client that interferes with your frFR locale.

@CosmicCleric:
I will look at the USE code.

best regards
tayedaen
Last edited by tayedaen : 07-07-07 at 11:23 AM.
tayedaen is offline Report comment to moderator  
Reply With Quote
Unread 07-06-07, 07:16 PM  
Cosmic Cleric
A Deviate Faerie Dragon
 
Cosmic Cleric's Avatar
AddOn Author - Click to view AddOns

Forum posts: 15
File comments: 283
Uploads: 10
Originally posted by Munroe
Hi,

Thanks for the answer but where is 'Globalstrings.lua' ? I search in all my WOW directory and i couldn't find it.
Maybe this could explain my problems.

Best regards,
Munroe
Its imbedded inside of the Interface.mpq file. See these links for info on how to get to the file...

http://www.wowwiki.com/Localisation#...balStrings.lua
http://www.wowwiki.com/HOWTO:_View_B...Interface_Code

EDIT: Its also online so check those links (second one I think) and it has a link to the web location of the file.
Last edited by Cosmic Cleric : 07-06-07 at 08:08 PM.
Cosmic Cleric is offline Report comment to moderator  
Reply With Quote
Unread 07-06-07, 07: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: 10
"use" advice

Hello. Wanted to create a button to use my Insignia of the Alliance PvP trinket. So I created something like this...

_PvPTrinket,use,Insignia of the Alliance,

Now I also wanted the button to only be visible when a condition occurs (like Fear, etc.) that it would make sense to push the button. So I changed the above to this...

_PvPTrinket,use,Insignia of the Alliance,Fear/Poison

Unfortunately, it has the opposite effect, that when I'm Feared and/or Poisoned, the button will be invisible, and at any other time will be visible.

I tried checking the PDFs, but there's no docs for the use command, only on this web page, and it doesn't mention fourth argument much.

Does anyone know how to configure my line so that the button is normally invisible EXCEPT when feared?

Thanks for your time.
Cosmic Cleric is offline Report comment to moderator  
Reply With Quote
Unread 07-05-07, 10:48 PM  
Bronzeburn
A Kobold Labourer
 
Bronzeburn's Avatar

Forum posts: 0
File comments: 23
Uploads: 0
I tried making the PW:S and BoP into BUFF buttons with no effect. Perhaps I am doing it wrong? Tayedaen, can you pls share the text string you use to set up the custom button?
Last edited by Bronzeburn : 07-06-07 at 01:47 PM.
Bronzeburn is offline Report comment to moderator  
Reply With Quote
Unread 07-05-07, 03:47 PM  
Munroe
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Originally posted by tayedaen
@Munroe:
RANK is from 'Globalstrings.lua', and this file is always assumed to be correct
Hi,

Thanks for the answer but where is 'Globalstrings.lua' ? I search in all my WOW directory and i couldn't find it.
Maybe this could explain my problems.

Best regards,
Munroe
Munroe is offline Report comment to moderator  
Reply With Quote
Unread 07-04-07, 04:54 AM  
tayedaen
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 192
Uploads: 42
About Selfbuff:

I should never NEVER answer whil confused and in a hurry
This was a mistake of course, it's just a simple custom button type BUFF.

And I have no problems here, so it's hard to test for me
tayedaen is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: