commandcenter icon indicating copy to clipboard operation
commandcenter copied to clipboard

Default BotConfig.txt Causes Crashes in SC:BW

Open BLuancing opened this issue 5 years ago • 1 comments

Command Center version: (current) BWAPI version: 4.4.0 Compiled both with: Visual Studio 2017

Unsure if it's related to using an older version of Visual Studio but when running a game with the default BotConfig.txt in this current version and the client's race is set to Terran or Zerg, the bot crashes with the following asserted message:

[for Terran] "Could not find MetaType with name: Supply"

[for Zerg] "Could not find MetaType with name: Spawning"

Didn't notice any issues with Protoss; after further inspection of the BotConfig.txt file, this seems to be because "Supply Depot" and "Spawning Pool" lack any underscores in the default builds for the file. Adding underscores to all instances of those names in the text file seemed to fix the problem.

BLuancing avatar Jan 29 '20 19:01 BLuancing

If you create a pull request with a correctly working config file I'll gladly accept it

davechurchill avatar Jan 29 '20 19:01 davechurchill