Skip to content

Instantly share code, notes, and snippets.

@CrookedJ
CrookedJ / DaD.ahk
Last active February 8, 2024 14:48
Functions for trading in Dark and Darker
; For AutoHotkey2
; Right now just has cell coords for 1440p and 1080p
CoordMode "Mouse", "Client"
WinGetClientPos ,, &Width, &Height, "ahk_exe DungeonCrawler.exe"
if (Width/Height != 16/9) {
throw("Detected res is not 16:9 or game window size could not be determined. Make sure the game is open")
}
if (Width = 1920 and Height = 1080) {
colStart := 1080