-
Notifications
You must be signed in to change notification settings - Fork 179
Returns ObserverAI to working order #216
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
Conversation
dysonreturns
commented
Jun 26, 2025
- The example observer file needs it's path to be cast to string, otherwise we get a TypeError.
- ObserverAI dependend on deprecated self._client, self._game_data, self._game_info fields. They shoudl now be accessed directly.
- Additionally, observing as Everyone (player 0) broke, because it had no race. When player is 0, we assign the race of Random and it has no concerns.
…are based on. Latest 5.0.14 (94137) is bugged on the API, i.e. missing a lot of Upgrades. This commit allows sc2-techtree to this version, by supplying `run_game` with: `, sc2_version="5.0.14.93333")`
…andom Race for player_id 0(zero)
|
Thanks for putting effort into it. I would like to add at least one test case, too. Because otherwise the Can you think of a (simple) strategy to test it? Will a real bot replay be needed? Perhaps one can be created during the test, and then run through the |
…renzy Add abilities with empty 'buttonname' in stableid.json
…perty Makes unit.tag be @cached_property
…ield Adds `ActionObserverCameraMove.distance` enabling wide zoom-out
…urns/python-sc2 into dysonreturns-old-launcher-accept-sc2_version
…-sc2_version Allow passing in sc2_version to all legacy host and launch methods