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

Forum posts: 13
File comments: 191
Uploads: 6
new version 1.7b2

Change notes for 1.7 b2:
----------------------
FIXED: Error in 'extremeUnitButtons.lua' line 1633/1635 (global myCooldown = nil)
FIXED: Some old typos in the toc file
ADDED: XUB_UF_WIDTH_Float is now saved correctly
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 354 /339 of 'extremeUnitButtons.lua')
If you enable it in the cod 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

best regards
tayedaen
Report comment to moderator  
Reply With Quote
Unread 06-18-07, 03:43 AM  
tayedaen
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 191
Uploads: 6
@Maretine:

I think all that you want is already included.

I usually specify my buttons with:
normal,party,my_group,-280,-70
This would place the group left over the party members frame.

So you already can place groups wherever you like them to be.
Last edited by tayedaen : 06-18-07 at 12:02 PM.
Report comment to moderator  
Reply With Quote
Unread 06-17-07, 05:20 PM  
Maretine
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Frame attachments

Hi

I realise this is a big ask, but could we please get an option for seperate attachment points for the different frames rather than the current single choice on the options page?

As far as I can see, XUB dynamically builds the collection of buttons for each frame based on the profile settings entered by the user and indvidually specifies offsets for each button relative to the button before it.
If the seperate attachment option would be too inconvenient, would it be possible to get a parent bar for each button collection (player, target, party) rather than having them use UIParent. That would be great because then we could use MoveAnything to handle the positioning of the bar.

Thanks

Edit: Originally I thought that button 2's position was determined by calculating it's offset from button 1. It seems I was wrong.
XUG_player_2 seems to be positioned relative to an offset from the position specified in the options frame for XUG_player_1 rather than as an offset from XUG_player_1's position.

Would it be easiest to change the buttons after #1 so that they are located relative to their button 1 rather than relative to the absolute location on the options page. If button 1 is located by the options page and button 2 relative to button 1, button 3 relative to button 2 etc then people like me could just move the applicable button 1 and the subsequent buttons would then inherit their position from that button and daisy chain themselves into the correct spots that way.

In case I've explained that poorly.. currently :-
XUG_player_1's position is specified on the options page.
XUG_player_2 = options page+Width(XUG_player_1)+offset (on options page)
XUG_player_3 = options page+Width(XUG_player_1)+Width(XUG_player_2)+offset
etc

I'm hoping that changing that to this will be the easiest option...
XUG_player_1's position is specified on the options page.
XUG_player_2 = XUG_player_1s position+Width(XUG_player_1)+offset
XUG_player_3 = XUG_player_2s position+Width(XUG_player_2)+offset
Last edited by Maretine : 06-17-07 at 05:34 PM.
Report comment to moderator  
Reply With Quote
Unread 06-17-07, 02:17 PM  
Timmar
A Kobold Labourer

Forum posts: 0
File comments: 17
Uploads: 0
Is there a way to put macro commands on a health button? I love the health-button functionality, but I want to be able to use /stopcasting to chain heals if I need to.
Report comment to moderator  
Reply With Quote
Unread 06-17-07, 09:06 AM  
Bronzeburn
A Kobold Labourer
 
Bronzeburn's Avatar

Forum posts: 0
File comments: 24
Uploads: 0
Re: Paladin: Blessing of Protection

I changed your code

Code:
if ( myButton.FullSpellName == "Machtwort: Schild()" ) then
into

Code:
if ( ( myButton.FullSpellName == "Blessing of Protection()" ) or ( myButton.FullSpellName == "Powerword: Shield()" ) ) then
                        return;
                    end
and it does indeed work but I still get the error in my previous post.

Bronze
Last edited by Bronzeburn : 06-17-07 at 09:06 AM.
Report comment to moderator  
Reply With Quote
Unread 06-17-07, 07:22 AM  
Bronzeburn
A Kobold Labourer
 
Bronzeburn's Avatar

Forum posts: 0
File comments: 24
Uploads: 0
Re: Re: Paladin: Blessing of Protection

Thanks, mate.

I realized I had to upgrade to 1.7 b1 to get that line of code in there. After doing that and changing the wtf files accordingly i get an error the first time I use Powerword: Shield.

Date: 2007-06-17 16:57:56
ID: 51
Error occured in: Global
Count: 1
Message: ...ace\AddOns\eXtremeUnitButtons\eXtremeUnitButtons.lua line 1635:
bad argument #2 to 'format' (number expected, got nil)
Debug:
[C]: ?
[C]: format()
...ace\AddOns\eXtremeUnitButtons\eXtremeUnitButtons.lua:1635: XUB_UpdateUnitButtons2()
...ace\AddOns\eXtremeUnitButtons\eXtremeUnitButtons.lua:457: XUB_UpdateButtons()
...ace\AddOns\eXtremeUnitButtons\eXtremeUnitButtons.lua:437:
...ace\AddOns\eXtremeUnitButtons\eXtremeUnitButtons.lua:387
AddOns:
Auctioneer, v4.0.2, AutoEmote, Bagnon, v1.3, BagnonForever, v7.3.12, BonusScanner, vv2.4, CTMailMod, v2.0 (CTMod 2.0), CTRaidAssist, v2.001 (CTMod 2.0), DamageMeters, v5.6.1, EnhTooltip, v4.0.2, EquipCompare, v2.10, eXtremeUnitButtons, v1.7a (May 4/07), EzDismount, FishingAce, v0.4.2a, GFWAdSpace, v2.1, GFWFactionFriend, v2.1, GFWGemologist, v2.1, GFWLevelator, v2.1, GFWLinkerator, v2.1, GFWReagentCost, v2.1, Gatherer, v2.99.0.0561, GuildEventManager2, HealPoints, v2.6.2, Informant, v4.0.2, ItemRack, KLHThreatMeter, v19.18, KTMAutoHider, Ace2, MetaMap, v20100-2, MobInfo2, v3.25, CEnemyCastBar, CECBDebuffs, CECBPvPModule
OmniCC, v1.2, ProcWatcher, v2.3, RatingBuster, v1.2.4 (r39424), sct, v5.61, sctd, v2.33
SmartBuff, vv2.1a, SmartDebuff, vv2.1a, Stubby, v1508, Swatter, v4.0.2, TitanSpeed, Titan, v3.0.6.20100, TitanAmmo, v3.0.6.20100, TitanBag, v3.0.6.20100, TitanBuffReagent, v2.0.0, TitanClock, v3.0.6.20100, TitanCoords, v3.0.6.20100, TitanGuild, v3.53, TitanItemBonuses, v3.0.6.20100, TitanLootType, v3.0.6.20100, TitanMoney, v3.0.6.20100, TitanPerformance, v3.0.6.20100, TitanPowders, TitanRegen, v3.0.6.20100, TitanRepair, v3.0.6.20100, TitanRider, v3.0.6.20100, TitanRoll, v0.451, TitanStanceSets, v3.0.5.20003, TitanXP, v3.0.6.20100, WeaponQuickSwap, TitanWWDPS, DBMAPI



Bronze
Last edited by Bronzeburn : 06-17-07 at 09:03 AM.
Report comment to moderator  
Reply With Quote
Unread 06-15-07, 09:05 AM  
tayedaen
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 191
Uploads: 6
Re: Paladin: Blessing of Protection

Originally posted by Bronzeburn
Blessing of Protection stopped working for me with the introduction of the 2.10 patch. It is greyed out (as if out of mana/range) for all players/self until I target a friendly target.

Does anyone know a cure/fix for this very frustrating problem?

Thanks in advance,

Bronze
For a real fix, you'll have to wait for Blizzard patch 2.1.2.
Because the bug you are reporting is a bug in blizzard code and can only be fixed by them.
See
Upcoming 2.1.2 Changes
.
.
Bug Fixes
.
.
* Fixed IsUsableSpell(name) for spells that do not require a target when the player has no target selected.
quoted from here:
http://forums.worldofwarcraft.com/th...912454&sid=1#4

What you COULD do if you are not afraid of changing code:
Open 'extremUnitbuttons.lua'
Search for the line with
Code:
if ( myButton.FullSpellName == "Machtwort: Schild()" ) then
and change it to
Code:
if ( myButton.FullSpellName == "Blessing of Protection()" ) then
This will keep the button alive even if 'IsUsableSpell(name)' reports it as not being usable.

best regards
tayedaen
Report comment to moderator  
Reply With Quote
Unread 06-15-07, 07:34 AM  
Bronzeburn
A Kobold Labourer
 
Bronzeburn's Avatar

Forum posts: 0
File comments: 24
Uploads: 0
Paladin: Blessing of Protection

Blessing of Protection stopped working for me with the introduction of the 2.10 patch. It is greyed out (as if out of mana/range) for all players/self until I target a friendly target.

Does anyone know a cure/fix for this very frustrating problem?

Thanks in advance,

Bronze
Report comment to moderator  
Reply With Quote
Unread 06-14-07, 07:11 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
Originally posted by tayedaen
I just reuploaded v1.7 beta 1.
I just forgot to disable some dbug messages.

@Cosmic Cleric:
ad 1) Paladin spell, Holy Shock
I do not have this spell. However, I tested the situation (one spell in at least two groups) with many other spells, and it's working here.

ad 2) Paladin, Hammer of Wrath
tested, working here

ad 3) Targeting does not work sometimes
Please try v1.7 beta1 with th update rate set to something quite low and post your experiences.

best regards
tayedaen
Sorry for the late reply, been out of town.

For issue #1, I think you need to test the problem with the exact same spell. Its a spell that can both be used on friendly as well as enemy targets simultaneously. Don't think the test you did would show the problem, you need the identical spell be available at the same moment in time for both a friendly as well as an enemy target.

For issues #2 and #3, I think it had to do with how you changed it so that all the buttons are not updated each and every pass. It happened to me so often, that I had to roll back to a previous version of XUB, and I don't load in that many add-ons (Just ag_UnitFrames and XUB) that it can be another add-on's problem. I rolled back to the previous version, and the problem went away. I'll retry the issues with the latest beta you've uploaded recently, and report back if they still happen.
Report comment to moderator  
Reply With Quote
Unread 06-12-07, 03:29 PM  
Timmar
A Kobold Labourer

Forum posts: 0
File comments: 17
Uploads: 0
Re: bugreport by Timmar

Originally posted by tayedaen
Thanks for the report.
No that has nothing to do with OmniCC, I just made a mistake in the code.
It's already fixed localy and it will be in the next version.
Btw. I'm using OmniCC too

best regards
tayedaen
Ok, thanks for the reply.
Report comment to moderator  
Reply With Quote
Unread 06-12-07, 03:05 PM  
paladindrome
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 140
Uploads: 1
Re: xub in use with pitbull

Originally posted by Treenewt
Has anyone used this mod with Pitbull? I am trying to use the custom settings to name the unit frames and I don't know what format Pitbull is written in to identify them to Xub so I can line up the buttons to the frames. I put my frames on the bottom so I can't just leave it on the blizzard frames and move them down to line them up.
buried in the forums:

Originally posted by Elenesski
Supporting different Unit Frame mods

...

Create a new (Blizzard) macro with the following line in it:

Code:
/script XUB_ShowFrameNames();
Now assign this macro to one of your action buttons. Move your mouse over the unit frames that represent your player's unit frame, your party's unit frames, pets, etc. then click the appropriate keyboard short-cut for the action bar (it's important to use the keyboard short-cut with your mouse over the unit frame). The script lists the names of all the unit frames under the mouse in the "General" tab. It should be pretty clear which name you need to use for the unit frames that XUB will attach to. Write down the names.

Next, go into "/xub unitframes" and under "Unit Frame" at the top of the screen, select "-- Custom Settings --". Next enter the name of the frames you want to attach the buttons to. Be very careful about upper/lower case, as it makes a difference to XUB. For Party and PartyPet, use a # symbol to represent the party number 1 to 4. I recommend you work only on setting the player unit frame until you get that working, then work on the rest.

...
drome
Report comment to moderator  
Reply With Quote
Unread 06-12-07, 02:02 PM  
Treenewt
A Kobold Labourer
Premium Member

Forum posts: 0
File comments: 1
Uploads: 0
xub in use with pitbull

Has anyone used this mod with Pitbull? I am trying to use the custom settings to name the unit frames and I don't know what format Pitbull is written in to identify them to Xub so I can line up the buttons to the frames. I put my frames on the bottom so I can't just leave it on the blizzard frames and move them down to line them up.
Report comment to moderator  
Reply With Quote
Unread 06-12-07, 08:43 AM  
tayedaen
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 191
Uploads: 6
Re: bad argument #2 to 'format'

Originally posted by paladindrome
I am getting an error on my Mages Ice barrier
Yes, thats the same error that Timmor reported, and the same fix applies.

Originally posted by paladindrome
Note - I have a conversion routine that converts old variables to new. The way the saved variables work makes it a bit clunky but can forward on - let me know if you would be interested.[/b]
Yes, I'm very interested
Please send me a PM.

best regards
tayedaen
Report comment to moderator  
Reply With Quote
Unread 06-12-07, 08:08 AM  
Elenesski
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 194
Uploads: 2
Re: Re: Party Pets and Multiple Debuff Support

Originally posted by CyKi
HI I was doing everything as is in PDF manual step by step but in Group Specification I Can't write anything.. what I am doing wrong?
Cannot write anything? Can you elaborate? If you mean you cannot write in any text, try clicking the top-left corner of the text box.
Report comment to moderator  
Reply With Quote
Unread 06-12-07, 07:45 AM  
paladindrome
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 140
Uploads: 1
bad argument #2 to 'format'

I am getting an error on my Mages Ice barrier - sorry the report in in Lua code - the servers are down so this is cut from the swatter saved variables file. it is working with MyCooldown - so perhaps the previous fix will also apply here.

Note - I have a conversion routine that converts old variables to new. The way the saved variables work makes it a bit clunky but can forward on - let me know if you would be interested.

drome


{
["message"] = "...ace\\AddOns\\eXtremeUnitButtons\\eXtremeUnitButtons.lua:1633: bad argument #2 to 'format' (number expected, got nil)",
["count"] = 1000,
["addons"] = " agUnitFrames, v05-01-07\n Atlas, v1.9.1\n AtlasBattlegrounds, v1.9.1\n AtlasDungeonLocs, v1.9.1\n AtlasFlightPaths, v1.9.1\n AtlasOutdoorRaids, v1.9.1\n AtlasLoot, v|cffFF8400AtlasLoot Enhanced v3.00.06|r\n Auctioneer, v4.0.2\n AutoProfit, vv4.5 May 26th, 2007\n BeanCounter, v4.0.2\n BonusScanner, vv2.1\n DamageMeters, v5.6.1\n Enchantrix, v3.9.0.1510\n EnhTooltip, v4.0.2\n eXtremeUnitButtons, v1.7a (May 4/07) \n Gatherer, v2.99.0.0561\n Informant, v4.0.2\n MetaMap, v20100-1\n Stubby, v1508\n Swatter, v4.0.2\n Titan, v3.0.5.20003\n TitanAmmo, v3.0.5.20003\n TitanBag, v3.0.5.20003\n TitanClock, v3.0.5.20003\n TitanCoords, v3.0.5.20003\n TitanItemBonuses, v3.0.5.20003\n TitanLootType, v3.0.5.20003\n TitanMoney, v3.0.5.20003\n TitanPerformance, v3.0.5.20003\n TitanRegen, v3.0.5.20003\n TitanRepair, v3.0.5.20003\n TitanRider, v3.0.5.20003\n TitanXP, v3.0.5.20003\n WeaponQuickSwap\n",
["timestamp"] = "2007-06-11 23:27:31",
["context"] = "Global",
["stack"] = "[C]: ?\n[C]: in function `format'\n...ace\\AddOns\\eXtremeUnitButtons\\eXtremeUnitButtons.lua:1635: in function `XUB_UpdateUnitButtons2'\n...ace\\AddOns\\eXtremeUnitButtons\\eXtremeUnitButtons.lua:457: in function `XUB_UpdateButtons'\n...ace\\AddOns\\eXtremeUnitButtons\\eXtremeUnitButtons.lua:437: in function <...ace\\AddOns\\eXtremeUnitButtons\\eXtremeUnitButtons.lua:386>\n",
}, -- [50]
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: