Go to Page... |
Updated: | 12-06-10 04:15 PM |
Created: | unknown |
Downloads: | 24,310 |
Favorites: | 123 |
MD5: |
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:
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.
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 |
![]() |
Comment Options |
tayedaen |
View Public Profile |
Send a private message to tayedaen |
Find More Posts by tayedaen |
Add tayedaen to Your Buddy List |
OxiMoron |
View Public Profile |
Send a private message to OxiMoron |
Find More Posts by OxiMoron |
Add OxiMoron to Your Buddy List |
![]() |
|
|
@Oximoron.
Can you please post your all your specifications from '/XUB config' ? |
![]() |
![]() |
tayedaen |
View Public Profile |
Send a private message to tayedaen |
Find More Posts by tayedaen |
Add tayedaen to Your Buddy List |
tayedaen |
View Public Profile |
Send a private message to tayedaen |
Find More Posts by tayedaen |
Add tayedaen to Your Buddy List |
OxiMoron |
View Public Profile |
Send a private message to OxiMoron |
Find More Posts by OxiMoron |
Add OxiMoron to Your Buddy List |
![]() |
|
|
see some documentation here:
http://www.wowinterface.com/forums/s...ead.php?t=2520 |
![]() |
![]() |
tayedaen |
View Public Profile |
Send a private message to tayedaen |
Find More Posts by tayedaen |
Add tayedaen to Your Buddy List |
tayedaen |
View Public Profile |
Send a private message to tayedaen |
Find More Posts by tayedaen |
Add tayedaen to Your Buddy List |
Elenesski |
View Public Profile |
Send a private message to Elenesski |
Find More Posts by Elenesski |
Add Elenesski to Your Buddy List |
![]() |
|
|
Hi Big E !
I just studied your code because I want to include the standard blizzard cooldown. I already succeed (locally), but it's not tested enough yet. But while looking at your code, I noticed two things: 1) It's SUPER clean and well documented !!! 2) Sometimes you use XUG instead of XUB. While I am really happy with point 1 *big grin*, I wanted you to ask about point 2 ![]() So is there a diffence between XUB and XUG ? best regards tayedaen
Last edited by tayedaen : 05-31-07 at 09:30 AM.
|
![]() |
![]() |
tayedaen |
View Public Profile |
Send a private message to tayedaen |
Find More Posts by tayedaen |
Add tayedaen to Your Buddy List |
![]() |
||
|
Re: Re: Re: Elenesski, any coders docs?
![]() I also gathered up 3 postings I made elsewhere on this board and embedded them into the document. This describes the WOW API and LUA links, adding new mod support, and adding movable frames that XUB can take advantage of. As for v2.0 code, I didn't get much into the code. Most of what I wrote never compiled, and I was contemplating chucking it all and starting again. As well, the more I got into it, the busier I got with work so I really don't know the state of things and decided to not include any code you've requested. Hopefully I've described enough to get you started. If you decide to take over the mod, I'll write an email to the WoWInterface System Administrators so that you can take control of the posting rather than having to point everybody elsewhere. Let me know what you want to do via a private message. Regards, - El |
|
![]() |
![]() |
Elenesski |
View Public Profile |
Send a private message to Elenesski |
Find More Posts by Elenesski |
Add Elenesski to Your Buddy List |
![]() |
||
|
Re: Re: Re: Elenesski, any coders docs?
The original docs, some JPeg's, couple of spreadsheets and a Photoshop PSD file has been uploaded as a patch. I'll try to respond to the rest of your request sometime in the next few days. - El |
|
![]() |
![]() |
Elenesski |
View Public Profile |
Send a private message to Elenesski |
Find More Posts by Elenesski |
Add Elenesski to Your Buddy List |
![]() |
|
A Kobold Labourer
Forum posts: 0
File comments: 2
Uploads: 1
|
TOC update
For those of you who don't like to mess with editing files, I'll be submitting a TOC update patch before the day is out.
|
![]() |
![]() |
sleepingferret |
View Public Profile |
Send a private message to sleepingferret |
Find More Posts by sleepingferret |
Add sleepingferret to Your Buddy List |
![]() |
||
|
Re: Re: Re: Re: Re: Elenesski, any coders docs?
CPU Profiling * CPU profiling is disabled by default since it has some overhead. CPU profiling is controlled by the scriptProfile cvar, which persists across sessions, and takes effect after a UI reload. * When profiling is enabled, you can use the following functions to retrieve CPU usage statistics. Times are in seconds with about-a-microsecond precision: * NEW - time = GetScriptCPUUsage() - Returns the total timeused by the scripting system * NEW - UpdateAddOnCPUUsage() - Scan through the profiling data and update the per-addon statistics * NEW - time = GetAddOnCPUUsage(index or \"name\") - Returns the total time used by the specified AddOn. This returns a cached value calculated by UpdateAddOnCPUUsage(). * NEW - time, count = GetFunctionCPUUsage(function[, includeSubroutines]) - Returns the time used and number of times the specified function was called. If 'includeSubroutines' is true or omitted, the time includes both the time spent in the function and subroutines called by the function. If it is false, then time is only the time actually spent by the code in the function itself. * NEW - time, count = GetFrameCPUUsage(frame[, includeChildren]) - Returns the time used and number of function calls of any of the frame's script handlers. If 'includeChildren' is true or omitted, the time and call count will include the handlers for all of the frame's children as well. * NEW - time, count = GetEventCPUUsage(["event"]) - Returns the time used and number of times the specified event has been triggered. If 'event' is omitted, the time and count will be totals across all events. * NEW - ResetCPUUsage() - Reset all CPU profiling statistics to zero. GetFunctionCPUUsage, GetFrameCPUUsage and GetEventCPUUsage look very promising. Drome PS Have a great long weekend if you get one! |
|
![]() |
![]() |
paladindrome |
View Public Profile |
Send a private message to paladindrome |
Find More Posts by paladindrome |
Add paladindrome to Your Buddy List |
![]() |
|
A Kobold Labourer
Forum posts: 0
File comments: 2
Uploads: 1
|
No changes were made to the API code that affect this mod, as of the patch from 05/22/07 (WoW version 2.1). Although unless you enable the load outdated add-ons option, this mod will not function as the TOC files are not updated (unless you choose to manually do so).
The macro coding changes that affect this mod however, aren't many but should be noted as followed. 1) Just as general note for making custom buttons using /cast - You must now type out the spell name as displayed in game (i.e /cast Flash Heal) That being said, here are a few macros you can use along with this mod to make casting Power Word: Shield on yourself or your raid/party members with ease, post patch 2.1. For yourself: _shieldself,macro,472,/cast [target=player] Power Word: Shield Then just add the _shieldself custom button to your player group in XUB. For party/raid members and party pets: _shieldparty,macro,472,/cast [target=party#] Power Word: Shield _shieldpartypet,macro,472,/cast [target=partypet#] Power Word: Shield _shieldraid,macro,472,/cast [target=raid#] Power Word: Shield Again just add the buttons to the appropriate group in XUB. A friendly reminder however, as XUB only provides single "/" command macro functions you will not be able to see the spell cooldown or if your intended target is in range or not with the above macros. So although they will allow restore the "one click" Power Word: Shield capability that we have all used to save countless lives, use with caution and know where your allies are. 2) Remember also for macros using /cast [target=UnitID] <spellname> the 2.1 patch now allows multiple arguments to [target=UnitID]. Not really useful for those using XUB, but something to keep in mind for any macros you make for any other action bars. The present documentation that is included with XUB will still provide all the necessary information for users to get group or self buttons up. Also XUB's formatting of spell names still works for group and self buttons, just not custom buttons (see notes above). Example XUB Setup for 70 Priest (uses custom macros from above) Example Player Buttons: self,InnerFire,* self,Renew,* self,FlashHeal,* self,_shieldself,* self,AbolishDisease,* self,DispelMagic,* self,PrayerofHealing,* Example Party Buttons: party,Renew,* party,FlashHeal,* party,GreaterHeal,* party,_shieldparty,* party,AbolishDisease,* party,DispelMagic,* party,BindingHeal,* party,PrayerofMending,* Example Party Pet Buttons: partypet,Renew,* partypet,FlashHeal,* partypet,_shieldpartypet,* partypet,AbolishDisease,* partypet,DispelMagic,* Example Raid Buttons: raid,FlashHeal,* raid,_shieldraid,* raid,AbolishDisease,* raid,DispelMagic,* raid,PrayerofMending,* Note: For raid use you may want to use a specific Rank of flash heal to save mana and cut down on overhealing that occurs in raids. For Example: raid,FlashHealRank6,* Now that takes care of the button setup, but they aren't shown yet. Well remember the name of the profile you gave your character when you first ran XUB in game? You used the /xub p <profilename> command to assign one. Well again according to XUB's documentation, all you need to do now is in the profile window: <profilename>,<targetframe>,<XUB group name> So for my examples: <profilename>,player,self <profilename>,party,party <profilename>,partypet,partypet <profilename>,raid,raid And remember make sure XUB knows what unit frames you're using. So if you're using XPerl, then change the XUB options setting for the unit frames to XPerl. Also change the option for the appropriate raid frames as well. Otherwise the buttons won't work or show up. As a final note, I have noticed that when in a raid if members are moved around by the raid leader and groups reorganized, sometimes one or two XUB button sets become non-functional. The only way I've found to restore functionality to all XUB buttons during raids after group reorganization is to use the /console reloadui command.
Last edited by sleepingferret : 05-25-07 at 12:10 PM.
|
![]() |
![]() |
sleepingferret |
View Public Profile |
Send a private message to sleepingferret |
Find More Posts by sleepingferret |
Add sleepingferret to Your Buddy List |
![]() |
||
|
Re: Re: Re: Elenesski, any coders docs?
I am hoping that the new profiler tools can help address the performance issues. I am realinterested if it is the Button Update, buff tracking or something else. I can see modulerizing a couple of the larger functions so the profiling is easier - they mention microsecond accuracy in function calls. Drome |
|
![]() |
![]() |
paladindrome |
View Public Profile |
Send a private message to paladindrome |
Find More Posts by paladindrome |
Add paladindrome to Your Buddy List |
![]() |