Download
(1Kb)
Download
Updated: 08-09-11 03:38 PM
Pictures
File Info
Updated:08-09-11 03:38 PM
Created:01-31-11 08:14 AM
Downloads:4,090
Favorites:5
MD5:

Focus Tracker

Version: 1.0.3
by: Soulofsin_007 [More]

Adds text to screen that tracks focus. All config is edited through lua on lines 3 and 4.

Optional Files (0)


Post A Reply Comment Options
Unread 02-04-11, 09:35 AM  
ddod
A Murloc Raider

Forum posts: 4
File comments: 3
Uploads: 0
http://imgur.com/0rSYW
http://imgur.com/O52qC

The lua error i had and the issue with the focus non updating(see my unitframes)
Report comment to moderator  
Reply With Quote
Unread 02-04-11, 08:40 AM  
Soulofsin_007
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 125
File comments: 107
Uploads: 11
Try changing the scale of the frame. It may work. I'll check into the focus issue, I know I'm not having any issues.
Report comment to moderator  
Reply With Quote
Unread 02-04-11, 12:46 AM  
ddod
A Murloc Raider

Forum posts: 4
File comments: 3
Uploads: 0
Ok tested the new version some more and:

1. Leaving combat when focus is <100 generates errors (comparing with nil) and focus stops updating until next time you get in combat.
2. Try to find a way to make the font bigger, current maximum size is kinda small.

Will post some screenshots tonight when I get back home.
Report comment to moderator  
Reply With Quote
Unread 02-01-11, 06:50 AM  
Soulofsin_007
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 125
File comments: 107
Uploads: 11
1. Textsize doesnt change the size of the text, tryed setting it to 36,42,72 etc. no change in the size whatsoever.

I believe there is a maximum for text size. I'm unsure what the max is, but it is there. It does work, I changed it from the default 18, to 11, then to 22 and had a difference each time.

2. Changing moveable to false and then clicking on the frame generates lua error.

I dunno if I can fix this one, I have the same issue with my other addons, I'll give it a shot though.

3. This as I understand it is still a percent value of my current focus, which is fine for MM and SV specs, but BM has 110 max focus and this kind of calculation will not give me the exact focus i have in the said moment. Listen for focus value change event and display the value imo.

That percent line is just wasted space, it does not use it, I just have not removed it yet. This is listening for the UNIT_POWER event and is updating aslong as your focus changes. Its weird that it would not update to 110 or even set itself to 110. I can change it to use an on-update and it wont really matter.

4. Please make the frame click-through.

It should be when changing movable to false, I'll try to fix this too.
Report comment to moderator  
Reply With Quote
Unread 02-01-11, 12:11 AM  
ddod
A Murloc Raider

Forum posts: 4
File comments: 3
Uploads: 0
So couple of bugs after some testing last night.

1. Textsize doesnt change the size of the text, tryed setting it to 36,42,72 etc. no change in the size whatsoever.
2. Changing moveable to false and then clicking on the frame generates lua error.
3. This as I understand it is still a percent value of my current focus, which is fine for MM and SV specs, but BM has 110 max focus and this kind of calculation will not give me the exact focus i have in the said moment. Listen for focus value change event and display the value imo.

Code:
local h,f = UnitPower("player"),UnitPowerMax("player")
    local mathed = (floor(h/f*1000/10))
4. Please make the frame click-through.
Last edited by ddod : 02-01-11 at 12:20 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.