Skip to content

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

@tllucero

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

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