The exact thing that happens is that the AI bot attached below doesn't start doing anything when run on my "Blizzard" map at position #2 (white), no bases mode, so i'm asking for a help in investigating this.
The AI works well on any other map i tested, and on any other position on this map. Also, slightly changing initial position of trucks makes the AI work again. I believe the reason is that pickDroidStructLocation(...) function returns an invalid location of the research lab (this AI always starts with a research lab). Nexus AI also behaves badly on this position: instead of building the base, it starts capturing oil derricks. But i forbid my AI to start capturing oil derricks so early, so it just hangs.
If in grabTrucksAndBuild(...) function (which doesn't differ significantly from the one in Nexus AI) i replace
Code: Select all
pickDroidStructLocation(mydroid, bstats, ref bx, ref by, me, maxBlockingTiles)Code: Select all
pickDroidStructLocation(mydroid, factory, ref bx, ref by, me, maxBlockingTiles)

