Jimmy5410
2008-05-13 10:07:33
Program AutoMiner;
{.include srl/srl.scar}
procedure DeclarePlayers;
begin
cleardebug;
HowManyPlayers := 1;
NumberOfPlayers(1);
CurrentPlayer := 0;
Players[0].Name := 'Username'; //username here
Players[0].Pass := 'Password'; //password here
Players[0].Nick := 'nickname'; /nickname here
Players[0].Active := True;
end;
Procedure ClickOnExistingUserButton;
begin
cleardebug;
wait(1000+Random(2000));
WriteLn('Logging in...')
Mouse (444,285,1,1,true);
Wait(1000+Random(2000));
end;
Procedure TypeInUserandPass;
Begin
TypeSend('username'); // username here
wait(1000+Random(200));
TypeSend('password'); //password here
end;
Procedure CompleteLogin;
Begin
Mouse(305,326,1,1,true);
Wait(5000+Random(2000));
Mouse(375,329,5,5,true);
wait(2000+Random(3000));
end;
Procedure AntiRandoms;
begin
If(FindFight)then
RunAway('N', True,1,15000);
FindNormalRandoms;
FindLamp('Mining');
end;
procedure AntiBan;
begin
if not LoggedIn then Exit;
case Random(30) of
1: RandomRClick;
2: HoverSkill('Woodcutting', False);
3: RandomMovement;
4: BoredHuman;
5: AlmostLogout;
6: DoEmote(400 +Random(90));
end;
end;
Procedure Automine;
Begin
WriteLn('Mining...')
Mouse(231,92,1,1,true);
Wait(20000+Random(2500));
Mouse(274,110,1,1,true);
Wait(20000+Random(2500));
Mouse(308,112,1,1,true);
Wait(20000+Random(2500));
dropall;
WriteLn('Dropping...')
end;
Procedure DropEss;
Begin
dropall;
end;
begin
SetupSRL;
Disguise('iTunes')
ActivateClient;
ClickOnExistingUserButton;
TypeInUserandPass;
CompleteLogin;
Declareplayers;
Repeat
automine;
dropess;
antiban;
Until(false)
end.Updated to Version 2.1 Hope you like it!