davechurchill / commandcenter

Starcraft AI Bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Run example of Commandcenter,* homeBase = getPlayerStartingBaseLocation(player) is NULL

Timkeeper2018 opened this issue · comments

When I try to run CommandcenterDefinitely with VS, I get a null pointer error. This error appears in the 308th sentence in the BaseLocationManager.cpp file:
"Const BaseLocation * homeBase = getPlayerStartingBaseLocation(player);"
My code is not very good, and I can't figure out why the "homeBase" here is a null pointer.
I have installed the required SC2API environment and can successfully run the sample programs in SC2API.
Thanks in advance.

CommandCenter is no longer being maintained and I'm not even sure the last time it worked properly :(