Recent Topics

Ads

Fix for the addon "MOTH"

Need help installing or running the game?
Check the Install Guide before posting.
Forum rules
Please read the Install Guide before posting in this section.

Sticky threads cover the most common questions. Please review them before posting to avoid duplicate topics and help save time for both players and staff.

Thank you.
Luth
Posts: 2840

Re: Fix for the addon "MOTH"

Post#11 » Sat Feb 21, 2015 10:20 pm

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. :D

Also we should thank the devs who rebuild the server, as this is even a bazillion times harder then creating an addon.

Ads
Luth
Posts: 2840

Re: Fix for the addon "MOTH"

Post#12 » Sun Feb 22, 2015 9:31 am

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:
Image
In my case changed to font_clear_medium_bold:
Spoiler:
Image
Attachments
DK_Plugins.zip
Different font for DammazKron hook, goes into %wardirectory%\Interface\AddOns\DammazKron\Core
(1.15 KiB) Downloaded 37 times

User avatar
Astika
Posts: 2

Re: Fix for the addon "MOTH"

Post#13 » Fri Apr 01, 2016 6:18 pm

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.
Last edited by Astika on Fri Apr 08, 2016 3:58 pm, edited 2 times in total.
(see xmtrcv)

User avatar
magicthighs
Former Staff
Posts: 717

Re: Fix for the addon "MOTH"

Post#14 » Fri Apr 01, 2016 6:36 pm

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 :roll: ).
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 ^^
Image

Luth
Posts: 2840

Re: Fix for the addon "MOTH"

Post#15 » Fri Apr 01, 2016 6:56 pm

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 :roll: ).
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)
Thanks for the addon. :mrgreen:

Who is online

Users browsing this forum: No registered users and 2 guests