Jump to content

PixelChecksum


Wacken
 Share

Recommended Posts

I am taking information from the screen with pixelchecksum. Usually an area of 10x10 pixels.

I do this to see if a login menu is ready logging in for example.

Now i have a peace of software installed on 2 PC's.

My pixel settings are on client area, so the windows classic/xp settings do not matter.

The software is in the same situation on all PC's and shows the same screen.

I can absolutely not detect a difference and i certainly could not immagine there being any difference since it is exactly the same software.

I use the mousemove commands to check where the pixelchecksum is taken, and on both PC's, it is correctly taken from the same area.

How is it possible that there is a difference between the checksum on the PC's ?

This is not always the case. For some of the screens it does give the same pixelchecksum on both PC's, for others it does not.

In this particular case, it is about 3 menus. I programmed it on my own PC and it works perfectly and consistently on my PC. However on another PC, menu 2 is not recognised because the checksum is different, but the first menu does not cause problems.

I just tried it on a third PC, and there the first menu provides a different checksum already.

Link to comment
Share on other sites

I am taking information from the screen with pixelchecksum. Usually an area of 10x10 pixels.

I do this to see if a login menu is ready logging in for example.

Now i have a peace of software installed on 2 PC's.

My pixel settings are on client area, so the windows classic/xp settings do not matter.

The software is in the same situation on all PC's and shows the same screen.

I can absolutely not detect a difference and i certainly could not immagine there being any difference since it is exactly the same software.

I use the mousemove commands to check where the pixelchecksum is taken, and on both PC's, it is correctly taken from the same area.

How is it possible that there is a difference between the checksum on the PC's ?

This is not always the case. For some of the screens it does give the same pixelchecksum on both PC's, for others it does not.

In this particular case, it is about 3 menus. I programmed it on my own PC and it works perfectly and consistently on my PC. However on another PC, menu 2 is not recognised because the checksum is different, but the first menu does not cause problems.

I just tried it on a third PC, and there the first menu provides a different checksum already.

I don't know anything about this particular subject but some code would help. Also, if the pixels contain colour information then how can you be sure that all PC's have the same colours? And if the resolutions on the monitors are not the same then there will be different pixels drawn on each so the idea sounds a bit flakey to me. One PC might have no font smoothing, one Clear Type and another Standard smoothing. The pixels on different PC will only be the same if the software which controls the display actually writes the data for each pixel (I would guess).

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Link to comment
Share on other sites

I don't know anything about this particular subject but some code would help. Also, if the pixels contain colour information then how can you be sure that all PC's have the same colours? And if the resolutions on the monitors are not the same then there will be different pixels drawn on each so the idea sounds a bit flakey to me. One PC might have no font smoothing, one Clear Type and another Standard smoothing. The pixels on different PC will only be the same if the software which controls the display actually writes the data for each pixel (I would guess).

Well, i don't know what code you want.

$sum = Pixelchecksum(50,50,70,70) is all it is.

The question is how it can be different on different PCs running the same software. More importantly, if it were different for every screen and every area, i would not be so incredibly surprised. But in this case it is casino software and the cards are recognised perfectly on all PC's, only the login screens give different checksums on some PC's.

Resolutions does not matter since the software always runs in a 800x600 window.

This is just simple software, do those special effects do anything to it? and if so, why do they affect the menu, but not the cards ?

How do you solve such problems, any suggestions for another solution to see if login screens are ready instead of using the pixelchecksum ?

Edited by Wacken
Link to comment
Share on other sites

Well, i don't know what code you want.

$sum = Pixelchecksum(50,50,70,70) is all it is.

The question is how it can be different on different PCs running the same software. More importantly, if it were different for every screen and every area, i would not be so incredibly surprised. But in this case it is casino software and the cards are recognised perfectly on all PC's, only the login screens give different checksums on some PC's.

Resolutions does not matter since the software always runs in a 800x600 window.

This is just simple software, do those special effects do anything to it? and if so, why do they affect the menu, but not the cards ?

How do you solve such problems, any suggestions for another solution to see if login screens are ready instead of using the pixelchecksum ?

If it is just the menus that cause a problem then the font and size etc of the menu is a windows setting and not usually controlled by the application, so could these be different on each PC? Again, font smoothing would be applied to menus.

At the moment I can't think of another way unless you provide some method to 'calibrate' each PC so that each PC has it's own copy of the Pixelchecksum for the comparison. If there are a lot of menu options to detect then this is probably not a good idea.

Edited by martin
Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...