Dota 7.42 moved the map, so Dota Companion had to learn what a patch is

DHSeaDev — Chrome Extensions, Windows Tools, & Idle Games

Patch 7.42 landed on November 18, and 7.42a followed on the 24th. The big one is the map: Twin Gates moved out to the rims, the mid towers shifted, the camps were reworked and the fountain moved. The economy was rescaled too, with new gold and experience numbers, a different kill bounty, and passive gold that no longer scales. There are new and removed items, a new Item Potency mechanic, the Tormentor now spawns at 15 minutes, and the neutral item tiers dropped from five to four. There is no new hero; the roster stays at 127.

For a stat tool, a patch like that is awkward. Every number Dota Companion shows you is an average over games, and after 7.42 a game from October and a game from last night are not playing the same Dota. This post is about what I changed so the extension stops pretending they are, and where it still cannot help. It builds on the 2.5 post, and the project page has the short version.

Where things stand: the listing on the Chrome Web Store still serves the build Google has approved. Versions 2.5.1 and 2.6.0, described below, are built and tested but are not on the store yet; they reach you as an automatic update once they clear review. Nothing here is available to install today.

2.5.1: knowing which patch you are looking at

The ward map was the obvious casualty. If Twin Gates and the mid towers moved, a heat map of where you placed wards over the last six months is partly a map of places that no longer matter. So the Wards tab got a scope selector: all your parsed games, or only games on the current patch. OpenDota accepts a patch filter on the ward endpoint, and the extension asks for it by patch number.

There is a catch. Ward positions only exist for games OpenDota has parsed, and the newest games lag behind. Right after a patch, the current-patch selection can be nearly empty. Below 20 wards the extension quietly falls back to everything and tells you it did, rather than drawing three dots and calling it a map.

Two smaller changes go with it. Guides now say when the data under them predates the current patch, because OpenDota’s constants lag a patch by some days and a guide that looks fresh may not be. And the sync strip shows a notice when your stored history crosses a patch boundary, so a streak or a win rate spanning 7.41 and 7.42 comes with a flag instead of a straight face.

2.6.0: the within-patch toggle, and the data that will not split

Version 2.6.0 carries the same idea past the ward map. A new setting limits your own stats, such as win rate, heroes and form, to games played since the current patch date. It is off by default. I kept it that way because most people open this to see their history, and an app that silently hides most of it after every patch would feel broken. If fewer than 10 games qualify, the extension falls back to everything and says so. Whether it should default to on is still an open question for me.

Some data cannot be split at all. Hero matchups, item popularity and the benchmark percentiles come from OpenDota endpoints with no patch parameter. They are aggregates over everything. Rather than leave that implied, the Guides now carry a short note on those sections saying they are not split by patch. It is a small sentence, but it is the difference between “this hero does well into that one” and “this hero did well into that one across a stretch that includes a different map.”

The ward tab also says how many of the games behind the map were parsed, since a map built from nine parsed games out of two hundred is thinner than it looks.

A talent bug that only showed up on two heroes

While checking guides against live data I found that the talent tree assumed four tiers, levels 10, 15, 20 and 25. Rubick has tiers 5 and 6 in the data, and Ringmaster has 5 through 7. Those rows were sorted into the ladder in the wrong place. Guides now show the standard four tiers from level 25 down, then any extra tiers after them, labelled Extra. I would not have caught it from the test suite alone; it came from reading real hero payloads, which is why the new tests use captured ones.

What I could not verify

The ward schematic does not draw the moved Twin Gates or mid towers. I do not have coordinates I trust, and a wrong tower on a map is worse than a missing one. The ward share card has no patch label yet. I have not confirmed the orientation of the ward map against the in-game minimap. The Simplified Chinese strings for the new text are still English. And I have not seen how the footer-level changes behave in every browser, only in the one I tested.

Testing deserves a sentence: the new checks run against saved OpenDota payloads, and I deliberately broke the code to confirm each check can fail. Those results describe a headless browser with stubbed network calls, not a live account on the store build.

Related reading

If you would rather skip the install, the web edition looks up any player in a browser tab; it has not been rebuilt from 2.6.0 yet. The earlier patch story is after 7.41e, a 50 percent win rate tells you nothing. The project page has the feature list and privacy notes, and the Chrome Web Store listing is where updates arrive. Patch data comes from OpenDota. Dota Companion is not affiliated with or endorsed by Valve.