Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
Questions about Entering Arena

 
Post new topic   Reply to topic Printable version
 View previous topic  Quick Question: Server-side .pdf manip... Post :: Post Do you know any good file uploaders?  View next topic  
Author Message
Doc Flabby
Server Help Squatter


Joined: Feb 26 2006
Posts: 636
Offline

PostPosted: Wed Aug 06, 2008 5:08 pm   Post maybe stupid    Post subject: Questions about Entering Arena Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List
Samapico
No, these DO NOT look like penises, ok?


Joined: May 08 2003
Posts: 1252
Offline

PostPosted: Wed Aug 06, 2008 7:33 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List
Hakaku
Server Help Squatter


Joined: Apr 07 2006
Posts: 299
Location: Canada
Offline

PostPosted: Thu Aug 07, 2008 1:45 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Send email
D1st0rt
Miss Directed Wannabe


Age:37
Gender:Gender:Male
Joined: Aug 31 2003
Posts: 2247
Location: Blacksburg, VA
Offline

PostPosted: Thu Aug 07, 2008 8:03 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

You start sending position packets when you receive S2C 0x02 which Ekted coined "ArenaAck"
_________________

Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Doc Flabby
Server Help Squatter


Joined: Feb 26 2006
Posts: 636
Offline

PostPosted: Fri Aug 08, 2008 1:14 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

thanks for the help everyone.
Back to top
View users profile Send private message Add User to Ignore List
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Trash Talk All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 143 page(s) served in previous 5 minutes.

phpBB Created this page in 0.564033 seconds : 31 queries executed (90.4%): GZIP compression disabled