Author |
Message |
Doc Flabby Server Help Squatter

Joined: Feb 26 2006 Posts: 636 Offline
|
Posted: Wed Aug 06, 2008 5:08 pm Post maybe stupid 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. _________________ Rediscover online gaming. Get Subspace | STF The future...prehaps
|
|
Back to top |
|
 |
Samapico No, these DO NOT look like penises, ok?

Joined: May 08 2003 Posts: 1252 Offline
|
Posted: Wed Aug 06, 2008 7:33 pm Post maybe stupid 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... _________________ (Insert a bunch of dead links here)
|
|
Back to top |
|
 |
Hakaku Server Help Squatter

Joined: Apr 07 2006 Posts: 299 Location: Canada Offline
|
Posted: Thu Aug 07, 2008 1:45 am Post maybe stupid 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.
SubspaceGameProtocol-receiving.cpp - 12.87 KB
File downloaded or viewed 19 time(s)
SubspaceGameProtocol-sending.cpp - 6.72 KB
File downloaded or viewed 18 time(s)
|
|
Back to top |
|
 |
D1st0rt Miss Directed Wannabe

Age:37 Gender: Joined: Aug 31 2003 Posts: 2247 Location: Blacksburg, VA Offline
|
Posted: Thu Aug 07, 2008 8:03 pm Post maybe stupid Post subject: |
 |
|
|
|
You start sending position packets when you receive S2C 0x02 which Ekted coined "ArenaAck" _________________
|
|
Back to top |
|
 |
Doc Flabby Server Help Squatter

Joined: Feb 26 2006 Posts: 636 Offline
|
Posted: Fri Aug 08, 2008 1:14 pm Post maybe stupid Post subject: |
 |
|
|
|
thanks for the help everyone.
|
|
Back to top |
|
 |
|