This project allows automatic generation of AHK files, which can then be used for automating running GM commands in game. While, it can also convert a GM log to CSV.
Note: This has not been tested thoroughly, as such, there are probably bugs.
- CMake - They both require this for compiling
-
Windows OS - See AutoHotkey requirement for why.
-
AutoHotkey - This is not used for compiling, but the program outputs in .ahk format. This is a format which AutoHotkey uses. (Doesn't seem to be available on Linux)
-
Build Project
-
Add config - Rename config - TEMPLATE.txt to config.txt and add to build folder
-
Add input - Should be CSV format without headers, named input.txt by default e.g.
81765 16343 0 0 81921 16343 0 0 81922 16343 0 0 81923 16343 0 0 82046 16343 0 0 82047 16343 0 0 82072 16343 0 0 82086 16343 0 0 82087 16343 0 0 82088 16343 0 0 82090 16343 0 0
-
Add command structure to config e.g.
Commands -{enter} _SLEEP 20 -.go o $0 _SLEEP 20 -{enter} _SLEEP 1500 -{enter} _SLEEP 20 -.gps _SLEEP 20 -{enter}
Formatting can be found in config
-
Run .exe - Should see an .ahk file after running
-
Run output.ahk
-
Enter game and run keybind - Default ctrl + j
-
Done
-
Build Project
-
Add config - Rename config - TEMPLATE.txt to config.txt and add to build folder
-
Add input - Should be a GM log, named input.log by default e.g.
2021-08-24_18:02:25 INFO [commands.gm] Command: .go o 1 [Player: Testhunter (GUID Full: 0x0000000000000002 Type: Player Low: 2) (Account: 11) X: 1299.535522 Y: 319.459656 Z: -58.974792 Map: 0 (Eastern Kingdoms) Area: 1497 (Undercity) Zone: Unknown Selected: (GUID Full: 0x0000000000000000 Type: None Low: 0)] 2021-08-24_18:02:26 INFO [commands.gm] Command: .gps [Player: Testhunter (GUID Full: 0x0000000000000002 Type: Player Low: 2) (Account: 11) X: -959.702026 Y: -3739.060059 Z: 5.662160 Map: 1 (Kalimdor) Area: 392 (Ratchet) Zone: The Barrens Selected: (GUID Full: 0x0000000000000000 Type: None Low: 0)] 2021-08-24_18:02:27 INFO [commands.gm] Command: .go o 2 [Player: Testhunter (GUID Full: 0x0000000000000002 Type: Player Low: 2) (Account: 11) X: -959.702026 Y: -3739.060059 Z: 5.662160 Map: 1 (Kalimdor) Area: 392 (Ratchet) Zone: The Barrens Selected: (GUID Full: 0x0000000000000000 Type: None Low: 0)] 2021-08-24_18:02:28 INFO [commands.gm] Command: .gps [Player: Testhunter (GUID Full: 0x0000000000000002 Type: Player Low: 2) (Account: 11) X: -7826.899902 Y: -1851.920044 Z: 128.527603 Map: 0 (Eastern Kingdoms) Area: 250 (Ruins of Thaurissan) Zone: Burning Steppes Selected: (GUID Full: 0x0000000000000000 Type: None Low: 0)]
-
Run .exe - Should see a .csv file after running
Timestamp,Command,Arg 0,Arg 1,Player,X,Y,Z,MapID,Map,AreaID,Area 2021-08-24_18:02:25,.go,o,1,Testhunter,1299.535522,319.459656,-58.974792,0,Eastern Kingdoms,1497,Undercity 2021-08-24_18:02:26,.gps,,,Testhunter,-959.702026,-3739.060059,5.662160,1,Kalimdor,392,Ratchet 2021-08-24_18:02:27,.go,o,2,Testhunter,-959.702026,-3739.060059,5.662160,1,Kalimdor,392,Ratchet 2021-08-24_18:02:28,.gps,,,Testhunter,-7826.899902,-1851.920044,128.527603,0,Eastern Kingdoms,250,Ruins of Thaurissan
-
Done