Download
(17Kb)
Download
Updated: 01-30-07 04:12 AM
Pictures
File Info
Updated:01-30-07 04:12 AM
Created:unknown
Downloads:8,868
Favorites:29
MD5:

Unit Frame Action Bars  Popular! (More than 5000 hits)

Version: 0.9
by: Jasmeralia [More]

This is a fork of PartyBars by mubari. Both Unit Frame Action Bars and PartyBars are designed as replacements for Discord's popular Group Buttons mod, as GB is not compatible with 2.0 (and Loz is busy working on other things at the moment).

Note:

If you want me to help you with a problem, please help me by telling me what unit frame mod(s) you are using. If you don't, then the amount of help I can give you is virtually nil.

Done:
* Allow support for attaching to unit frames rather than requiring the user to drag each bar over to the frame by hand (not very viable for 40 mans, imho). (Added in v.0.4)
* Allow support for alternative unit frames (such as Perl, aguf, etc) (Added in v.0.4)
* Optimized the XML file considerably using template inheritance
* Added support for XPerl (Added in v.0.5)
* Added initial config window (Added in v.0.6)
* Added a separate hostile target bar (as long as you are not in-combat when changing targets, it will hide the friendly target bar and show the hostile bar). (Added in v.0.6.)
* Fixed the Inner Fire Fade hack (finally-- even tested with my newly leveled priest). No longer requires the spell to be placed on the last button, place it anywhere on the player action bar and it will be faded/unfaded appropriately. (v.0.7)
* Fixed rescaling issues so scale is displayed appropriately. (v.0.7)
* Fixed it so that frames are movable again and added a config option to lock the frames. Note that if you move it and lock the frames it may get moved back by the attachment code-- this is something I need to tweak further. ** No longer accurate. ** (v.0.7)
* Added support for German users of the Inner Fire fading hack. (v.0.8)
* Added /ufab showraid command.(v.0.8)
* Added support (untested) for empty bars to optimize button usage. (v.0.8)
* Added config option to hide party bars in raids. (v.0.8)
* Added code to detect x/y offsets when a frame is dragged and save them. (v.0.9)
* Fixed bug where UFAB would try to autodetect raid frames with main style rather than raid style. (v.0.9)
* Fixed CTUF raid detection and CTUF/XPerl frame name code. (v.0.9)
* Added code to ignore unsupported frame combinations (ToTT and Blizzard UI, etc.) so they will not generate errors/warnings. (v.0.9)
* Added /ufab resetall command. (v.0.9)
* Added /ufab raidreset command. (v.0.9)

Todo:

* Improve support and detection for other unit frames (works best with Perl Classic frames)
* Improve config interface
* Allow support for vertical action bars (so you could have 2-3 bars by each raid frame to keep screen real-estate to a minimum)
* Fix target/empty target frames
* Add config support for controlling number of buttons assigned to bars
* Get rid of the 120 standard button limit
* Add config support for attachment point offsets

Please help me support other unit frames by noting when you get errors about frames being unknown and what frame add-ons you are using. If you can find out the name of the unknown frame, even better.

At this point, unknown frames should default to the standard draggable bar. All known frames should auto-attach themselves correctly. If you get a message about the attachment failing, please note which frame and what add-ons you are using... it's possible either the detection was incorrect, or I got the name of the frame wrong.

AGUF users: I believe that agUF should be properly supported at this time, thanks to DUF's FrameFinder. There does seem to be a timing issue sometimes where UFAB will try to attach to the agUF frame before agUF finishes creating the frame. A simple "/ufab partyreset" should fix this.

XPerl users: I believe that I have the raid frames correct, but please test it out and let me know how it works. (I often code from work and can only do minimal testing.)

Hostile/Friendly target bars: Please let me know how this works out for you all. I can potentially see an issue where you are in-combat and changing from a friendly target to a hostile target and it cannot swap the bar due to the UI Protection Blizzard has implemented. If this is an active issue I am open to suggestions as to how to design a viable workaround (perhaps show both bars and change alpha-colors to make buttons invisible? They would still be clickable but it would be almost like hiding the bar...)

Blank target bar buttons: I'm aware of this issue and am working to resolve it.

Optional Files (0)


Post A Reply Comment Options
Unread 01-05-07, 07:08 AM  
Jasmeralia
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 45
Uploads: 1
Re: Re: 0.7 Uploaded

Originally posted by akki
bars are unlocked but I cannot move them, what's wrong?
Are you dragging them using the nub to the left of the frame?
Report comment to moderator  
Reply With Quote
Unread 01-05-07, 04:48 AM  
akki
A Kobold Labourer

Forum posts: 1
File comments: 2
Uploads: 0
Re: 0.7 Uploaded

bars are unlocked but I cannot move them, what's wrong?
Report comment to moderator  
Reply With Quote
Unread 01-05-07, 02:12 AM  
Jasmeralia
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 45
Uploads: 1
0.7 Uploaded

Ok, tossed up 0.7, which has a lot of fixes. The main thing I need to get working now is the target bar issues and further options in the config window.
Report comment to moderator  
Reply With Quote
Unread 01-05-07, 12:07 AM  
Jasmeralia
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 45
Uploads: 1
Re: Re: Re: Hows the programming going?

Originally posted by Deca
What server are you on Jas? If your on Hellscream I'll help you level your priest!
I'm on Perenolde. Priest hit 12 so I'm testing the Inner Fire Fade hack now. Right now it's not throwing up any errors but its not fading the button, either.
Report comment to moderator  
Reply With Quote
Unread 01-04-07, 11:30 PM  
Deca
A Kobold Labourer

Forum posts: 0
File comments: 27
Uploads: 0
Re: Re: Hows the programming going?

Originally posted by Jasmeralia
Thanks. I'll probably be tossing 0.7 up later tonight, with a few enhancements. Need to level my priest to 12 so I can confirm the Inner Fire Fading hack is working correctly.
What server are you on Jas? If your on Hellscream I'll help you level your priest!
Report comment to moderator  
Reply With Quote
Unread 01-03-07, 10:07 PM  
Jasmeralia
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 45
Uploads: 1
Re: Error Message

Originally posted by Deca
I also get an error message when I try and change the button size, if I drag the slider to minimise the buttons I get an error that the button size cannot be <0.
Yeah, I noticed that and already fixed it in 0.7. A scale of 0 is invisible. Less than that is invalid.
Report comment to moderator  
Reply With Quote
Unread 01-03-07, 09:35 PM  
Jasmeralia
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 45
Uploads: 1
Originally posted by cs61ar
Hey Jas,

Happy new year and thanks for your continued good work.

In addition to the error detailed in the posr below upon starting the game I always get the following error when ppl join a raid group

"UFAB_AttachFrame frame2 unknown, displayname UFABPartyPet2BarFrame"

I am using CT_Unitframe as part of CTRA ....

Should the mod detect CTRA frames or is it a pending addition ?

Thanks mate

Andy
Does CT_UnitFrame support party pets? I know a lot of add-ons currently don't at the moment due to Blizzard not providing a secure template for their frames like they did with party frames... which is supposed to be fixed soon in a Blizzard patch.

Some of these "unknown" errors are just indicators that the frame type that I'm trying to support is not supported by the unit frame mod you're using. For instance, Blizzards default UI does not support ToTT (Target of Target's Target), which will generate an unknown error.
Report comment to moderator  
Reply With Quote
Unread 01-03-07, 09:32 PM  
Jasmeralia
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 45
Uploads: 1
Re: Hows the programming going?

Originally posted by Deca
Hey Jas, I like what you've done and am looking forward to any updates. If you need testers let me know.
Thanks. I'll probably be tossing 0.7 up later tonight, with a few enhancements. Need to level my priest to 12 so I can confirm the Inner Fire Fading hack is working correctly.
Report comment to moderator  
Reply With Quote
Unread 01-03-07, 06:25 PM  
Deca
A Kobold Labourer

Forum posts: 0
File comments: 27
Uploads: 0
Hows the programming going?

Hey Jas, I like what you've done and am looking forward to any updates. If you need testers let me know.
Report comment to moderator  
Reply With Quote
Unread 01-03-07, 11:56 AM  
cs61ar
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Hey Jas,

Happy new year and thanks for your continued good work.

In addition to the error detailed in the posr below upon starting the game I always get the following error when ppl join a raid group

"UFAB_AttachFrame frame2 unknown, displayname UFABPartyPet2BarFrame"

I am using CT_Unitframe as part of CTRA ....

Should the mod detect CTRA frames or is it a pending addition ?

Thanks mate

Andy
Report comment to moderator  
Reply With Quote
Unread 01-01-07, 10:00 PM  
Deca
A Kobold Labourer

Forum posts: 0
File comments: 27
Uploads: 0
Error Message

First of all, thank you for working on this mod - I really want to use it for raiding, however, whenever I load it for several of my toons I get the following error message.
...\UFActionbarsHacks.lua:19 attempt to index local 'frame' (a nil value)

this pops when I am solo - no party

I also get an error message when I try and change the button size, if I drag the slider to minimise the buttons I get an error that the button size cannot be <0.
Last edited by Deca : 01-03-07 at 12:59 PM.
Report comment to moderator  
Reply With Quote
Unread 01-01-07, 12:11 PM  
Urlryn
A Murloc Raider

Forum posts: 5
File comments: 14
Uploads: 0
Regarding the fading out of buttons.....GB did this also but with 2.0 not sure you can do that while in combat and such.

The only thing you maybe able to do is do a transparency thing....have it drop to 0 maybe? The button will still be there and such just invis till its needed. Not sure how much restrictions are made with the UI changes tho.
Report comment to moderator  
Reply With Quote
Unread 01-01-07, 04:12 AM  
Jasmeralia
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 45
Uploads: 1
Originally posted by acid
Feedback on 0.6

I'm using the default blizzard frames with archaeologist.
The anchors for the bars show up fine but i can't seem to drag them or move them in anyway.
This will be fixed in 0.7. Someone else mentioned it as well, looks like it's due to the XML inheritance.

Originally posted by acid
The target bar has a few issues. When its set up on a friendly player, i can't see the icons just a grey border. clicking on them while out of combat works correctly though they are near invisible. going into combat with a friendly player selected also works, icons still not showing up. If i go into combat with a hostile target selected, the icons do show up full and visible, although clicking them will cast the wrong spell. since i have lesser healing wave up there, obviously i can't cast it and so it'll cast water breathing or some button that i have on my normal hotbar. during this time ufab says that my target bar is disabled.
I definitely need to work on this. Not sure why it's doing that, that's very odd. I see the same problem here as well.

Originally posted by acid
feature request, as a shaman lets say i have cure poison setup on my bars, i'd like it to be faded out until a target is poisoned, if you can do this. it can be there just invisible and show when i need to cure.
I'm not sure this can be done, but I'll investigate it further later. I'd consider this to be in the realm of hacks like the Inner Fire fading button.
Report comment to moderator  
Reply With Quote
Unread 01-01-07, 02:38 AM  
Jasmeralia
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 45
Uploads: 1
Re: Testing with XPerl

Originally posted by Urlryn
Well I'm trying out XPerl now...

1. Need a slider or something to move the buttons x / y positions. Action bars overlaps some of the frames...not by much tho
That will definitely be added in the config window as I develop it further.

Originally posted by Urlryn
2. Ability to change the number of columns/rows for action bars would be nice too!
It's on my longer-term list.

Originally posted by Urlryn
3. This is gonna be hard to use due to the way it is only sharing existing bars
Here is my setup:
bar1 = main bar
bar2 = Pages 8,9,10 for my warrior stances specific abilities/spells
bar3 = Shouts and stuff
bar4 = potions/food
bar5 = Trinkets and usable items for quests

so this only leaves me with 6 and 7 to use for these bars....and even then its gonna be tough since you can't designate which bars to use
Agreed. I want to get it where it isn't sharing the existing button set. As I understand it, Group Buttons did this before. It's something I'm actively looking into as I understand the issues sharing raises.
Report comment to moderator  
Reply With Quote
Unread 01-01-07, 02:35 AM  
Jasmeralia
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 45
Uploads: 1
Re: Collison with build-in bars

Originally posted by weregamer
BUT, you seem to have started using button IDs that are too low. I'm seeing the last three buttons of my cat-form bar as my player frame, and party member 6 is getting an "attack" command but I'm not sure where it's from. Removing it doesn't mess up my standard bars.
I am working further on the config interface, where you can adjust how many buttons are used for each bar. Unfortunately I haven't found a way to escape the standard 120 button limit which would solve the issue completely. Until then or the config interface is complete, you can adjust the values on UFActionBarsGlobals.lua and do a /ufab configreset and /console reloadui.

Originally posted by weregamer
The buttons are also so small that I can't reliably target them in combat. I'd really like to be able to size and position them. I see a dot that might be supposed to be a drag handle, but can't seem to drag it anywhere.
If you go into /ufab config you can adjust the scale. For some reason as soon as I added the scaling code, the size of the buttons decreased sharply. However, you can adjust them in the config window now.

It looks like XML inheritance doesn't inherit scripts, so the code to start/stop moving is broken. I'll fix that up shortly.
Last edited by Jasmeralia : 01-01-07 at 02:41 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: