Download
(13Kb)
Download
Updated: 08-31-12 06:33 AM
Pictures
File Info
Updated:08-31-12 06:33 AM
Created:unknown
Downloads:126,190
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 12-11-06, 11:58 AM  
chwolfgang
A Defias Bandit

Forum posts: 2
File comments: 70
Uploads: 0
This looks like just what I have been whishing for.

BUT I can't seem to get it to work. THere is no error, I just can't get the window to show up. I have tried useing my hotkeys for Focus, etc. I just can't seem to get the window to show up.

Any ideas would be great...
Report comment to moderator  
Reply With Quote
Unread 12-11-06, 12:52 PM  
Belzathras
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Similar problem here - nothing displays.

Are there any dependencies or possible conflicts?
Report comment to moderator  
Reply With Quote
Unread 12-12-06, 12:07 AM  
chwolfgang
A Defias Bandit

Forum posts: 2
File comments: 70
Uploads: 0
Hi all...

are we the only two with this porblem? Begining to look like a conflict. I run a ton of mods and this is the first time I have had an issue like this. ...
Report comment to moderator  
Reply With Quote
Unread 12-12-06, 06:17 AM  
Tageshi
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 249
Uploads: 4
Thank you for your reports.
I checked it by deleting my config files, and indeed FocusFrame was not displayed.
It was a bug on initialization code; FocusFrame was staying outside of the screen.
I have fixed it on version 1.1 .
Thanks!

Originally posted by chwolfgang
Hi all...

are we the only two with this porblem? Begining to look like a conflict. I run a ton of mods and this is the first time I have had an issue like this. ...
Report comment to moderator  
Reply With Quote
Unread 12-12-06, 07:41 PM  
Belzathras
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Rocking! Thanks!
Report comment to moderator  
Reply With Quote
Unread 12-19-06, 02:15 AM  
Nief
A Murloc Raider

Forum posts: 4
File comments: 5
Uploads: 0
Nice work.

Currently there is no functionallity assigned to a leftmousebutton-click on the targetframe portrait. Is it possible to extend your addon such that this klick sets the focus?

Nief
Report comment to moderator  
Reply With Quote
Unread 12-19-06, 08:50 AM  
Tageshi
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 249
Uploads: 4
I think we should use Left click on original target frame for Click casting.
I recomend Clique addon.

Originally posted by Nief
Nice work.

Currently there is no functionallity assigned to a leftmousebutton-click on the targetframe portrait. Is it possible to extend your addon such that this klick sets the focus?

Nief
Report comment to moderator  
Reply With Quote
Unread 12-21-06, 03:50 PM  
Nief
A Murloc Raider

Forum posts: 4
File comments: 5
Uploads: 0
Originally posted by Tageshi
I think we should use Left click on original target frame for Click casting.
I recomend Clique addon.
Hm. I agree for any but the target frame. You hit the selected target by default, so I thought the left-click on the targetframe is pretty much redundant.

Nief
Report comment to moderator  
Reply With Quote
Unread 12-24-06, 11:35 PM  
Blades
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
About resizing

Was wondering if you could make a button/option to use the smaller party windows instead of the large target windows? If you do use a scaled down window would the player still beable the see the sheeped pic icon? Thanks in advance.
Report comment to moderator  
Reply With Quote
Unread 12-30-06, 06:34 PM  
Belzathras
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Bug/Conflict with CT Mod

There seems to be a bug or conflict with CT Mod when using Focusframe.

The error produced is:

===

Error occured in: Global
Count: 388
Message: ..\AddOns\CT_Core\CT_Core_Other.lua line 512:
attempt to perform arithmetic on field 'ctElapsed' (a nil value)
Debug:
[C]: ?
CT_Core\CT_Core_Other.lua:512: CastingBarFrame_OnUpdate()
[string "FocusFrameSpellBar:OnUpdate"]:2:
[string "FocusFrameSpellBar:OnUpdate"]:1

===

Also reporting to the CT Team to see if they might have a fix. Hope something can be done to resolve this.
Report comment to moderator  
Reply With Quote
Unread 12-31-06, 02:49 AM  
Tageshi
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 249
Uploads: 4
Re: Bug/Conflict with CT Mod

It seems CT mod is hooking Blizzard standard UI functions. FocusFrame is just using CastingFrameTemplate which is in Blizzard UI. So problem is in CT mod.

Originally posted by Belzathras
There seems to be a bug or conflict with CT Mod when using Focusframe.

The error produced is:

===

Error occured in: Global
Count: 388
Message: ..\AddOns\CT_Core\CT_Core_Other.lua line 512:
attempt to perform arithmetic on field 'ctElapsed' (a nil value)
Debug:
[C]: ?
CT_Core\CT_Core_Other.lua:512: CastingBarFrame_OnUpdate()
[string "FocusFrameSpellBar:OnUpdate"]:2:
[string "FocusFrameSpellBar:OnUpdate"]:1

===

Also reporting to the CT Team to see if they might have a fix. Hope something can be done to resolve this.
Report comment to moderator  
Reply With Quote
Unread 12-31-06, 05:51 AM  
Tageshi
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 249
Uploads: 4
Version 1.2 released.

Added ability to change size of the frame.
For example:
/focusframe scale 0.7

Have fun!

(edit)
I have added a Saved variable. Don't forget to re-launch your WoW client when you download FocusFrame addon.
Last edited by Tageshi : 12-31-06 at 05:53 AM.
Report comment to moderator  
Reply With Quote
Unread 04-26-07, 08:12 AM  
Wadsworth
A Murloc Raider
 
Wadsworth's Avatar

Forum posts: 4
File comments: 6
Uploads: 0
great addon! i love it. my only desire is for an option to hide the frame when my focus is the same as my target.
Report comment to moderator  
Reply With Quote
Unread 04-27-07, 09:06 PM  
Tageshi
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 249
Uploads: 4
Thank you for using my addon!

Originally posted by Wadsworth
great addon! i love it. my only desire is for an option to hide the frame when my focus is the same as my target.
It would be better if we can do that, but WoW API 2.0 won't allow us to hide unit frame without an user's direct action.
Sorry!
Report comment to moderator  
Reply With Quote
Unread 05-14-07, 11:19 AM  
Tageshi
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 249
Uploads: 4
Version 1.3 released

Now you can reset window position by new slash command;
/focusframe reset
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: