Jump to content
  • 0
Sign in to follow this  

Questions about how client/server handles packets



I'm trying to understand how the client builds the network packets, and how does the server reads them. I've found this wiki page that describes the packets (https://github.com/rathena/rathena/wiki/Packets), which is very useful, but I guess my questions are more basic.

For example, take the struct PACKET_CH_MAKE_CHAR, which (I assume) is sent from the client when it wants to create a new character. I'm able to create a byte array and the server accepts it (it doesn't  complain about unknown packet), but the server doesn't respond, which I guess it means its waiting more bytes?

Another aspect is, how is the authentication made so the server knows to which account the character is associated to? Maybe a socket is created at the login time and the same socket is used for all following packets?

My goal is to be able to interact with the server (as a player) without needing the client, but manually sending the packets.

Where can I read more about this?

Share this post

Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.

Sign in to follow this  

  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.