Sign in to follow this  
Followers 0
ecstatic

Pixelsearch and other computers.

4 posts in this topic

Ok guys.

Heres my code

$32bit = 0x0c0c0c
        $DisplayCheck = PixelGetColor(562,303)
If $Displaycheck <> $32bit Then
Msgbox(0, "D2AI", "Warning, your display settings are not set at 32 bit.")
Endif

All this does is scan a pixel in a game. I noticed at 16bit it is a different color than 32 bit, so i made a "Color quality check" to avoid complications later in my script.

Now my problem is that it works PERFECTLY fine on my computer, however, on another persons user they get the error however it is 32 bit and all the game-color quality are the same. We have the same resolutions and OS.

Why is this?

Share this post


Link to post
Share on other sites



I do not know why, just use @DesktopDepth


[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites

I do not know why, just use @DesktopDepth

Would i just use it as this?

$DisplayCheck = @DesktopDepth 
If $DisplayCheck = "32" Then
Continue()
Else
    Msgbox(0, "", "")
Endif

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