Announcement

Collapse
No announcement yet.

Any Attempts at Lag Compensation?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • replied
    There have been a few different approaches for this kind of thing in the UT3 / UT2004 instagib communities. Might be worth digging around their respective mutators and seeing what you can unearth.

    Leave a comment:


  • replied
    No no, it's not. Lag compensation is when the server resimulates (jumps back in delta and updates with an action of some sort received from a client). This allows clients to give instant, accurate feedback (especially when shooting), knowing that the same will be simulated on the server. Clients lag behind the server, but that is ok, because the server can "rewind" to compensate.

    Prediction is when clients attempt to simulate delta ahead of the server, in the hopes that the server will simulate the same thing. The problem is when you introduce anything not completely predictable (players), errors must be frequently corrected, and the feedback a client gets is not reality.

    The problem with lag compensation is that, on the client, events happen at a place in time before what is being simulated. The only way to solve this is to either have the client resimulate and then display reality (which can make everything appear "choppy"), or to "timeshift" them into the current delta using relative positions from a lagged simulation (which can lead to minor inconsistencies, like bullets going through walls, or briefly "unhittable" objects).

    Leave a comment:


  • replied
    Originally posted by Pyroguy View Post
    Since lag compensation is a major multiplayer feature, and the UDK seems to be lacking it, I was wondering if there is a project out there to develop it. Prediction just isn't the same (it's just assisted leading, after all).
    Lag compensation is already built it.
    What you can do is lesser the amount of data needed.

    Leave a comment:


  • started a topic Any Attempts at Lag Compensation?

    Any Attempts at Lag Compensation?

    Since lag compensation is a major multiplayer feature, and the UDK seems to be lacking it, I was wondering if there is a project out there to develop it. Prediction just isn't the same (it's just assisted leading, after all).
Working...
X