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.
SRY for double Post, get this error if i change something in options menu
Quote:
Message: Interface\AddOns\eXtremeUnitButtons\XUBOptions.lua:4: attempt to call method 'GetValue' (a nil value)
Time: 02/06/10 14:53:09
Count: 1
Stack: Interface\AddOns\eXtremeUnitButtons\XUBOptions.lua:4: in function `XUB_RefreshOptionVariables'
[string "*:OnClick"]:2: in function <[string "*:OnClick"]:1>
I poked around the saved variables for XUB, and put NIL for my X & Y adjustments, which fixed by anchor point problems. (If you try to edit the variable file by hand, MAKE A BACKUP, if XUB has any problem with what you enter, it'll wipe ALL of your settings with a fresh generic saved variable file!)
I can now force the anchor spot by changing it in the variable file, but it still won't save from the drop down list in the config.
Ever since they took out the manual x/y positioning adjustments, my buttons have been locked into an odd spot too. No matter where I choose to have the anchor location, it ALWAYS stays the same now.
I use the default Blizzard UI, and now my first button is half way under the party/raid frame .
So, now I have a fairly useless button in that first slot.
I **love** this addon. I'm another one of those who loved group buttons. This is the best replacement I've seen.
I'm having a couple of issues with placement:
1. The "First Button Anchor" setting on the Options screen will not save. I can choose "Right" and "Save Changes". The bar will not move and when I go back to the Options screen it still says "TopRight". I was able to get around this by using Wordpad to manually edit the .lua file in the WTF folder.
2. Unfortunately, manually editing the .lua file doesn't seem to help with the X/Y offset. This a problem because X-perl's level, number-of-players-targeting and class icon cover up the first button on the target frame.
3. The third issue is that it makes sense for buttons to have different anchors depending on which frame they're attached to. To clarify: it makes sense for the party buttons to be to the side of the frames. However, if they're anchored to the side of the player frame, then they overlap the target frame. I'd like to be able to have party buttons anchored to the right side and self / target buttons anchored to the bottom.
Thanks for taking the time to work on this mod. I'm so glad I found it.
Has anyone tried XuB on the PTR for Patch 3.3? I'm hoping that the upcoming interface changes don't interfere with XuB. We seem to have had decent luck in XuB remaining fairly stable through major patches...
Originally posted by Cosmic Cleric I don't use x-perl, so not sure why, or if its supported.
If you post your script here, I'll take a look at it and see if anything obvious xub script-wise is missing/wrong.
hijacking reply here. I'm using plain old blizzard frames so far as I know.... only time I see my buttons is at the top of the screen right after I do 'save' after a verify. My buttons are all target buttons for now. Not sure what to look at next.
edit: nevermind.... apparently, it helps to test the target bar on an actual 'you should be trying to kill this thing' npc and not some green villager. whodathunk?
Originally posted by samhain_whitefox oki, so, i fixed the no text issue, but i still can't get it to put buttons up? why? i use x-perl but that is supported no? i dunno, any help?
I don't use x-perl, so not sure why, or if its supported.
If you post your script here, I'll take a look at it and see if anything obvious xub script-wise is missing/wrong.
umm, hi? sorry to bother, but, i can't seem to get this thingy to work right? i use xperl unit frames, and i think it's supposed to work with that, but dunno. and also, whenever i try to config, or do anything, there is no text on the buttons? like, the close button is what i assume on is, is absolutely blank, i can't do anything with xub at all, and i don't understand. i really want to use this mod, but i dunno what i'm doing wrong? anyone help? thank you.
EDIT:: oops, sorry, i fixed it ^^ just needed to install the beta version and that fixed it ^^ sorry bout that ^^
__________________
a heart alone
a heart of stone.
a shattered love
a battered child.
innocence lost
at rending cost.
Last edited by samhain_whitefox : 10-11-2009 at 05:57 PM.
I know this is still a work in progress, so I tryied to figuree it out on my own first.
But, for me I can't seem to get the health, buff, buffblink, ect. functions to work. from my understanding of the PDF file and these posts, all of the following should hide or blink the corresponding button, correct?