Bug Tracker – Bug 178

halfping point

Last modified: 2014-03-20 00:21:21 UTC
Bug 178 - halfping point
Summary: halfping point
Alias: None
Product: Odamex
Classification: Unclassified
Component: Server & Client (show other bugs)
Version: (old) 0.0.1
Hardware: All All
: P2 normal
Assignee: Odamex Bug Reporter
Depends on:
Blocks: 424
  Show dependency tree
Reported: 2006-03-21 00:27 UTC by Denis Lukianov
Modified: 2014-03-20 00:21 UTC (History)
0 users

See Also:


Add an attachment (proposed patch, testcase, etc.)

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 UTC
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 UTC
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.