Sveet Posted April 27, 2004 Posted April 27, 2004 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! expandcollapse popupHotKeySet ( "^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...
Sveet Posted April 27, 2004 Author Posted April 27, 2004 am i doing something with the enter button wrong?
scriptkitty Posted April 27, 2004 Posted April 27, 2004 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.
Sveet Posted April 27, 2004 Author Posted April 27, 2004 well, as far as i know, you shoud be able to use the enter button to make it do that... if not, i will just find the location for the yes button and program it in... wont take long...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now