Search found 254 matches

by krasi0
Sun Nov 21, 2010 7:51 pm
Forum: AI development (BWAPI Bots)
Topic: Use Map Settings requests
Replies: 16
Views: 3743

Spawn overlords to provide 200/200 supply limit. Yes, spawn a zerg building with all possible buildings at one of the random start locations. Yeah, defilers with all upgrades are necessary. No need for resources for the human player. Just make repairing free. Zerglings/scourges in pairs, yes. The ra...
by krasi0
Sun Nov 21, 2010 7:53 am
Forum: AI development (BWAPI Bots)
Topic: Use Map Settings requests
Replies: 16
Views: 3743

"What about single-purpose upgrades (overlord speed, ultra armor, ling speed/atk rate, hydra range, etc)?" Basically these should be randomized if possible - whether it's avail or not. Both for the zerg computer and the terran player. Corrections to Terran counts: Marine: 11 Science vessel...
by krasi0
Sat Nov 20, 2010 10:09 pm
Forum: AI development (BWAPI Bots)
Topic: Use Map Settings requests
Replies: 16
Views: 3743

give the zerg all techs, and use random variations for attack and armour upgrades (1-3, 2-0, 0-0, etc)
by krasi0
Sat Nov 20, 2010 9:33 pm
Forum: AI development (BWAPI Bots)
Topic: Use Map Settings requests
Replies: 16
Views: 3743

Yeah, I guess revealing the whole map and adding out of nowhere a special building(one that was not there before) should be a suitable way to detect when the sample run is over(that is when either side has lost all it's war units). Also can you force the computer to always seek and destroy the playe...
by krasi0
Sat Nov 20, 2010 9:10 am
Forum: AI development (BWAPI Bots)
Topic: Use Map Settings requests
Replies: 16
Views: 3743

This idea is great. One question though: in your second example how should BWAPI detect the "end" of a small scale match session to get the current score / winning side. Maybe we need some callback like onUMSEnd() similar to onEnd() for melee games in order to reset the current generation,...
by krasi0
Sun Nov 14, 2010 2:31 pm
Forum: BWAPI (wrappers in other languages / questions and announcements related to BWAPI itself)
Topic: Genetic Algorithm
Replies: 6
Views: 1804

Yes, there was a cool video of a tournament 1 bot which uses GAs to optimize zealots micro. Basically you can use the onEnd callback to write the current scores(evaluate generations) and prepare the set up(ini files, xmls, etc.) for the next run and then just call Broodwar->restartGame() for the nex...
by krasi0
Fri Sep 24, 2010 10:06 pm
Forum: BWAPI (wrappers in other languages / questions and announcements related to BWAPI itself)
Topic: Game Situations for your bot
Replies: 2
Views: 1880

Very useful list. I've reached to the same situations empirically while developing my bot. Lifting the main CC is not always advisable though. One may need the additional comsat stations/nuclear silos. Anyway another difficult to handle situation: - an island expansion with an empty mineral patch th...
by krasi0
Sat Aug 28, 2010 8:04 am
Forum: BWAPI (wrappers in other languages / questions and announcements related to BWAPI itself)
Topic: Locating and attacking an enemy base?
Replies: 2
Views: 1124

1) Just iterate through the saved data in the information manager and use getLastPosition() on the enemy main building 2) you may try using SelectAll()(Zergling) and check its size before issuing any commands 3) from all the checkpoints that border manager returns to you, you should conclude which o...
by krasi0
Sun Jul 25, 2010 12:19 pm
Forum: BWAPI (wrappers in other languages / questions and announcements related to BWAPI itself)
Topic: Is the effect of training/morphing always immediate?
Replies: 3
Views: 1048

lowerlogic, cheer up! I don't think this is a dead end so we're gonna come up with another idea to compensate latency.
by krasi0
Fri Jun 04, 2010 5:43 pm
Forum: BWAPI (wrappers in other languages / questions and announcements related to BWAPI itself)
Topic: Getting worker current mineral
Replies: 1
Views: 804

Regarding your first question, you need to store the worker's last target in an array for later access. I don't think you can retrieve this info using BWAPI while the worker is returning its cargo.

Go to advanced search