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: Preventing unpatched clients from entering your server  (Read 2019 times)

osler

  • Contributors
  • Polygonshifter
  • *****
  • Posts: 59
    • View Profile
Preventing unpatched clients from entering your server
« on: February 18, 2014, 12:39:15 am »

How does this work?


   If the player is using a non modified wow.exe the authserver will reject his login petition.
   If th player is using a modified wow.exe but not a custom patch this error will appear:


Required tools:



How to do it:


  • Change client build ( viewtopic.php?f=26&t=860 ) and make the auth server accept it. https://github.com/TrinityCore/TrinityC ... hCodes.cpp (I'm not sure since I've never done this server modification)
  • Open wow.exe with a hex editor and look for the string "DefaultServerLogin" and modify it in any way. I'll be using "DefaultServerDogin".
  • Open AccountLogin.lua and repeat step two in this file (Line #172)
  • Pack the Lua file in a .mpq file and distribute it and the modified wow.exe
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Milly

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 503
    • View Profile
Re: Preventing unpatched clients from entering your server
« Reply #1 on: February 18, 2014, 07:11:40 am »
This is really cool, especially when your spawn zone is in a custom area. I'll try it out sometime. Thanks :)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Malkorak

  • Contributors
  • Race Changer
  • *****
  • Posts: 26
    • View Profile
Re: Preventing unpatched clients from entering your server
« Reply #2 on: February 18, 2014, 10:18:49 am »
It looks great, thanks a lot for the tutorial.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »