Okay nevermind what I just wrote.
This is where it fails.
Code:
if(m_RecvPacket.IsPacketEncoded() == FALSE) {...}
else if(m_RecvPacket.IsValidPacket() == TRUE) { ...}
else
{ // Encoded PacketÀÌÁö¸¸ À¯È¿ÇÏÁö ¾ÊÀº ÆÐŶÀÌ´Ù.
Close(0x10001, TRUE);
char szSystemLog[256];
sprintf(szSystemLog, "[Error] CIOCPSocket::OnReceive invalid packet, SocketIndex[%d]\r\n", m_nClientArrayIndex);
g_pGlobal->WriteSystemLog(szSystemLog);
DBGOUT(szSystemLog);
return;
}
It looks like the packet decryption failed on the server side.
Do you use the same packet encryption key in the Server as well as in the Client?
Note: The socket closing code is just overlapping with that hackshield code. This problem has nothing to do with the hackshield.