Raskolnikov
2007-11-09 22:24:49
Here it is in SCAR. Will have more anti-randoms in the next version.
Edit: Please post your progress reports!
Edit: Currently working on next version! Stay tuned. Will be more anti-randoms!
Thanks,
Cut em2 it
program New;
{.include SRL/SRL.scar}
var
x, y, AvoidRandom, HowCut, LoadsDone: integer;
const
WTime=6000; //Time to wait between cutting each tree
TreeColor=4352884; //Color of tree
HowManyLoads=1; //How many loads to do
procedure ChopIt;
begin
AvoidRandom:=0; //Don't change this!
HowCut:=0; //Don't change this either!!!
Disguise('Mozilla Firefox');
SetupSRL;
ActivateClient;
repeat
FindTalk;
FindNormalRandoms;
if(FindFight=True) then
begin
RunAwayDirection('N');
Wait(10000 + random(2000));
RunBack;
AvoidRandom:= AvoidRandom+1;
end;
if(FindColor(x,y,TreeColor,0,0,0,0)) then
begin
Mouse(x,y,x,y,true);
HowCut:=HowCut+1;
end;
until(InvFull);
end;
procedure Drop;
begin
FindTalk;
DropAll;
FindNormalRandoms;
end;
procedure Progress;
begin
Writeln('Progress report starting...')
Wait(1000);
Writeln('Avoided '+ IntToStr(AvoidRandom)+ ' randoms.');
Writeln('Cut '+ IntToStr(HowCut)+ ' trees.');
Writeln('Thanks for using CutEm2 Cutter v. 1.00.');
end;
begin
repeat
ChopIt;
Drop;
LoadsDone:=LoadsDone+1;
until(LoadsDone=HowManyLoads);
Progress;
end.Edit: Please post your progress reports!
Edit: Currently working on next version! Stay tuned. Will be more anti-randoms!
Thanks,
Cut em2 it