Download
(105Kb)
Download
Updated: 12-06-10 04:15 PM
Pictures
File Info
Updated:12-06-10 04:15 PM
Created:unknown
Downloads:24,402
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-01-07, 09:19 AM  
Smiter
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Party buttons

Ever since 1.7 Final, I can not get the party buttons to display.

this is what I have:

normal,player,self

normal,party,member


self,PowerWordShieldRank12,player
self,RenewRank12,player
self,FlashHealRank9,player
self,GreaterHealRank7,player
self,HealRank4,player
self,AbolishDisease,player
self,DispelMagicRank2,player
self,PrayerofMendingRank1,player

member,PowerWordShieldRank12,party
member,RenewRank12,party
member,FlashHealRank9,party
member,GreaterHealRank7,party
member,HealRank4,party
member,AbolishDisease,party
member,DispelMagicRank2,party
member,BindingHealRank1,party
member,PrayerofMendingRank1,party

What changed? It worked in previous versions.
How can I fix it?
Report comment to moderator  
Reply With Quote
Unread 08-01-07, 08:12 AM  
Abraxsis
A Kobold Labourer
 
Abraxsis's Avatar

Forum posts: 0
File comments: 15
Uploads: 0
Quick versioning question...

Is 1.7.1 the followup to 1.8 beta1 or to 1.7?

Also, I like the idea of having a frame offset adjustment for each frame, that would be useful.
Report comment to moderator  
Reply With Quote
Unread 07-31-07, 10:58 PM  
Bronzeburn
A Kobold Labourer
 
Bronzeburn's Avatar

Forum posts: 0
File comments: 24
Uploads: 0
Ok thanks Drome.
Report comment to moderator  
Reply With Quote
Unread 07-31-07, 07:37 PM  
paladindrome
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 140
Uploads: 1
Re: Disappearing shielding buttons

Originally posted by Bronzeburn
Sorry to get back on the subject but does anybody have a fix/cure/hack for the invisible/dimmed BoP/PW:S icons when you target an NPC/hostile target?
I think it is a bug !

IsSpellUsable looks like it acts differently for BoP and PW:S then just about every other spell in game (Other examples would be helpfull). Both of these spells are unique in that they are party only AND they put a buff on the player that prevents the spell from being cast unitll the buff is gone. Slouken has stated it is scheduled for the 2.2 release but when I checked couple of weeks ago it did not apear to act any differently. There is a new patch to the PTR out so I will try again. Sigh!

Tay did write a quick patch that prevents the button from disappearing but it doesnt use the range check or check for the debuff. I expanded the patch to do that but haven't done all the testing it needs. RL interferes.

Drome
Report comment to moderator  
Reply With Quote
Unread 07-31-07, 07:31 PM  
paladindrome
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 140
Uploads: 1
Re: Blizzard Unit Frames

Originally posted by Abraxsis Should read...
XUB_UF_Apply( "PlayerPet" , "PetFrame" );
Version 1.7.1 is up - thanks for the report.

could we have a preprogrammed offset of 96 pixels to allow the buttons to start just beyond the Pet Happieness icon? [/b]
I would prefer to put a frame offset in for the frame (all frames actually). I, Tay or someone else wll need to figure out the UI tool that E used. We have made manual changes to the XML file so going back to the UI tool is not clean.

Drome
Report comment to moderator  
Reply With Quote
Unread 07-31-07, 09:29 AM  
Bronzeburn
A Kobold Labourer
 
Bronzeburn's Avatar

Forum posts: 0
File comments: 24
Uploads: 0
Disappearing shielding buttons

Sorry to get back on the subject but does anybody have a fix/cure/hack for the invisible/dimmed BoP/PW:S icons when you target an NPC/hostile target?

As a priest/paladin i normally target the boss/mob and then the buttons disappear (or rather appear as out of range). Is this really related to the IsUsableSpell bug or is it due to some misguided estaethics from Blizzards side?

Bronze
Last edited by Bronzeburn : 07-31-07 at 09:29 AM.
Report comment to moderator  
Reply With Quote
Unread 07-31-07, 07:26 AM  
Abraxsis
A Kobold Labourer
 
Abraxsis's Avatar

Forum posts: 0
File comments: 15
Uploads: 0
Blizzard Unit Frames

I've been meaning to post this error for some time...

Within the XUBUnitFrames.lua for the Blizzard Unit frames the line...

XUB_UF_Apply( "PlayerPet" , "PlayerFramePetFrame" );

Should read...

XUB_UF_Apply( "PlayerPet" , "PetFrame" );

This change correctly assigns buttons to appear attached to the Player Pet frame.

I have one request relating to the display of buttons for the Player Pet frame. For hunters, due to the Pet Happieness icon next to the Pet Frame, could we have a preprogrammed offset of 96 pixels to allow the buttons to start just beyond the Pet Happieness icon? This would only be needed for Hunter Class characters.
Report comment to moderator  
Reply With Quote
Unread 07-30-07, 07:31 AM  
paladindrome
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 140
Uploads: 1
Re: Re: Re: RE: Druid cat

Originally posted by Jaim Sandar
I can delete my office AddOns and WTF folders and start over clean.
Renaming the addon folder works good - you keep all of the old addons - and WOW will create what it needs. At that point you can copy folders over to reenable addons. Note that some addons have multiple directories.

Drome
Report comment to moderator  
Reply With Quote
Unread 07-29-07, 09:51 AM  
Jaim Sandar
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 357
Uploads: 1
Re: Re: RE: Druid cat

Originally posted by paladindrome
Are you useing an anti spam addon - I havent used them myself but I think there are some that prevent the spam from getting to the chat window.
Drome
No anti spam AddOn. Not any more. After 2.1 I removed the ones that used to be installed.

The big difference between systems is that on the office system, which used to be my home system, WoW (and AddOns) was installed a couple of years ago, whereas the home system was installed very recently. Probably a lot of unused stuff in SavedVariables and such. For the most part the same AddOns are installed on both machines, though on the office system there may be a few others hanging on that aren't obtrusive; I haven't noticed them enough to bother to clean up. I'll see if I can make it so both AddOns folders are identical. If worst comes to worst, I can delete my office AddOns and WTF folders and start over clean.
Report comment to moderator  
Reply With Quote
Unread 07-28-07, 04:13 PM  
paladindrome
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 140
Uploads: 1
Re: Re: Issue with button status indication when mouseovering

Originally posted by borohir
Been playing with PitBull frame name changing.
I have an alpha level add on that tries to fix this - I emailed it to thiye to see if it works for him. I create a bunch of phantom frames that have constant names (IE PBFN_player, PBFN_target etc) and move them when pitbull changes the name. They have been working for me - if you are interested let me know and you can join the testing club.

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

Forum posts: 0
File comments: 140
Uploads: 1
Re: RE: Druid cat

Originally posted by Jaim Sandar
The /xub debug command at home still doesn't respond with anything in chat (no "debugging is now on" message like you described), but after typing it now I see additional information in the button tooltips. No chat spam, however. I'll look at that some more on the office system after I reinstall the AddOn. [/b]
Are you useing an anti spam addon - I havent used them myself but I think there are some that prevent the spam from getting to the chat window.

IT is strange that the buttons work right on you home machine - I wonder if there is a larger problem - or Add on confilct with your work machine. From within the LUA sandbox XUB does not have any ability to change behaviour from one machine to another.

Drome
Report comment to moderator  
Reply With Quote
Unread 07-28-07, 03:21 PM  
borohir
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 54
Uploads: 1
Re: Issue with button status indication when mouseovering

Hi there!

Been playing with PitBull frame name changing..A quick and dirty fix would be:
Code:
function XUB_SetPitBullGroups(groupname)
	
	local i = 1;
	
	if (PitBull and PitBull.IterateUnitFramesForUnit) then		
		for i = 1,4 do
			local unitId = groupname .. i;			
			local frame;
			for frame in PitBull:IterateUnitFramesForUnit(unitId) do				
				local s = frame:GetName();
				s = string.sub(s,0,string.len(s) - 1);
				s = s .. "#";
				if (groupname == "party") then
					XUB_UF_Party = s;
				elseif (groupname == "partypet") then
					XUB_UF_PartyPet = s;
				end;								
				--DEFAULT_CHAT_FRAME:AddMessage(s);
				return;
			end;
		end;
	end;
	
end;
Then call it in XUB_ApplyProfile: XUB_SetPitBullGroups("party") or
XUB_SetPitBullGroups("partypet").. not the greatest, but as I have /xub p on a hotley it works OK.

Cosmic:
The highlight texture must be set also..what I did was create function:
Code:
function UpdateButtonColor(myButton,myColor,alpha)

	if ( XUB_COLORUSAGE == "Transparency" ) then
		myButton:SetAlpha(alpha);
		return;
	end;
	
	local myTexture = myButton:GetNormalTexture();
	local myHighTexture = myButton:GetHighlightTexture();
							
	if ( myTexture ~= nil ) then
		myTexture:SetVertexColor(XUB_COLORS[myColor].r, XUB_COLORS[myColor].g,XUB_COLORS[myColor].b);
	end;
	if ( myHighTexture ~= nil ) then
		myHighTexture:SetVertexColor(XUB_COLORS[myColor].r, XUB_COLORS[myColor].g,XUB_COLORS[myColor].b);
	end;
end
This sets either transparacy or color depending on setting..never both..
Then in XUB_CHANGE_SINGLE_BUTTON, I changed it to this..

Code:
if ( myButton.State == STATE_HEALTHOFF ) then
        if ( XUB_HEALACTION == "Hide and Disable" ) then
            --myButton:SetAlpha( XUB_OUTOFRANGE_ALPHA );
			UpdateButtonColor(myButton,"gray",XUB_OUTOFRANGE_ALPHA);
        else
            --myButton:SetAlpha( XUB_BUFFED_ALPHA );
			UpdateButtonColor(myButton,"gray",XUB_OUTOFRANGE_ALPHA);
        end
    elseif ( myButton.State == STATE_BUFFED ) then
        --myButton:SetAlpha( XUB_BUFFED_ALPHA );
		UpdateButtonColor(myButton,"green",XUB_BUFFED_ALPHA);
    elseif ( myButton.State == STATE_NO_ITEMS ) then
        --myButton:SetAlpha( XUB_NOMANA_ALPHA );
		UpdateButtonColor(myButton,"blue",XUB_NOMANA_ALPHA);
    elseif ( myButton.State == STATE_INVALID ) then
        --myButton:SetAlpha( XUB_OUTOFRANGE_ALPHA );
		UpdateButtonColor(myButton,"red",XUB_OUTOFRANGE_ALPHA);
    elseif ( myButton.State == STATE_OUTOFMANA ) then
        --myButton:SetAlpha( XUB_NOMANA_ALPHA );
        UpdateButtonColor(myButton,"blue",XUB_NOMANA_ALPHA);
    elseif ( myButton.State == STATE_ENABLED ) then		
        --myButton:SetAlpha( XUB_ENABLE_ALPHA );
		UpdateButtonColor(myButton,"white",XUB_ENABLE_ALPHA);
    end
Maybe someone will find that useful...

b
Report comment to moderator  
Reply With Quote
Unread 07-28-07, 02: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: 7
Exclamation Issue with button status indication when mouseovering

Hello. I noticed that when you move the mouse over a button that is showing a color for disabled/cooldown, that the visual indication color goes away and the button shows as if it can be clicked, even though the spell associated with it may still be on cooldown. Is there any way to fix this, as it makes it so you can't hover the mouse over a button waiting for the cooldown to end to press it, since you can't see how much cooldown time (or even if its red to signify a cooldown in progess) is going on. Thanks.
Report comment to moderator  
Reply With Quote
Unread 07-27-07, 11:48 PM  
Jaim Sandar
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 357
Uploads: 1
RE: Druid cat

Originally posted by paladindrome
Are you using any Unit Frames addons? Are you trying to change your profile by chance?

Since teh buttons aren't valid in cat form I would expect them to be transparent - is this so? Do they become visible when you switch? I have a low level druid they has bear form - I will try to do some testing.

Drome
I'm using the standard Blizzard unit frames. Not changing profile.
I just tried XUB on another computer (my home system), and I'm not having the same problem here that I'm having on my office system. And on this (home) system, the buttons are not visible when in cat form, then appear when shifting out of cat, as you say they should. I'll do some more testing on the office system, maybe try deleting the XUB folder and savedvariables and start over.


The /xub debug command at home still doesn't respond with anything in chat (no "debugging is now on" message like you described), but after typing it now I see additional information in the button tooltips. No chat spam, however. I'll look at that some more on the office system after I reinstall the AddOn.
Last edited by Jaim Sandar : 07-27-07 at 11:56 PM.
Report comment to moderator  
Reply With Quote
Unread 07-26-07, 06:54 PM  
paladindrome
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 140
Uploads: 1
Re: Re: Re: Druid cat

Originally posted by Jaim Sandar
As I mentioned in my post, I am using 1.7 with the hotfix:
Oops - sorry - short attention span - lost too many brain cells in the 70's :-)

A new thought: would it matter if I am shifting during combat? From what I can remember, that seems to be when the buttons don't work: when I shift out of cat to Tauren during a fight. [/b]
It could be - in combat XUB can't do many things, although I can't think of any off hand. Are you using any Unit Frames addons? Are you trying to change your profile by chance?

Since teh buttons aren't valid in cat form I would expect them to be transparent - is this so? Do they become visible when you switch? I have a low level druid they has bear form - I will try to do some testing.

Drome
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: