So i was fiddling with Autoit and made this... all it does so far is download the latest zip file from macroquest2.com... will be working on it more later...
TO-DO:
Change Log
TO-DO:
Rich (BB code):
Auto Compile
Rich (BB code):
#Include <Date.au3>
#include <_Zip.au3>
IniWrite("MQ2Patcher.ini", "General", "Current Source", 20130821)
$CurrentSource = IniRead("MQ2Patcher.ini", "General", "Current Source", 20130821)
DirCreate("MQ2Source")
$Date = @Year&@Mon&@MDAY
$AfterMark = ""
DownloadFile("MQ2-"&$Date&$AfterMark&".zip")
$AfterMark = "a"
DownloadFile("MQ2-"&$Date&$AfterMark&".zip")
$AfterMark = "b"
DownloadFile("MQ2-"&$Date&$AfterMark&".zip")
$AfterMark = "c"
DownloadFile("MQ2-"&$Date&$AfterMark&".zip")
Func DownloadFile($FileName)
$DownloadURL = "http://www.macroquest2.com/downloads/"
$SaveLocation = ""
InetGet($DownloadURL&$FileName, $SaveLocation&$FileName, 1)
$Success = FileExists($SaveLocation&$FileName)
if $Success then
_Zip_UnzipAll(@ScriptDir&"\"&$FileName, @ScriptDir&"\MQ2Source\", 20)
IniWrite("MQ2Patcher.ini", "General", "Current Source", $CurrentSource)
$Success = 0
EndIf
EndFunc
Change Log
Rich (BB code):
9/13/2013 - Dencelle
+ Auto Un-Zip feature
- Sleep timers
- While loop
Last edited:

