Jump to content
  • 0

[REQUEST_HELP]Login Client Project.


Question

Posted

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.

testikj.th.jpg

2 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock