JBridge with Can't get window rect

https://github.com/bwapi/bwapi
newbie_toy
Posts: 2
Joined: Mon Apr 05, 2010 5:38 am

JBridge with Can't get window rect

Postby newbie_toy » Sat Aug 28, 2010 10:59 am

I am using Genetic Programming to evolve my bot. This requires me to use Junit to run the game repeatedly. But I got this error sometimes, "Can't get window rect from JBridge. I know this error, because HWND is not set properly. but anybody knows how to solve this error? I tried putting while loop around that and set the new value for HWND again, but didn't work. Please Thanks so much.

Return to “BWAPI (wrappers in other languages / questions and announcements related to BWAPI itself)”

Who is online

Users browsing this forum: No registered users and 1 guest