Jump to content

A Few More ?'s


 Share

Recommended Posts

Ok, im trying to do this script, and it all works fine, untill it trys to press enter, which doesnt happen... the mouse moves b4 it happens, or it doesnt happen at all... now, i was wondering, is there something to make a wait time? i checked the help file, but didnt c it there... any help is great, thx!

HotKeySet ( "^s" , "end" )

Winactivate ( "Diablo II" )

;run script
cheat()

Func end()

Exit

EndFunc

Func cheat()
$i = 5

Do

;sell button
MouseMove ( 438, 607 , 5 )
MouseClick ( "left" )

;weapon
MouseMove ( 622, 308 , 5 )
MouseClick ( "left" )

;yes to sell
send("{ENTER}")

;move to tab
MouseMove ( 373, 216 , 5 )
MouseClick ( "left" )

;buy button
MouseMove ( 392, 596 , 5 )
MouseClick ( "left" )

;move to weapon
MouseMove ( 289, 279 , 5 )
MouseClick ( "left" )

;yes to buy
send("{ENTER}")

Until $i = 0

EndFunc

this is a gold exploit for the game Diablo II... if ya play, but dont no what this is, PM me or soemthing, and ill tell ya more...

Link to comment
Share on other sites

More than likely the game captures the Enter key, and thus you cannot send an enter. You can try sending the numberpad enter (if it works in the game) or @crlf or chr(10) of chr(13), etc.

Not sure about your game though. if it works in notepad, then autoit is working correctly, it is the game that is blocking. You might look at windows compatibility guide to see if you can block thier block without hex editing memory and such.

AutoIt3, the MACGYVER Pocket Knife for computers.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...