Hola a todos, se que es raro que este haciendo un tema de soporte ya llegue al limited xdddd
actual mente estoy modificando unos files de exteam pero tengo un pequeño problema con el checksum.
cuando genero un nuevo checksum.dat todo bien pero entro al juego y me desconecta y por problema de checksum ya eh modificado de todo eh probado otro generador a ver igual
error
04:44:04 error-L1 : CheckSum-Exe error -1334266365 -560600515 309 [Odisk]
WSARecv() failed with error 10038
modifique las SRC podria ser un problema hay pero nada ya no se que hacer aqui la modificacion de las src
void GCCheckMainExeKeySend(int aIndex)
{
PMSG_CHECK_MAINEXE pMsg;
gObj[aIndex].CheckSumTableNum = rand() % MAX_CHECKSUM_KEY;
gObj[aIndex].CheckSumTime = GetTickCount();
PHeadSetB((LPBYTE)&pMsg, 0x03, sizeof(pMsg));
pMsg.m_wKey = ((((gObj->CheckSumTableNum & 0x3F0)*64) | ((gObj->CheckSumTableNum & 0x0F)) ^ 0xB479));
DataSend(aIndex,(BYTE*)&pMsg,pMsg.h.size);
}
WORD EncryptCheckSumKey(WORD wSource)
{
WORD wRandom = rand() % 64;
WORD wAcc = ((wSource & 0x3F0) * 64) | (wRandom *16) | (wSource & 0x0F);
return wAcc ^ 0xB479;
}
void CGCheckMainRecv(PMSG_CHECK_MAINEXE_RESULT * lpMsg, int aIndex)
{
#if(REMOVE_CHECKSUM == 1)
gObj[aIndex].CheckSumTime = 0;
gObj[aIndex].m_InWebzen = true;
return;
#endif
int EnableCheckSum = GetPrivateProfileInt("Common","CheckSum",0,"..\\Data\\ex\\CommonServer.ini");
if(ExConfig.CommonServer.EnableCheckSum)
{
if ( strcmp(gObj[aIndex].Ip_addr, "127.0.0.1") == 1 )
{
gObj[aIndex].CheckSumTime = 0;
gObj[aIndex].m_InWebzen = true;
return;
}
if ( gObj[aIndex].CheckSumTableNum < 0 || gObj[aIndex].CheckSumTableNum > MAX_CHECKSUM_KEY-1 )
{
LogAdd("error-L1 : [%s][%s] CheckSum-Exe error ", gObj[aIndex].AccountID, gObj[aIndex].Name);
CloseClient(aIndex);
return;
}
if ( dwgCheckSum[gObj[aIndex].CheckSumTableNum] != lpMsg->m_dwKey)
{
LogAddTD("error-L1 : CheckSum-Exe error %d %d %d [%s]", dwgCheckSum[gObj[aIndex].CheckSumTableNum],
lpMsg->m_dwKey, gObj[aIndex].CheckSumTableNum, gObj[aIndex].AccountID);
CloseClient(aIndex);
return;
}
}
el generador que eh usado
https://mega.nz/#!pJx2gQCY!xVbPVhdlerf7RPoBGBqzdG98_bX-HKXp3G9PQ7PB0lAsi alguien me puede ayudar con este tema.