Search found 13 matches

by Nuclear
Mon Mar 15, 2010 9:48 am
Forum: BWAPI (wrappers in other languages / questions and announcements related to BWAPI itself)
Topic: Reading and Saving Text Files in BWAPI
Replies: 6
Views: 1945

In single player you can use Broodwar->restartGame()
by Nuclear
Sat Mar 06, 2010 12:35 pm
Forum: BWAPI (wrappers in other languages / questions and announcements related to BWAPI itself)
Topic: Get a Siege Tank's cooldown?
Replies: 3
Views: 940

http://code.google.com/p/bwapi/issues/deta...=188&q=tank
I'm not sure, that getChild() will do it. They aren't sure too. ("maybe something like getChild").
by Nuclear
Sat Mar 06, 2010 10:21 am
Forum: BWAPI (wrappers in other languages / questions and announcements related to BWAPI itself)
Topic: Get a Siege Tank's cooldown?
Replies: 3
Views: 940

Get a Siege Tank's cooldown?

Hi, I'm "learning" my units to micro - for now against zealots and I need the unit's remaining weapon cooldown, so I know, that the unit is ready to attack. I use getGroundWeaponCooldown(), but it doesn't work for Siege Tanks. It returns always 0. I read something, that I must use getChild...
by Nuclear
Fri Mar 05, 2010 11:37 pm
Forum: BWAPI (wrappers in other languages / questions and announcements related to BWAPI itself)
Topic: Reading and Saving Text Files in BWAPI
Replies: 6
Views: 1945

Does the file exists? The module looks for it in the Starcraft main folder (where starcraft.exe is). If the file doesn't exists, you need to exit from readFromFile function (if you don't want to create it and write something inside). So you need return; after Broodwar->printf("error"); Or ...
by Nuclear
Thu Feb 25, 2010 9:46 pm
Forum: BWAPI (wrappers in other languages / questions and announcements related to BWAPI itself)
Topic: Problem, building BWAPI source?
Replies: 4
Views: 1654

Yes, I succeeded building BWAPI, but I have the problem, described here: http://code.google.com/p/bwapi/issues/detail?id=198#c12 Do I need to rebuild BWTA? I tried, but I need 4-5 additional libraries. I got some of them, but I get errors like "cannot access protected member declared in class '...
by Nuclear
Mon Feb 22, 2010 1:58 pm
Forum: BWAPI (wrappers in other languages / questions and announcements related to BWAPI itself)
Topic: Problem, building BWAPI source?
Replies: 4
Views: 1654

Problem, building BWAPI source?

Hi, I need to rebuild the source ( http://code.google.com/p/bwapi/source/checkout ) of BWAPI, because there are some changes, for example this: http://code.google.com/p/bwapi/source/detail?r=2104 , but my BWAPI is older: BWAPI_Beta_2.6.1 So, I download the source, using svn, open the project bwapi (...
by Nuclear
Wed Feb 10, 2010 4:58 pm
Forum: BWAPI (wrappers in other languages / questions and announcements related to BWAPI itself)
Topic: Maybe Unit.setRallyPosition(Position) not work
Replies: 3
Views: 1110

Hi, i have a question about the orders. Can i queue orders, using BWAPI? For example, using the GUI, i can order a scv to start a building and then shift+rightclick a mineral patch. In result, the SCV goes mining, after the building is finished. Is there a equivalent of the "shift" command...
by Nuclear
Sun Feb 07, 2010 7:29 pm
Forum: AI development (BWAPI Bots)
Topic: Want to play against my own AI
Replies: 10
Views: 2968

BWAPI is totally different from the built-in AI scripts. BWAPI "replaces" the user in playing the game. Playing Human vs BWAPI on 1 PC and 1 starcraft process running is the same as 2 humans playing Starcraft on the same PC (The game doesn't allow this). The built-in scripts can be modifie...
by Nuclear
Sun Feb 07, 2010 6:23 pm
Forum: AI development (BWAPI Bots)
Topic: Want to play against my own AI
Replies: 10
Views: 2968

1) can you run a BWAPI script on ICCup with AH on. (i dont think chaos launcher allows this) Well, I don't think that this can be possible. BWAPI, as any external program could be considered as a hack/cheat. Imagine, if you could run an AI, which helps you while you play. Automine, autoqueue, inform...

Go to advanced search