[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4787: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4790: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
InsideQC Forums • View topic - _Host_Frame question

_Host_Frame question

Discuss programming topics for the various GPL'd game engine sources.

Moderator: InsideQC Admins

_Host_Frame question

Postby r00k » Tue Feb 24, 2009 12:22 am

r00k
 
Posts: 1111
Joined: Sat Nov 13, 2004 10:39 pm

Postby r00k » Wed Feb 25, 2009 7:48 pm

It seems like its a more true representation of the ping times, as CL_ReadfromServer timestamps when you read the last message, and CL_SendMove writes to the server the duration since the timestamp. Before it had to wait until the end of the cycle before it sent the cl.mtime[0] back to the server. So the extra 10ms was the client processing the server's data. If i ping thru cmd.exe in windows i get average 35ms which is concurrent to what the code is telling me.
So, i guess its okay... :P
r00k
 
Posts: 1111
Joined: Sat Nov 13, 2004 10:39 pm


Return to Engine Programming

Who is online

Users browsing this forum: No registered users and 2 guests