go2starr / CS-638-BWAPI

Starcraft: Broodwar AI bot
GNU Lesser General Public License v3.0
9 stars 7 forks source link

BuildManager crash caused by build stack overflow in some circumstances #13

Open bploeckelman opened 12 years ago

bploeckelman commented 12 years ago

For example, if we have no command center and no SCVs, the BuildManager overflows the build stack with recursive requests to build a new command center, which needs an SCV, which needs command center, etc...

bploeckelman commented 12 years ago

The example circumstance listed above should be 'fixed' by 1f9a208c22677bb697e308ad6014c4b47eaba6f3

I'm not going to close this yet though, because this isn't a real fix for the underlying issue where the BuildMgr overflows the build stack with recursive build calls under some circumstances. I've had this occur in other situations than the loss of the command center and all SCVs.