Sign in to follow this  
Followers 0
Vindicator209

checksum shtuff

4 posts in this topic

I saw larry's "lesson" with the AreaPixelRecord thingy, and I was wondering, is there a way to make the script find a pixel of same properties that are closest to the cursor? because I want to make a script that presse buttons on a game, but it has so many multipules of the same button color (although they are gradients), for a fellow friend that does not, and cannot, have the same resolution as me, so I cant just use mouseclick


[center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center]

Share this post


Link to post
Share on other sites



Maybe a looping search around cursor when the cursor is over a certain color.For example if your cursor is over a red area have it seach for a checksum or color within 50 pixels in all directions and if it matches left click.Only problem I see with that is to me it seems it would lag behind a bit when you move the cursor fast,not to mention you might have to make the loop so short it would take up crazy amounts of cpu,but thats the first/only idea I can think of,then again more than likely you know more than I about autoit and it's capabilities.

Share this post


Link to post
Share on other sites

me? hah, i spit out more questions perday than hurricane kartrina killed

That's not the least bit funny. :lmao:

[center]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.[/center]

Share this post


Link to post
Share on other sites

well, its emphasicly true...


[center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center]

Share this post


Link to post
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
Sign in to follow this  
Followers 0