Skip to content

after fixing 3794/3795 error -botAI main_base_ramp fails #303

Description

@tllucero

After update to Blizzard 4.10
using pip3 install --user git+https://github.com/Dentosal/python-sc2@Fix-for-4.9.3
patched with
Edit game_data.py and comment out 'assert self.id != 0' with # in front, save changes.
Edit pixel_map.py and comment out 'assert self.bits_per_pixel % 8 == 0, "Unsupported pixel density"' with # in front, save changes.

Now I get at beginning of game in
File "/home/markov/.local/lib/python3.7/site-packages/sc2/bot_ai.py", line 80, in main_base_ramp
key=(lambda r: self.start_location.distance_to(r.top_center)),
ValueError: min() arg is an empty sequence

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions