Dota 2 Wiki
Advertisement
Dota 2 Wiki
20,122
pages
Patches (latest) July 11, 2021 Patch July 12, 2021 Patch July 13, 2021 Patch

Sources


Patch notes

  • Pushed back expiration date of the current Supporters Club season rewards from July 31, 2021 to October 18, 2021.
    • Added layout for Bronze tier support for Hellbear Smashers Hellbear Smashers. Currently not available.
  • Updated localization files.

Update 2

  • Added new debug console commands for lag compensation.
    • dota_lag_compensation_test (protected by sv_cheats)
    • dota_lag_compensation_window

Explanation by JeffHill

The two new convars are for a lag compensation feature we're testing. "dota_lag_compensation_window" is a convar on the server to allow for orders sent from the client in the past to be executed with a some fast-forwarding of the hero on the server to catch up. It's intended to make last hitting have a timing that's consistent regardless of your ping to the server (up to a limit, of course).

The thinking here is that right now, if you right click as Drow on a creep here's what happens with 100ms of latency: Right click -> client sends order to server (100 ms pass) -> server gets order, Drow begins to shoot, arrow appears ~400ms later. Total time click to arrow appearing = 500ms.

This feels a lot different than if you play in hero demo mode locally with zero ping: Right click -> server gets order (instantly), Drow begins to shoot, arrow appears 400ms later. Total time click to arrow appearing = 400ms.

So what the lag compensation amount does is: Right click -> client sends order to server (100ms) -> server gets order, Drow begins to shoot and does up to 100ms of pre-shooting animation windup Total time click to arrow appearing = 400ms, just like local.

That's what the feature does, we're testing it now. The cheat "test" convar is just a debugging convar for this feature, and the window is how many ms of lag compensation to allow for on the server.
Advertisement