Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(13 Kb)
Download
Updated: 11-06-10 01:43 PM
Pictures
File Info
Updated:11-06-10 01:43 PM
Created:unknown
Downloads:4,907
Favorites:30
MD5:

TargetCheck

Version: r5
by: Dust [More]

The Addon TargetCheck lists the Players in your Raid/Party who also select your target. Might be helpful for Healers. Is helpful for CC and Target Assignments, especially in AdHoc environments.

Move the frame with shift click, resize it with alt click. There's also a Right Click Context Menu for some settings. This does not work with mouse anchor.

* /targetcheck scale <num>
* /targetcheck alpha <num>
* /targetcheck filter <class> [on|off]
* /targetcheck sort <class>
* /targetcheck header [on|off]
* /targetcheck mana [on|off]
* /targetcheck invert [on|off]
* /targetcheck anchor [topleft|bottomleft]
* /targetcheck limit <num>
* /targetcheck mouse [on|off]
* /targetcheck mouseFilter <class> [on|off]
* /targetcheck mouseSort <class>
* /targetcheck mouseHeader [on|off]
* /targetcheck mouseLimit <num>
* /targetcheck create

* r5
o Finally got rid of some of the old cruft that was removed in the new version of WoW 4.0.
* r4
o Different checking strategy with delayed checking, should improve performance
under heavy load, but comes at the price of (insignificantly) higher idle-load
o Nasty OnUpdate hack for mouse tooltip to work around limitations of
UPDATE_MOUSEOVER_UNIT, mouse tooltips should now hide when no mouseover unit
exists
* r3
o More sanity checking
o More debug output
* r2
o Added pet support
o MouseOver bug fixes and refactoring
* r1
o Added Death Knight support
o Fixed problems with WotLK's Menu code
o More fixes
Optional Files (0)


Archived Files (1)
File Name
Version
Size
Author
Date
r4
13kB
Dust
12-28-08 10:38 PM


Post A Reply Comment Options
Unread 08-28-12, 05:29 PM  
chwolfgang
A Defias Bandit

Forum posts: 2
File comments: 71
Uploads: 0
I love this addon. Any chance of an update for MoP? Please.
chwolfgang is offline Report comment to moderator  
Reply With Quote
Unread 11-07-10, 01:34 PM  
Voxxel
A Warpwood Thunder Caller

Forum posts: 96
File comments: 13
Uploads: 0
Thanks a lot for the update, Dust!
Voxxel is offline Report comment to moderator  
Reply With Quote
Unread 12-28-08, 11:28 AM  
Jaim Sandar
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 357
Uploads: 1
Re: Re: r3

Originally posted by Dust
The mouse frame stays visible because the game doesn't tell me when I am not over a unit anymore (The event is only sent when the mouseover unit changes to an other unit). I could poll for that information, but that would consume CPU resources.
Before I found your AddOn, I was using one called "MTLove2"
http://www.wowinterface.com/download...4-MTLove2.html
All it does is show a frame at the cursor upon mouseover with the target of the mouseover unit. The frame disappears immediately upon moving the mouse off of the unit.
MTLove also has optional additional target tooltips and class counters.
I don't know how CPU intensive MTLove is, but it seemed to work well without impact on performance, at least on my system.
I have been leaving the mouseover frame in TargetCheck disabled because it just gets in the way after it should be gone. I can manually make it go away by clicking on my character's portrait, but I don't always want to take time to do that. I could make a macro and bind a key to it, but...

Originally posted by Dust
I made the normal frames from a Frame, so they don't resize at all (and their position can be stored by the game). It is possible to resize it though. Will consider that for a next revision.
I'm not terribly concerned about an autoresize for the normal frame; I was just wondering if it is possible as an option, and how difficult to do. Or, as you mentioned, if the position can be saved, which is a must have I think.
Thank you for your response.
Last edited by Jaim Sandar : 12-28-08 at 11:44 AM.
Jaim Sandar is offline Report comment to moderator  
Reply With Quote
Unread 12-28-08, 06:33 AM  
Dust
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 21
Uploads: 6
Re: r3

Originally posted by Jaim Sandar
It seems to work fine for me, but a couple of comments.

The mouse frame resizes to the target name, but the main frame does not. I can see where this may sometimes be desirable. Is there an option to make the frame to auto-size?

The mouse frame stays visible even after the mouse is moved away from the target, which is a bother.

Thank you.
The mouse frame resizes because it's a real GameTooltip. I made the normal frames from a Frame, so they don't resize at all (and their position can be stored by the game). It is possible to resize it though. Will consider that for a next revision.

The mouse frame stays visible because the game doesn't tell me when I am not over a unit anymore (The event is only sent when the mouseover unit changes to an other unit). I could poll for that information, but that would consume CPU resources.
Dust is offline Report comment to moderator  
Reply With Quote
Unread 12-27-08, 03:54 PM  
Jaim Sandar
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 357
Uploads: 1
r3

It seems to work fine for me, but a couple of comments.

The mouse frame resizes to the target name, but the main frame does not. I can see where this may sometimes be desirable. Is there an option to make the frame to auto-size?

The mouse frame stays visible even after the mouse is moved away from the target, which is a bother.

Thank you.
Jaim Sandar is offline Report comment to moderator  
Reply With Quote
Unread 12-26-08, 06:23 PM  
metalchoir
A Kobold Labourer
 
metalchoir's Avatar

Forum posts: 0
File comments: 32
Uploads: 0
Re: Re: and..

Originally posted by Dust
Are you sure you use the newest version? On line 278, table.insert is not called. On 277 it is. maybe a problem with the error message.

In what circumstance did this happen? Maybe you have to delete the TargetCheck settings for pet support, although I think it should automatically reset.

I use TargetCheck myself in raids, and it never gave this error.

Edit: Maybe it's lag related, when the API does not return the true class just after you join a party or an other member joins.

Edit2: r3 should check for what ever caused the problem for you and instead of failing write an error to the chat. If you could give me that error it would help me find the real cause. I hope

This error message had almost never been shown
So I can't remember that situation to happen it
But I guess that the reason is "Edit: Maybe it's lag related" you said
I'll check it after I update this addon
If I meet the error message again, I'll report to you
Thanks for quick reply
metalchoir is offline Report comment to moderator  
Reply With Quote
Unread 12-26-08, 09:51 AM  
Dust
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 21
Uploads: 6
Re: and..

Originally posted by metalchoir
I met the error message again like this
---------------------------------------
Interface\Addons\TargetCheck\TargetCheck.lua:278: bad argument #1 to 'insert' (table expected, got nil)
---------------------------------------

Check it, plz
and Happy New Year~
Are you sure you use the newest version? On line 278, table.insert is not called. On 277 it is. maybe a problem with the error message.

In what circumstance did this happen? Maybe you have to delete the TargetCheck settings for pet support, although I think it should automatically reset.

I use TargetCheck myself in raids, and it never gave this error.

Edit: Maybe it's lag related, when the API does not return the true class just after you join a party or an other member joins.

Edit2: r3 should check for what ever caused the problem for you and instead of failing write an error to the chat. If you could give me that error it would help me find the real cause. I hope
Last edited by Dust : 12-26-08 at 10:28 AM.
Dust is offline Report comment to moderator  
Reply With Quote
Unread 12-26-08, 09:38 AM  
metalchoir
A Kobold Labourer
 
metalchoir's Avatar

Forum posts: 0
File comments: 32
Uploads: 0
and..

I met the error message again like this
---------------------------------------
Interface\Addons\TargetCheck\TargetCheck.lua:278: bad argument #1 to 'insert' (table expected, got nil)
---------------------------------------

Check it, plz
and Happy New Year~
metalchoir is offline Report comment to moderator  
Reply With Quote
Unread 12-10-08, 07:42 AM  
Dust
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 21
Uploads: 6
Re: I can't use

Thanks for your detailed report, I'll take a look at it.
Dust is offline Report comment to moderator  
Reply With Quote
Unread 12-10-08, 02:59 AM  
metalchoir
A Kobold Labourer
 
metalchoir's Avatar

Forum posts: 0
File comments: 32
Uploads: 0
I can't use "MouseOver Target Checking"

Hi, It's so good.
but.. I got a problem.

I can't use "MouseOver Target Checking"
After I input the command "/tc mouse", I could see the Header only which is MouseOver UnitName. Of course, I was in party and having the same target with party1

After that ReloadUI, I found error messages.
--------------------------------------------------Interface\AddOns\TargetCheck\TargetCheck.lua:306: attempt to index local 'frame' (a nil value)
Count: 2

Call Stack:
[C]: ?
Interface\AddOns\TargetCheck\TargetCheck.lua:306: in function `TC_CheckTarget'
Interface\AddOns\TargetCheck\TargetCheck.lua:300: in function `TC_Check'
Interface\AddOns\TargetCheck\TargetCheck.lua:623: in function `TC_SetAnchor'
Interface\AddOns\TargetCheck\TargetCheck.lua:217: in function `TC_RestoreFrame'
--------------------------------------------------

What is the problem with me?
metalchoir is offline Report comment to moderator  
Reply With Quote
Unread 12-17-06, 07:09 AM  
Dust
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 21
Uploads: 6
Originally posted by NiGHTsC
Good one, working like Cirk's Targetz, but it has own frame, make it easier to watch.
By the way, does the frame display all players's name or just the number of the class?
not sure if "Filter" is doing that.
Thank you for this addon

I just tried it and I have some problem with the options.
when I use /target scale #, no matter what number I enter, the TC frame will disappear, is there any option to reset all the setting?
also, when I turn on /mouse and /mousefilter, some problem will appear, I can't explain it, it's like the screen color turn grey/white.
It displays the name of the players if it has enough space, or just a class summary if it does not. You can increase the limit for example by making the frame higher with alt-click draging.

scale is a parameter I pass to the frame, and unfortunately blizzards implementation also scales the position. Sane ranges are between 0.5 and 1.0. You can reset this by deleting the SavedVariables lua file of TargetCheck and the layout-cache.txt file of your char (I would not delete that file tho, you would lose positions of all your addons, not just mine)

mouse attaches a targetcheck frame to your mouse pointer. Not sure why the whole screen goes grey, maybe your scale is too big? I'll take a look at the code for that.

Edit: Oh, and filter just hides classes. If you have a frame which shows assisting, you might not care about priests or paladins, or if you have a frame of people who target yourself, you are not interested in hunters or warlocks.
Last edited by Dust : 12-17-06 at 07:12 AM.
Dust is offline Report comment to moderator  
Reply With Quote
Unread 12-16-06, 12:49 PM  
NiGHTsC
A Murloc Raider

Forum posts: 7
File comments: 10
Uploads: 0
Good one, working like Cirk's Targetz, but it has own frame, make it easier to watch.
By the way, does the frame display all players's name or just the number of the class?
not sure if "Filter" is doing that.
Thank you for this addon

I just tried it and I have some problem with the options.
when I use /target scale #, no matter what number I enter, the TC frame will disappear, is there any option to reset all the setting?
also, when I turn on /mouse and /mousefilter, some problem will appear, I can't explain it, it's like the screen color turn grey/white.
Last edited by NiGHTsC : 12-16-06 at 04:04 PM.
NiGHTsC is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: