Log in

View Full Version : [Bug] Can someone help me with this line?



radplane
06-04-2012, 05:41 PM
Ive spent a good bit more time than I should of trying to fix this line, greatly holing me back from progressing. :(

Hoping some of you professionals or amateurs Could tell me/hint me whats wrong.

Ive made x,y, and the ladderdowncolor as integers already.

[SIMBA] if(findcolortolerance(x,y,4106994, 20, 20, 300, 300, ladderdowncolor, 'adder', 20)) then

begin
end;

Saying the incorrect perimeter is being used somewhere, I don't have much knowledge beyond the basic ones for programming. Any helps or tips would be greatly Appreciated! I also update title when there is a solution to prevent unwanted clutter. :duh:I feel stumped!

Chris
06-04-2012, 05:45 PM
function FindColorTolerance(x, y, color, xs, ys, xe, ye, tol):Boolean;

If you want to find the color 4106994 then delete: "ladderdowncolor, 'adder'," :)

radplane
06-05-2012, 12:09 PM
Sorry for the late reply, Turned in early tonight. Many thanks man! Can finally start getting further on it! Knew it was just something simple being hidden from the complexity. Also Not sure how to change it so that It reads it was solved in the help forum (Accidentally put 'Bug' in the thred 'prefix' ...I have a feeling that was a bad choice, lol).

Much Appreciated!