Search found 362 matches

by Heinermann
Sun May 06, 2012 3:16 pm
Forum: BWAPI (wrappers in other languages / questions and announcements related to BWAPI itself)
Topic: Help! How to start my own AI
Replies: 9
Views: 14761

Finding a build location seems to be one of the biggest problems/challenges in BWAPI. Though if you want to build a barracks next to your command center, try the following: using namespace BWAPI; Unit *pCommandCenter; // assuming you have a pointer to the command center Unit *pBuilder; // assuming y...
by Heinermann
Mon Feb 27, 2012 4:07 pm
Forum: StarCraft Modding
Topic: FireGraft 1.16.1 (primarily exe edit discussion)
Replies: 128
Views: 82687

pylon distance checker is at 4936f0 aura show-er 493663 all aurac are linked through unitnode + 0FCh (i think its already noted, but i forgot where the doc is). EDIT: 4e62d2 90 90 remove auras whatver team selected before 4e6237 90 90 show auras if ANY pilon cliked http://code.google.com/p/bwapi/so...
by Heinermann
Tue Feb 21, 2012 12:42 pm
Forum: BWAPI (wrappers in other languages / questions and announcements related to BWAPI itself)
Topic: BWAPI IRC Channel
Replies: 8
Views: 4621

Note: The IRC will be moved to freenode in #BWAPI.
by Heinermann
Sun Feb 12, 2012 2:37 am
Forum: StarCraft Modding
Topic: SCAIEdit III list of commands
Replies: 96
Views: 69277

eval_harass compares unit strengths. My somewhat correct interpretation: 1. Computes unit strength of the attack group 2. Computes unit strength of enemies within 1024 pixels of the attack group's region(?) 3. If both the AI's ground/air strengths are below both the enemy's ground/air strengths, the...
by Heinermann
Sun Jan 29, 2012 3:10 am
Forum: BWAPI (wrappers in other languages / questions and announcements related to BWAPI itself)
Topic: Playing Brood War with BWAPI lines and dots!
Replies: 2
Views: 1618

You would have to write a new module compatible with the new version of BWAPI.
by Heinermann
Sat Jan 28, 2012 3:58 pm
Forum: BWAPI (wrappers in other languages / questions and announcements related to BWAPI itself)
Topic: Finally got ExampleAIClient compile in Linux!
Replies: 5
Views: 2301

I changed the backslashes to forward slashes in the head revision so that a future tutorial does not need this step.

Also "Project Contributors" should have wiki access. I can give it to both of you (krasi0 should already have it though). I will need your google code account name/email.
by Heinermann
Wed Jan 25, 2012 8:19 pm
Forum: BWAPI (wrappers in other languages / questions and announcements related to BWAPI itself)
Topic: Problem using getUnitsInRadius()
Replies: 7
Views: 2009

Just a small thing, not sure if it's related or not. set<Player*> players=Broodwar->getPlayers(); for(set<Player*>::iterator j=players.begin();j!=players.end();++j) { if(!(*j)->isNeutral() && !(*j)->isObserver()) { units=(*j)->getUnits(); for(set<Unit*>::iterator i=units.begin();i!=units.end...
by Heinermann
Mon Jan 23, 2012 2:39 pm
Forum: BWAPI (wrappers in other languages / questions and announcements related to BWAPI itself)
Topic: using old revisions
Replies: 1
Views: 1272

It might be that they are not compatible (since the "old revision" loading system is just a hack and can potentially conflict). Try replacing the actual BWAPI.dll (backup the new one first before replacing it with the old one) and try again.
by Heinermann
Mon Jan 23, 2012 2:33 pm
Forum: BWAPI (wrappers in other languages / questions and announcements related to BWAPI itself)
Topic: running client bot
Replies: 4
Views: 1359

Can you post a sample of some of the errors?

If they are linker errors then you need to include BWAPI.lib.
If they are file not found errors then you need to add the include directory (for the project, not for your compiler) that contains BWAPI.h.

Go to advanced search