Download
(13Kb)
Download
Updated: 08-31-12 06:33 AM
Pictures
File Info
Updated:08-31-12 06:33 AM
Created:unknown
Downloads:126,218
Favorites:204
MD5:

FocusFrame  Popular! (More than 5000 hits)

Version: 2.5.3
by: Tageshi [More]

FocusFrame -- Created by Tageshi


---------------------------------------------------------------
1. WHAT IS "FocusFrame"?
---------------------------------------------------------------

FocusFrame is very simple addon to show your focus.

The frame looks almost exactly same as Blizzard's TargetFrame;
It provide following features.
- Click to target your focus or your focus's target.
- Shows your focus's health and mana.
- Shows your focus's target.
- Shows cast bar of your focus.
- Supports Click-Casting such as Clique addon by utilizing ClickCastFrames.
- Movable by dragging the title tab.
- Supports MobHealth.


---------------------------------------------------------------
2. WHAT IS "focus"?
---------------------------------------------------------------


The "focus" is a new feature of WoW API 2.0.
Basically you can use "focus" as a second target.
It works in similar way as your real Target
and allows you to use DOUBLE targets at the same time. (essentially)

From API 2.0 Changes:
> * There is a new unit "focus" which behaves like target,
> the "PLAYER_FOCUS_CHANGED" event is fired when it is changed,
> and you receive unit events for this unit.

> * Spell casting and targetting (including focus) are only allowed
> using secure templates or special slash commands (not /script).



---------------------------------------------------------------
3. HOW TO USE "focus"?
---------------------------------------------------------------


You can set "focus" by using new standard Keybinding "Focus Target" or
by using new macro command "/focus" with target name or target id.
Another new standard keybindings "Target Focus" will change your target
to your focus. For example, you don't need to remember which mob is
your "sheep" to poly again.

Also you can use a keyword "focus" as a target id like "player",
"target", "party2", etc.

Example1: You can assist your focus by this macro.

/assist focus

You may want to focus your main tank/main assist if you will do DPS.
Or focus raid boss and 'assist' it if you are healing.


Example2: You can cast your Earth Shock on your focus by this macro.

/cast [target=focus] Earth Shock

You can watch spell casting bar on FocusFrame.


---------------------------------------------------------------
4. COMMANDS
---------------------------------------------------------------

FocusFrame has a few slash commands;

/focusframe scale <num> (Changes size of FocusFrame window.)
/focusframe reset (Reset window position.)
/focusframe lock (Prevent dragging the frame by accident.)
/focusframe unlock (Allows to move again.)

If your screen space is limited, try smaller window size:
/focusframe scale 0.7

When you accidently lost FocusFrame from your sight, reset it's
position and FocusFrame will appear again at the center of screen.

Version 2.5.2
Updated for patch 3.2 .

Version 2.5.1
Now saves precise frame position in saved variables to fix
erroneous behavior of positioning and scaling while scale is not 1.

Version 2.5.0
Updated for WotLK 3.1.0
Copyed several new functions from Blizzard's TargetFrame.

Version 2.4.5
(Changed old function names)

Version 2.4.4
Bug fix: Debuff icons sometimes displayed target's debuffs instead of focus's.
Bug fix: Sometimes failed to show Castbar after loading.

Version 2.4.3
The last version 2.4.2 was broken;
It was not showing focus's name, debuffs, etc on the name bar.

Version 2.4.2
Fixed nil value error.

Version 2.4.1
Updated for WotLK beta 9061.
Now disables and replaces Blizzard's FocusFrame.

Version 2.4.0
Updated for WotLK beta.

Version 2.3.6
TOC updated for WoW 2.4 .

Version 2.3.5
Fixed slash command "/focusframe hidewhendead" so that it respects Saved Variables.
Restored dependency on the standard Interface option "Show Enemy Cast Bar".
(which I removed hastily on version 2.3.4 .)

Version 2.3.4
Added slash command "/focusframe hidewhendead" to toggle the new function introduced on 2.3.3 .
Suports WoW patch 2.4 PTR.

Version 2.3.3
Added additional condition so that FocusFrame will be hidden only when focused target is dead AND is enemey.

Version 2.3.2
FocusFrame will be hide when focused target is dead.(Finally!)
Added warning message for when too big scale argument is passed for /focusframe scale command.
Added warning message for when user tried to change frame scale in combat.

Version 2.3.1
Fixed broken MobHealth support.

Version 2.3.0 (<- Skipped 2.2.0 to avoid confusion)
Updated for WoW client version 2.3 .

Version 2.2.1 (<- oops, this is typo. This version is actuallly 2.1.1)
Fixed a potential nil error.

Version 2.1.0
Updated for WoW client version 2.2.0 .
Added slash commands /focusframe lock and /focusframe unlock.

Version 2.0.2
Fixed a bug; tooltip of buff/debuff icons were not correctly updated. (Thanks to Alestane)

Version 2.0.1
Fixed a nil concatenate error at line 852. (Thanks to JMHammer)

Version 2.0
Mimics new Target frame of WoW client 2.1 ;
Displays maximum 32 buff icons.
Displays buff/debuff timer.
Mobhealth support added.

Version 1.3
Added slash command /focusframe reset -- which reset window position to center of screen.
Supported silver dragon decoration for rare-elite mobs.

Version 1.2
Added slash command /focusframe scale <num> -- which changes size of FocusFrame.

Version 1.1
Fixed broken initialization. FocusFrame window is now really displayed.

Version 1.0
First release. But initialization was broken.
Optional Files (0)


Post A Reply Comment Options
Unread 01-15-08, 03:18 PM  
Nakawe
A Kobold Labourer

Forum posts: 0
File comments: 65
Uploads: 0
Any way to get rid of tot off focus frame. I use adapt and the picture blanks out. I dont use tot frame anyway....
Report comment to moderator  
Reply With Quote
Unread 01-14-08, 03:37 AM  
Kouri
A Kobold Labourer
 
Kouri's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 121
Uploads: 4
Thanks Tageshi, that worked great.
Report comment to moderator  
Reply With Quote
Unread 01-14-08, 12:35 AM  
Tageshi
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 249
Uploads: 4
Kouri
If you are using hshh's CooldownCount of WoWAce, it is CooldownCount's bug.
You can fix CooldownCount by doing this:

1. Open CooldownCount.lua using any text editor.

2. Change line 4 like below:
Before change : local blacklist = { "TargetFrame", "PetAction" }
After change : local blacklist = { "TargetFrame", "PetAction", "FocusFrame" }

3. Save changes. Then done.
Report comment to moderator  
Reply With Quote
Unread 01-12-08, 10:06 AM  
Kouri
A Kobold Labourer
 
Kouri's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 121
Uploads: 4
Re: BindPad

Hi, first I'd just like to say great mod, thanks for all your hard work. One suggestion I have is to give an option to disable the cooldown display on buffs and debuffs, that way it won't interfere with mods such as CooldownCount which hook into the CooldownFrame_SetTimer function. Other than that, it's perfect, nice job!
Report comment to moderator  
Reply With Quote
Unread 12-16-07, 06:28 PM  
Tageshi
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 249
Uploads: 4
BindPad

Everyone who loves FocusFrame,
Please check my other addon: BindPad too.
http://wow.curse.com/downloads/details/5002/
http://www.wowinterface.com/download...itemmacro.html

BindPad will allow you to set keybindings for spell/item/macro very easy way,
and allow you to clean up ActionBar slots.
Many peaple just don't know about BindPad and surprised when they first download it.
Report comment to moderator  
Reply With Quote
Unread 11-26-07, 11:00 AM  
Tageshi
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 249
Uploads: 4
about taint

Originally posted by erica647
I had the problem with target of target not showing because of taint issues from other mods that blocked it. It was weird because the taint only seemed to happen with the default ui.
Any addons have taint from the begining, and they already have work around for taint.
But default UI depends on purity, and any tiny taint can destroy defautl UI.

FocusFrame was once a source of taint on default UI. I believe it's no longer the case.
(I do have problem, though, from some addons include Damagemater and HealBot.)
Report comment to moderator  
Reply With Quote
Unread 11-25-07, 09:59 AM  
erica647
A Cobalt Mageweaver
 
erica647's Avatar
AddOn Author - Click to view AddOns

Forum posts: 209
File comments: 192
Uploads: 2
Re: Re: Re: Re: Problem with changing size

Originally posted by arainwen
I was having the same problem, I set the scale for 50 thinking that would be 50%. I tried to get it back, then I noticed I was targering myself when I clicked on some places on the screen so I tried a scale of 1 and it was back at normal size. I then set the scale to .7 and moved it into the position I wanted. The only problem I am having now is my target of target is not displaying. I hope that heps and if anyone has any idea about the target of target not showing I would love to be able to get that to show.
I had the problem with target of target not showing because of taint issues from other mods that blocked it. It was weird because the taint only seemed to happen with the default ui.
__________________
Karadra
Level 80 Human Deathknight
Silvermoon/Nerfed Guild
Report comment to moderator  
Reply With Quote
Unread 11-25-07, 02:17 AM  
arainwen
A Kobold Labourer

Forum posts: 1
File comments: 1
Uploads: 0
Re: Re: Re: Problem with changing size

Originally posted by erica647
Hi and thanks for the fast response! To reproduce this, just try to resize the frame and see if it works for you since it doesn't work for me. What I see is I enter the command to resize and the frame disappears. I try to reset it but I can't get it back on my screen. The only way I can get the frame back on my screen is to delete the lua file to reset it. I hope this helps and would appreciate it if you can let me know if it's just me or if something's actually wrong. Oh and if it matters, I'm running 1600x1200 resolution and 85Hz refresh rate.
I was having the same problem, I set the scale for 50 thinking that would be 50%. I tried to get it back, then I noticed I was targering myself when I clicked on some places on the screen so I tried a scale of 1 and it was back at normal size. I then set the scale to .7 and moved it into the position I wanted. The only problem I am having now is my target of target is not displaying. I hope that heps and if anyone has any idea about the target of target not showing I would love to be able to get that to show.
Report comment to moderator  
Reply With Quote
Unread 11-24-07, 11:27 AM  
erica647
A Cobalt Mageweaver
 
erica647's Avatar
AddOn Author - Click to view AddOns

Forum posts: 209
File comments: 192
Uploads: 2
Re: Re: Problem with changing size

Originally posted by Tageshi
I didn't see any problem on /focusframe scale n command.
Any more info?
Hi and thanks for the fast response! To reproduce this, just try to resize the frame and see if it works for you since it doesn't work for me. What I see is I enter the command to resize and the frame disappears. I try to reset it but I can't get it back on my screen. The only way I can get the frame back on my screen is to delete the lua file to reset it. I hope this helps and would appreciate it if you can let me know if it's just me or if something's actually wrong. Oh and if it matters, I'm running 1600x1200 resolution and 85Hz refresh rate.
__________________
Karadra
Level 80 Human Deathknight
Silvermoon/Nerfed Guild
Report comment to moderator  
Reply With Quote
Unread 11-24-07, 10:24 AM  
Tageshi
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 249
Uploads: 4
Re: Problem with changing size

Originally posted by erica647
I tried changing the size of this unitframe and it disappeared off the screen. I tried issuing the reset command but couldn't get it to come back on my screen. I was finally able to get it back by deleting my lua file but would love this mod if I could get the size I want. Anyone else had this problem or tried to resize the frame? Any ideas?
I didn't see any problem on /focusframe scale n command.
Any more info?
Report comment to moderator  
Reply With Quote
Unread 11-24-07, 08:55 AM  
erica647
A Cobalt Mageweaver
 
erica647's Avatar
AddOn Author - Click to view AddOns

Forum posts: 209
File comments: 192
Uploads: 2
Problem with changing size

I tried changing the size of this unitframe and it disappeared off the screen. I tried issuing the reset command but couldn't get it to come back on my screen. I was finally able to get it back by deleting my lua file but would love this mod if I could get the size I want. Anyone else had this problem or tried to resize the frame? Any ideas?
__________________
Karadra
Level 80 Human Deathknight
Silvermoon/Nerfed Guild
Report comment to moderator  
Reply With Quote
Unread 11-14-07, 11:17 AM  
Tageshi
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 249
Uploads: 4
known bug on 2.3.0

FocusFrame's mobhealth support is currently broken.

That is because Blizzard suported health display in percent number on any standard UnitFrames.
I am trying to investige how to bypass it and fix mobhealth support.
Report comment to moderator  
Reply With Quote
Unread 11-13-07, 08:40 AM  
Tageshi
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 249
Uploads: 4
Re: PTR 2.3 compatibility update

Originally posted by Dridzt
For PTR wow 2.3 only - don't change this for the current live version (2.2)

Change "statusBarText" -> "targetStatusText" on lines 305 and 876.

Edit1: on PTR build 7441 the UnitIsCivilian() API has been removed.
So the FocusFrame_CheckDishonorableKill() call and function must also be removed.
(\FrameXML\TargetFrame.lua does not contain that check either anymore)
Thank you for the information.
FocusFrame 2.3.0 is released now.

Note that this version is UNTESTED as WoW server is not online yet.
Report comment to moderator  
Reply With Quote
Unread 11-12-07, 11:08 AM  
zanoc
A Kobold Labourer

Forum posts: 1
File comments: 20
Uploads: 0
Could you post what lines in what files need to be changed to make the addon work in 2.3? (if any for the untiiscivilian thing?)
Last edited by zanoc : 11-12-07 at 11:09 AM.
Report comment to moderator  
Reply With Quote
Unread 10-17-07, 09:59 AM  
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1360
File comments: 830
Uploads: 56
PTR 2.3 compatibility update

For PTR wow 2.3 only - don't change this for the current live version (2.2)

Change "statusBarText" -> "targetStatusText" on lines 305 and 876.

Edit1: on PTR build 7441 the UnitIsCivilian() API has been removed.
So the FocusFrame_CheckDishonorableKill() call and function must also be removed.
(\FrameXML\TargetFrame.lua does not contain that check either anymore)
Last edited by Dridzt : 10-19-07 at 09:26 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: