Erkokite Posted November 15, 2005 Report Posted November 15, 2005 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?
»SOS Posted November 15, 2005 Report Posted November 15, 2005 (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 November 15, 2005 by SOS
»D1st0rt Posted November 16, 2005 Report Posted November 16, 2005 It may be important to note that ASSS never sends the "you are past the login sequence packet" (S2C 0x31)
Erkokite Posted November 16, 2005 Author Report Posted November 16, 2005 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?
»SOS Posted November 16, 2005 Report Posted November 16, 2005 (edited) The crypto is the establishment of the connection (You do know how UDP works, yes?) Edited November 16, 2005 by SOS
Erkokite Posted November 16, 2005 Author Report Posted November 16, 2005 The crypto is the establishment of the connection (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.
Smong Posted February 12, 2006 Report Posted February 12, 2006 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.
»D1st0rt Posted February 12, 2006 Report Posted February 12, 2006 That packet is 0x02, which is the arena join notification or as Ekted calls it the "ArenaAck"
Smong Posted February 13, 2006 Report Posted February 13, 2006 Here let me help you pour more oil onto the fire...
»D1st0rt Posted February 13, 2006 Report Posted February 13, 2006 Its not bumping if new information is introduced or if it's by Smong
Recommended Posts