YMCMBubel
12-24-2015, 03:28 AM
So I'm making a script for OS-Scape. I get this error when I compile.
"Error: Don't know which overloaded method to call with params (Int32, Int32, Int32) at line 9
Compiling failed.
This is my script I'm trying to make.
Program AtaCoalMiner;
{$i srl-6/srl.simba}
Procedure ClickCoal
var
X,Y:Integer;
begin
if findColorTolerance(X,Y,1517608,1058,464,801,207,1) then
begin
moveMouse(X,Y,1,1); //moves the mouse to the coordinates of the found point
wait(100); //waits 1/10 of a second
clickMouse(X,Y,1); //clicks the left-side of the mouse
end;
end;
Begin
MouseSpeed := 15;
SetupSRL;
end.
"Error: Don't know which overloaded method to call with params (Int32, Int32, Int32) at line 9
Compiling failed.
This is my script I'm trying to make.
Program AtaCoalMiner;
{$i srl-6/srl.simba}
Procedure ClickCoal
var
X,Y:Integer;
begin
if findColorTolerance(X,Y,1517608,1058,464,801,207,1) then
begin
moveMouse(X,Y,1,1); //moves the mouse to the coordinates of the found point
wait(100); //waits 1/10 of a second
clickMouse(X,Y,1); //clicks the left-side of the mouse
end;
end;
Begin
MouseSpeed := 15;
SetupSRL;
end.