It wasn't really difficult. I just activated the ingame debug mode and saw that the problem is in line 409 of moth.lua. Then i opened it and via google i found out, that the function in this line doesn't exist anymore in the API. So i just deleted the line and it worked. This could have done by anyone else, as i don't have any coding knowledge at all.
We should all thank the creator of this addon (or any addon). I think the difference between this fix and creating the addon is as big as the difference between watching at a mountain and climbing on it.
Also we should thank the devs who rebuild the server, as this is even a bazillion times harder then creating an addon.
Re: Fix for the addon "MOTH"
Posted: Sun Feb 22, 2015 9:31 am
by Luth
If you have the addon "DammazKron" installed you will realize that it hooks MOTH to show your K/D ratio versus enemy players. If you want to change the font type of the K/D ratio to match your altered MOTH settings, you have to edit line 58 in %wardirectory%\Interface\AddOns\DammazKron\Core\DK_Plugins.lua:
Original font type font_chat_text:
Spoiler:
In my case changed to font_clear_medium_bold:
Spoiler:
Re: Fix for the addon "MOTH"
Posted: Fri Apr 01, 2016 6:18 pm
by Astika
Let me preface by saying that I realize I am necroing this thread, and I want to apologize beforehand.
<-- snip -->
EDIT
For the time being, I'll be continuing work on MOTH (and other AddOns as requested/needed).
My sincere thanks to Luth, and his suggestions and changes. I will be implementing them in the future.
Re: Fix for the addon "MOTH"
Posted: Fri Apr 01, 2016 6:36 pm
by magicthighs
Astika wrote:
Luth wrote: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 ).
It's really an easy fix.
P.S.: updated the main post on color customizing.
Let me preface by saying that I realize I am necroing this thread, and I want to apologize beforehand.
Considering that MOTH has evolved long past when I last touched its code, of course you have permission. Your version of MOTH is *the* official version. Thanks for keeping it alive. xD
I'll attach some screenshots for proof and I'll send along all the source files I have related to MOTH.
-Astika (Dark Elf DoK, Dwarf Engineer)
Just wanted so say that you're awesome ^^
Re: Fix for the addon "MOTH"
Posted: Fri Apr 01, 2016 6:56 pm
by Luth
Astika wrote:
Spoiler:
Luth wrote: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 ).
It's really an easy fix.
P.S.: updated the main post on color customizing.
Let me preface by saying that I realize I am necroing this thread, and I want to apologize beforehand.
Considering that MOTH has evolved long past when I last touched its code, of course you have permission. Your version of MOTH is *the* official version. Thanks for keeping it alive. xD
I'll attach some screenshots for proof and I'll send along all the source files I have related to MOTH.