9-9-9-9/Bit-Heroes-bot

Problem 3: Complex in bot development due to support multiple screen resolution

Closed this issue · 1 comments

Clarify:

  • Current version (at the moment this ticket was created): 1.7.5
  • Current game resolutions supported by 99bot:
    • 800x520 for Web/Mini-client
    • 800x480 for Steam game client
  • This ticket was only created for documentation purpose so I can reference later to let guys understand why

Issues:

  • Take time to cater for both of those game resolution
  • Sometime it's hard to find texture for both resolution

So I decided:

  • from 99bot version 2.0.0 onward, will only support resolution 800x520, and Steam game window will be resized to 800x520 (using JNA)

Why 800x520:

  1. Game resolution on Web/Mini-client can't be changed
  2. Game resolution on Steam can be changed to any resolution using SetWindowPos API of Windows

Rollback planning (in case any issue occurs related this change and unable to fix and decided to drop this change):

  • Rollback to source code version 1.7.5 and push into v3.0.0

ATM:

Test-state: good, ready to release