• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

MQ2 Source Updater

Joined
Sep 19, 2010
RedCents
110¢
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:
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:
this would be pretty cool although I can do a compile I have no clue as to how to put the plug ins in correctly haven't made it that far , lol
 
hoping to intergrate mq2 with autoit to make a macro that uses a auto it script to help with the set up of ini's and stuff... autoit can be some really smart script (i already made it so it can connect to mysql servers, encrypt text, and even talk between computers like eqbc... so the possibilitys are endless... maybe someone one day will set up a auto start up for eq/mq2? i know how to pull info from pages/download stuff... so checking if the server is online is possible... working on all this but it takes time...

- - - Updated - - -

hoping also the code is simple enough... anyone can use it...
 
MQ2 Source Updater

Users who are viewing this thread

Back
Top
Cart