Hello Guys,
this is my first release on this board.
i wanna share some things with you to reborn the metin2 community.
This little release moves you automatically after editing your name into the common.gmlist
and relog to your new gamemaster group using the server source code on Metin2 files.
join the /game/src/input_auth.cpp and search after the function:
Code:
void CInputAuth::Login(LPDESC d, const char * c_pData)
directly after that add this:
Code:
TPacketCGLogin3 * p = M2_NEW TPacketCGLogin3;
thecore_memcpy(p, pinfo, sizeof(TPacketCGLogin3));
char szPasswd[PASSWD_MAX_LEN * 2 + 1];
DBManager::instance().EscapeString(szPasswd, sizeof(szPasswd), passwd, strlen(passwd));
char szLogin[LOGIN_MAX_LEN * 2 + 1];
DBManager::instance().EscapeString(szLogin, sizeof(szLogin), login, strlen(login));
best regards
iPeri