Short answer: they can’t, long answer: as developers we cheat to make it look like everything is happening at the same time when actually that’s not what is going on. For example you see a player on your screen and shoot scoring a direct hit. However, the other player in a different country saw something else: they noticed you and quickly dodged behind a wall. The server then gets two notifications “I shot the player at this time” and “I hid behind a wall at this time”. It’s up to the server to the arbitrate which ones of those things happened.
I worked on netcode architecture that was heavily influenced by this great Overwatch talk. It’s not ELI5, but has some great examples, like this one:
https://youtu.be/zrIY0eIyqmI?t=2439
Short answer: they can’t, long answer: as developers we cheat to make it look like everything is happening at the same time when actually that’s not what is going on. For example you see a player on your screen and shoot scoring a direct hit. However, the other player in a different country saw something else: they noticed you and quickly dodged behind a wall. The server then gets two notifications “I shot the player at this time” and “I hid behind a wall at this time”. It’s up to the server to the arbitrate which ones of those things happened.
I worked on netcode architecture that was heavily influenced by this great Overwatch talk. It’s not ELI5, but has some great examples, like this one:
https://youtu.be/zrIY0eIyqmI?t=2439
Uhh.. they can’t. There’s a reason that games that actually rely on split second reaction times don’t work well at long distance. Even across the United States it can get unbearable because of the ping. Tactical shooters like VALORANT or Counter Strike or Siege REALLY suffer from high ping and people will 100% complain and notice that it feels a little bit off.
Uhh.. they can’t. There’s a reason that games that actually rely on split second reaction times don’t work well at long distance. Even across the United States it can get unbearable because of the ping. Tactical shooters like VALORANT or Counter Strike or Siege REALLY suffer from high ping and people will 100% complain and notice that it feels a little bit off.
Latest Answers