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:
an unlimited number of buttons per unit frame
Buttons which turn on/off depending on the amount of damage a unit has
Buttons which are dimmed if a unit as that buff or a related buff applied.
Buttons which appear when a debuff is applied to a unit.
Buttons which allow you to have any type of "/" slash or macro command on a button
A variety of a modes for different activities in the game. For example, a set of buttons
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.
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.
Works for any kind of non-casting classes; specifically warriors and rogues.
Version 1.8.2 (July 26, 2008) (by Palidindrome )
Changelog:
Code:
CHANGED: TOC for 2.4
NOTE This is a incremental releasefor the toc
CHANGED: TOC for 2.3
CHANGED: Tainting issue fix. Copied Tayedaen's combat update code
ADDED: Copied in Cosmic Cleric's UI code for additional settings
ADDED: User Guide back to release package
NOTE - other 1.9 changes are NOT copied in. This is a incremental releasefor the toc/ bug and UI
ADDED: PerfectRaid support
ADDED: Pitbull Raid Frames Raid frames appear to work - Party frames do not work well.
ADDED: Countdown for cooldowns with remaining time < 10 secs can now be displayed with decimals
To enable decimals use '/XUB showdecimals'
ADDED: BUFFx: BUFF/BUFFBLINK buttons can now blink if a buff is about to expire
By defining a BUFFx, the button will blink if the buff is x seconds away
from expiring. Examples: BUFFBLINK15, BUFF10
ADDED: Global Dim
This dims all buttons in state STATE_ENABLED while player is casting a spell
To enable GlobalDim use '/XUB useglobaldim'
(Macro buttons are not dimmed because of the possibility of /stopcast macros)
If you use 'Color coded' instead of 'Transparency' then the dimmed buttons
are colored with c_globaldim (mint at the moment).
Please note that Global Dim has quite a cost in terms of performace, since
it has to dim all ENABLED buttons if you start a cast, and undim them after.
ADDED: new Tooltip option "Show Cooldown even in Combat"
ADDED: Global cooldowns no longer start a countdown timer by default
To enable a countdown timer for global cooldowns use '/XUB showglobalcooldown'
ADDED: Garbage collection after applying a profile
CHANGED: raid/group changes are handled better (does not work while in combat !!)
CHANGED: debuff handling
Some debuffs have no debuff type. Now for these debuffs the name of
the debuff is added to the debuff list instead of the debuff type.
This allows to check for a specific debuff if necessary.
CHANGED: Display of all buttons after a party/raid change (request by Torwauki)
The duration of the display of the buttons after a raid/party change is
now 0 secs per default, the duration after a manual change is still 3 seconds.
Eventually these times will be adjustable in the future, for now they can only be changed in code.
Search in 'eXtremeUnitButtons.lua' for:
XUB_DelayTime_after_automaticProfileChange = 0;
XUB_DelayTime_after_manualProfileChange = 3;
and change the values to your liking.
CHANGED: Improved pitbull support (thx paladindrome)
CHANGED: "Hide and Disable" --> "Show as Hidden"
CHANGED: "Enable and buffed" --> "Show as Buffed"
CHANGED: "Red Cooldown/Blue Mana" --> "Color Coded"
CHANGED: "Heal Button action" --> "Heal/Buff button action"
CHANGED: Button behaviour regarding buffs
After long development discussion we agreed to implement it this way:
A button in buffed state is shown either as BUFFED or INVALID (hidden).
This is adjustable with the modified Healbutton option in the option window (see 'Heal Button action')
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: 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 (0 <= x <= 1)
CHANGED: behaviour of unusable buttons
They are no longer higlightened if mouseovered, indicating that ou can't use the button at the moment
FIXED: Spells defined as BUFFS can be debuffs on target units (fixed in hotfix1)
FIXED: fix for "XUB_UF_Apply( "PlayerPet" , "PlayerFramePetFrame" )"
FIXED: workaround for API call 'UnitClass' sometimes returning NIL
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).
NOTES:
Code:
NOTE 1: !!!! Limited Pitbull support is enabled but does not work well
- consider it experimental and unsupported!!!!
NOTE 2: The colors for 'Color coded':
STATE_OUTOFRANGE = c_range = red
STATE_COOLDOWN = c_cooldown = purple
STATE_BUFFED = c_buffed = ochre
STATE_OUTOFMANA = c_outofmana = cobalt
Dimmed button = c_globaldim = mint
These colors can be changed in eXtremUnitButtons.lua.
To do this, open the file and search for 'XUB COLOR DEFINITION BLOCK'
NOTE 3:
The correct spelling for the 4 existing debuff types are :
Magic
Poison
Curse
Disease
Please note that the first character is uppercased.
NOTE 4: The historical changes have been removed from the online
display - they are availible in the embedded Changelog_complete.txt file.
Originally posted by tayedaen I use UnitInRange to check if the unit that the macro is targeting is in range.
Could it be that you had a range issue ?
cu
tay
I thought that at first, but i went to dalaran and tested it on other players and npcs with the same results. The only difference that I could find that was affecting whether the focus frame button would show, is whether or not the focus was partied with me or not. I will test it again today with a few other macros to see if it is spell/macro dependant.
Originally posted by Csalago ok.. played with it a little bit. works excellently in party mode. have not had a chance to try with raid frames.
One odd behavior I found though. If i have a party member set as focus, the button appears properly and works correctly on my focus frame. however if I have a non-party friendly unit set as my focus, the button does not appear but I get an open space instead. If I click the spot where the button should be, it still works. So it' just doesn't seem to know how to display correctly.
I use UnitInRange to check if the unit that the macro is targeting is in range.
Could it be that you had a range issue ?
ok.. played with it a little bit. works excellently in party mode. have not had a chance to try with raid frames.
One odd behavior I found though. If i have a party member set as focus, the button appears properly and works correctly on my focus frame. however if I have a non-party friendly unit set as my focus, the button does not appear but I get an open space instead. If I click the spot where the button should be, it still works. So it' just doesn't seem to know how to display correctly.
Originally posted by Csalago 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?
Hm, not sure how to handle this, since I fear ther is a limitation.
But I will take a look a it, and hopefully we'll find something
Originally posted by coldfusion2000 [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>
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?
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)
[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>
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.
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-2009 at 08:11 PM.
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:
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.
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.