Jump to content

who create one lib?


Recommended Posts

hello who create one lib?

source:

 

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)
{
    return;
}
 
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);
    ch->GetDesc()->SetPhase(PHASE_CLOSE);
    return;
}
 
sys_log(0, "VERSION: %s %s %s", ch->GetName(), p->timestamp, p->filename);
ch->GetDesc()->SetClientVersion(p->timestamp);
 
 
 
 
pls hellp me :D
Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 5

      Effect weapons

    2. 3

      Crystal Metinstone

    3. 3

      Feeding game source to LLM

    4. 113

      Ulthar SF V2 (TMP4 Base)

    5. 3

      Feeding game source to LLM

    6. 0

      Target Information System

    7. 3

      Feeding game source to LLM

    8. 2

      anti exp explanation pls

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • Create New...

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.