Jump to content
  • Create New...
  • 0

who create one lib?



hello who create one lib?



1. Search for this function in game/input.cpp:

void CInputProcessor::Version(LPCHARACTER ch, const char* c_pData)

     2. Replace the entire function with this:

if (!ch)
TPacketCGClientVersion * p = (TPacketCGClientVersion *) c_pData;
// If the file name is not metin2client.exe and the GM level is not equal with GM_IMPLEMENTOR kick the player
if (strcmp(p->filename, "metin2client.exe") && ch->GetGMLevel() != GM_IMPLEMENTOR)
    // immediately close the connection with the player
    sys_err("%s[%d] has been disconnected: %s", ch->GetName(), ch->GetPlayerID(),  p->filename);
sys_log(0, "VERSION: %s %s %s", ch->GetName(), p->timestamp, p->filename);
pls hellp me :D
Link to comment
  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

3 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.