Closed GoogleCodeExporter closed 9 years ago
I'm pretty sure the check for completed Hatcheries, Lairs, and Hives is
correct. The issue was people complained about morphing Zerg buildings being
completed, so that behaviour was altered for BWAPI and the check was not
correctly updated to reflect this.
Fixed this in r3834.
I'm not sure what you mean in the second problem, since if the first problem is
fixed then that shouldn't happen.
Original comment by AHeinerm
on 7 Aug 2011 at 7:24
Consider 1 Hive, 1 Evolution Chamber, and Zerg Carapace 1 already upgraded.
If you are checking for Carapace 2,
- The first if statement is false, as it does not require a Hatchery
- The second if statement is false, as though it requires a Lair, you do have
one of the required buildings
- At this point, it keeps going
- The third if statement is false, as it does not require a Spire
- The fourth if statement is TRUE, as you do not have any Lairs, and it returns
with Insufficient_Tech
Original comment by douglas....@gmail.com
on 7 Aug 2011 at 8:05
How about r3835?
Original comment by AHeinerm
on 8 Aug 2011 at 4:08
Issue 419 has been merged into this issue.
Original comment by AHeinerm
on 21 Nov 2011 at 12:46
Original issue reported on code.google.com by
douglas....@gmail.com
on 7 Aug 2011 at 8:10