Jump to content
SSForum.net is back!

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
It may be important to note that ASSS never sends the "you are past the login sequence packet" (S2C 0x31)

_UU___UU__SSSSS____AAA____UU___UU__SSSSS____AAA___

_UU___UU_SS_______AAAAA___UU___UU_SS_______AAAAA__

_UU___UU__SSSSS__AA___AA__UU___UU__SSSSS__AA___AA_

_UU___UU______SS_AAAAAAA__UU___UU______SS_AAAAAAA_

__UUUUU___SSSSS_AA____AA___UUUUU___SSSSS_AA____AA

J.C. Dento> prime example of why america will never be a world super power.

Moscato> d1 is mad he will never have a job outside subspace

I can't see this because I turned signatures off. ps VT

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.
Posted
That packet is 0x02, which is the arena join notification or as Ekted calls it the "ArenaAck"

_UU___UU__SSSSS____AAA____UU___UU__SSSSS____AAA___

_UU___UU_SS_______AAAAA___UU___UU_SS_______AAAAA__

_UU___UU__SSSSS__AA___AA__UU___UU__SSSSS__AA___AA_

_UU___UU______SS_AAAAAAA__UU___UU______SS_AAAAAAA_

__UUUUU___SSSSS_AA____AA___UUUUU___SSSSS_AA____AA

J.C. Dento> prime example of why america will never be a world super power.

Moscato> d1 is mad he will never have a job outside subspace

I can't see this because I turned signatures off. ps VT

Posted

Its not bumping if new information is introduced

 

or if it's by Smong

_UU___UU__SSSSS____AAA____UU___UU__SSSSS____AAA___

_UU___UU_SS_______AAAAA___UU___UU_SS_______AAAAA__

_UU___UU__SSSSS__AA___AA__UU___UU__SSSSS__AA___AA_

_UU___UU______SS_AAAAAAA__UU___UU______SS_AAAAAAA_

__UUUUU___SSSSS_AA____AA___UUUUU___SSSSS_AA____AA

J.C. Dento> prime example of why america will never be a world super power.

Moscato> d1 is mad he will never have a job outside subspace

I can't see this because I turned signatures off. ps VT

Guest
This topic is now closed to further replies.
×
×
  • Create New...