Skip to content

Common Issues and Solutions

David Churchill edited this page Sep 20, 2015 · 1 revision

Common Issues and Solutions

After several years maintaining UAlbertaBot, several common issues have come up during the installation or compilation process which are easily fixable but require some background knowledge and experience. Here are several common issues you may run into and their solutions.

Running the Bot

Issue: UAlbertaBot seems to hang on the first frame of the game

Solution: If the bot seems to hang the first time you successfully run it, this is because BWTA is doing its first time terrain analysis on the current map. This analysis should take anywhere from 10 seconds to 3 minutes depending on the speed of your computer, so just let it run. Once it is complete, BWTA will save the data to your disk so it will be instantly loaded the next time you play this map.


Issue: I get an error message saying that libgmp-10.dll or libmpfr-4.dll are missing

Solution: This is caused by not correctly installing the BWTA libraries. Please check the installation instructions page and make sure to copy the BWTA .dll files to your Windows directory


Issue: I get an error message in-game saying ERROR: Failed to load AI Module path\to\UAlbertaBot.dll

Solution: This is either caused by you typing the incorrect location into the BWAPI settings file, or by the file path containing spaces, which BWAPI doesn't like. Move the .dll file to a folder without spaces and try again.


Issue: I get an error message / Starcraft crashes when I try to run Local PC network game mode in Starcraft.

Solution: This is usually caused by either Chaoslauncher.exe or Starcraft.exe not being run as administrator. Right click each .exe file, click Proprties > Compatibility > check Run as Administrator and try again.


Issue: I get an error message in-game saying: Couldn't find any configuration options, using defaults

Solution: The settings file wasn't found at the location pointed to in the onStart() function in UAlbertaBotModule.cpp, change the file location and try again.


Issue: I get an error message in-game saying: Parsing of configuration file failed...

Solution: The settings file must be valid JSON in order to be parsed correctly. You can use a JSON validation program to ensure your settings file is valid JSON before running the bot.

Clone this wiki locally