Download
(3Kb)
Download
Updated: 09-02-18 03:39 AM
Pictures
File Info
Compatibility:
Battle for Azeroth (8.0.1)
Updated:09-02-18 03:39 AM
Created:09-13-13 07:15 PM
Downloads:10,477
Favorites:39
MD5:

rTooltip  Popular! (More than 5000 hits)

Version: 800.20180901
by: zork [More]


Intro

rTooltip adjusts the graphical appearance of the game tooltip.
Git
https://github.com/zorker/rothui/tre...ow8.0/rTooltip

Optional Files (0)


Post A Reply Comment Options
Unread 09-14-13, 05:21 AM  
Xully
A Cyclonian

Forum posts: 44
File comments: 180
Uploads: 0
Hi, is there any possible way to make this addon to show ilvl in the tooltip?
Report comment to moderator  
Reply With Quote
Unread 09-14-13, 06:48 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Originally Posted by Xully
Hi, is there any possible way to make this addon to show ilvl in the tooltip?
Aehm...it does show the itemlevel. On every item the second line.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 09-14-13 at 06:48 AM.
Report comment to moderator  
Reply With Quote
Unread 09-14-13, 07:22 AM  
Xully
A Cyclonian

Forum posts: 44
File comments: 180
Uploads: 0
oh sorry, I didn't explain myself right. I meant show the ilvl of a player, I got another addon previuosly where when I mousehover on player it calculates his ilvl of that player, just like you see in your player sheet pan your current ilvl for example 520 or 530 ilvl, also shows the ilvl in tooltip of that player, some tooltips got that, its beautiful to see the ilvl of other people
Report comment to moderator  
Reply With Quote
Unread 09-14-13, 07:29 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Not with this tooltip.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 09-14-13 at 07:29 AM.
Report comment to moderator  
Reply With Quote
Unread 09-14-13, 10:57 AM  
lorgi
A Kobold Labourer

Forum posts: 0
File comments: 36
Uploads: 0
Code:
Message: Interface\AddOns\rTooltip\core.lua:128: Usage: UnitGUID("unit")
Time: 09/14/13 18:55:34
Count: 8
Stack: [C]: in function `UnitGUID'
Interface\AddOns\rTooltip\core.lua:128: in function <Interface\AddOns\rTooltip\core.lua:126>
[C]: ?

Locals: (*temporary) = nil
This keeps popping up while I did flex.
Report comment to moderator  
Reply With Quote
Unread 09-14-13, 11:57 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
That sounds odd. I'm doing this.
Lua Code:
  1. --OnTooltipSetUnit
  2. local unit = select(2, self:GetUnit()) or (GetMouseFocus() and GetMouseFocus():GetAttribute("unit")) or (UnitExists("mouseover") and "mouseover")
  3. local guid = UnitGUID(unit) or nil
  4. if not guid then return end

Nothing fancy. I doubt UnitGUID() will result in a Lua error if unit is nil or "wierd". It would just return nil.

Was that the full lua error message?
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 09-14-13 at 12:07 PM.
Report comment to moderator  
Reply With Quote
Unread 09-14-13, 12:21 PM  
lorgi
A Kobold Labourer

Forum posts: 0
File comments: 36
Uploads: 0
Yes, that was the entire error message and after we started and i closed it then it didn't appear again.
Report comment to moderator  
Reply With Quote
Unread 09-14-13, 12:35 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
I applied a fix. Download 50400.03 once it is available. I forgot to add a check on unit is nil.
Lua Code:
  1. if not unit or (unit and type(unit) ~= "string") then return end
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 09-14-13 at 12:40 PM.
Report comment to moderator  
Reply With Quote
Unread 09-16-13, 02:17 PM  
illum1n4ti
A Defias Bandit
 
illum1n4ti's Avatar

Forum posts: 3
File comments: 117
Uploads: 1
Hello Zork,

Wow another nice addon mate. Could u please add mouse anchor option?? I want to have the tooltip above my mouse pointer
Report comment to moderator  
Reply With Quote
Unread 09-16-13, 03:18 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Just edit the function http://code.google.com/p/rothui/sour...ip/core.lua#64
Lua Code:
  1. --edit
  2.     tooltip:SetOwner(parent, "ANCHOR_CURSOR")
  3.     --[[
  4.     if cursor and GetMouseFocus() == WorldFrame then
  5.       tooltip:SetOwner(parent, "ANCHOR_CURSOR")
  6.     else
  7.       tooltip:SetOwner(parent, "ANCHOR_NONE")
  8.       tooltip:SetPoint(unpack(cfg.pos))
  9.     end
  10.     ]]--

You can use different anchor types: http://wowprogramming.com/docs/widge.../SetAnchorType
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 09-16-13 at 03:19 PM.
Report comment to moderator  
Reply With Quote
Unread 09-16-13, 10:17 PM  
Dzl
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Hey Zork, is there any way to change the font colour from grey?
Report comment to moderator  
Reply With Quote
Unread 09-17-13, 01:43 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
@Dzl
Sure. Get rid of this:
Lua Code:
  1. --loop
  2.     for i = 2, GameTooltip:NumLines() do
  3.       local line = _G["GameTooltipTextLeft"..i]
  4.       if line then
  5.         line:SetTextColor(0.5,0.5,0.5)
  6.       end
  7.     end
Alternatively change the color to whatever you like.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 09-17-13 at 01:44 AM.
Report comment to moderator  
Reply With Quote
Unread 09-17-13, 05:11 PM  
Dzl
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
thank you!
Report comment to moderator  
Reply With Quote
Unread 09-21-13, 10:58 PM  
hoslam1
A Murloc Raider
 
hoslam1's Avatar

Forum posts: 4
File comments: 27
Uploads: 0
Hi~

Hi, fix the game system in tooltip. please...

I can see another person's target when I select another person.

but I cannot see them in your tooltip. And add the info about level in guild, if you possible.
Report comment to moderator  
Reply With Quote
Unread 09-22-13, 06:18 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Re: Hi~

@hoslam
No thanks. Just use a tooltip that does it for you then.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: