Closed GoogleCodeExporter closed 9 years ago
Btw i wanted to say great work upgrading to BWAPI 3.2beta. Makes testing so
much easier :)
Original comment by jgrot...@student.aau.dk
on 26 Oct 2010 at 8:10
I can add now that i have copied almost identically the code to the original
StarcraftBot.cs and the problem seems to have disappeared. Cant see the reason
why but i seems to work now.
I attached the new file.
Original comment by jgrot...@student.aau.dk
on 26 Oct 2010 at 9:44
Attachments:
I'll investigate further but I am glad it is working for you now.
A tip for you though
instead of creating a new unit type to pass to the train() function, they are
all declared in bwapi as properties prefixed with UnitTypes_ eg
UnitTypes_Terran_Marine will return a UnitType of type Terran_marine. (A lot of
the constants available in BWAPI are available with their namespace prefixed
follod by the variable, check out the options in bwapi.
I'd put them in their own namespace, but the interface generator does not have
that capability (yet).
Original comment by dpershouse@gmail.com
on 27 Oct 2010 at 11:34
I had not noticed that! Thank you:)
And again. The mono-bridge is working very well. It's alot easier to develop
the AI in C# compared to C++ in mi opinion.
Good work!
-- Jonas
Original comment by jgrot...@student.aau.dk
on 28 Oct 2010 at 7:46
Original comment by dpershouse@gmail.com
on 28 Oct 2010 at 11:42
Original issue reported on code.google.com by
jgrot...@student.aau.dk
on 26 Oct 2010 at 8:10Attachments: