HarryJames
2008-11-09 20:03:25
program New;
{.include SRL/SRL.scar}
var
x,y,i,Steals : integer;
Procedure Drop;
Begin
for i := 1 to 27 do
DropItem(i);
End;
Procedure Proggy;
Begin
ClearDebug;
Writeln('/////////////////////////////////////');
Writeln('### Stole ' + IntToStr(Steals) + ' Times ###');
Writeln('/////////////////////////////////////');
End;
Procedure ClickStall;
Begin
repeat
FindObjCustom(x, y, ['teal'], [8953516], 10); // 10 = tolerance
wait(800+Random(234));
repeat
MMouse(x, y, 12, 13);
wait(200+Random(234));
Drop;
Proggy;
wait(800+Random(234));
if IsUpText('teal') then
begin
Mouse(x,y,5,5,true);
Steals:= Steals + 1;
Wait(1000+random(750));
Proggy;
end;
wait(300+Random(234));
until(False)
until(False)
end;
Procedure Setup;
Begin
makecompass('n');
keydown(VK_UP);
wait(500+random(150)+random(150));
keyup(VK_UP);
wait(random(500));
keydown(VK_DOWN);
wait(400+random(175)+random(175));
keyup(VK_DOWN);
wait(random(250));
keydown(VK_RIGHT);
wait(600+random(100));
keyup(VK_RIGHT);
wait(random(250));
End;
Begin
SetupSRL;
Setup;
ClearDebug;
ActivateClient;
repeat
ClickStall;
Drop;
until(false)
End.I will be adding multiplayer, exp gained (for proggy), anti randoms, anti ban, stray dog finder - lol, standards, failsafes, user input (amount of steals etc)
other suggestions? its a pretty solid script atm.
Thanks
About the dropper, i didnt use dropall; due to the fact it will only be dropping tea (so it doesnt drop things from randoms)