I'm using the VSRO automatic login tool source code shared by bimbum, but I'm encountering an error when selecting a character. The client crashes immediately when it reaches the character selection screen. I want to know where the error is, because deleting this section fixes the problem.
Code:
if (pMsg->m_msgid == 0xb007) {
NEWMSG(0x7001)
pReq << strCharName;
printf("0x7001 => \n\r");
while (pReq.m_currentReadBytes != pReq.m_availableBytesForReading) {
BYTE btType;
pReq >> btType;
printf("%02X ", btType);
}
printf("\n\r");
pReq.m_currentReadBytes = 0;
SENDMSG()
}






