Jump to content
  • 0

[REQUEST_HELP]Login Client Project.


xsocom

Question

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

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...