pysc2 icon indicating copy to clipboard operation
pysc2 copied to clipboard

StarCraft II Learning Environment

Results 61 pysc2 issues
Sort by recently updated
recently updated
newest added

PS E:\pysc2-master> python -m pysc2.bin.agent --map Simple64 pygame 2.4.0 (SDL 2.26.4, Python 3.9.13) Hello from the pygame community. https://www.pygame.org/contribute.html I0619 23:12:33.051318 20372 sc_process.py:130] Launching SC2: C:/Program Files (x86)/StarCraft II\Versions/Base90136\SC2_x64.exe -listen...

Hello First, thank you for your best benchmark. I run your code in offline env. python -m pysc2.bin.agent --map Simple64 but i receive the error ------------------------------------------------------ Error signal: '11' sc2_env.py:740...

The random.shuffle function in Python's standard library doesn't take a second argument in Python versions 3.9 and onwards. Previously, random.shuffle allowed for a random generator function as its second argument,...

Added missing --- lines to s2clientprotocol.patch needed for bazel build

In pysc2, How can I use auto attack? Now it seems disable.

``` scvs = self.get_units_by_type(obs, units.Terran.SCV) if len(scvs) != 0: scv = random.choice(scvs) return actions.FUNCTIONS.select_point('select', (scv.x, scv.y)) ``` When I run the above code to get the coordinates of the scv,...

C:\Users\27012>python -m pysc2.bin.agent --map Simple64 pygame 2.5.2 (SDL 2.28.3, Python 3.12.3) Hello from the pygame community. https://www.pygame.org/contribute.html I0507 23:27:35.410878 24656 sc_process.py:130] Launching SC2: D:/StarCraft II\Versions/Base92174\SC2_x64.exe -listen 127.0.0.1 -port 33944 -dataDir...

As the title says, I need a way to extract the kill count of each unit on the map. Is there a way to do that?