You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
position.x of creep changes from A to (B+C), where C is some very small number like 0.0000001
Creep is inside the range of tower which is about to attack
Creep is outside the range of tower which is about to attack
Tower attacks creep and kills it
Tower doesn't attack creep, creep lives and reaches portal
From here, any kind of divergence is possible. Creep may drop an item for Player 1, so now one client thinks player 1 has an item, while another client disagrees. Towers will have different exp values and levels.
Test 1
Build an Icy Skull tower to slow creep. Compare history of positions.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Read about this topic here: https://gafferongames.com/post/floating_point_determinism/
Possible desync scenario
From here, any kind of divergence is possible. Creep may drop an item for Player 1, so now one client thinks player 1 has an item, while another client disagrees. Towers will have different exp values and levels.
Test 1
Build an Icy Skull tower to slow creep. Compare history of positions.
Got same positions on both peers:
Beta Was this translation helpful? Give feedback.
All reactions