Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erro in ramp_wall.py #298

Open
ederquesado opened this issue Jul 5, 2019 · 2 comments
Open

Erro in ramp_wall.py #298

ederquesado opened this issue Jul 5, 2019 · 2 comments

Comments

@ederquesado
Copy link

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

@miguelgondu
Copy link

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

@minetonight
Copy link

minetonight commented Jul 21, 2019

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/python-sc2@Fix-for-4.9.3```

and now rampWall works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants