Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Serverside Modding => Topic started by: Makpptfox on July 18, 2016, 09:57:39 pm

Title: [WotLk] [QUESTION] Remove the "Zone" filter on WhoList
Post by: Makpptfox on July 18, 2016, 09:57:39 pm
Hey guys,

I was working around some things and was wondering if the filters of the WhoList (actually Zone, Guildes and Races) could be changed to remove the "Zone" filter and set the Guildes by default ?

Actually I don't really know if it's in the core or the client (To be franc, I think it's both, according to the search button and the visual string)

If someone could help me on this one, i'll be glad.


Regards.
Title: Re: [WotLk] [QUESTION] Remove the "Zone" filter on WhoList
Post by: Kaev on July 21, 2016, 08:45:38 am
https://github.com/TrinityCore/TrinityC ... r.cpp#L300 (https://github.com/TrinityCore/TrinityCore/blob/3.3.5/src/server/game/Handlers/MiscHandler.cpp#L300" onclick="window.open(this.href);return false;)

I haven't tested it, but it's probably enough to remove line 300 and 301 here. If you want a clean way, remove the entire zone check.
Title: Re: [WotLk] [QUESTION] Remove the "Zone" filter on WhoList
Post by: Makpptfox on July 29, 2016, 05:52:31 am
Thanks, i'll take a look at it.