python-sc2
python-sc2 copied to clipboard
Erro in ramp_wall.py
File "examples/terran/ramp_wall.py", line 42, in on_step depot_placement_positions = self.main_base_ramp.corner_depots File "C:\Users\ederq\Anaconda3\lib\site-packages\sc2\bot_ai.py", line 80, in main_base_ramp key=(lambda r: self.start_location.distance_to(r.top_center))
python 3.7
Same problem here. I wonder why it's no longer finding the ramp's corners.
Hi all, I had that issue and did two things:
- not important: you need to retain the original folder for the maps StarCraft II\Maps\Ladder2018Season2
- use the 4.9 fix branch because there is the nasty ValueError: 3794 is not a valid AbilityId
pip3 install --user pipenv
pip3 install --upgrade git+https://github.com/Dentosal/[email protected]```
and now rampWall works!