Sign in to follow this  
Followers 0
dassksnz

What is this?

4 posts in this topic

when i look at peoples scripts i sometimes see a whole lot of numbers like

If PixelCheckSum(,,,,) = then 9 numbers what are these?

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

The numbers following that expression would be a previously generated checksum for an arrangement of pixels that the script is apparently looking for.

Basically, it's a way to determine if a specific arrangement of pixels (or a specific image) is in a certain location on the screen.

Edited by bwochinski

Share this post


Link to post
Share on other sites

So how would i figure out what im looking for in numbers?

Share this post


Link to post
Share on other sites

Make sure you understand the usage of PixelCheckSum(), and then something as simple as the below will give you a value easily:

Sleep(2000)
ConsoleWrite(PixelCheckSum(left, top, right, bottom))

Sleep is in there first to give you a chance to minimize the script editor to capture whatever is behind it.

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