Bug Tracker – Bug 178

halfping point

Last modified: 2014-03-20 00:21:21 CDT
Bug 178 - (ARRAY(0x47bc870)) halfping point
(ARRAY(0x47bc870))
halfping point
Status: ASSIGNED
Product: Odamex
Classification: Unclassified
Component: Server & Client
(old) 0.0.1
All All
: P2 normal
Depends on:
Blocks: ARRAY(0x2f343d0)
  Show dependency tree
 
Reported: 2006-03-21 00:27:57 CST by Denis Lukianov
Modified: 2014-03-20 00:21 CDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Lukianov 2006-03-21 00:27:57 CST
If client actions take place locally, they are too early by a halfping.
If client actions take place on server, they are too late by a halfping.

There is a virtual 'halfping' point, a client estimate of server time:
halfping_time = (client_time+ping/2)

Maybe local client actions should be queued on the client (as well as sent to server) and performed at this halfping point?
Comment 1 Denis Lukianov 2006-03-27 05:21:52 CST
Decided not to implement for sectors yet. Sectors influence movement (movement is actual client-time, so there be a conflict)

r1214 had an accidentally comitted test implementation, this was removed by r1215.