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
#2HardkodePosted 12/7/2012 4:52:18 PM(edited)
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.
#3AlsaxPosted 12/10/2012 6:25:41 AM
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
#4GolfProdigy910Posted 12/11/2012 6:07:22 PM
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...
#5Xenozoa425Posted 12/11/2012 6:18:19 PM
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 http://i.imgur.com/sPswe.gif