PDA

View Full Version : What is the color search function when not using RS3?



mitchell li
08-10-2014, 11:40 PM
I am writing a code to search for certain colors and click on them but I am not using runescape or smart client.
What is the color search function when not using RS3?

rj
08-10-2014, 11:45 PM
findColorTolerance(var, x, y:integer;color, x1, y1, x2, y2, tolerance:integer):boolean;

KeepBotting
08-10-2014, 11:53 PM
http://docs.villavu.com/simba/scriptref/colourfinding.html

mitchell li
08-10-2014, 11:54 PM
findColorTolerance(var, x, y:integer;color, x1, y1, x2, y2, tolerance:integer):boolean;
So x and y return the coordinate found. The x1,y1,x2,y2 are search bounds and the boolean variable will return true or false.
What tolerance value would be 1%?

KeepBotting
08-10-2014, 11:55 PM
So x and y return the coordinate found. The x1,y1,x2,y2 are search bounds and the boolean variable will return true or false.
What tolerance value would be 1%?

probably tolerance 1, it ranges from 1 to 255