Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@rizzn
Last active August 29, 2015 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rizzn/60ffaf727e0a9f33d248 to your computer and use it in GitHub Desktop.
Save rizzn/60ffaf727e0a9f33d248 to your computer and use it in GitHub Desktop.
H1Z1DB_v1.0.0.0a.au3
;
;H1Z1 AutoUpdater for: http://www.h1z1db.net/h1z1_upload_manager.php
;
;This is an external(!) AutoIt script to automate the process for the Upload Manager.
;
;As this is a very early Alpha version of the script you have to compile this into an .exe
;and bind this .exe file to a macro key on your keyboard. I'm working on supporting Hotkeys
;on a general keyboard without macro keys in the near future.
;
;Currently working only on "Windowed Mode" on 1920x1080. Please maximize your game window
;while your are in windowed mode.
;
;Use it on your own risk!
;
#include <Misc.au3>
#pragma compile(Out, H1Z1DB AutoUpdater.exe)
;#pragma compile(Icon, _icon.ico)
#pragma compile(FileVersion, 1.0.0.0a)
#pragma compile(LegalCopyright, rizzn)
#pragma compile(ProductName, H1Z1DB AutoUpdater)
#pragma compile(ProductVersion, 1.0.0.0a)
updateLocation()
Func updateLocation()
ToolTip("Busy...")
Opt("SendKeyDownDelay", 50)
Send("{ENTER}")
Send("/loc")
Send("{ENTER}")
Send("m")
Local $clip = ClipPut("")
MouseClickDrag("left", 215, 990, 20, 965)
Send("^c")
Sleep(300)
MouseClick("left", 500, 965, 1)
Send("m")
EndFunc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment