How does lag compensation work?

  • Topic Archived
You're browsing the GameFAQs Message Boards as a guest. Sign Up for free (or Log In if you already have an account) to be able to post messages, change how messages are displayed, and view media in posts.
  1. Boards
  2. Call of Duty: Black Ops II
  3. How does lag compensation work?

User Info: DerPancake

4 years ago#1
Today I played vs some Europeans, and I had a yellow bar, but according to some people yellow bar means you will have advantage, but instead my shots took a lot of time to connect and a lot of the times I died without even having a chance. So how does lag compensation work?
WiiU ID: GermanicMexican

User Info: Hardkode

4 years ago#2
after each client receives a snapshot of the game state from the server, the client sends back an acknowledgement. because every player will have a different connection, the location they will see all the other playres will be slightly different. the server uses the time stamps of "acknowledged snapshots" to rewind the positions of all players when it tests whether a bullet hit any players. bullets travel instantly in call of duty, there is no ballistics modeling. so lag will not affect how long it takes a bullet to travel although it will affect how long it takes your wii u to tell the server to start firing your weapon even though the client begins playing the animation of shooting immediately.

you can get an idea of how lag compensation works from playing modern warfare: reflex. because that game didnt have it, you could shoot at a position in front of a moving target and get a hit. why? because you would be shooting at the position the player was at in the host machine instead of what you see. because blops2 uses lag compensation you can get a hit from shooting at where you see an enemy positioned even though in his version of the game he's standing in a different position.

lag compensation does not completely compensate for lag and it doesn't give an advantage to a lagged player. for example, the host player has zero lag. assuming all other players have a ping of 100ms, he will see you 1/10th of a second before you see him. a player with a ping of 200ms is 2/10th of a second behind and so on.

User Info: Alsax

4 years ago#3
It compensates.

And it's terrible.

Quake 3 Arena had better netcode than this... and you know what's hilarious? All Call of Duty games run a modified id Tech 3 engine, the same engine that runs Q3A.

Seriously, Treyarch needs to be fired.
There is no knowledge that is not power.
PSN: Catalyst85 XBL: Alsaxtwo Steam: Catalyst85 NNID: TheEnigma

User Info: GolfProdigy910

4 years ago#4
Seriously, Treyarch needs to be fired.

...So the magical fairy elves can make CoD next time?
Someone told me love would all save us.
But how can that be? Look what love gave us...

User Info: Xenozoa425

4 years ago#5
Think of it like Wii CoD corner lag, only you get hitmarkers like normal.
"The meaning of life is to know what it means to live instead of to merely exist." -Cleverbot
  1. Boards
  2. Call of Duty: Black Ops II
  3. How does lag compensation work?

Report Message

Terms of Use Violations:

Etiquette Issues:

Notes (optional; required for "Other"):
Add user to Ignore List after reporting

Topic Sticky

You are not allowed to request a sticky.

  • Topic Archived