Download
(1Kb)
Download
Updated: 02-18-10 02:04 PM
Pictures
File Info
Updated:02-18-10 02:04 PM
Created:02-18-10 02:04 PM
Downloads:5,130
Favorites:25
MD5:

ncHoverName  Popular! (More than 5000 hits)

Version: 1.0
by: nightcracker [More]

ncHoverName is a little addon that shows the name of the mob/player you are hovering over in the WorldFrame. Class coloring and reaction coloring is enabled. The name is aligned 20px above your cursor.

Upcoming features:
- None
Suggest features!

Usage:
Install & go. No config.

Optional Files (0)


Post A Reply Comment Options
Unread 04-12-19, 09:31 AM  
Slaxi81
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
FanUpdate

Originally Posted by miguelxp
Update it pls if you can
I did a Fan Update of this nice piece of code. You can find it under ncHoverNameFU
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 07-30-18, 08:00 AM  
miguelxp
A Kobold Labourer

Forum posts: 0
File comments: 23
Uploads: 0
Update it pls if you can
Report comment to moderator  
Reply With Quote
Unread 09-04-15, 03:33 PM  
dragonsjewl
A Defias Bandit

Forum posts: 2
File comments: 9
Uploads: 0
ToT not working

So any chance at all that there could be an update or you could do a fix for the ToT file you had posted. Since patch 6.2.2 hit mine doesn't work anymore. It still shows the name of who I mouse over but no target names anymore. I really miss it. I know nothing has been done with this since 2010 so I'm not expecting a miracle now, but figured it still never hurts to try Thank much for the add on in the first place and majorly profuse thanks if for some odd reason you find yourself in the mood to help a girl out lol.
Report comment to moderator  
Reply With Quote
Unread 04-28-11, 05:18 PM  
ReverendD
A Rage Talon Dragon Guard
 
ReverendD's Avatar
AddOn Author - Click to view AddOns

Forum posts: 343
File comments: 53
Uploads: 1
Update?

Will this addon be updated for 4.1? really missing it.
__________________
"Computers have enabled people to make more mistakes faster than almost any invention in history, with the possible exception of tequila and hand guns" - Mitch Ratcliffe
“A computer once beat me at chess, but it was no match for me at kick boxing” - Emo Phillips
Report comment to moderator  
Reply With Quote
Unread 08-11-10, 03:41 PM  
Lord_Doom
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 9
Uploads: 1
First of all love this addon

But there is a minor annoyance, little bug with a lua error that pops up if you have your mouse over a unit(aka player, target, etc) right when the cinematic for the LK plays after you defeat him. The problem is that you have no mouse cursor to close the lua error window when trying to watch it and hitting escape closes the window plus the cinematic lol.

Wish I would have copied the lua error report but totally forgot to do so, will get it next time. Again not really a huge issue just thought I would let you know.
Last edited by Lord_Doom : 08-11-10 at 03:42 PM.
Report comment to moderator  
Reply With Quote
Unread 04-25-10, 07:27 AM  
karmamuscle
A Cobalt Mageweaver
 
karmamuscle's Avatar
AddOn Author - Click to view AddOns

Forum posts: 205
File comments: 173
Uploads: 1
Niiiiiice Well done
Report comment to moderator  
Reply With Quote
Unread 04-25-10, 05:22 AM  
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 716
File comments: 428
Uploads: 22
Originally posted by ckramme
Anyone added a ToT name to this beauty?
I tried looking at some tooltip addons to see how they did ToT, but didn't understand I single thing I read
Replace ncHoverName.lua with this file and your good to go:
http://gist.github.com/gists/378332/download

Also added level on mobs and players higher/lower then you.
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.
Report comment to moderator  
Reply With Quote
Unread 04-24-10, 04:36 PM  
karmamuscle
A Cobalt Mageweaver
 
karmamuscle's Avatar
AddOn Author - Click to view AddOns

Forum posts: 205
File comments: 173
Uploads: 1
Anyone added a ToT name to this beauty?
I tried looking at some tooltip addons to see how they did ToT, but didn't understand I single thing I read
Report comment to moderator  
Reply With Quote
Unread 04-11-10, 08:12 PM  
rain3x
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 19
File comments: 18
Uploads: 7
Originally posted by nightcracker
And this is exactly the reason why I don't put in all the features they want, I want them to edit the code themselves so they learn a little
I've modified mods before, so I didn't really learn much xD

Also, here's an alternate version of the modification.

Code:
	local name = UnitName("mouseover")
	local level = UnitLevel("mouseover")
	local guild = GetGuildInfo("mouseover")
	local PVP = UnitIsPVP("mouseover")
	local AFK = UnitIsAFK("mouseover")
	local DND = UnitIsDND("mouseover")
	local prefix = ""
	local xiferp = ""
	local sub = " ["
	local sun = "]"
	local bus = ""
	local nus = ""
	local dliug = ""
	local isFriend = UnitIsFriend("player","mouseover")
	local classi = ""
	
	if ( UnitClassification("mouseover") == "worldboss" ) then classi = " World Boss" end
	if ( UnitClassification("mouseover") == "elite" ) then classi = " Elite" end
	if ( UnitClassification("mouseover") == "rare" ) then classi = " Rare" end
	if ( UnitClassification("mouseover") == "rareelite" ) then classi = " Rare Elite" end
	if PVP and not UnitIsFriend("player","mouseover") then xiferp = "<KILL> " end
	if guild then dliug = GetGuildInfo("mouseover") end
	if guild then bus = " <" end
	if guild then nus = ">" end
	if AFK then prefix = "<AFK> " end
	if DND then prefix = "<DND> " end
	
	self.text:SetTextColor(getcolor())
	self.text:SetText(xiferp..prefix..name..sub..level..classi..sun..bus..dliug..nus)
This makes NPCS look like this instead of the previous:

NPC Name [Level Rare/Elite/Rare Elite/World Boss]
Report comment to moderator  
Reply With Quote
Unread 04-11-10, 11:40 AM  
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 716
File comments: 428
Uploads: 22
And this is exactly the reason why I don't put in all the features they want, I want them to edit the code themselves so they learn a little
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.
Report comment to moderator  
Reply With Quote
Unread 04-11-10, 01:31 AM  
rain3x
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 19
File comments: 18
Uploads: 7
I've been working on modifying this, not to rerelease it, but to fit it to my needs. Maybe however you'd like to add flagged status, level, and rare/elite classification. Would be awesome =]

Here's my current solution (I realize I used roundabout ways to achieve what I wanted, but it's better than nothing =P):



Code:
	local name = UnitName("mouseover")
	local level = UnitLevel("mouseover")
	local guild = GetGuildInfo("mouseover")
	local PVP = UnitIsPVP("mouseover")
	local AFK = UnitIsAFK("mouseover")
	local DND = UnitIsDND("mouseover")
	local prefix = ""
	local xiferp = ""
	local sub = " ["
	local sun = "]"
	local bus = ""
	local nus = ""
	local dliug = ""
	local isFriend = UnitIsFriend("player","mouseover")
	local classi = ""
	local clq = ""
	local clw = ""
	
	if ( UnitClassification("mouseover") == "worldboss" ) then classi = "World Boss" end
	if ( UnitClassification("mouseover") == "elite" ) then classi = "Elite" end
	if ( UnitClassification("mouseover") == "rare" ) then classi = "Rare" end
	if ( UnitClassification("mouseover") == "rareelite" ) then classi = "Rare Elite" end
	if classi == "Rare" then clq = "[" end
	if classi == "Rare" then clw = "] " end
	if classi == "Rare Elite" then clq = "[" end
	if classi == "Rare Elite" then clw = "] " end
	if classi == "Elite" then clq = "[" end
	if classi == "Elite" then clw = "] " end
	if classi == "World Boss" then clq = "[" end
	if classi == "World Boss" then clw = "] " end
	if PVP and not UnitIsFriend("player","mouseover") then xiferp = "<KILL> " end
	if guild then dliug = GetGuildInfo("mouseover") end
	if guild then bus = " <" end
	if guild then nus = ">" end
	if AFK then prefix = "<AFK> " end
	if DND then prefix = "<DND> " end
	
	self.text:SetTextColor(getcolor())
	self.text:SetText(xiferp..prefix..clq..classi..clw..name..sub..level..sun..bus..dliug..nus)
This makes it appear like:

<PVP (if the unit is not friendly and is flagged)><DND/AFK> Name [Level] <Guild Name>



NPCs will simply show

[Classification if rare or better] NPC Name [Level]




(Cleaned it up a bit, now it would look more like this: [Rare] Bjarn [Level]
Last edited by rain3x : 04-11-10 at 06:36 PM.
Report comment to moderator  
Reply With Quote
Unread 04-05-10, 08:01 AM  
karmamuscle
A Cobalt Mageweaver
 
karmamuscle's Avatar
AddOn Author - Click to view AddOns

Forum posts: 205
File comments: 173
Uploads: 1
Recently started using this and it is actually quite useful not to have an entire tooltip at the mouse as I used to.

I like the level+classification idea.

One thing I'd like to see added was maybe their target. Along the lines of (80) Awsumally -> You
Its the one thing I miss in PvP.
Last edited by karmamuscle : 04-05-10 at 09:20 AM.
Report comment to moderator  
Reply With Quote
Unread 03-18-10, 05:44 PM  
Flaster
A Fallenroot Satyr
 
Flaster's Avatar

Forum posts: 20
File comments: 12
Uploads: 0
Originally posted by nightcracker
No problem
Good day. I like your addon "ncHoverName" .Very useful mod, but absent level, and Maybe Healt. Level and healt on the right side. at least lvl please. sorry, I do not speak much English
Report comment to moderator  
Reply With Quote
Unread 03-03-10, 02:06 PM  
RyuYou
A Kobold Labourer

Forum posts: 1
File comments: 26
Uploads: 0
Wonder if...2

Originally posted by nightcracker
By taking looks at other people's code and trying to modify it(just like you are now). This helped me a lot too: http://www.wowwiki.com/World_of_Warcraft_API
No, I am asking and you are providing me with the coding
This is the Code I found, but how do you get a symbol
"local classification = UnitClassification(unit);"
or is it more like this?
" if ( UnitClassification("target") == "worldboss" ) then
-- If unit is a world boss show skull regardless of level
TargetLevelText:Hide();
TargetHighLevelTexture:Show();
end"
I am cold?

" if ( UnitClassification("target") == "elite" ) then
-- If unit is a world boss show + regardless of level
TargetLevelText:Sow();
TargetHighLevelTexture:Show();
end"
or did I just break it?
Last edited by RyuYou : 03-03-10 at 02:16 PM.
Report comment to moderator  
Reply With Quote
Unread 03-03-10, 01:44 PM  
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 716
File comments: 428
Uploads: 22
Re: Re: Re: Re: Re: Re: Wonder if...

Originally posted by RyuYou
That's so cool, but sorry I forgot, about the Elite symbol, whats the code for elite and was thinking some like this "(80+) nightcracker
"+" being the symbol for elite

Where did you learn to code LUA files?
By taking looks at other people's code and trying to modify it(just like you are now). This helped me a lot too: http://www.wowwiki.com/World_of_Warcraft_API
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: