[Release] AutoIt Wand Profficiency

09/26/2009 19:36 Ryuk123#1
Made a AutoIt script that spams heal. Works better if its used near a mana tunnel, because you'll recover mana. Works for all resolutions and has a GUI.

The only problem i've found is that once you click run you cant close the script. Can anyone help me fix that?

Heres the script:
Code:
#include <GUIConstantsEx.au3>
Opt('MustDeclareVars', 1)
HotKeySet("{ESC}","Quit")
Mabi()
Func Mabi()
	Global $res800x600, $res1024x768, $res1152x864, $res1280x960, $res1280x1024, $msg, $startproffin, $stopproffin
	GuiCreate("Wand Auto Prof", 300, 200)
	GUICtrlCreateGroup("Mabinogi Resolution", 10, 10, 120, 180)
	GUICtrlCreateGroup("", 150, 2, 148, 95)
	GUICtrlCreateLabel("Set Healing Hotkey to F1.", 160, 10)
	GUICtrlCreateLabel("Make sure you're near a ", 160, 30)
	GUICtrlCreateLabel("Mana Tunnel in Iria and", 160, 50)
	GUICtrlCreateLabel("wand is equipped.", 160, 70)
	GUICtrlCreateLabel("Script by Ryuk123", 160, 170)
	$res800x600 = GUICtrlCreateRadio("800x600", 30, 40, 70, 20)
    $res1024x768 = GUICtrlCreateRadio("1024x768", 30, 70, 70, 20)
	$res1152x864 = GUICtrlCreateRadio("1152x864", 30, 100, 70, 20)
    $res1280x960 = GUICtrlCreateRadio("1280x960", 30, 130, 70, 20)
	$res1280x1024 = GUICtrlCreateRadio("1280x1024", 30, 160, 70, 20)
	$startproffin = GUICtrlCreateButton("Run", 160, 100, 130, 20)
	$stopproffin = GUICtrlCreateButton("Stop", 160, 120, 130, 20)
   GUISetState()
	While 1
		$msg = GUIGetMsg()
		Select
            Case $msg = $GUI_EVENT_CLOSE
                ExitLoop
            Case $msg = $startproffin
				Prof()
		 Case $msg = $stopproffin
                ExitLoop
		EndSelect
	WEnd
EndFunc

Func Prof()
	While 1
		$msg = GUIGetMsg()
		send ("{F1}")
		sleep (3000)
		Select
		     Case $msg = $GUI_EVENT_CLOSE
                ExitLoop
		    Case BitAND(GUICtrlRead($res800x600), $GUI_CHECKED) = $GUI_CHECKED
			    MouseClick ( "left" , 400, 300)
			    sleep (2000)
			    MouseClick ( "left" , 400, 300)
			    sleep (2000)
			    MouseClick ( "left" , 400, 300)
			    sleep (2000)
			    MouseClick ( "left" , 400, 300)
			    sleep (2000)
				MouseClick ( "left" , 400, 300)
			    sleep (2000)
		    Case BitAND(GUICtrlRead($res1024x768), $GUI_CHECKED) = $GUI_CHECKED
				MouseClick ( "left" , 512, 384)
				sleep (2000)
				MouseClick ( "left" , 512, 384)
			    sleep (2000)
		     	MouseClick ( "left" , 512, 384)
		    	sleep (2000)
		    	MouseClick ( "left" , 512, 384)
			    sleep (2000)
			    MouseClick ( "left" , 512, 384)
		    	sleep (2000)
			Case BitAND(GUICtrlRead($res1152x864), $GUI_CHECKED) = $GUI_CHECKED
				MouseClick ( "left" , 576, 432)
				sleep (2000)
				MouseClick ( "left" , 576, 432)
				sleep (2000)
				MouseClick ( "left" , 576, 432)
				sleep (2000)
				MouseClick ( "left" , 576, 432)
				sleep (2000)
				MouseClick ( "left" , 576, 432)
				sleep (2000)
			Case BitAND(GUICtrlRead($res1280x960), $GUI_CHECKED) = $GUI_CHECKED
				MouseClick ( "left" , 640, 480)
				sleep (2000)
				MouseClick ( "left" , 640, 480)
				sleep (2000)
				MouseClick ( "left" , 640, 480)
				sleep (2000)
				MouseClick ( "left" , 640, 480)
				sleep (2000)
				MouseClick ( "left" , 640, 480)
				sleep (2000)
			Case BitAND(GUICtrlRead($res1280x1024), $GUI_CHECKED) = $GUI_CHECKED
				MouseClick ( "left" , 640, 512)
				sleep (2000)
				MouseClick ( "left" , 640, 512)
				sleep (2000)
				MouseClick ( "left" , 640, 512)
				sleep (2000)
				MouseClick ( "left" , 640, 512)
				sleep (2000)
				MouseClick ( "left" , 640, 512)
				sleep (2000)
			Case $msg = $stopproffin
                ExitLoop
			EndSelect
		WEnd
	EndFunc
	
	Func Quit()
    Exit
EndFunc
09/26/2009 21:07 simkid7#2
nice try idiot... i can copy the script of AIs made by others too
09/26/2009 22:57 Dark Raccoon#3
Ill modify it a bit later, adding a better Exit-Function and making it a .exe.
09/26/2009 23:44 Ryuk123#4
Quote:
Originally Posted by simkid7 View Post
nice try idiot... i can copy the script of AIs made by others too
I made it from scratch. Its not that hard... i didn't steal the script from anyone...
09/27/2009 02:20 simkid7#5
well the sorry for calling you an idiot but... there are sorta like 50 of these prof AIs so...
09/27/2009 05:38 Trismic#6
There's another way to prof a wand. Credits to kgptzac from Lemu Faucet and yydzh.

It's a humain AI like the pet AI. If it works the same way as the pet AI, we can probably make bots by simply modifying the file without using AutoIt

Put the file into your data folder and stay near a mana tunnel. When your MP is full, it will automatically heal you.
09/27/2009 19:11 Dark Raccoon#7
Quote:
Originally Posted by Trismic View Post
There's another way to prof a wand. Credits to kgptzac from Lemu Faucet and yydzh.

It's a humain AI like the pet AI. If it works the same way as the pet AI, we can probably make bots by simply modifying the file without using AutoIt

Put the file into your data folder and stay near a mana tunnel. When your MP is full, it will automatically heal you.
I didn't think of that, thanks for posting it.
11/15/2009 10:44 sweetxD#8
Quote:
Originally Posted by Trismic View Post
There's another way to prof a wand. Credits to kgptzac from Lemu Faucet and yydzh.

It's a humain AI like the pet AI. If it works the same way as the pet AI, we can probably make bots by simply modifying the file without using AutoIt

Put the file into your data folder and stay near a mana tunnel. When your MP is full, it will automatically heal you.
When I put it in the data folder should it automatically work or do you have to do something else? I'm using the latest tiara mods.
11/15/2009 18:04 ddavidm#9
Well you should have an updated IJL that reads the data folder. But that's all you need. Just press a to auto combat, and it will automatically heal yourself when you have full mp. Disable nagle for best effects.
11/17/2009 16:46 sweetxD#10
Quote:
Originally Posted by ddavidm View Post
Well you should have an updated IJL that reads the data folder. But that's all you need. Just press a to auto combat, and it will automatically heal yourself when you have full mp. Disable nagle for best effects.
OOO XD i didnt put auto combat on (fail) thanks. :)
11/18/2009 08:54 Zodiacguardian#11
Sorry I can't get it work. How to get updated IJL? I can't find it from search.

Somehow the auto play instrument works, Auto Wand is not working. Any tips or ideas to fix it please?
11/23/2009 06:56 itsjustajoke#12
Not working; I followed everything that you guys said. :C
onoes
I extracted the wand.zip into my data folder just like you said, yet nothing is working. onoesss.
11/24/2009 02:32 Snoweł#13
Few people are probably thinking "I'm going to be rich when I sell these proffed wands" or "I'm finally going to get an ego!". Many people who think that don't realize that it costs 55K+ Just for a full repair on one wand, you may have to do numerous full repairs so you're probably going to lose 150-200K during the proffing process D: It's best to bless your wands and prof on a character that's 25+ years old for maximum proficiency gain (You gain more proficiency the higher your age is, sadly the proficiency gain increase stops at age 25+).
11/24/2009 03:32 Kevsprk#14
That exact thing happened to me, I was happy; I had my first wand. I used the crap out of it. Next thing I know: Hey! Its repair time! Then I head on over to Stewart and see the price.
11/24/2009 15:24 cloudkiller2006#15
and that's why music repairs at lassar <3