lopolop Posted October 31, 2005 Author Share Posted October 31, 2005 thanks alot works!! Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted October 31, 2005 Moderators Share Posted October 31, 2005 Glad to hear it!! BTW, after you posted I looked at the code again... might I suggest taking out the Else, and just using Sleep(7000) after the EndIf, that way your not pressing buttons back to back if there's an instant match again? Should of caught that, but was in a hurry Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
markusss Posted October 31, 2005 Share Posted October 31, 2005 Just wonderin.... I checked my code again and it worked for me! Are you sure you are using the newest beta (3.1.1.84)? Glad it works now, thanks to ronsrules Felix N. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted October 31, 2005 Moderators Share Posted October 31, 2005 Felix, when she/he said that it didn't work with the error they got... I totally assumed they weren't using Alt+F5 to run beta or compiled beta even if they had it. I don't have the latest beta, I'm still on .68, but I think "switch" was offered before even that. I'm sure it works though, but I thought I'd simplify just incase. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
lopolop Posted October 31, 2005 Author Share Posted October 31, 2005 well i uninstalled my autoit and reinsstalled then click the updater thing and got beta then up dated scite and it still didnt work... but i never used alt F5 to do it but i did try a few times going to beta and then run(beta) which still didnt work... idk this works fine though... and i am 100% sure that it will not instant match again. and also i did this.. While 1 MouseMove( 236 , 470 ) Sleep(3500) $var = PixelGetColor( 236 , 470 ) If $var = 5985882 Then $RANDOM = Random(0, 4, 1) Select Case $RANDOM = 0 $x = 325 $y = 473 Case $RANDOM = 1 $x = 361 $y = 470 Case $RANDOM = 2 $x = 425 $y = 475 Case $RANDOM = 3 $x = 392 $y = 472 Case $RANDOM = 4 $x = 463 $y = 473 EndSelect MouseClick("left",$x,$y) Else Sleep(0) EndIf WEnd as my final for this as for the rest it should be cake...(after learning this) Thanks! Link to comment Share on other sites More sharing options...
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