Log in

View Full Version : Simba Warning Error Help!



bambe
06-26-2012, 01:23 PM
Hi ive been playing around trying to make a few scripts and everything was going fine but now i seem to be getting the error and don't know how to fix it

Warning! You passed a wrong xs to a finder function: -16. That is below 0, thus out of bounds. Setting the value to 0 for now.
Warning! You passed a wrong ys to a finder function: -5. That is below 0, thus out of bounds. Setting the value to 0 for now.

its just a constant error that keeps coming up while looking for a colour.
any ideas?

thanks

Main
06-26-2012, 01:30 PM
Try changing your boundary for findcolor should be

FindColorTolerance( X, Y, Col, MSX1, MSY1, MSX2-1, MSY2-1, Tol);