python-sc2 icon indicating copy to clipboard operation
python-sc2 copied to clipboard

Erro in ramp_wall.py

Open ederquesado opened this issue 5 years ago • 2 comments

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

ederquesado avatar Jul 05 '19 06:07 ederquesado

Same problem here. I wonder why it's no longer finding the ramp's corners.

miguelgondu avatar Jul 08 '19 00:07 miguelgondu

Hi all, I had that issue and did two things:

  1. not important: you need to retain the original folder for the maps StarCraft II\Maps\Ladder2018Season2
  2. 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!

minetonight avatar Jul 21 '19 19:07 minetonight