This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [WotLk] [QUESTION] Remove the "Zone" filter on WhoList  (Read 1205 times)

Makpptfox

  • Contributors
  • Loreweaver
  • *****
  • Posts: 103
    • View Profile
[WotLk] [QUESTION] Remove the "Zone" filter on WhoList
« 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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
For support, send your Discord's ID by PM.

Kaev

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 308
    • View Profile
Re: [WotLk] [QUESTION] Remove the "Zone" filter on WhoList
« Reply #1 on: July 21, 2016, 08:45:38 am »
https://github.com/TrinityCore/TrinityC ... r.cpp#L300

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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Makpptfox

  • Contributors
  • Loreweaver
  • *****
  • Posts: 103
    • View Profile
Re: [WotLk] [QUESTION] Remove the "Zone" filter on WhoList
« Reply #2 on: July 29, 2016, 05:52:31 am »
Thanks, i'll take a look at it.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
For support, send your Discord's ID by PM.