Hey buddys,
i would like to ask how i can change the Version ID of my TClient.
Hoping for helpful awnsers
Greetings
Phaxy
i would like to ask how i can change the Version ID of my TClient.
Hoping for helpful awnsers
Greetings
Phaxy
void CTClientWnd::SendCS_LOGIN_REQ( CString strUserID, CString strPasswd, DWORD dwSiteCode)
{
CPacket vMSG;
WORD wVersion = 532; // << THIS LINE
vMSG.SetID(CS_LOGIN_REQ)
<< wVersion
<< strUserID
<< strPasswd
<< theApp.m_dlCheckFile;
if( CTNationOption::MODIFY_DIRECTLOGIN )
vMSG << dwSiteCode;
m_pTNet->Say(&vMSG);
}
I just got TNetSender.cpp in my Source... isnt it that?Quote:
TNetSender.h
Hope u got the answer :)Code:void CTClientWnd::SendCS_LOGIN_REQ( CString strUserID, CString strPasswd, DWORD dwSiteCode) { CPacket vMSG; WORD wVersion = 532; // << THIS LINE vMSG.SetID(CS_LOGIN_REQ) << wVersion << strUserID << strPasswd << theApp.m_dlCheckFile; if( CTNationOption::MODIFY_DIRECTLOGIN ) vMSG << dwSiteCode; m_pTNet->Say(&vMSG); }