Sign in to follow this  
Followers 0
stackover

Detecting moviments

8 posts in this topic

Just thinking in increment my bot, I have a question. Is possible if autoit detect moviment in screen? or other thing that can be do like detect moviment?

Regards

Share this post


Link to post
Share on other sites



Look in the helpfile for: PixelCheckSum

Kurt


Awaiting Diablo III..

Share this post


Link to post
Share on other sites

I will have to told function where search for pixel isnt it ? I hoping that if had something that search in entire screen for pixel without you tell program where to see if there is a pixel.

Share this post


Link to post
Share on other sites

PixelCheckSum basically checks to see if anything has changed in a box (specified with the $x, $y coordinates). "A checksum only allows you to see if "something" has changed in a region - it does not tell you exactly what has changed".

Kurt


Awaiting Diablo III..

Share this post


Link to post
Share on other sites

Other thing .. is PixelSearch look for pixel in a rectangule ?

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

Other thing .. is PixelSearch look for pixel in a rectangule ?

Yes, it looks for them using the $x $y coordinate parameters. Just look these thing up in the helpfile, they are easily answered there, and it provides great examples on almost anything.

Kurt

EDIT: Minor spelling correction

Edited by _Kurt

Awaiting Diablo III..

Share this post


Link to post
Share on other sites

how do I get the right and bottom of:

PixelChecksum ( left, top, right, bottom [, step] )

is left and top the x/y?

I used the AutoIt Window Info tool, I dont know how to get the rest of the coordinates

Share this post


Link to post
Share on other sites

I dont know but i think that is simple coords .. left = X, top = Y, bottom = Y and right = X.

Then with this 4 points u can do a rectangule

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