Disconnect when select character

02/09/2026 14:36 phucvan#1
Hello, I am trying to log into the game but I always get DC when send packet with opcode (0x7001)
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()
        }