Download
(10Kb)
Download
Updated: 08-21-12 11:36 AM
Pictures
File Info
Updated:08-21-12 11:36 AM
Created:10-15-10 12:20 PM
Downloads:9,433
Favorites:181
MD5:

ReforgedTooltip  Popular! (More than 5000 hits)

Version: 1.0.7
by: emelio [More]

Changes the "Reforged" line in tooltips of reforged items to a more meaningful line showing which stat was reforged. For example the "Reforged" line in a tooltip would turn into "Reforged (100 Spirit -> 100 Haste)".

Works with all client languages.

WoW 5.0/Mists of Pandaria support:

This addon has been updated for Mists of Pandaria and will work with both 4.x and 5.x clients.

NOTE: This addon is no longer needed as of WoW 5.1, as Blizzard has built in a similar feature into the client.

ReforgedTooltip 1.0.7:
- Now includes the reforged stat values in the tooltip, e.g. "Reforged (129 Haste -> 129 Hit)"
- Updated for WoW 5.0 / Mists of Pandaria


ReforgedTooltip 1.0.6:
- TOC bump for 4.3


ReforgedTooltip 1.0.5:
- TOC bump for 4.2


ReforgedTooltip 1.0.4:
- TOC bump for 4.1


ReforgedTooltip 1.0.3:
- Update for Patch 4.0.3a


ReforgedTooltip 1.0.2:
- Fix spirit reforgings, thanks lenmox/Barjack!


ReforgedTooltip 1.0.1:
- Hook tooltips a bit later, this should make the addon work even if other addons override the tooltip handlers. Thanks alot to Maziel for helping debug this! :)
Optional Files (0)


Post A Reply Comment Options
Unread 10-18-10, 09:03 PM  
brknsoul
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 160
Uploads: 2
Awesome addon, but a quick suggestion, could you move the Reforged (Stat -> Stat) to just above the regular green stat text, ie;

Staff of Awesome
Soulbound
Two Hand
+150 Stamina
+200 Intellect
+60 Spirit
(Reforged Spirit -> Hit)
Equip: Increases hit rating by 40.
Report comment to moderator  
Reply With Quote
Unread 10-18-10, 02:10 AM  
Maziel
A Deviate Faerie Dragon
 
Maziel's Avatar
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 152
Uploads: 7
Re: Thanks

Originally posted by Nibelheim
Thanks for the addon Great idea.



Hey, they have a tradition to uphold
OMG I Just LOL'd out loud for real. That is so true Nibelheim.
Report comment to moderator  
Reply With Quote
Unread 10-18-10, 01:51 AM  
Nibelheim
local roygbi-
 
Nibelheim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1600
File comments: 2305
Uploads: 21
Thanks

Thanks for the addon Great idea.

I was like, wtf... really... how helpful are you Blizzard...
Hey, they have a tradition to uphold
Report comment to moderator  
Reply With Quote
Unread 10-17-10, 09:42 PM  
Rakuen
A Defias Bandit
 
Rakuen's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 24
Uploads: 1
Thanks so much for such a wonderful addon!
Report comment to moderator  
Reply With Quote
Unread 10-17-10, 02:59 PM  
Maziel
A Deviate Faerie Dragon
 
Maziel's Avatar
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 152
Uploads: 7
Originally posted by emelio
Nice Thanks for your help!
No problem at all.

I was surprised Blizzard did not include what this addon does, instead only showing 'Reforged'.

I was like, wtf... really... how helpful are you Blizzard...

So I went looking around and found nothing until you mentioned it in your inspect Equipt addon which I use.

Thanks for your writing of this addon.
Report comment to moderator  
Reply With Quote
Unread 10-17-10, 02:40 PM  
emelio
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 40
Uploads: 3
Originally posted by Maziel
Works perfectly now.

Thank you so much =)

Awesome job!
Nice Thanks for your help!
Report comment to moderator  
Reply With Quote
Unread 10-17-10, 02:24 PM  
Maziel
A Deviate Faerie Dragon
 
Maziel's Avatar
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 152
Uploads: 7
Originally posted by emelio
@Maziel: Should now be fixed in 1.0.1 (hopefully...). Thanks again!
Works perfectly now.

Thank you so much =)

Awesome job!
Report comment to moderator  
Reply With Quote
Unread 10-17-10, 02:19 PM  
Maziel
A Deviate Faerie Dragon
 
Maziel's Avatar
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 152
Uploads: 7
Originally posted by emelio
Ok, good, thanks so much for your help!
I'll try to fix it so that it works without entering that command then.

Concerning the text change, I agree, that would be much better for English clients, but the downside is that it would need to be translated for every other language... Also, while "Reforged Spirit to Mastery" is valid in English, just appending the stats with a (translated) "to" between them won't result in a valid sentence in other languages, so it's not that easy :-\
Thats why I picked the arrow, because it's kinda universal...
Ah indeed. I didn't think about non English users. Bad me. >_<
Report comment to moderator  
Reply With Quote
Unread 10-17-10, 09:45 AM  
emelio
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 40
Uploads: 3
@Maziel: Should now be fixed in 1.0.1 (hopefully...). Thanks again!
Report comment to moderator  
Reply With Quote
Unread 10-17-10, 08:52 AM  
emelio
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 40
Uploads: 3
Originally posted by Maziel
At first it did nothing.

But then i used

/run ReforgedTooltip_HookTooltips()

And after that

All tooltips work beautifully showing the Reforged (Blah -> Blah)

=D =D =D

Though, I would change -> to 'to' so it read:
Reforged Spirit to Expertise.

local newText = text .. " " .. minus .. " to " .. plus .. "."

instead of

Reforged (Spirit -> Expertise)

(So I would lose the brackets too)

But whatever you did with that command, it made it work! =D
Ok, good, thanks so much for your help!
I'll try to fix it so that it works without entering that command then.

Concerning the text change, I agree, that would be much better for English clients, but the downside is that it would need to be translated for every other language... Also, while "Reforged Spirit to Mastery" is valid in English, just appending the stats with a (translated) "to" between them won't result in a valid sentence in other languages, so it's not that easy :-\
Thats why I picked the arrow, because it's kinda universal...
Report comment to moderator  
Reply With Quote
Unread 10-17-10, 08:19 AM  
Maziel
A Deviate Faerie Dragon
 
Maziel's Avatar
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 152
Uploads: 7
At first it did nothing.

But then i used

/run ReforgedTooltip_HookTooltips()

And after that

All tooltips work beautifully showing the Reforged (Blah -> Blah)

=D =D =D

Though, I would change -> to 'to' so it read:
Reforged Spirit to Expertise.

local newText = text .. " " .. minus .. " to " .. plus .. "."

instead of

Reforged (Spirit -> Expertise)

(So I would lose the brackets too)

But whatever you did with that command, it made it work! =D
Last edited by Maziel : 10-17-10 at 08:43 AM.
Report comment to moderator  
Reply With Quote
Unread 10-17-10, 05:36 AM  
emelio
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 40
Uploads: 3
Originally posted by Maziel
First code you gave me, I used, linked in the gear and nothing showed up in the chat frame (no errors popped up either)

Second code you gave me, I changed Player to Maziel and it printed out the number 69 in to the chat window.

Don't know how that helps you yet. =D

Still not seeing anything in the tooltips though.
Thanks! It's "just" a display problem then... Although I'm not quite sure why it doesn't work for you since I tested it with the English client. Might be some other addon interfering :-\

I've added some debug code to the addon. If you could try that version, that would be great.
I've uploaded it here: http://paste.wowace.com/pfgomx8zqs2brl6u/ (Just open the ReforgedTooltip.lua and replace its contents with the code from that link.)
Then, when you open a tooltip of a reforged item, something like the following should be printed in the chat window:

At least that should be printed when it works, but since it doesn't work for you I hope it will print something else that allows me to see where it fails

If it doesn't print anything at all, the hooking code probably doesn't work. In that case, can you please try the following:
Code:
/run ReforgedTooltip_HookTooltips()
And see if it works then?

Thanks for your help
Report comment to moderator  
Reply With Quote
Unread 10-17-10, 01:35 AM  
Maziel
A Deviate Faerie Dragon
 
Maziel's Avatar
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 152
Uploads: 7
First code you gave me, I used, linked in the gear and nothing showed up in the chat frame (no errors popped up either)

Second code you gave me, I changed Player to Maziel and it printed out the number 69 in to the chat window.

Don't know how that helps you yet. =D

Still not seeing anything in the tooltips though.


Originally posted by emelio
Hmm... hard to say

What version of WoW are you using? Live or beta (the IDs are different on the beta for some reason... haven't checked after the latest patch) and what language? I'm using the global string REFORGED to replace the line in tooltips. I've tested it with English and German clients and it should work with other languages too, but who knows...

Can you maybe try something like the following:
Code:
/run DEFAULT_CHAT_FRAME:AddMessage(LibStub("LibReforgingInfo-1.0"):GetReforgeID( itemLink here ))
where itemLink is some reforged item. For example if you have reforged the item in your head slot, you could use:

Code:
/run DEFAULT_CHAT_FRAME:AddMessage(LibStub("LibReforgingInfo-1.0"):GetReforgeID( GetInventoryItemLink("player", 1) ))
(slot numbers)

That should print a number, hopefully between 57 and 112 on live realms. That way we can check if it's problem detecting the reforged stat or simply a display problem.
Report comment to moderator  
Reply With Quote
Unread 10-16-10, 03:17 PM  
Maziel
A Deviate Faerie Dragon
 
Maziel's Avatar
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 152
Uploads: 7
Hi emelio.

Using latest live version of WoW (never used the beta wow nor have I ever gone to the test realms. Latest live version for me)

English version, US server Feathermoon.

About to head to work so will try your code commands when I get back home. =)

Originally posted by emelio
Hmm... hard to say

What version of WoW are you using? Live or beta (the IDs are different on the beta for some reason... haven't checked after the latest patch) and what language? I'm using the global string REFORGED to replace the line in tooltips. I've tested it with English and German clients and it should work with other languages too, but who knows...

Can you maybe try something like the following:
Code:
/run DEFAULT_CHAT_FRAME:AddMessage(LibStub("LibReforgingInfo-1.0"):GetReforgeID( itemLink here ))
where itemLink is some reforged item. For example if you have reforged the item in your head slot, you could use:

Code:
/run DEFAULT_CHAT_FRAME:AddMessage(LibStub("LibReforgingInfo-1.0"):GetReforgeID( GetInventoryItemLink("player", 1) ))
(slot numbers)

That should print a number, hopefully between 57 and 112 on live realms. That way we can check if it's problem detecting the reforged stat or simply a display problem.
Report comment to moderator  
Reply With Quote
Unread 10-16-10, 12:25 PM  
emelio
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 40
Uploads: 3
Originally posted by Maziel
Doesn't seem to be working for me...

I have InspectEquipt and Examiner working fine....

Tier Tooltip is working fine...

Rating Buster is working fine...

But ReforgedTooltip just isn't showing up on Character or Inspects.

Any ideas?
Hmm... hard to say

What version of WoW are you using? Live or beta (the IDs are different on the beta for some reason... haven't checked after the latest patch) and what language? I'm using the global string REFORGED to replace the line in tooltips. I've tested it with English and German clients and it should work with other languages too, but who knows...

Can you maybe try something like the following:
Code:
/run DEFAULT_CHAT_FRAME:AddMessage(LibStub("LibReforgingInfo-1.0"):GetReforgeID( itemLink here ))
where itemLink is some reforged item. For example if you have reforged the item in your head slot, you could use:

Code:
/run DEFAULT_CHAT_FRAME:AddMessage(LibStub("LibReforgingInfo-1.0"):GetReforgeID( GetInventoryItemLink("player", 1) ))
(slot numbers)

That should print a number, hopefully between 57 and 112 on live realms. That way we can check if it's problem detecting the reforged stat or simply a display problem.
Last edited by emelio : 10-16-10 at 12:30 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: