finished up grid detection.

This commit is contained in:
Boki 2026-02-10 17:29:37 -05:00
parent 41d174195e
commit 1246884be9
11 changed files with 1037 additions and 19 deletions

View file

@ -40,7 +40,7 @@ export class GameController {
// Clear any existing text
await this.inputSender.selectAll();
await sleep(50);
await this.inputSender.pressKey(VK.DELETE);
await this.inputSender.pressKey(VK.BACK);
await sleep(50);
// Type the message
@ -66,7 +66,7 @@ export class GameController {
// Clear any existing text
await this.inputSender.selectAll();
await sleep(50);
await this.inputSender.pressKey(VK.DELETE);
await this.inputSender.pressKey(VK.BACK);
await sleep(50);
// Paste
@ -80,7 +80,7 @@ export class GameController {
async goToHideout(): Promise<void> {
logger.info('Sending /hideout command');
await this.sendChat('/hideout');
await this.sendChatViaPaste('/hideout');
}
async ctrlRightClickAt(x: number, y: number): Promise<void> {