Share

Share

Desync

From Path of Exile Wiki
Jump to: navigation, search

Desync is a situation where the game client on your computer and the PoE server don't agree on what is happening in the game, specifically with the position of players and monsters. Obviously the server's decisions take precedence over the client, so a heavily desynced player may actually be standing next to monsters when they appear to be safe from the player's point of view. This is different from network lag (high latency), and desynced clients can still have low ping.

Symptoms

The following are possible symptoms of desync:

  • "Rubberbanding": When the game resyncs you may be "teleported" back to your actual position. Depending on how severely you were desynced, this may be up to several rooms away.
  • A monster standing still, neither attacking nor taking damage. This means the monster is actually in a different position.
  • Area of effect skills may appear to affect monster outside the area of effect. This means the monster is actually inside the area of effect on the server.
  • Items always drop from the actual position of the monster, which may be far from the apparent position.
  • Taking damage from invisible effects. Generally damage is much better synced than positions or visual effects.

Causes

  • Stunning. If your client does not realize you were stunned, following actions, especially movement, may not actually take place on the server.
  • Line of sight. If you use a skill that requires line of sight, you may have line of sight on the client but not on the server. This may cause a skill to fail to execute (e.g. Leap Slam) since the targeted location is not legal, or even cause your character to move forwards in order to establish line of sight (Barrage being one of the most severe examples).

Mitigation

  • The chat console command /oos will manually synchronize you with the server. Some players bind this command to a macro using software like autohotkey. Using a macro that sends /oos for you when you press one button (with AHK or some other tool) is legal and not against GGG's rules.[1] /oos has a cooldown of 10 seconds.
  • Try not to use movement skills near corners or doorways, as you may not have line of sight on the server.
  • Attacking from place (default Shift) will prevent you from moving due to desync. This is especially useful for ranged skills.
  • The Quartz FlaskQuartz Flask
    Lasts 5 Seconds
    Consumes 40 of 60 Charges on use
    Your movement is not blocked by enemies
    Requires Level 27Right click to drink. Can only hold charges while in belt. Refills as you kill monsters.
    allows you to pass through enemies, which can prevent rubberbanding caused by your path being blocked by enemies on the server.
  • For melee characters, a long weapon range, notably from Master of the Arena, will help ensure that enemies you are trying to attack are actually in range. Multistrike's automatic targeting can help ensure you are actually attacking enemies.

Full Explanation

This forum thread explains desync in full detail. Notable sections are quoted below (bolded text in original):

Let me begin by saying that absolutely every game that is played online has to deal with desync. Every single game without exception. This is because that information does not travel over the internet instantaneously. Data traveling between two different machines, it could be a client and a server or even two clients directly connected to eachother, takes a typically very small amount of time. [...] Half a second may not sound like a lot but in a game like PoE where dozens of things are happening on screen at once and you need to react within a fraction of a second, a whole half second can quickly be the difference between life and death.
To combat desyncs, some games choose to use a game architecture that rigidly forces every game state to stay synchronized at all times. Obviously this has the benefit that the different game stats on the various different machines are never out of sync with each other. This has the downside that any action you want to take (pressing a key or clicking your mouse) has to travel to the game server and be confirmed and then that server confirmation needs to travel back to you before you're actually allowed to take that action. If you have very low latency, then you won't notice this delay between you pressing a button and the corresponding action occurring on screen. If it takes half a second between when you press a button and when your character takes an action then you're definitely going to notice. This sort of synchronization scheme works very well for slower games where not a lot is happening at once and the player doesn't need to make split second reactions (strategy games and MMOs for example).
In games like PoE where the action is happening very quickly and the player needs instant feedback, enforcing this rigid synchronization is impossible. The combat would be unresponsive and the game would simply be unplayable. What you need a scheme that allows the player's actions to occur instantaneous on the player's computer and then synchronization occurs after the fact behind the scenes. This is exactly what most games do to varying degrees, including games like Diablo 3. Basically any online game that requires instantaneous player feedback. The result is that these games are always at least slightly out of sync with the server but they give the player instantaneous feedback and feel very fluid. There's no way to avoid that. The goal becomes to cover it up so players don't notice it and to hopefully keep it from becoming a big issue.
[...]
The issue really comes up when you have dozens of these actions all occurring at once. Your character is moving and attacking, a whole bunch of enemies are moving and attacking. All of this information needs to go back and forth between the server and the client. Both the server and the client are running simultaneously game state simulations and the goal is to keep these two game states as synchronized as possible even though both game states only have a fraction of the information they need, the information they do have can be hundreds of milliseconds out of date, and the information is constantly changing. [...] This is where more pronounced desyncs occur (what players typically refer to when they talk about desyncs). When one side is lacking a piece of information and continues to run it's version of the game state simulation using out of date and incorrect data.
Desync wouldn't be a big issue if you could synchronize the entire game state on both sides a few times per second. Bandwidth isn't free, though. In fact, it's quite expensive. If GGG tried to synchronize the client and server even just once every second across all the clients currently playing it would overwhelm their available bandwidth by orders of magnitude. [...]
Desyncs are much more likely to occur in situations where many things are going on at once, when there are many monsters are screen, if they're moving quickly, if they're in a confined space, when you use skills that cause you to move and attack very quickly (whirling blades for example).
So what can be done to help alleviate desync? As I already said, synchronizing the entire game state regularly is too expensive no matter how big the game or rich the company. It's also unnecessary. Desync is perfectly fine as long as it doesn't affect the gameplay. For example, if you're attacking a zombie that's standing to the right of your character but on the server that zombie is actually to the left of your character, what does it really matter as long as your attacks are connecting and dealing damage and the zombie will be dead in another second anyway. The vast majority of desyncs between the client and the server are of this sort. They have absolutely no impact on the gameplay and the player never even knows about them.

See Also

References