Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getLatencyFrames() doesn't reflect changes to latency #869

Open
dgant opened this issue Apr 12, 2021 · 0 comments
Open

getLatencyFrames() doesn't reflect changes to latency #869

dgant opened this issue Apr 12, 2021 · 0 comments

Comments

@dgant
Copy link
Contributor

dgant commented Apr 12, 2021

As observed by Gathers / MadMix:

  1. Launch two instances of StarCraft with BWAPI and LatencyChanger enabled, configured to set latency set to LF3
  2. Play game on ICCup (Gathers used PvPGN but this probably doesn't matter)
  3. Call getLatencyFrames() using a client bot and observe that it is 15
  4. Issue a command to a unit on frame N, and observe that its order changes accordingly on frame N + 3 instead of N + 15

This could likely also be reproduced by setting low/medium/high latency from the in-game menu without involving LatencyChanger.

Gathers tested this with a client bot only. I have no expectation whether this affects module bots as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant