davechurchill / StarcraftAITournamentManager

Tournament Manager Software for StarCraft AI Competitions
MIT License
77 stars 43 forks source link

(Untested) Provided sane timings for 4.4's client timing issues #43

Closed dgant closed 4 years ago

dgant commented 4 years ago

Attempts to provide a reasonable solution for https://github.com/davechurchill/StarcraftAITournamentManager/issues/42

This solution should enforce timing rules correctly against client bots, while allowing module bots to take some excess time if they distribute work across multiple event handlers, eg. if a module bot takes 10ms for every onUnitShow and six units show up, they will only be marked down for 10ms and go unpenalized.

Have not tested this. Happy to help with testing. PurpleWave writes its own detailed performance metrics to a log file at the end of each game.

richard-kelly commented 4 years ago

Closing this as I've pulled the other proposed solution for this issue.