Due to Blizzard dropped support for linux (and the various bugs in windows), custom maps have had to be created to apply the latest balance patches. More info here: https://aiarena.net/wiki/ids-50-maps-410-linux-version/
These maps run on 4.10, but mimic the latest patch including ids. They can be recognized by their map names which end in the version number eg. "Death Aura 5.0.6"
My change calls remapForBuild() with the latest build if one of these maps is being played.
Some important notes as I'm not too familiar with ocraft:
-I'm unsure if the map name is already available somewhere, so I don't know if this waitForResponse is necessary to get it
-I wasn't able to get ocraft running locally so this change is untested
Another option would be to allow the bots to remap the ids, leaving it outside of ocraft, but currently only remapForBuild() is public and it won't work as is, calling it when the bot starts.
Due to Blizzard dropped support for linux (and the various bugs in windows), custom maps have had to be created to apply the latest balance patches. More info here: https://aiarena.net/wiki/ids-50-maps-410-linux-version/
These maps run on 4.10, but mimic the latest patch including ids. They can be recognized by their map names which end in the version number eg. "Death Aura 5.0.6"
My change calls remapForBuild() with the latest build if one of these maps is being played.
Some important notes as I'm not too familiar with ocraft: -I'm unsure if the map name is already available somewhere, so I don't know if this waitForResponse is necessary to get it -I wasn't able to get ocraft running locally so this change is untested
Another option would be to allow the bots to remap the ids, leaving it outside of ocraft, but currently only remapForBuild() is public and it won't work as is, calling it when the bot starts.