Volture
2014-01-20 07:42:29
I'm still new and getting through the basics. My goal is to be able to make this bank later on…
My code so far is this;
Program ChopTree;
Procedure ClickTree;
var
X,Y:Integer;
begin
if FindColorTolerance(X, Y, 22664, 277, 169, 326, 218, 5) then
begin
findcolor(102, 122,1,1);
wait(250);
ClickMouse(X, Y, mouse_Left)
end;
end;
my error is this;
Exception in Script: No default value for parameter 5 found at line 9, column 14
I'm trying to cut maples right behind camelot bank…
Any idea what's going on? Been messing around with this for a while, still can't figure it out
I'm guessing maybe something to do with the color.
I was trying to look @ at tut from an old rsps but it was kind of out-dated so I was messing with it a bit.
My code so far is this;
Program ChopTree;
Procedure ClickTree;
var
X,Y:Integer;
begin
if FindColorTolerance(X, Y, 22664, 277, 169, 326, 218, 5) then
begin
findcolor(102, 122,1,1);
wait(250);
ClickMouse(X, Y, mouse_Left)
end;
end;
my error is this;
Exception in Script: No default value for parameter 5 found at line 9, column 14
I'm trying to cut maples right behind camelot bank…
Any idea what's going on? Been messing around with this for a while, still can't figure it out
I'm guessing maybe something to do with the color.
I was trying to look @ at tut from an old rsps but it was kind of out-dated so I was messing with it a bit.