Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
H1Z1DB_v1.1.0.0.au3
;
;H1Z1DB AutoUpdater for: http://www.h1z1db.net/h1z1_upload_manager.php
;
;This is an external(!) AutoIt script to automate the process for the H1Z1DB Upload Manager.
;
;Use it on your own risk!
;
#include <Misc.au3>
#pragma compile(Out, H1Z1DB AutoUpdater.exe)
;#pragma compile(Icon, _icon.ico)
#pragma compile(FileVersion, 1.1.0.0)
#pragma compile(LegalCopyright, rizzn)
#pragma compile(ProductName, H1Z1DB AutoUpdater)
#pragma compile(ProductVersion, 1.1.0.0)
HotKeySet("y", "updateLocation")
While 1
Sleep(100)
WEnd
Func updateLocation()
ToolTip("Busy...")
Opt("SendKeyDownDelay", 50)
Send("{ENTER}")
Send("/loc")
Send("{ENTER}")
Send("m")
Local $clip = ClipPut("")
;Resolution: 1920x1080
MouseClickDrag("left", 215, 1017, 15, 998)
;Resultion: 1600x900
;MouseClickDrag("left", 248, 838, 13, 817)
;Resultion: 1280x720
;MouseClickDrag("left", 87, 658, 14, 616)
;Resultion: 800x600
;MouseClickDrag("left", 211, 538, 13, 496)
Send("^c")
Sleep(300)
MouseClick("left", 500, 965, 1)
Send("m")
Tooltip("")
EndFunc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment