SRL Archive - First Scripts

[First Script] Evergreen PowerChopper


butthole

2010-08-18 00:54:22

I needed a bot to get me from 1-30 woodcutting and I couldn't find anything on here that still worked so I decided to give my first script a go.

I borrowed the antibans from the al kharid smelter and modified them a tad.

It cuts and drops evergreen trees. If it clicks to cut an evergreen it will wait 1200+random(250) 10 times before attempting another tree or until a log enters your inventory.

I probably overdid it with how many times i check for random events but I haven't gotten one yet so I'm not sure how that works.

So far its gotten me 1-40 Woodcutting and I'm gonna leave it on overnight so i'll post an update on how far it gets tomorrow.

{$DEFINE SMART}
{$i SRL/SRL.scar}

procedure DeclarePlayers;
begin
HowManyPlayers := 1;//You may change that for any number of players.
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0; //Don't touch
With Players[0] do
begin
Name := '';//RS nickname
Pass := '';//RS password
Nick := '';//3-4 lowercase letters from your nickname
Pin := '';//RS bank pin
Active:= True;
BoxRewards := ['xp', 'lamp', 'imy', 'oins', 'apphire', 'ssence'];//In what order you’d like to get rewards from random events. I chose xp first, then xp lamps, then grimy herbs, you get the idea.
end;
end;
Procedure Antibans;
begin
case Random(60) of
0: wait(1000+random(10000));
1: begin
RandomMovement;
SetAngle(true);
end;
2,4: HoverSkill('woodcutting' ,false);
3: PickUpMouse;
5: if random(20) = 1 then
Wait(RandomRange(29000, 59000));//29-59secs
end;end;
procedure ChopTree;
var rnum, x, y, lognum, times: integer;
begin
lognum:=InvCount;
repeat
FindNormalRandoms;
Antibans;
times:=0;
//Writeln(lognum);
if not LoggedIn then LoginPlayer;
if FindObjCustom(x, y, ['ver','green'], [3564376,3828833,2771522], 7) then
Mouse(x, y, 0, 0, false);
ChooseOption('hop');
repeat
FindNormalRandoms;
wait(1200+random(250));
times:=times+1;
// Writeln(times);
if not LoggedIn then LoginPlayer;
if(times>=10)then lognum:=lognum-1;
Until ExistsItem(lognum);
lognum:=lognum+1;
until InvFull;
end;

Begin
Smart_Server := 1;
Smart_Members:= true;
Smart_Signed := true;
Smart_SuperDetail := false;
SetupSRL;
DeclarePlayers;
if not LoggedIn then LoginPlayer;
wait(4000+random(2500));
SetAngle(true);
MakeCompass('n');
wait(3000+random(3000));
repeat
ChopTree;
FindNormalRandoms;
DropAllExcept([1]);
FindNormalRandoms;
until 1=2 // run forever.
End.

i luffs yeww

2010-08-18 03:16:23


{$Define SMART}
{$i SRL/SRL.scar}

procedure DeclarePlayers;
begin
HowManyPlayers := 1;//You may change that for any number of players.
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0; //Don't touch
with Players[0] do
begin
Name := '';//RS nickname
Pass := '';//RS password
Nick := '';//3-4 lowercase letters from your nickname
Pin := '';//RS bank pin
Active := True;
BoxRewards := ['xp', 'lamp', 'imy', 'oins', 'apphire', 'ssence'];//In what order you’d like to get rewards from random events. I chose xp first, then xp lamps, then grimy herbs, you get the idea.
end;
end;

procedure Antibans;
begin
case Random(60) of
0: Wait(1000 + Random(10000));
1: begin
RandomMovement;
SetAngle(True);
end;
2,4: HoverSkill('woodcutting', False);
3: PickUpMouse;
5: if(Random(20) = 1)then
Wait(RandomRange(29000, 59000));//29-59secs
end;
end;

procedure ChopTree;
var
rNum, x, y, LogNum, Times: Integer;
begin
LogNum := InvCount;
repeat
FindNormalRandoms;
Antibans;
Times := 0;
//Writeln(LogNum);
if(not(LoggedIn))then
LoginPlayer;
if(FindObjCustom(x, y, ['ver','green'], [3564376,3828833,2771522], 7))then
Mouse(x, y, 2, 2, False);
ChooseOption('hop');
repeat
FindNormalRandoms;
Wait(1200 + Random(250));
Times := Times + 1;
//Writeln(Times);
if(not(LoggedIn))then
LoginPlayer;
if(Times >= 10)then
LogNum := LogNum - 1;
until(ExistsItem(LogNum));
LogNum := LogNum + 1;
until(InvFull);
end;

begin
Smart_Server := 1;
Smart_Members:= True;
Smart_Signed := True;
Smart_SuperDetail := False;
SetupSRL;
DeclarePlayers;
if(not(LoggedIn))then
LoginPlayer;
Wait(4000 + Random(2500));
SetAngle(True);
MakeCompass('n');
Wait(3000 + Random(3000));
repeat
ChopTree;
FindNormalRandoms;
DropAllExcept([1]);
FindNormalRandoms;
until(False);
end.

Standardized it is all.

butthole

2010-08-18 07:50:46

thanks. did 40-44 last night before getting prison pete. failed prison pete and i logged in now and just ran back to the evergreens to restart.

souppy

2010-08-18 15:52:07

where's the most effective place to run this?

EDIT:

Thanks luffs.

i luffs yeww

2010-08-18 15:57:26

I'd say that the area above Falador would be good. Near the mind altar.

butthole

2010-08-18 20:23:44

yeah sorry i didn't mention that. I've been running it by the mind altar

butthole

2010-08-23 13:08:35

I needed to get my firemaking up from 1 so i edited the script. This version cuts 1 log, then tries to make a fire. If you cant light a fire in that spot it drops the logs and moves on. It's really a shitty script I know half the time it doesnt even wait for you to finish lighting a fire before moving on but it gets the job done.

1-42 firemaking over night from testing it.


{$Define SMART}
{$i SRL/SRL.scar}

procedure DeclarePlayers;
begin
HowManyPlayers := 1;//You may change that for any number of players.
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0; //Don't touch
with Players[0] do
begin
Name := '';//RS nickname
Pass := '';//RS password
Nick := '';//3-4 lowercase letters from your nickname
Pin := '';//RS bank pin
Active := True;
BoxRewards := ['xp', 'lamp', 'imy', 'oins', 'apphire', 'ssence'];//In what order you’d like to get rewards from random events. I chose xp first, then xp lamps, then grimy herbs, you get the idea.
end;
end;

procedure Antibans;
begin
case Random(60) of
0: Wait(1000 + Random(10000));
1: begin
RandomMovement;
SetAngle(True);
end;
2,4: HoverSkill('woodcutting', False);
3: PickUpMouse;
5: if(Random(20) = 1)then
Wait(RandomRange(29000, 59000));//29-59secs
end;
end;

procedure ChopTree;
var
rNum, x, y, Times: Integer;
begin
repeat
FindNormalRandoms;
Antibans;
Times := 0;
if(not(LoggedIn))then
LoginPlayer;
if(FindObjCustom(x, y, ['ver','green'], [3564376,3828833,2771522], 7))then
Mouse(x, y, 2, 2, False);
ChooseOption('hop');
repeat
FindNormalRandoms;
Wait(1200 + Random(250));
Times := Times + 1;
if(not(LoggedIn))then
LoginPlayer;
if(Times >= 10)then
break;
until(ExistsItem(3));
invMouse(3,1);
wait(1500+random(200));
invMouse(2,1);
wait(3000+random(300));
if(ExistsItem(3))then
DropItem(3);
until(InvFull);
end;

begin
Smart_Server := 1;
Smart_Members:= True;
Smart_Signed := True;
Smart_SuperDetail := False;
SetupSRL;
DeclarePlayers;
if(not(LoggedIn))then
LoginPlayer;
Wait(4000 + Random(2500));
SetAngle(True);
MakeCompass('n');
Wait(3000 + Random(3000));
repeat
ChopTree;
Wait(5000+random(200));
until(False);
end.

Still use by mind altar.

wantonman

2010-09-03 04:45:18

HAHA the funny thing is haha I actually made a shitty auto with color finder and mouse and click… no srl… haha i got all the way to lvl 31 in like an hour … iono maybe 2… but talk about funny … haha

Sex

2010-09-03 05:16:30

From: wantonman
HAHA the funny thing is haha I actually made a shitty auto with color finder and mouse and click… no srl… haha i got all the way to lvl 31 in like an hour … iono maybe 2… but talk about funny … haha

How is that funny..? Ban is funny though :p.

P1nky

2010-09-03 06:46:45

From: Sex
How is that funny..? Ban is funny though :p.


lmfao now thats hillirious irl hahaha ^^^

wantonman

2011-04-16 21:24:18

na i didnt get banned, iono they didnt detect it at all, weird…

Yago

2011-04-16 21:46:38

From: wantonman
na i didnt get banned, iono they didnt detect it at all, weird…


The last post to this was over 6 months ago man…