BurnySc2

Results 41 issues of BurnySc2

Although this is probably bad for people who run different editors (vim, pycharm etc.), adding such a config could display (with the help of comments) which variables may be changed...

enhancement

In https://github.com/BurnySc2/python-sc2/blob/76e4a435732d4359e5bd9e15b6283a0498e212ca/examples/external_bot.py we can run bots using an external file path. Extend it to launch a bot.exe (on linux: via wine) so that bot vs bot works as well as...

enhancement

Using this example https://github.com/BurnySc2/python-sc2/blob/76e4a435732d4359e5bd9e15b6283a0498e212ca/examples/zerg/worker_split.py#L43-L48 Bot should come first, then the built-in-AI Or for human play: Human player should come first, then the Bot

enhancement

A while ago the search function broke in the [documentation website](https://burnysc2.github.io/python-sc2/docs/index.html) The issue is probably somewhere [here](https://github.com/BurnySc2/python-sc2/tree/develop/docs_generate) or due to a version change of [sphinx](https://github.com/BurnySc2/python-sc2/blob/3ca497e1d1e8390da1633c79939c22d5f9b12c39/pyproject.toml#L58-L60)

bug

Fixes https://github.com/BurnySc2/python-sc2/issues/157 This PR adds the `Unit.abilities` property which returns a set of AbilityId for all own units. Returns an empty set and a warning for neutral and enemy units....

Scripts not checked by CI: - [x] https://github.com/BurnySc2/python-sc2/blob/develop/generate_dicts_from_data_json.py added in https://github.com/BurnySc2/python-sc2/pull/148 - [ ] https://github.com/BurnySc2/python-sc2/blob/develop/test/generate_pickle_files_bot.py - [ ] https://github.com/BurnySc2/python-sc2/blob/develop/generate_id_constants_from_stableid.py

tests

Run `get_available_abilities` in prepare_units or before_step and cache, so it doesn't have to be called by bot author.

enhancement

Problem: Accessing health, position and other attributes that can change in between frames may show different values every X frames. This means checking `unit.is_idle` may keep returning the same boolean...

bug

Parse xml files directly from SC2 instead of using the data generated by https://github.com/BurnySc2/sc2-techtree XML files: https://github.com/Ahli/sc2xml XML extraction tools: http://www.zezula.net/en/casc/main.html Command line tool: https://github.com/Ahli/Galaxy-Observer-UI/tree/main/tools/plugins/casc This should simplify the upgrade...

enhancement

In the an [example Build Order](https://burnysc2.github.io/sc2-planner/?&race=terran&bo=uDritmrisSJEritSf2HtL2NtZU2HsMN2PtkuBtgV2KritnfibViriuFsExagsJRxaJtjkilTkli2Mx3ixaasKzaDyUZsKIyx1sKxZJtR2ztZfezn9sJLySKzLT1cKtleZkx2KsQx1bsJx1KxdSsP0GysKJyTbsLzQcsKI0lc16zxabzOK12NxYZyNZsL1vK0bTxcJtR2ZtZfexZKx2csJLx4K1VT0E90EMzKKzkPyOyzb9zbmsJxzKtlgXiRU1fjypZsJRxaJtjkil3ttliySLx3ZsKysKx3TsIxdc1t9zKM02902sz59z592QsPxZJtR41tZfe0v9xdhzlKyxPsJMzOZ1p90BMsNynKxyNxYYylysP0OZxzZ0owsKKxYJtjkil3qtli2MxdlzKzxyZsJRysbxdWtNuF) you are unable to drag-and-drop elements into a row that isn't the first row. Only when using the minimize button ![image](https://user-images.githubusercontent.com/21288725/209824537-76699b47-dd0f-4b18-8ca3-989aaf3fdbf3.png) you are able...

bug