Trash Talk - Questions about Entering Arena Doc Flabby - Wed Aug 06, 2008 5:08 pm Post subject: Questions about Entering Arena
Not strictly server related but i'm trying to work out what happens when a player enters the game. So far I have it this far
<- Player Request Login
-> Server Approve Login
-> Server Send PlayerId
<- Player Request Arena
-> Server Send Settings
<-Recieve Now In Game
-> Server Send Map
-> Server Send L
<-Set Ship
What happens next? How do you get the server to recognise you are in the game, basically at what point do you send position packets.
Samapico - Wed Aug 06, 2008 7:33 pm Post subject:
How and when does the player's map is compared to the server's one? Does the Player sends some kind of checksum of the file or something?
And I've seen people appear to be in a ship while they start downloading a map. Like they appear somewhere on the map, flash as if they laggout, then get specced. And then they were downloading the map.
Did the player sent a position packet, or did the server send a 'there's a player there' packet to everyone, dunno...
If that helps...
Hakaku - Thu Aug 07, 2008 1:45 am Post subject:
Maybe these can help (from pspace). Assuming the protocol is in order, then Samapico is right, the player's position is sent before the map is downloaded.
D1st0rt - Thu Aug 07, 2008 8:03 pm Post subject:
You start sending position packets when you receive S2C 0x02 which Ekted coined "ArenaAck"Doc Flabby - Fri Aug 08, 2008 1:14 pm Post subject:
thanks for the help everyone.