Quote:
Originally posted by N3W8Y+May 19 2006, 06:04--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td>QUOTE (N3W8Y @ May 19 2006, 06:04)</td></tr><tr><td id='QUOTE'> <!--QuoteBegin--bigassmuffin@May 18 2006, 23:45
OUCH...i finnaly had some free time to work on it..when I realized my previous scropt totally didn't work...and because it was pixel reading, that shows ever day or so..amyb every patc o soemthiong,the whole screen may shift to the right/left/up/down one pixel..making it unnoticable...
don't believe me? try putting a simple code in auto-it to read the color..something like this:
While 1
If (PixelGetColor(x, y) == HexColorCode) Then
MouseMove(x, y)
MouseDown ( "left" )
EndIf
WEnd
You will notice it will work for a bit, and shortly not work..
I am working on a way to get around this..
4 weeks gone to waste basicclly...!!!!!!
|
Yes the pixel color does alternate..but the way to get around that is by using multiple pixel color values...or use a range + or - the color value.
Hope this helps :D [/b][/quote]
Yes actually, I just started doing that last night after I posted..but I sitll had a problem, because say the correct pixel is lways furthest top left of my range of area to search for, then everntually it will be so far off, no pixel that color will fall onto the screen...
also what I'm thinking is, I know the pixels somehow vary often and change, but it may not shift, it may just dim..
in that case I will do a range of the color, like anyhting close to the color red...think of the color chart in the program paint, where You scroll the bar to change the vue of the color, that's what I'm going to try.