Blizzard / Blizzard/s2client-proto

Army supply rounding bug

Open
#123 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
4k
Forks
440
PR merge metrics
No merged PRs in 30d

Description

There is a rounding bug if you have odd quantity of zerglings. Game shows that I use 44/44 supply, but from observation I get 43/44.

On this picture: https://cdn.discordapp.com/attachments/377964302122090496/516979749709545475/unknown.png my bot tries to order more zerglings because he thinks that there is supply left for one more.

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file, test, or entry point is named. Start by reproducing the odd-zergling case described in the issue and trace the supply calculation used by the bot; done means the displayed and observed supply agree and the bot no longer orders an extra zergling.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.