ecstatic Posted May 20, 2009 Share Posted May 20, 2009 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? Link to comment Share on other sites More sharing options...
herewasplato Posted May 20, 2009 Share Posted May 20, 2009 I do not know why, just use @DesktopDepth [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
ecstatic Posted May 20, 2009 Author Share Posted May 20, 2009 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 Link to comment Share on other sites More sharing options...
herewasplato Posted May 20, 2009 Share Posted May 20, 2009 If @DesktopDepth <> 32 Then MsgBox(0, "", "") Exit ;or whatever EndIf [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now