GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Unpowered buildings can't cancel production · Issue #918 · bwapi/bwapi Open DescriptionYour Gateway is training a Dragoon. Some mean player has destroyed your Artosis Pylon that was powering it. Now you want to cancel the unit to get your money back. "I'll issue a Cancel command," you think, "just like I do every time this happens to me on ladder." BWAPI will just check whether I can issue a command to this unit, decide that I can, and then allow my Cancel command to go through, right? ...oh. https://github.com/bwapi/bwapi/blob/main/bwapi/BWAPI/Source/BWAPI/UnitImpl.cpp#L90 I believe check blocks the command on both the client (for client bots) and server. I believe the correct fix is to remove the isPowered test on the command filter; I do not think this check is necessary, but also have not deeply considered the consequences of allowing the command to go through. Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |