[Release] AutoIt v3 Interpreter

12/06/2010 22:37 Snoweł#1
[Only registered and activated users can see links. Click Here To Register...]
AutoIt v3 Interpreter v0.1

Hey all, I have created an interpreter for the AutoIt programming language and I decided to post it here. Please note that this is the first release and it is rather buggy, there are no GUIs as well. I will add GUIs and improve the interpreter as time progresses, the end result will be under 4 Mb (compared to AutoIt's 41 Mb). The goal of Au3Int is to correct the errors that effect x64 users, the Interpreter has no dependencies and supports x64 systems.

Features:
No Dependencies
Complete Support for x64 Users
Execution of AutoIt v3.0.0-3.3.6.1 Scripts
AutoIt-like pause feature (press Esc to pause any script)

The Next Update will Include:
Complete Interpretation of AutoIt v3 Scripts including GUIs
Script synchronization (changing code will affect script execution)
Variable info (a tool that shows a list of variables in the script and what they are equal to)

Virus Scan:
[Only registered and activated users can see links. Click Here To Register...]
Result: 2/43 (4.7%)
Detected as "HeurEngine.Malautoit" because it is trying to act as AutoIt; false positive.

Download:
[Only registered and activated users can see links. Click Here To Register...]
AutoIt v3 Interpreter (Au3Int) allows you to run .au3 files without AutoIt installed, it works as a potential fix for x64 users that are experiencing errors with Image-Search.

Instructions:
I. Click and Drag an AutoIt v3 script onto the Au3Int icon (on your desktop/elsewhere, not the opened application). You can also right click an au3 file and select "Open With" > "Choose Program..." and find Au3Int.
II. The interpreter will open and execute the dropped .au3, press Esc while Mabinogi is not active to pause the script.

Item Looter Script:
Code:
#include <ImageSearch.au3>
Global $Paused
HotKeySet("{ESC}", "PauseScript")
WinActivate ( "Mabinogi" )
While 1
Send ("{CTRLDOWN}")
	Sleep (500)
	MouseClick ("left")
	Sleep (500)
	MouseClick ("left")
	Sleep (500)
	MouseClick ("left")
	Sleep (500)
	Send ("{CTRLUP}")
	Sleep (5000)
$x1=0
$y1=0
$result = _ImageSearch("Gold.jpg",1,$x1,$y1,97)
if $result=1 Then
	Send ("{ALTDOWN}")
	MouseMove($x1,$y1,3)
	MouseClick("left")
	Sleep(3000)
	Send ("{ALTUP}")
EndIf
$x2=0
$y2=0
$result2 = _ImageSearch("FomorScroll.jpg",1,$x2,$y2,97)
if $result2=1 Then
	Send ("{ALTDOWN}")
	MouseMove($x2,$y2,3)
	MouseClick("left")
	Sleep(1500)
	Send ("{ALTUP}")
	EndIf
WEnd

Func TogglePause()
    $Paused = NOT $Paused
    While $Paused
        Sleep(100)
    WEnd
EndFunc
A very basic AutoIt script that will fight a monster and the loot fomor scrolls as well as gold if they were dropped. Au3Int can run this perfectly even without the gold and fomor scroll images included, if your ImageSearch contains "Gold.jpg" or "FomorScroll.jpg" the Interpreter will automatically handle it (using your own images is still recommended). The purpose of this code is testing the functionality of the interpreter.

Requirements:
I. Any Windows Operating System
II. 128~ MB Ram

Release History:
Monday, December 06, 2010:
AutoIt v3 Interpreter 0.1 - Initial release of Au3Int; quite buggy.

Requests/Bugs:
Have Requests? Send me a PM or Post a reply stating what you want to see in the next update of the AutoIt Interpreter, or perhaps you found a bug, please report all errors that you encounter so that I can perfect Au3Int.
12/07/2010 06:27 kotarou3#2
Quote:
Originally Posted by Dark - Sora View Post

No Dependencies
So it doesn't have any imports at all? Including ntdll.dll? ;D
12/08/2010 05:37 Snoweł#3
Quote:
Originally Posted by kotarou3 View Post
So it doesn't have any imports at all? Including ntdll.dll? ;D
No includes are necessary, Au3Int Automatically determines them. Please keep in mind that the Interpreter is in Version 0.1 and there are bound to be bugs.

Edit: Oops, I thought that you said includes. When I say No Dependencies I mean other programs (i.e. AutoIt), and if you would like to be specific then yes; it requires a Windows Operating System and has 19 Imports :D

-Alex Rothschild
01/17/2011 17:38 dunacn#4
i can not download the exe
01/17/2011 22:30 SSDarkLink#5
This is pretty nice work, it fixed error's for some of my friends who couldn't use a lot of scripts. Good work.
01/19/2011 00:31 Snoweł#6
Quote:
Originally Posted by SSDarkLink View Post
This is pretty nice work, it fixed error's for some of my friends who couldn't use a lot of scripts. Good work.
Oh, thanks, I have yet to perfect version 0.4 (some GUI bugs) but I will release it soon. Also; yes, I did not release versions 0.2 or 0.3.

Quote:
Originally Posted by dunacn View Post
i can not download the exe
Perhaps you clicked the VirusTotal link? Refer to the quote below for a download link;
Quote:
Originally Posted by Dark - Sora View Post
Download:
[Only registered and activated users can see links. Click Here To Register...]
AutoIt v3 Interpreter (Au3Int) allows you to run .au3 files without AutoIt installed, it works as a potential fix for x64 users that are experiencing errors with Image-Search.
Also; I have been unavailable for a while due to the large amount schoolwork which I have been receiving, we just had exams as well so I have had no free time.

Regards,

And; nice name (SSDarkLink),

Alex Alphonse Rothschild
01/19/2011 01:04 pawntobishop#7
I like this program. It is a nice addition to any botting library. Very nice work.
~Bishop
01/21/2011 08:17 SSDarkLink#8
When do you plan to have your next release, I'm very interested to see and try it out.
01/21/2011 09:14 kotarou3#9
Either I skimmed over it or I don't see any reason for creating this. So what exactly is the reason?
01/23/2011 05:44 Snoweł#10
Quote:
Originally Posted by kotarou3 View Post
Either I skimmed over it or I don't see any reason for creating this. So what exactly is the reason?
Some x64 users have trouble running AutoIt v3 scripts, however, this is only one reason why Au3Int was created, the interpreter is also compact and runs quickly.

Quote:
Originally Posted by SSDarkLink View Post
When do you plan to have your next release, I'm very interested to see and try it out.
Very soon, I am creating a converter engine that converts .au3 into SoraScript DLC and executes it like so. There will also be a Variable debugger to show every variable's values, I have found this to be a desirable feature that AutoIt has never included.

Regards,

Alex Alphonse Rothschild