BurnySc2 / python-sc2

A StarCraft II bot api client library for Python 3
MIT License
508 stars 158 forks source link

mass_reaper.py error #65

Closed downse closed 4 years ago

downse commented 4 years ago

I apologize in advance as I am not well versed in python or github.

Line 89 of the mass_reaper.py example I am getting an error right as the game starts. Not sure what is going wrong.

barracks_tech_requirement: float = self.tech_requirement_progress(UnitTypeId.BARRACKS)

Thanks for your help!

BurnySc2 commented 4 years ago

Thank you, please let me know if you find more issues or especially crashes! It should be fixed now in commit https://github.com/BurnySc2/python-sc2/commit/ac04f7794719d0b0c9d1f7a69f467dc1a6befe41

downse commented 4 years ago

Thank you. Please let me know if you have a way I can donate. Patreon, paypal, etc. The work you put into this is amazing. I know this is a fork of the original, however that has been abandoned and you have taken the reins and made great improvements.

Thanks again, BurnySc2. Have a great day.

BurnySc2 commented 4 years ago

I haven't been spending too much time on this project in the couple past months (to add features or improve performance), but it is important to me to keep this library alive.

I have a donation link with a button called Donate at the bottom of this site (which goes directly to me): https://burnysc2.github.io/sc2-planner/ Direct link: https://www.paypal.com/paypalme/BurnySc2 Thank you in advance if you donate!

You can also donate via patreon to ai-arena which goes to funding the server costs and surplus money goes towards tournaments (as far as I know): https://ai-arena.net/ Direct link: https://www.patreon.com/aiarena

https://sc2ai.net/ also has a patreon which funds their ladder server Direct link: https://www.patreon.com/bePatron?u=13937215