Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

Autor Topic: Problema con el checksum  (Visto 791 veces)

0 Miembros and 1 Guest are viewing this topic.

Offline Odisk Posteado: August 26, 2019, 12:05:42 PM

  • Colaborador
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 882
  • Gracias recibida: 12450
  • pr
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
Code: [Select]

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

Code: [Select]


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-HKXp3G9PQ7PB0lA


si alguien me puede ayudar con este tema.

one day

Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate


 

Related Topics

  Subject / Started by Replies Last post
2 Replies
1726 Views
Last post December 19, 2019, 10:58:28 PM
by Terran
3 Replies
930 Views
Last post April 01, 2020, 07:06:29 PM
by romariols
0 Replies
684 Views
Last post May 25, 2020, 03:56:31 AM
by Dariox84
2 Replies
861 Views
Last post June 13, 2020, 11:51:49 AM
by -Rastaa.TSM☢
0 Replies
340 Views
Last post August 07, 2020, 01:03:10 PM
by Emanuelcom