opened
roncli
username_0
When a match starts, check CRC with overloadmaps.com.  If CRC doesn't match, olmod needs to download a new version of the map.
Automatic Map Download - Better handling of new maps
issue
created
roncli
username_0
@username_1 This appears to be an issue with overloadmaps.com.

Example: Kegparty has 2 versions: Kegparty.zip which is broken, and KegpartyU.zip which is fixed.  They both have the same Kegparty.mp with the same CRC.  However, overloadmaps.com picks the *oldest* file, not the newest, and therefore downloads the broken file.
comment
created
roncli
username_0
While the issue in the comment has been resovled, what I'd like is for an API from overloadmaps.com that, when providing the .mp file name it gives a JSON like this:

GET: https://overloadmaps.com/api/latest-map?level=kegparty.mp
```
{url: "https://overloadmaps.com/path/to/download/link.zip" CRC: "1234ABCD"}
```

What I can do with this is then prompt the client to download the latest version, and then if the server doesn't have a copy of the level with that CRC it can download it.
comment
created
roncli
username_0
@username_1 Any chance we could get an API like this?  An empty JSON object would be fine for no results.  This API would be hit whenever a player creates a multiplayer game.
comment
created
arbruijn
username_1
This is to automatically change the map version used by the match creator to the version on overloadmaps? Wouldn't that be confusing when trying to test a newer version of a map?
comment
created
roncli
username_0
Not automatically, but rather for a prompt in game.  If you're testing a newer version of the map, the creator of the game would just opt to not download the overloadmaps.com version.
comment