Trouble running c++ starter bot

After compiling the c++ starter bot and updating game-runner-config.json I get the following message:

Reading config file: ./game-runner-config.json
No match id found. Generating one
Building game name
Player A id not found. Generating one
Player B id not found. Generating one
Match will be running with a seed of: 16271
WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
Config for player A : ./starter-bots/cplusplus
./starter-bots/cplusplus./bin/
java.io.FileNotFoundException: Could not find CPLUSPLUS bot file for John Doe(Bill)
java.io.FileNotFoundException: Could not find CPLUSPLUS bot file for John Doe(Bill)
at za.co.entelect.challenge.player.bootstrapper.PlayerBootstrapper.parsePlayer(PlayerBootstrapper.java:78)
at za.co.entelect.challenge.player.bootstrapper.PlayerBootstrapper.parsePlayer(PlayerBootstrapper.java:61)
at za.co.entelect.challenge.player.bootstrapper.PlayerBootstrapper.loadPlayers(PlayerBootstrapper.java:52)
at za.co.entelect.challenge.engine.bootstrapper.GameBootstrapper.run(GameBootstrapper.java:57)
at za.co.entelect.challenge.engine.bootstrapper.GameBootstrapper.main(GameBootstrapper.java:38)

I checked and the bot binary exists. Any ideas on what is wrong?

1 Like

Hi @Leon.

It seems to be a problem with the path concatenation to the executable file. We will look into this issue but for now, as a workaround, you can simply change the "botLocation": "./bin/" to "botLocation": "/bin/" in the C++ bot.json file :slight_smile:

1 Like