Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Serverside Modding => Topic started by: Big Bad Bot on November 03, 2014, 08:43:58 am

Title: How to remove the Mailbox's delivery prices? (3.3.5a)
Post by: Big Bad Bot on November 03, 2014, 08:43:58 am
Isn't really too much mystery. I was surfing in my DBC files for weeks and I didn't find anything about this. Can someone help me?


Anyways, the server is a Trinitycore.

Thanks!
Title: Re: How to remove the Mailbox's delivery prices? (3.3.5a)
Post by: Amaroth on November 03, 2014, 10:01:12 am
Tryed to find - found nothing. Some core programmer should be able to tell you. I have no idea where is value taken from, but I would be also a bit interrested in changing it.
Title: Re: How to remove the Mailbox's delivery prices? (3.3.5a)
Post by: Kaev on November 03, 2014, 02:32:28 pm
Haven't tested:
https://github.com/TrinityCore/TrinityC ... andler.cpp (https://github.com/TrinityCore/TrinityCore/blob/15fbb6f46fb24fdc6f91786543b32f247e6525fc/src/server/game/Handlers/MailHandler.cpp" onclick="window.open(this.href);return false;)
Line 332 if you want a fixed price otherwise calculated at Line 180-182
Title: Re: How to remove the Mailbox's delivery prices? (3.3.5a)
Post by: Ascathos on November 04, 2014, 11:11:31 am
Quote from: "Kaev"
Haven't tested:
https://github.com/TrinityCore/TrinityC ... andler.cpp (https://github.com/TrinityCore/TrinityCore/blob/15fbb6f46fb24fdc6f91786543b32f247e6525fc/src/server/game/Handlers/MailHandler.cpp" onclick="window.open(this.href);return false;)
Line 332 if you want a fixed price otherwise calculated at Line 180-182
Modify 180.
Title: Re: How to remove the Mailbox's delivery prices? (3.3.5a)
Post by: Big Bad Bot on November 05, 2014, 05:19:08 pm
Awesome! I'll try it soon. Thank you to everyone! :D
Title: Re: How to remove the Mailbox's delivery prices? (3.3.5a)
Post by: Kaev on November 05, 2014, 08:22:33 pm
No problem :)