Page 1 of 2

Fix for the addon "MOTH"

Posted: Sat Feb 21, 2015 12:33 pm
by Luth
Mouse over target hover (MOTH)

The addon extends your standard mouse over window with additional information.
You can download it in Tesqs addon pack, but unfortunately it's not working in the 1.4.8 client.
It uses a function, that was removed in 1.4.0 and so it stops running.

Here is the fix:
Delete line 409 local iconId = GetDefaultMapPointIcon( mapPinType ) in %wardirectory%\Interface\AddOns\Moth\Moth.lua.

Image

After doing this it should look like this:
Spoiler:
ImageImage
---------------------------------------------------------------

You can customize the "mouse over target window" in %wardirectory%\Interface\AddOns\Moth\MothProfiles.lua:
Spoiler:
Image
The window with gold frame, 0.5 background alpha and another font (font_clear_small_bold to font_clear_large_bold):
Spoiler:
ImageImage
---------------------------------------------------------------

You can customize the colors (RGB values) of the text in the in %wardirectory%\Interface\AddOns\Moth\GuidanceCounselor.lua:
Spoiler:
Image
e.g.: make the all order career names light blue (0, 200, 255) and all destro red (255, 50, 0). Or everything white (255, 255, 255).

When you change something in the addon core files and want it to be loaded into the game "on the fly", just reload your UI (/rel in the chatwindow).

---------------------------------------------------------------

Uploaded the fixed addon + alternative colored version:

Re: Fix for the addon "MOTH"

Posted: Sat Feb 21, 2015 1:13 pm
by wender88
Wooooo! Missed this addon sooo much! Thanks! :D

Re: Fix for the addon "MOTH"

Posted: Sat Feb 21, 2015 1:24 pm
by timber2
What other kind of information could you fetch?
How about resists or other stats?

Re: Fix for the addon "MOTH"

Posted: Sat Feb 21, 2015 1:30 pm
by Luth
You can't read the stats of other chars. The addon mainly gives advanced info on quests and lets you customize the mouse over window.

Re: Fix for the addon "MOTH"

Posted: Sat Feb 21, 2015 1:33 pm
by Dana
Which file I need to edit?

And thank you for the possibility to fix this add-on :)

Re: Fix for the addon "MOTH"

Posted: Sat Feb 21, 2015 1:46 pm
by Luth
Sry, i forgot about that :D

It's "Moth.lua" in %wardirectory%\Interface\AddOns\Moth. I would recommend "Notepad++" for editing.

I updated the OP on customizing the addon.

Re: Fix for the addon "MOTH"

Posted: Sat Feb 21, 2015 2:01 pm
by Elven
Would be good if you just shared the altered version of the add on ;)

We can then start creating a list of the functioning add ons, and post the download links on forum for others to grab.

Re: Fix for the addon "MOTH"

Posted: Sat Feb 21, 2015 2:20 pm
by Luth
Hm, i find it better to post the solution in case the link of the download is just temporary and maybe dead in the future. Also i don't know if i have the permission from the addon creator to provide an alternative version (yes i know :roll: ).
It's really an easy fix. :)

P.S.: updated the main post on color customizing.

Re: Fix for the addon "MOTH"

Posted: Sat Feb 21, 2015 9:49 pm
by Luth
I just realised that users can upload packed data to the forum. I updated the first post with uploads. There is one version with other colors, because i don't like that many different colors in the window (order names+career blue, destro red, also i changed the color of quests from orange to yellow and the titles of npcs from yellow to gold):
Spoiler:
Image
Image
Q&A:

Q: I'm a stinking destro, i want destros be blue and order be red!
A: I uploaded a version with colors swapped.

Q: I'm a filthy x-realmer, what should i do?
A: Stop x-realming. :mrgreen:

Re: Fix for the addon "MOTH"

Posted: Sat Feb 21, 2015 10:06 pm
by gungnir08
Thank you so much for fixing this mod. It's been a pain having to play without it.