Download
(14Kb)
Download
Updated: 01-07-09 11:05 AM
Pictures
File Info
Updated:01-07-09 11:05 AM
Created:unknown
Downloads:7,529
Favorites:94
MD5:

Enchant Woot-O-Matic  Popular! (More than 5000 hits)

Version: 0.4.6
by: leethal [More]

Displays the actual effect of named enchants on tooltips, such as "Crusader", "Tuskarr's Vitality", "Shadow Armor" and "Icebreaker Weapon". Also includes Death Knight runes. Works in english and french, and partially german (no wotlk stuff).

The interface options (reachable via /ewom) lets you configure the color of the description text the addon injects into the tooltips.

I haven't played much in WotLK. Please post a comment if some spells are wrong or missing.

0.4.6: Added Death Knight runes (en only, do post translations!)
0.4.5: Added greater vitality.
0.4.3: Fixed compatibility with other tooltip mods
0.4.2: Le sigh, mistyped the TOC. Fixed now. I promise to test stuff properly prior to release next time! =P
0.4.1: Forgot to add the lib files to the TOC.
0.4: Fixed french. Added configuration panel that lets you set the color of the text added by this addon.
Optional Files (0)


Post A Reply Comment Options
Unread 04-14-07, 05:39 PM  
ploof
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 23
Uploads: 1
excellent. thanks.
Report comment to moderator  
Reply With Quote
Unread 04-14-07, 06:34 PM  
BlackZam
A Murloc Raider

Forum posts: 7
File comments: 51
Uploads: 0
nice addon.
Report comment to moderator  
Reply With Quote
Unread 04-15-07, 01:16 AM  
Wesslen
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 29
Uploads: 1
I've been looking for one of these... great.

Mongoose is a proc though, not equip.
Report comment to moderator  
Reply With Quote
Unread 04-15-07, 04:04 AM  
leethal
A Wyrmkin Dreamwalker
AddOn Author - Click to view AddOns

Forum posts: 54
File comments: 32
Uploads: 9
Bah, sorry for the Mongoose error. It used to be listed as a proc, simply misplaced it when I added localization in the latest version. Submitted an update now, it'll be available as soon as an admin has approved it.
Report comment to moderator  
Reply With Quote
Unread 08-06-08, 10:01 AM  
rinkx
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Sunfire Robes, Sunfire handwraps...

The add-on shouldn't work on the item titles in tooltips.
E.g.: When I look at Sunfire Robes or Sunfire handwraps, I see: Sunfire on-equip: +(whatever) Arcane/Fire damage.
Report comment to moderator  
Reply With Quote
Unread 08-06-08, 02:47 PM  
leethal
A Wyrmkin Dreamwalker
AddOn Author - Click to view AddOns

Forum posts: 54
File comments: 32
Uploads: 9
Haven't poked this mod for ages, not even using myself. If you're using the mod, though, I'd be happy to fix any bugs you might have. Not sure what you mean, though, I'm not able to picture how it looks on your machine from your explanation alone. Perhaps you could provide a screenshot? Or at least try to include some additional details in your explanation.

- leethal
__________________
github.com/augustl
Report comment to moderator  
Reply With Quote
Unread 08-06-08, 11:42 PM  
rinkx
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Replicate

Well, you can replicate this for yourself if your server has sunfire robes/handwraps unlocked. Area 52 US horde side has it unlocked for linking. For the robes, here is the replication code:

It's a link for sunfire robes enchanting with mongoose. While it doesn't exist, it does proper behavior for the item (i.e.: it shows the mongoose explanation) it borks the title (at least on my computer).

Code:
/script DEFAULT_CHAT_FRAME:AddMessage("Sunfire robe +mongoose: \124cffa335ee\124Hitem:34364:2673:0:0:0:0:0:0\124h[Sunfire Robe]\124h\124r");
The following is for a sunfire robe with +6 stats. This one exists, and it still borks the title.
Code:
/script DEFAULT_CHAT_FRAME:AddMessage("Sunfire robe +6 stats: \124cffa335ee\124Hitem:34364:2661:0:0:0:0:0:0\124h[Sunfire Robe]\124h\124r");
If you're up to fixing this (My apologies, I didn't noticed you haven't done anything to it in a year or so) how much job would it be to add the newest enchants? executioner+death frost.

p.s.: If the links above still don't work for demonstration what's going wrong, The problem must be on my side.

edit: Oh, and here's a link to sunfire robes alone. It doesn't break the title in that one.
Code:
/script DEFAULT_CHAT_FRAME:AddMessage("Shift-click this to place a link into a chat message: \124cffa335ee\124Hitem:34364:0:0:0:0:0:0:0\124h[Sunfire Robe]\124h\124r");
Last edited by rinkx : 08-06-08 at 11:44 PM.
Report comment to moderator  
Reply With Quote
Unread 08-07-08, 12:01 AM  
rinkx
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Well, fiddled a bit and fixed it myself. The problem was that in your tooltip iteration, you put
Code:
    for i=1, frame:NumLines() do
while line 1 is the title, so if "sunfire" was in the title, it would replace it with the information. I fixed it with a simple change to
Code:
    for i=2, frame:NumLines() do
I also added deathfrost/exec. in the localization for enEN

file EnchantWootOMatic.lua
Code:
function EnchantWootOMatic:IterateTooltip(frame)
    local width = frame:GetWidth()
    for i=2, frame:NumLines() do
        local tooltip_row = getglobal(frame:GetName().."TextLeft"..i)
        local text = tooltip_row:GetText()
        for k,v in pairs(enchant_list) do
            if string.find(text, k) then
                tooltip_row:SetWidth(width)
                tooltip_row:SetText(string.format("%s\n%s", k, v), nil, nil, nil,0.5, 1)
            end
        end
    end
    frame:Show()
end
Localization.enEN.lua
Code:
	["Executioner"] = "Ignores 840 of your enemy's armor during 15 seconds.",
	["Deathfrost"] = "Inflicts 150 frost damage and reduces the target's melee,ranged, and casting speed by 15% for 8 seconds.",
	["Demonslaying"] = "Inflicts on a demon 75 to 125 holy damage and stuns for 5 seconds.",
Report comment to moderator  
Reply With Quote
Unread 08-07-08, 12:24 AM  
leethal
A Wyrmkin Dreamwalker
AddOn Author - Click to view AddOns

Forum posts: 54
File comments: 32
Uploads: 9
Correct, haven't updated the mod for ages. When wowinterface.com mailed me because you commented, though, I, for no apparent reason, decided to bump the version numbers and update the mod a bit. So, I added deathfrost. Not executioner and demonslaying, though, added those now.

So, poked a bit around with the code myself. For each line of the tooltip, the addod did "if string.find(text, k)", where "text" is the line of text in the tooltip (e.g. "Mongoose", "Sunfire Robe", "Requires level 70" etc.) and k is the name of the enchant ("Sunfire", "Mongoose", "Deathfrost" etc.) String find does a match on the text, and because the enchant name "Sunfire" is in the name "Sunfire Robe", the addon erronously matched this and performed evil things. I guess you gathered as much as well.

So, I changed the string.find to "if text == k", which cheks if the line in the tootip is identical to the enchant name. That should have fixed the bug properly, instead of saying i=2, which is the same as saying "Skip checking the first line in the tooltip".

No, I'm not trying to pick on you, I'm grateful for your help and ideas, I would not have noticed this bug without your input!

Updating the addon .zip now. You could always download the latest version at http://github.com/leethal/enchant-woot-o-matic/ if you don't wanna wait, but I don't think the approval process takes very long.
__________________
github.com/augustl
Report comment to moderator  
Reply With Quote
Unread 08-07-08, 08:24 AM  
rinkx
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Originally posted by leethal
I changed the string.find to "if text == k"
Awesome, thanks!
Report comment to moderator  
Reply With Quote
Unread 12-29-08, 01:49 PM  
Fonjask
A Fallenroot Satyr
 
Fonjask's Avatar
AddOn Author - Click to view AddOns

Forum posts: 25
File comments: 266
Uploads: 2
Great addon, looks promising, will try out in a sec.
Please do be so kind to add a little changelog to the wowi site itself; thanks


s, Fonjask
__________________
~~~~~~~~~~~~
Report comment to moderator  
Reply With Quote
Unread 12-29-08, 02:27 PM  
leethal
A Wyrmkin Dreamwalker
AddOn Author - Click to view AddOns

Forum posts: 54
File comments: 32
Uploads: 9
Originally posted by Fonjask
Great addon, looks promising, will try out in a sec.
Please do be so kind to add a little changelog to the wowi site itself; thanks


s, Fonjask
Sure, I'll write a short sentence when I post updates.
__________________
github.com/augustl
Report comment to moderator  
Reply With Quote
Unread 12-30-08, 10:35 PM  
Auraka
A Kobold Labourer

Forum posts: 0
File comments: 74
Uploads: 0
Errors galore when run with tiptac.
Report comment to moderator  
Reply With Quote
Unread 12-31-08, 03:42 AM  
leethal
A Wyrmkin Dreamwalker
AddOn Author - Click to view AddOns

Forum posts: 54
File comments: 32
Uploads: 9
Originally posted by Auraka
Errors galore when run with tiptac.
Thanks, fixed in 0.4.3! 0.4.3 would also fix any similar errors for other tooltip mods.
__________________
github.com/augustl
Report comment to moderator  
Reply With Quote
Unread 01-04-09, 10:58 AM  
Fonjask
A Fallenroot Satyr
 
Fonjask's Avatar
AddOn Author - Click to view AddOns

Forum posts: 25
File comments: 266
Uploads: 2
You forgot one, don't know if it's just me, but 'Boots - Greater Vitality' doesn't display for me. Working as intended? Think not ^^.
__________________
~~~~~~~~~~~~
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: