Download
(1 Kb)
Download
Updated: 08-09-11 03:38 PM
Pictures
File Info
Updated:08-09-11 03:38 PM
Created:01-31-11 07:14 AM
Downloads:2,716
Favorites:6
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)


Archived Files (3)
File Name
Version
Size
Author
Date
1.0.2
1kB
Soulofsin_007
02-09-11 12:42 PM
1.0.1
1kB
Soulofsin_007
02-01-11 02:23 PM
1.0.0
1kB
Soulofsin_007
01-31-11 07:14 AM


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

Forum posts: 4
File comments: 4
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)
ddod is offline Report comment to moderator  
Reply With Quote
Old 02-04-11, 07:40 AM  
Soulofsin_007
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 125
File comments: 107
Uploads: 12
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.
Soulofsin_007 is offline Report comment to moderator  
Reply With Quote
Old 02-03-11, 11:46 PM  
ddod
A Murloc Raider

Forum posts: 4
File comments: 4
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.
ddod is offline Report comment to moderator  
Reply With Quote
Old 02-01-11, 05:50 AM  
Soulofsin_007
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 125
File comments: 107
Uploads: 12
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.
Soulofsin_007 is offline Report comment to moderator  
Reply With Quote
Old 01-31-11, 11:11 PM  
ddod
A Murloc Raider

Forum posts: 4
File comments: 4
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 : 01-31-11 at 11:20 PM.
ddod is offline 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.