Jump to content
SubSpace Forum Network

Recommended Posts

Posted

I was reading through a subspace packet description (http://d1st0rt.sscentral.com/packets.html), and I have a few questions about the exact sequence of a game login, the answers to which I was unable to find elsewhere.

 

What is the first thing the client does after opening a UDP socket to the server?

 

When does the client login to the server, before or after the encryption request/response?

 

When does the client start sending position packets?

 

If you login with the chat protocol, are you logged into the game as well?

Posted (edited)

Crypto is first.

Login is after crypto.

Positions start when server says "Yo! You're in the arena now. Start sending positions and !@#$%^&*." (some packet, it was)

 

And yes, chat login means you also show up in the game (although you can't do much besides chat)

Edited by SOS
Posted
Crypto is first.

Login is after crypto.

Positions start when server says "Yo! You're in the arena now. Start sending positions and !@#$%^&*." (some packet, it was)

 

And yes, chat login means you also show up in the game (although you can't do much besides chat)

 

Does the crypto come immediately after the connection is established?

Posted
The crypto is the establishment of the connection :D (You do know how UDP works, yes?)

 

Ah, ok. I'm still fairly new to network programming, so this is new information to me. I've never worked with encrypted UDP connections before, so thanks for the help.

  • 2 months later...
Posted
It may be important to note that ASSS never sends the "you are past the login sequence packet" (S2C 0x31)
That may be because that isn't the true meaning of that packet. Either way it is not an indication to start sending position packets.
Guest
This topic is now closed to further replies.
×
×
  • Create New...