Skip to content

Instantly share code, notes, and snippets.

@Gravestorm
Gravestorm / Almanax.ahk
Created December 15, 2019 00:16
Dofus Almanax script
#SingleInstance Force
#Persistent
#NoEnv
SetWorkingDir %A_ScriptDir%
SetBatchLines -1
SetTitleMatchMode 2
; The script launches Dofus.exe, logs in to the most recent character (turn off Remember username and select Direct access to the game in the advanced options on the login screen), talks to the NPC and changes maps from the first map inside the Almanax building (need to record the Meridia dialog when doing it for the first character on the first account, afterwards the recorded clicks will be used), then switches characters and accounts until all are done.
; Hotkey to exit the script.
#SingleInstance Force
#Persistent
#NoEnv
SetWorkingDir %A_ScriptDir%
SetBatchLines -1
SetTitleMatchMode 3
Settings := RegexReplace(A_scriptname,"\..*","") ".ini"
StartA = 0
StartS = 0
Version = 30