Download
(11Kb)
Download
Updated: 09-22-09 08:29 PM
Pictures
File Info
Updated:09-22-09 08:29 PM
Created:unknown
Downloads:13,108
Favorites:23
MD5:

Hadar's Focus Frame  Popular! (More than 5000 hits)

Version: 1.31
by: Hadar [More]

Blizzard added a new "unit type" recently called "Focus". To set your focus in game, you just type /focus. The thing is, they didn't give it any visible UI to go with it. So, I've created a small "Focus Frame" that will show you your Focus and target of Focus' health, mana and casting bars.

* It's movable via the title bar (on the right of the window).
* It will target the focus target or the Target of Focus by clicking on either set of bars.
* Works with the "ClickCastFrames" model. (ala Clique)

Usage:
* Slash Commands:
/ff -- Shows or Hides the window. (Use the X button to close the window, too)
/ff options -- Opens the options window.
/ff lock -- Locks or Unlocks the window.
/ff friend buffs|debuffs|dispellable -- Sets the buffs/debuffs to show for friendly units
/ff enemy buffs|debuffs|dispellable -- Sets the buffs/debuffs to show for enemy units
/ff show buffs -- Shows the buff/debuff icons
/ff hide buffs -- Hides the buff/debuff icons

* LEFT CLICK and drag the window handle to MOVE the window.
* RIGHT CLICK the window handle to SET your current target as your focus target.
* RIGHT CLICK the window handle to with no target to CLEAR your focus target.

--------------------

ver. 1.31 (09/22/2009)
* Updated for 3.2 patch.
* Fixed some options errors.
* Fixed issue with buffs/debuff cooldown animation.

ver. 1.30 (04/30/2009)
* Added option to change between showing numbers or percentages for health.

ver. 1.20 (04/14/2009)
* Updated for the 3.10 patch.
* Added option to Auto Hide/Show the frame when you set of clear the focus target. The option can be changed in the options menu. (/ff options)

ver. 1.10 (11/08/2008)
* Updated for the 3.02 patch
* Disables the Blizzard default Focus Frame.

ver 1.09
* Moved options windows to the new Interface options section int he default UI.
- Press Esc, then Interface. In the AddOn's section choose "Hadar's Focus Frame".
- "/ff options" still works to take you to the options.

ver 1.08 (01/01/2008)
* Fixed an issue with frame scaling at initial loading.

ver 1.07a
* Removed a line of code that may have been causing taint.

ver 1.07 (11-12-2007)
* Updated for patch 2.3
* Added a new Options window. "/ff options" to open the options.
* Added ability to scale the window.

ver 1.06 (9-26-2007)
* Updated TOC for 2.2 patch.

ver 1.05 (7/22/07)
* Added 4 debuffs icons for each target.
* You can toggle if friendly units or enemy units show buffs, debuffs, or dispellable debuffs
with the following commands:
/ff friend buffs|debuffs|dispellable (ex: /ff friend buffs)
/ff enemy buffs|debuffs|dispellable (ex: /ff enemy debuffs)
* You can show or hide the buff or debuff icons with the following commands:
/ff hide buffs
/ff show buffs
* Raid icons are now shown to the right of the name.

ver 1.04a (5/24/07)
* Fixed a memory problem.

ver 1.04 (5/18/07)
* Added clear focus functionality. Right-Click handle with no target selected to clear focus.
* Added window movement lock/unlock toggle command (/ff lock).

ver 1.03b (01-09-07)
* TOC version change only.

ver 1.03a
* Bug fixes.

ver 1.03
* Added colored backgrounds to the name to signify the focus'/focus target's
reaction to the player. (Aggro, friendly, etc)

ver. 1.02a
* Bug fix for channeling spells/abilities

ver. 1.02
* Changed the frame Layout
* Added percents to health bar
* Updated the internal workings

ver. 1.01
* Added Right-Click to window handle to set the focus
* Added /ff command to show/hide window

ver. 1.00
* Initial version
Post A Reply Comment Options
Unread 06-09-09, 02:27 PM  
Hadar
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 52
Uploads: 2
Thanks for the report. I see what's wrong and I'll get it fixed.


Originally posted by Facktotum
[2009/06/07 20:35:39-270-x1]: Hadar_FocusFrame-1.30\Hadar_FocusFrame_Options.lua:230: attempt to call global 'focusFrame_HideBuffs' (a nil value)
<string>:"*:OnClick":6: in function <[string "*:OnClick"]:1>

2009/06/07 20:36:33-270-x1]: Hadar_FocusFrame-1.30\Hadar_FocusFrame.lua:509: attempt to index global 'focusMain' (a nil value)
Interface\FrameXML\ChatFrame.lua:3332: in function <Interface\FrameXML\ChatFrame.lua:3285>:
<in C code>: in function `ChatEdit_ParseText'
Interface\FrameXML\ChatFrame.lua:3052: in function `ChatEdit_SendText':
Interface\FrameXML\ChatFrame.lua:3073: in function `ChatEdit_OnEnterPressed':
<string>:"*:OnEnterPressed":1: in function <[string "*:OnEnterPressed"]:1>
Report comment to moderator  
Reply With Quote
Unread 06-07-09, 12:37 PM  
Facktotum
A Kobold Labourer

Forum posts: 1
File comments: 36
Uploads: 0
[2009/06/07 20:35:39-270-x1]: Hadar_FocusFrame-1.30\Hadar_FocusFrame_Options.lua:230: attempt to call global 'focusFrame_HideBuffs' (a nil value)
<string>:"*:OnClick":6: in function <[string "*:OnClick"]:1>

2009/06/07 20:36:33-270-x1]: Hadar_FocusFrame-1.30\Hadar_FocusFrame.lua:509: attempt to index global 'focusMain' (a nil value)
Interface\FrameXML\ChatFrame.lua:3332: in function <Interface\FrameXML\ChatFrame.lua:3285>:
<in C code>: in function `ChatEdit_ParseText'
Interface\FrameXML\ChatFrame.lua:3052: in function `ChatEdit_SendText':
Interface\FrameXML\ChatFrame.lua:3073: in function `ChatEdit_OnEnterPressed':
<string>:"*:OnEnterPressed":1: in function <[string "*:OnEnterPressed"]:1>
Report comment to moderator  
Reply With Quote
Unread 04-27-09, 03:30 PM  
Hadar
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 52
Uploads: 2
Re: Re: Re: Disappear with no focus, please!

Originally posted by Bystander
Great mod, love it to bits as a healer, no other set of focus frames is anywhere near as neat and tidy.

One small thing, since the last update it's gone from showing health as a % to showing the raw numerical figure (so 20514 instead of 35% for example)

Is this a change in the mod itself, or is it picking that up off something else?
Yes, I made a change to the mod but didn't get around to completing it. I planned on making it an option to show pure numbers or percents. It defaults to the numbers as you have seen. I'll get this change in soon, but if you want to change it yourself right now you can do the following:

On line 337 of the Hadar_FocusFrame.lua file is a bit of code that looks like this:

usePercent = false;

Change this line to read:

usePercent = true;

This will bring your percentages back.
Report comment to moderator  
Reply With Quote
Unread 04-26-09, 01:06 PM  
Bystander
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
Re: Re: Disappear with no focus, please!

Great mod, love it to bits as a healer, no other set of focus frames is anywhere near as neat and tidy.

One small thing, since the last update it's gone from showing health as a % to showing the raw numerical figure (so 20514 instead of 35% for example)

Is this a change in the mod itself, or is it picking that up off something else?
Report comment to moderator  
Reply With Quote
Unread 03-27-09, 11:47 AM  
Hadar
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 52
Uploads: 2
Re: Disappear with no focus, please!

Originally posted by inpariswithyou
Love the frame, but I'd really love it even more if it would disappear (turn itself off, I guess?) when there's no focus selected.

Otherwise, when there is no focus, it looks rather unattractive on my UI. And that makes me sad.

Thanks!
This feature will be added with the next update. Should be out when the next patch (3.1) arrives.
Report comment to moderator  
Reply With Quote
Unread 02-04-09, 05:00 PM  
inpariswithyou
A Kobold Labourer

Forum posts: 0
File comments: 11
Uploads: 0
Disappear with no focus, please!

Love the frame, but I'd really love it even more if it would disappear (turn itself off, I guess?) when there's no focus selected.

Otherwise, when there is no focus, it looks rather unattractive on my UI. And that makes me sad.

Thanks!
Report comment to moderator  
Reply With Quote
Unread 11-10-08, 08:13 PM  
Rabz
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Thanks for updating again Hadar.

What about adding that target of focus's target frame that we discussed many moons ago? It would make this the best focus frame addon for sure.
Report comment to moderator  
Reply With Quote
Unread 04-14-08, 03:46 AM  
zoarial
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Superb addon!

I've been looking for a nice addon to keep track of my sheeps, banishes and shackles and this is the addon that I needed !

However I have one request, is it possible for the frame to automatically appear when I have a focussed target and disappear when I dont? I know that I'm a lazy git and that I can type /ff to do the same thing, but could you... could you ^^?
Report comment to moderator  
Reply With Quote
Unread 03-28-08, 08:01 AM  
Rabz
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Exactomundo!

Hopefully it's not that hard to add this 3rd window...it's really helpful e.g. when your focus is a tank and you need to see if his mob's target is someone other than himself. Many of us have our raid MT windows set up exactly this way.

Take a look at this one:
http://www.wowinterface.com/downloads/info6835-TWFocus.html

It works well this way, but sadly isn't being updated and I never liked the excess background...
Last edited by Rabz : 03-28-08 at 08:45 PM.
Report comment to moderator  
Reply With Quote
Unread 03-27-08, 04:32 PM  
Hadar
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 52
Uploads: 2
Re: feature request

Originally posted by Rabz
Hi Hadar,

Great job mate and thanks for updating. Of all the focus frame mods I've tried, I like yours the most, however, it would be great if you could add the target of target window as well, perhaps show it as an option?

Thanks
I'm not quite sure what you mean here. The mod already shows the focus targets target. (Focus on the left, Focus' Target on the right). Or are you asking for the Target of the Focus' Target, thus a third set of bars and what have you?

For example: Bob is the Focus, MonsterA is Bob's target and Larry is MonsterA's target. Thus a set up such as:

| Bob | MonsterA | Larry |

Is this what you're getting at?
Report comment to moderator  
Reply With Quote
Unread 03-27-08, 07:16 AM  
Rabz
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
feature request

Hi Hadar,

Great job mate and thanks for updating. Of all the focus frame mods I've tried, I like yours the most, however, it would be great if you could add the target of target window as well, perhaps show it as an option?

Thanks
Report comment to moderator  
Reply With Quote
Unread 02-11-08, 03:47 PM  
Hadar
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 52
Uploads: 2
Originally posted by bevins
Each time I log into WoW.. I'm having to reset the position of the focus frame, could you possible make a saved variables or whatever so it will save it's position, and also it seems to not reset back to default if the frame isn't locked.
I see no problems with this on my end. Make sure you have the latest version (1.08) as I fixed an issue with frame scaling at start up that may be part of your problem.

The information for frame locations should be saved automatically to the "\World of Warcraft\WTF\Account\<USERNAME>\<SERVERNAME>\<CHARACTERNAME>\layout-cache.txt" file. In that file (open it with Wordpad for a quick look) there should be a few lines that look like this:

Frame: FocusMainFrame
FrameLevel: 1
Anchor: TOPRIGHT
X: -220
Y: -103
W: 176
H: 43

Now, if the layout-cache.txt file doesn't exist or you don't find anything like this in the file, then you have other issues.
Last edited by Hadar : 02-11-08 at 03:51 PM.
Report comment to moderator  
Reply With Quote
Unread 02-07-08, 04:02 PM  
bevins
A Kobold Labourer

Forum posts: 1
File comments: 1
Uploads: 0
Each time I log into WoW.. I'm having to reset the position of the focus frame, could you possible make a saved variables or whatever so it will save it's position, and also it seems to not reset back to default if the frame isn't locked.
Report comment to moderator  
Reply With Quote
Unread 12-18-07, 06:58 PM  
Hadar
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 52
Uploads: 2
Originally posted by supaLink
been using this since 2.3, loving it but only have one issue.

Whenever I restart WoW/logout, the Focus Frame itself resets back to its original small size, I have to resort to typing /ff options every time for it to automatically scale back to the size I set it to. Just wondering if this is intended?

Keep up the good work
Hmm, really? I'll have to look into that. Thanks for the report and glad you like the mod.
Report comment to moderator  
Reply With Quote
Unread 12-14-07, 10:32 PM  
supaLink
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
been using this since 2.3, loving it but only have one issue.

Whenever I restart WoW/logout, the Focus Frame itself resets back to its original small size, I have to resort to typing /ff options every time for it to automatically scale back to the size I set it to. Just wondering if this is intended?

Keep up the good work
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: