Hello, I have started on a small project for the summer. I'll try to make a client that can login and write down the server list that the auth server sends to the client while login.
I made my own TCP server and received this when I try to login using the l2 client ( interlude ), Then I tried to send same packet to the real Auth but didn't work as expected, any ideas?, Do I need to encrypt the packet, if so can anyone explain how it works?, But I don't see why I need to encrypt it when I just send the exactly same data as the original l2 client does, and it encrypt it before send right?.
I make the connection to hAuthD.
Thanks, Trying to learn here, should be fun to get it working.
How I send it.
CSPacket pack;
pack.set(128);
char buf[] = {0x2A, 0x00, 0x30, 0x74, 0xD1, 0x57, 0x80, 0x9B, 0x52, 0x2D, 0x45, 0x97, 0xF9, 0x4E, 0x78, 0xDD, 0x98, 0x61, 0x45, 0x97, 0xF9, 0x4E, 0x78, 0xDD, 0x98, 0x61, 0x30, 0x74, 0xD1, 0x57, 0x80, 0x9B, 0x52, 0x2D, 0x45, 0x97, 0xF9, 0x4E, 0x78, 0xDD, 0x98, 0x61};
pack.Write( buf, 42 );
send(pAuth->GetSock(), pack.buffer(), (int)pack.size(), NULL);
Picture of my server receive and the original client receive.