-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Players incorrectly being reported as observers in BWAPI 4.2.0 clients #38
Comments
Thanks for the bug report. Confirmed. However, in Linux + OpenBW + BWAPI4J, these players are not reported as observers. I suspect something to do with the bridge for Windows. Looking into recompiling the bridge. The values seem to be getting set correctly:
and
|
Update:
Update 2:
|
Shouldnt the code be:
BWAPI |
Ok, then forget what I said. What a weird behaviour. |
Using a completely separate C++ BWAPI 4.2.0 client project with no Java, I am getting the same incorrect behavior with the client version but not with the module version. @Jabbo16, can you verify this as well, please? |
I checked module before and got correct behaviour, both players reported as not observers, just the Neutral player as observer. Looks like Client bug? |
Yes, it looks like a BWAPI client bug that is present in 4.2.0, 4.1.2, and maybe other versions. The module appears unaffected. If/when it gets fixed, someone (if I'm not around) should use the updated BWAPI libs to recompile the bridge and then close this issue. |
This issue has been fixed in the |
Upgraded to BWAPI v4.4.0 in 83423a9 which should resolve this. Needs to be tested first. |
This code called at
onStart()
while running a Melee game mode match:Returns all players as being observers:
The only
Player
that should be observer isNeutral
.The text was updated successfully, but these errors were encountered: