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
Client/server clock sync details.

 
Post new topic   Reply to topic Printable version
 View previous topic  is there a way to make ASSS download f... Post :: Post Latency in Settings (CFG)  View next topic  
Author Message
Goldeye
Novice


Gender:Gender:Male
Joined: Dec 15 2003
Posts: 57
Offline

PostPosted: Tue Feb 12, 2008 7:34 pm    Post subject: Client/server clock sync details. Reply to topic Reply with quote

I'm trying to figure out how server and client clocks interact.

This link is a great help.
http://forums.powerballzone.com/read.php?board=5&id=42371

Also, Latency:SendRoutePercent would seem to control the % mentioned in that link. (Note, the setting and the % in the post are c2s and s2c respectively, so each is 100%-the other)

The questions:
1. Does anyone know if SendRoutePercent actually gets used by the client? ASSS just sends it and doesn't process it at all.

2. What packet does the client use to synchronize clocks? (IE what packet contains the server's time and is sent as an immediate response to a client packet)?
Back to top
View users profile Send private message Add User to Ignore List Send email
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Sun Mar 02, 2008 12:48 pm    Post subject: Reply to topic Reply with quote

Time sync is handled in the core 0x05 and 0x06 packets. You can also look at src/packets/timesync.h in asss.

Looking at default settings it seems SendRoutePercent is set to 50%. I think the 60%/3-fifths weighting could have been taken from reversing vie's client, which could mean this setting was added post-vie (I didn't check against the server.cfg on the CD so I could be wrong).

I assume cont uses it, but never looked into it.
_________________
ss news
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> General Questions 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 can 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: 17 page(s) served in previous 5 minutes.

phpBB Created this page in 0.647373 seconds : 27 queries executed (96.2%): GZIP compression disabled