Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 04:05

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Diablo 3 Monk script

Discussion on Diablo 3 Monk script within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2010
Posts: 22
Received Thanks: 2
Diablo 3 Monk script

Hi,

I want the script to press the left mouse in a random intervall, and the numbers 1 and 2 in different intervall, so my finger doesnt hurt and i dont have to think all the time about refreshing sweeping wind.

This is my first try in autoit, and my script looks like this so far
Quote:
Global $Paused
HotKeySet("{PAUSE}", "TogglePause")
HotKeySet("{ESC}", "Terminate")

$i = 1
Do
MouseClick ("Left")
$i = $i + 1
Sleep(Random(154, 583))
Until $i = 36000

$i = 1
Do
Send("{2}")
$i = $i + 1
Sleep(Random(754, 3287))
Until $i = 36000

Func TogglePause()
$Paused = NOT $Paused
While $Paused
sleep(102)
ToolTip('Script is "Paused = SCRIPT IS NOT RUNNING"',0,0)
WEnd
ToolTip("")
EndFunc

Func Terminate()
Exit 0
EndFunc
I havent included the function for button 1 yet, but the rest is working fine, except that only one loop is working (the one on the top).

I can include the different buttons in one loop, but id like to have different intervalls, and this way it only takes one intervall. Any clue?

Thanks,
Phil

Edit: Got it now working, but now i have 4 scripts, because autoit cant do several loops at once.

3 loops for mousebutton and button 1 and 2, one script that pauses all 3 scripts and one script that starts those 4 scripts... lol

Weird, but working.
Phil2003 is offline  
Reply


Similar Threads Similar Threads
invi monk get ready script
04/29/2006 - Guild Wars - 16 Replies
and here follows the autohotkey script, to cast spells, to ge trdy for slaying. i improved it in this manner, that now it sends skill keys, rather than clicking on skill coordinates. i came up with the idea in bed, should have done that earlier. ; 55hp monk get rdy script ;misc statusmsg = 1;1= enabled 0=disabled => outputs some status msgs msg1 = give me a few seconds pls, until i casted all my protection. msg2 = alright, i am ready and set. ;skill activation time (cant use complex...



All times are GMT +1. The time now is 04:05.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.