BryanSWeber / CUNYAIModule

CUNYBot, an AI that plays complete games of Starcraft.
MIT License
6 stars 3 forks source link

Worker to edge of map bug #209

Closed BryanSWeber closed 3 years ago

BryanSWeber commented 4 years ago

Describe the bug Worker goes to edge of map and idles with "building" order.

To Reproduce Not sure but occurs 3-4 times longer games.

Expected behavior I'd hope it get caught by something, assigned return or noticed as idling.

Additional context Appears to have happened when a drone was ordered to build a hatchery. Moved to square and could not build for whatever reason (not enough minerals).

Eventually, his build order was dropped and he was not reset. Some other worker built in his slot and he wandered to the edge of the map quite directly.

BryanSWeber commented 3 years ago

Haven't worked on this in particular, but after lots of refactoring, bug no longer occurs in observed games.