Simba Code:
program WCandFM;
{$i SRL/SRL.simba}
var
x,y:Integer;
const
TreeColour = 10328;
TreeColourTolerance = 3;
StumpColour = 26784;
StumpColourTolerance = 3;
TreeX1 = 0;
TreeY1 = 0;
TreeX2 = 515;
TreeY2 = 337;
procedure AntiBan;
begin
Case Random (20) of
1: Begin SleepAndMoveMouse(5000 + Random(750)); End;
2: Begin RandomRClick; End;
3: Begin PickUpMouse; End;
4: Begin MissMouse(100,100); End;
5: Begin RandomRClick; End;
6: Begin PickUpMouse; End;
7: Begin RandomMovement; End;
8: Begin BoredHuman; End;
9: Begin RandomRClick; End;
End;
end;
procedure ChopTree;
begin
repeat
if FindColorSpiralTolerance(x, y, TreeColour, TreeX1, TreeY1, TreeX2, TreeY2, TreeColourTolerance) then
begin
writeln('Found tree and chopping it down.');
Mouse (x ,y ,0 , 0, True);
end;
repeat
Wait(RandomRange(1000, 2000));
AntiBan;
writeln('Doing AntiBan.');
Until (FindColorSpiralTolerance(x, y, StumpColour, TreeX1, TreeY1, TreeX2, TreeY2, StumpColourTolerance)
or (FindColorSpiralTolerance (x, y, 3029313, 653, 438, 669, 449, 20)) = False)
writeln('Found tree stump, waiting for tree to appear');
wait(3000);
until not(FindColorSpiralTolerance(x, y, 3029313, 653, 438, 669, 449, 20));
Writeln('Full inventory, starting to firemake.');
end;
Procedure Firemake;
begin
repeat
Mouse(706, 444, 10, 10, True);
wait (200+Random(100));
Mouse(663, 444, 10, 10, True);
wait (1600+Random(100));
until (FindColorSpiralTolerance (x, y, 3029313, 653, 438, 669, 449, 20));
Writeln('Finished lighting all the logs, finding tree.');
end;
procedure main;
begin
repeat
ChopTree;
Firemake;
until(false);
end;
begin
ClearDebug;
SetUpSrl;
ActivateClient;
Repeat
main;
Until(false);
end.
how can i get myself around this?