Closed chy31694 closed 3 years ago
Hey
Well, it's just a feature of SC2. All past revisions of a map are stored on the server indefinitely (unless explicitly deleted by author (or by Blizzard), but I've seen cases where even that didn't remove it for good).
It's possible thanks to SC2's architecture - the client must have a way to request any existing map, regardless of the version, or privacy settings - several features depend on it:
s2gs
) is structured in the way that it references certain definitions (for instance, units listed in the build order
section) and this kind of data from the map's header.
As an example, whenever you navigate into someone's match history, and open up a match played on a private version of the map, SC2 will download headers of that map in the background and will store it in the local cache.About private maps in particular: there's nothing special about them. They appear in the system like any other map. If it can be seen in the system, then it can be retrieved. I'm pretty sure that was even intended - the privacy system only keeps things unlisted in the game - away from the wide public. But it likely never meant to be a security measure - it doesn't protect the map's content.
Retrieving any map by the bot is possible thanks to the customized sc2 client. And as I've mentioned in the README, I don't not plan to disclose code responsible for communicating with Battle.net. Thus I can't elaborate on it further, sorry.
and how this bot can get none-public map of users ?