Reported by [email protected], Feb 24, 2014
Steps I took:
- Set ChaosLauncher to use these settings:
auto_menu = SINGLE_PLAYER
lan_mode = Local PC
auto_restart = ON
game_type = MELEE
- Run JNIBWAPI (through Eclipse), run Starcraft Multi-instance twice, have it play a 1v1 game against either an AI or human player.
- Upon starting the second game, Java crashes.
Starcraft continues to run as normal.
Starcraft displays the message "BWAPI r4160 is now live using .", but the JNIBWAPI console doesn't show "Bridge: Starting match!".
The method matchStart() is never called.
When running the provided pre-compiled JNIBWAPI AI, a "Java(TM) Platform SE binary has stopped working" message appears. When running from Eclipse, no error message appears - Eclipse justs terminates the execution.
Using r64 unmodified, Windows 8.1 32-bit.
Feb 24, 2014
#1 [email protected]
Follow up: I've been testing it a bit more, and it seems that this only happens with Melee or Free For All, while Top Vs Bottom and map settings for Allied maps are fine.
Feb 25, 2014
Project Member #2 [email protected]
That sounds like the crash is happening in the C++ code, specifically, in the section:
while (!Broodwar->isInGame()) {
BWAPI::BWAPIClient.update();
if (Broodwar == NULL) {
return;
}
}
This may be a more general problem in BWAPI - BWAPI definitely has some issues using multi-instance in certain configurations. Often for AI-vs AI it is recommended to use a VM. Maybe ask about this on the BWAPI forums/facebook/IRC and see if the problem is common to BWAPI (and please report back with findings)?
Reported by [email protected], Feb 24, 2014
Steps I took:
auto_menu = SINGLE_PLAYER
lan_mode = Local PC
auto_restart = ON
game_type = MELEE
Starcraft continues to run as normal.
Starcraft displays the message "BWAPI r4160 is now live using .", but the JNIBWAPI console doesn't show "Bridge: Starting match!".
The method matchStart() is never called.
When running the provided pre-compiled JNIBWAPI AI, a "Java(TM) Platform SE binary has stopped working" message appears. When running from Eclipse, no error message appears - Eclipse justs terminates the execution.
Using r64 unmodified, Windows 8.1 32-bit.
Feb 24, 2014
#1 [email protected]
Follow up: I've been testing it a bit more, and it seems that this only happens with Melee or Free For All, while Top Vs Bottom and map settings for Allied maps are fine.
Feb 25, 2014
Project Member #2 [email protected]
That sounds like the crash is happening in the C++ code, specifically, in the section:
while (!Broodwar->isInGame()) {
BWAPI::BWAPIClient.update();
if (Broodwar == NULL) {
return;
}
}
This may be a more general problem in BWAPI - BWAPI definitely has some issues using multi-instance in certain configurations. Often for AI-vs AI it is recommended to use a VM. Maybe ask about this on the BWAPI forums/facebook/IRC and see if the problem is common to BWAPI (and please report back with findings)?