zluo
04-10-2012, 09:56 PM
(findcolortolerance(x,y,2795199,974, 365,1024, 381,20)
can someone tell me what each of the numbers are for? keen to modify a script for my needs
i can understand a few of them are the different colours and one of them is the tolerance but idk where they go
oh and another question. i made my first script for a rsps to chop wood. I want to make it to click on the tree and wait for the stump to appear but i dont know how to make it wait. i currently have this =
procedure Chopping;
begin
if FindColorSpiralTolerance(X, Y, TreeColour, TreeCoordsX1, TreeCoordsY1, TreeCoordsX2, TreeCoordsY2, 2) then
begin
MoveMouse(x, y);
ClickMouse(x,y, 1)
wait
FindColorSpiralTolerance(X, Y, StumpColour, TreeCoordsX1, TreeCoordsY1, TreeCoordsX2, TreeCoordsY2, 2)
end;
end;
so... how can i make it wait?
can someone tell me what each of the numbers are for? keen to modify a script for my needs
i can understand a few of them are the different colours and one of them is the tolerance but idk where they go
oh and another question. i made my first script for a rsps to chop wood. I want to make it to click on the tree and wait for the stump to appear but i dont know how to make it wait. i currently have this =
procedure Chopping;
begin
if FindColorSpiralTolerance(X, Y, TreeColour, TreeCoordsX1, TreeCoordsY1, TreeCoordsX2, TreeCoordsY2, 2) then
begin
MoveMouse(x, y);
ClickMouse(x,y, 1)
wait
FindColorSpiralTolerance(X, Y, StumpColour, TreeCoordsX1, TreeCoordsY1, TreeCoordsX2, TreeCoordsY2, 2)
end;
end;
so... how can i make it wait?