Closed GoogleCodeExporter closed 9 years ago
Please try using BWAPI Beta 2.5. Also, the parameter for onSendText is an
std::string, not a character array, so to display it with printf or sendText
you need
to convert it to a c string like so:
Broodwar->printf("%s", text.c_str());
Original comment by lowerlo...@gmail.com
on 22 Dec 2009 at 3:24
sorry for the confusion, but
Broodwar->printf("%s", text)
WAS the one I tried. However, I soon noticed the c_str() thing and used
Broodwar->printf("%s", text.c_str())
instead.
The phenomenon I described above is for the later case.
I will try BWAPI 2.5 soon and hopefully eliminate this bug.
Original comment by hero...@gmail.com
on 22 Dec 2009 at 3:31
Please post back and tell us if the bug was fixed or not.
Original comment by AHeinerm
on 25 Dec 2009 at 4:01
Unable to reproduce bug and no response from hero080 for over a week. I assume
the
issue is invalid and/or has been fixed in BWAPI Beta 2.5.
Original comment by lowerlo...@gmail.com
on 30 Dec 2009 at 10:36
Original issue reported on code.google.com by
hero...@gmail.com
on 22 Dec 2009 at 12:20