Download
(13 Kb)
Download
Updated: 08-31-12 06:33 AM
Pictures
File Info
Compatibility:
Mists of Pandaria (5.0.4)
Updated:08-31-12 06:33 AM
Created:unknown
Downloads:114,259
Favorites:208
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)


Archived Files (4)
File Name
Version
Size
Author
Date
2.5.2
13kB
Tageshi
08-04-09 09:15 AM
2.5.1
13kB
Tageshi
04-25-09 10:41 AM
2.5.0
13kB
Tageshi
04-14-09 06:29 AM
2.4.4
12kB
Tageshi
10-17-08 03:37 AM


Post A Reply Comment Options
Unread 10-15-08, 06:59 PM  
Enkidu
A Kobold Labourer

Forum posts: 0
File comments: 55
Uploads: 0
Default Focus Frame by comparison.

Hey Tageshi, thanks for your work on Focus Frame. As JMHammer said this addon is superior to the default solution. Features like clear on death, tot, cleaner buffs/debuffs (showing stack count - this one is pretty important).

There are however 2 issues with the current version:
1. It will not display debuffs at all.
2. The buff count has gone up a lot due to the class changes. It's not uncommon to have 2 huge rows of buffs in Focus Frame right now, might be nice to have a limit on how many are displayed.
Last edited by Enkidu : 10-16-08 at 04:57 AM.
Enkidu is offline Report comment to moderator  
Reply With Quote
Unread 10-16-08, 06:43 PM  
Bifidus
A Kobold Labourer

Forum posts: 0
File comments: 45
Uploads: 3
Request feature :
Can we have a menu leting us choose what buffs and debuffs to filter ?
There's far too much buffs now in raid, hard to see what is relevant, and what is not.
As a mage, i would like to see my debuffs, dots, and other specific things, like immune, special vulnerabilities, and so on.
I can understand this is beyond the goal of your project, but any idea about buff/debuff filtering is welcome
Bifidus is offline Report comment to moderator  
Reply With Quote
Unread 10-17-08, 03:36 AM  
Tageshi
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 259
Uploads: 16
Originally posted by Bifidus
Request feature :
Can we have a menu leting us choose what buffs and debuffs to filter ?
There's far too much buffs now in raid, hard to see what is relevant, and what is not.
As a mage, i would like to see my debuffs, dots, and other specific things, like immune, special vulnerabilities, and so on.
I can understand this is beyond the goal of your project, but any idea about buff/debuff filtering is welcome
No filter planned.
At least I may fix it so that buff icons don't become too long horisontally.
Tageshi is online now Report comment to moderator  
Reply With Quote
Unread 10-17-08, 03:38 AM  
Tageshi
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 259
Uploads: 16
Version 2.4.4

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.
Tageshi is online now Report comment to moderator  
Reply With Quote
Unread 10-23-08, 08:45 PM  
Niobium
A Kobold Labourer

Forum posts: 0
File comments: 22
Uploads: 0
Re: Version 2.4.4

Tageshi,

Since no one else has reported this I am gonna guess it's a mod compatibility problem, but I am wondering if you might have an idea of what would do this. Periodically, and for seemingly no reason, my FocusFrame will look like this:

http://img511.imageshack.us/my.php?i...meweirdlt1.jpg

Any idea what might cause that? It's not all the time, and a relog (not a reloadui, but a full on relog) fixes it for a little while. It seems to start happening in between focuses. I.e. I'll focus someone, everything is fine. Clear it, maybe 5-10 minutes later I focus someone else...not so fine.
Last edited by Niobium : 10-23-08 at 08:46 PM.
Niobium is offline Report comment to moderator  
Reply With Quote
Unread 10-26-08, 11:11 PM  
Tageshi
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 259
Uploads: 16
Re: Re: Version 2.4.4

Originally posted by Niobium
Tageshi,

Since no one else has reported this I am gonna guess it's a mod compatibility problem, but I am wondering if you might have an idea of what would do this. Periodically, and for seemingly no reason, my FocusFrame will look like this:

http://img511.imageshack.us/my.php?i...meweirdlt1.jpg

Any idea what might cause that? It's not all the time, and a relog (not a reloadui, but a full on relog) fixes it for a little while. It seems to start happening in between focuses. I.e. I'll focus someone, everything is fine. Clear it, maybe 5-10 minutes later I focus someone else...not so fine.
Please identify what add-on is conflicting by turning all your add-ons disabled, and turning those enabled one by one.
Last edited by Tageshi : 10-26-08 at 11:12 PM.
Tageshi is online now Report comment to moderator  
Reply With Quote
Unread 11-04-08, 10:04 PM  
Niobium
A Kobold Labourer

Forum posts: 0
File comments: 22
Uploads: 0
Re: Re: Re: Version 2.4.4

Originally posted by Tageshi
Please identify what add-on is conflicting by turning all your add-ons disabled, and turning those enabled one by one.
Well, amusingly enough--I went through this, and couldn't get it to happen. And now, it's not happening at all.

Thanks anyways. :>
Niobium is offline Report comment to moderator  
Reply With Quote
Unread 11-08-08, 06:59 PM  
koshiru
A Kobold Labourer

Forum posts: 1
File comments: 29
Uploads: 0
Re: Re: Re: Re: Version 2.4.4

Originally posted by Niobium
Well, amusingly enough--I went through this, and couldn't get it to happen. And now, it's not happening at all.

Thanks anyways. :>
I have this weird frame glitch happening. I think the only thing that could conflict with this addon is FluidFrames. Everything else I use is definitely unrelated.
Last edited by koshiru : 11-08-08 at 07:00 PM.
koshiru is offline Report comment to moderator  
Reply With Quote
Unread 04-14-09, 06:38 AM  
Tageshi
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 259
Uploads: 16
FocusFrame 2.5.0 for patch 3.1

Version 2.5.0
Updated for WotLK 3.1.0
Copyed several new functions from Blizzard's TargetFrame.
Tageshi is online now Report comment to moderator  
Reply With Quote
Unread 04-22-09, 12:31 PM  
Lombra
A Cobalt Mageweaver
 
Lombra's Avatar
AddOn Author - Click to view AddOns

Forum posts: 215
File comments: 270
Uploads: 25
Hello,
I love your addon, but it seems that the frame is moved slightly on every login (?), when using a scale != 1.0. I assume this is because of the code in TgFocusFrame_SetScale. Is there any chance you could "fix" it?

Thanks
__________________
Grab your sword and fight the Horde!
Lombra is offline Report comment to moderator  
Reply With Quote
Unread 04-23-09, 11:43 AM  
Tageshi
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 259
Uploads: 16
Originally posted by Lombra
Hello,
I love your addon, but it seems that the frame is moved slightly on every login (?), when using a scale != 1.0. I assume this is because of the code in TgFocusFrame_SetScale. Is there any chance you could "fix" it?

Thanks
Good report. I confirmed the problem.

It's actually no fault of TgFocusFrame_SetScale;
Current WoW client rounds frame coodinate values and
drop the fraction of them when logging out.
That's how small move happens.

Maybe it's extremely tricky to fix this.
I will try to find a way.
Tageshi is online now Report comment to moderator  
Reply With Quote
Unread 04-24-09, 03:29 AM  
Lombra
A Cobalt Mageweaver
 
Lombra's Avatar
AddOn Author - Click to view AddOns

Forum posts: 215
File comments: 270
Uploads: 25
Alright, it seems that the repositioning I'm experiencing isn't due to rounding fractions, however. It moves like 10-20 pixels every time. (both horizontally and vertically, I think)
__________________
Grab your sword and fight the Horde!
Lombra is offline Report comment to moderator  
Reply With Quote
Unread 04-25-09, 10:42 AM  
Tageshi
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 259
Uploads: 16
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.
Tageshi is online now Report comment to moderator  
Reply With Quote
Unread 04-25-09, 12:24 PM  
Lombra
A Cobalt Mageweaver
 
Lombra's Avatar
AddOn Author - Click to view AddOns

Forum posts: 215
File comments: 270
Uploads: 25
Great, thanks.
__________________
Grab your sword and fight the Horde!
Lombra is offline Report comment to moderator  
Reply With Quote
Unread 08-04-09, 09:32 AM  
JMHammer
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 308
Uploads: 1
Tageshi- Thanks for keeping FocusFrame working. It's a significant improvement over the game's default focus frame.
JMHammer is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: