SRL Archive - First Scripts

OreoKillas Ge Yew Cutter And Banker


oreokilla

2012-02-01 18:58:16

1.First Things First You Need To Start In The Middle Of The 2 Trees At The Ge.. Dont Start any were else…
2.make sure you have a hatchet it wont do anything if you dont lol…
3.Make sure your inv is empty bc if its not it might run to the bank…
4. its ready to go start it up and sit back and relaxe…=)
_________________________________________________________________

Right now this script is flawless for me i have been working on it for awhile but i love it i couldnt belive how good it worked for me when i got done with it well anyways i hope you enjoy this script please comment and ask for requests they mite happend =) also credits to tehq for helping me with this script hes been a great help with the banking process etc. so thanks everyone enjoy… edit….ok for Tehq and Barrack I have fixed the banking process to bank to at GE =)))))and
i have it were it will not jump when clicking yews thanks to tehq i might still need to work on the banking process alittle more so there will be another update
program GeYewCuttingScript;
{$DEFINE SMART}
{$i srl/srl.simba}
{$i sps/sps.simba}

const
{SMART Setup Constants}
WORLD = 0; // Set a world, if you'd like. Leave 0 to choose a random world.
MEMBERS = False; // Are you Members or Free-To-Play? False for F2P, True for P2P.
SIGNED = True;
loadcount = 50;
var
count: integer;
{---------------------------}
{--------Script Info--------}
//Author = 'Oreokilla';
//Name = 'OreosyewKilla';
//Version = '1.0';
{---------------------------}
procedure DeclarePlayers; //This declares the players to be used in the script.
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;

Players[0].Name := ''; //Your Runescape username
Players[0].Pass := ''; //Your Runescape password
Players[0].Nick := ''; //3 or 4 lowercase letters from your Runescape username. Used as a Nickname.
Players[0].Active := True; //Set to true if you want to use this player. Set to False to disable this player.
Players[0].Pin := ''; //Leave blank if the player doesn't have a Bank PIN.
end;
procedure SetupScript;
begin;
WriteLn('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~');
WriteLn('Hope you enjoy this Yew cutting script.');
WriteLn('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~');
WriteLn('I made this My self.');
WriteLn('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~');
end;
procedure AntiBan;
begin
case random(50) of
0: RandomRClick;
1: PickUpMouse;
2: RandomRClick;
3: HoverSkill('woodcutting', False);
4: SetAngle(SRL_ANGLE_HIGH);
end;
end;

Procedure WalkToBank;
Var
ToBank:TPointArray;
Begin
SetupSRL;
SPS_Areas := ['11_6','11_7'];
ToBank:= [Point(4651, 2624), Point(4616, 2628), Point(4603, 2647), Point(4603, 2662), Point(4576, 2667), Point(4558, 2645), Point(4546, 2625)];
SPS_WalkPath(ToBank);
end;

procedure ChopTree; //This chops your trees.
var x, y: integer;
begin
repeat
FindNormalRandoms;
ToggleXPBar(true);
WriteLn('ChopTree procedure activated! Finding tree.');
WriteLn('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~');
if FindObjCustom(x,y, ['ew','hop','own'], [4937570, 4344918],5) then//This finds the object, records the X and Y values, and tells the script to find the option "Tree".
begin
WriteLn('Tree found! Clicking option.');
WriteLn('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~');
Mouse(x, y, 0, 0, true);
ChooseOption('ew'); //This tells the script to left-click on the object and select "Yew".
end;
repeat
Wait(RandomRange(2000, 3000))
AntiBan;
Until not IsUpText('ew') or (InvFull);
Until (InvFull);
writeLn('Banking');
end;

Procedure Bank;
begin
if not LoggedIn then
Exit;
repeat
SetAngle(srl_angle_high);
OpenBanknpc;
Wait(Random(700));
until BankScreen or PinScreen;
if PinScreen then
begin
repeat
InPin(Players[0].Pin);
until BankScreen or not (LoggedIn);
end;
begin
if Players[CurrentPlayer].Booleans[0] then
DepositAll else
Deposit(2 ,28 ,true);
CloseBank;
stats_IncVariable('Times Banked',1);
end
Writeln('Bout to bank these logs');
End;

Procedure WalkToYews;
Var
ToYews:TPointArray;
Begin
SetupSRL;
SPS_Areas := ['11_6','11_7'];
ToYews := [Point(4546, 2625), Point(4570, 2663), Point(4594, 2664), Point(4613, 2635), Point(4631, 2627), Point(4646, 2627)];
SPS_WalkPath(ToYews);
end;

Begin
Smart_Server := WORLD;
Smart_Members := MEMBERS;
Smart_Signed := SIGNED;
Smart_SuperDetail := False;
SetupSRL;
SetupScript;
declarePlayers;
LoginPlayer;

begin
WalkToBank;
Bank;
WalkToYews;
repeat
Antiban;
ChopTree;
WalkToBank;
Bank;
walkToYews;
Inc(count);
until (count=loadcount)
end;
end.



//Notice that AntiRandoms isn't in here. It would be useless to include because Reflection is currently broken.


//This stops the script completely once your player has failed. e.g. Gotten into a random event, died (almost impossible) or failed to find a tree.


BarackOBieber

2012-02-01 20:10:39

This looks pretty good, I'll try it out. Thanks!
I'll tell you how it works out.
It worked pretty good for cutting the trees, but once I got the 28 Yew Logs it went to the Varrock West Bank and stopped there. Why not just make it bank at the Grand Exchange? I like the script, you just need to fix the banking.

tehq

2012-02-01 20:31:10

The mouse is very jumpy during the chop (find) tree procedure. You may want to substitute in
  if FindObjCustom(x,y, ['ew','hop','own'], [4937570, 4344918],5) then 
Also, make sure to add bank; and walktoyews; to the main loop

oreokilla

2012-02-01 21:34:13

@ barrack i plan on doing that its very hard for some reason to bank at ge but i will figure it out tm thnx tho…

BarackOBieber

2012-02-01 21:38:59

Alright, it's fine if the G.E. wouldn't work, I understand that there a lot of colors on the players. If you could fix the Varrock West bank feature the script would be good too, I like it so far.

oreokilla

2012-02-01 21:44:51

Thank you very much beiber i plan on making it bank at ge tommorow there will be an update and as for tehq thanks for the help ive added that to my script works better and doesnt missclick as much…

BarackOBieber

2012-02-01 21:53:13

No need to thank me, you're the one that made the script, lol. I've been waiting for a yew woodcutter :) I'll be sure to test out the new update when it comes out.

oreokilla

2012-02-02 10:59:55

the new update will be td at 5 i need to kno ieverything u want

BarackOBieber

2012-02-02 14:52:10

If you can fix the banking at Varrock, it should work fine. Could you change the path that it walks? I think it's shorter to go in front of the Varrock Castle to the West bank, but it's up to you. Also, like I said before, if you can add Grand Exchange supported banking that'd be great.

oreokilla

2012-02-02 15:18:23

i will add that as soon as possible and i will also add resting if you like????, its up to you…
ITS BEEN UPDATED=)

BarackOBieber

2012-02-02 20:08:22

Alright. Trying now, I'll tell you how it goes.

BarackOBieber

2012-02-02 20:22:14

Ok. Overall, especially for your first script, I think this is a great script! I'm no expert with scripts, but I definitely think you did a good job with this. I've ran it for three inventories so far and it's been working flawlessly! I'll tell you how it runs overnight.

Also, if you could add a bird's nest feature, that'd be great :)


After running this for about 45 minutes, the bank feature got buggy. If you can make it so that the mouse clicks closer to the banker I think that will resolve the problem.

oreokilla

2012-02-02 21:39:41

will do this as soon as possible=)

BarackOBieber

2012-02-03 16:43:26

Thanks, I've enjoyed testing it.

zione

2012-02-08 11:42:18

Do not download…they will hack you, after two days of having this ive been hacked…do not download this script !!!!!!!!

oreokilla

2012-02-08 17:06:50

Hello sir i am not a hacker do not belive what this man says its not true I cant belive this community we need to work Together!!!!!!! not tell someone there a hacker when there not plz do not try even to talk back to me bc you are def. a lie

tehq

2012-02-08 17:52:07

From: zione
Do not download…they will hack you, after two days of having this ive been hacked…do not download this script !!!!!!!!

I can assure you this script is not what got you hacked. Check his script:
program GeYewCuttingScript;
{$DEFINE SMART}
{$i srl/srl.simba}
{$i sps/sps.simba}

const
{SMART Setup Constants}
WORLD = 0; // Set a world, if you'd like. Leave 0 to choose a random world.
MEMBERS = False; // Are you Members or Free-To-Play? False for F2P, True for P2P.
SIGNED = True;
loadcount = 50;
var
count: integer;
{---------------------------}
{--------Script Info--------}
//Author = 'Oreokilla';
//Name = 'OreosyewKilla';
//Version = '1.0';
{---------------------------}
procedure DeclarePlayers; //This declares the players to be used in the script.
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;

Players[0].Name := ''; //Your Runescape username
Players[0].Pass := ''; //Your Runescape password
Players[0].Nick := ''; //3 or 4 lowercase letters from your Runescape username. Used as a Nickname.
Players[0].Active := True; //Set to true if you want to use this player. Set to False to disable this player.
Players[0].Pin := ''; //Leave blank if the player doesn't have a Bank PIN.
end;
procedure SetupScript;
begin;
WriteLn('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~');
WriteLn('Hope you enjoy this Yew cutting script.');
WriteLn('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~');
WriteLn('I made this My self.');
WriteLn('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~');
end;
procedure AntiBan;
begin
case random(50) of
0: RandomRClick;
1: PickUpMouse;
2: RandomRClick;
3: HoverSkill('woodcutting', False);
4: SetAngle(SRL_ANGLE_HIGH);
end;
end;

Procedure WalkToBank;
Var
ToBank:TPointArray;
Begin
SetupSRL;
SPS_Areas := ['11_6','11_7'];
ToBank:= [Point(4651, 2624), Point(4616, 2628), Point(4603, 2647), Point(4603, 2662), Point(4576, 2667), Point(4558, 2645), Point(4546, 2625)];
SPS_WalkPath(ToBank);
end;

procedure ChopTree; //This chops your trees.
var x, y: integer;
begin
repeat
FindNormalRandoms;
ToggleXPBar(true);
WriteLn('ChopTree procedure activated! Finding tree.');
WriteLn('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~');
if FindObjCustom(x,y, ['ew','hop','own'], [4937570, 4344918],5) then//This finds the object, records the X and Y values, and tells the script to find the option "Tree".
begin
WriteLn('Tree found! Clicking option.');
WriteLn('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~');
Mouse(x, y, 0, 0, true);
ChooseOption('ew'); //This tells the script to left-click on the object and select "Yew".
end;
repeat
Wait(RandomRange(2000, 3000))
AntiBan;
Until not IsUpText('ew') or (InvFull);
Until (InvFull);
writeLn('Banking');
end;

Procedure Bank;
begin
if not LoggedIn then
Exit;
repeat
SetAngle(srl_angle_high);
OpenBanknpc;
Wait(Random(700));
until BankScreen or PinScreen;
if PinScreen then
begin
repeat
InPin(Players[0].Pin);
until BankScreen or not (LoggedIn);
end;
begin
if Players[CurrentPlayer].Booleans[0] then
DepositAll else
Deposit(2 ,28 ,true);
CloseBank;
stats_IncVariable('Times Banked',1);
end
Writeln('Bout to bank these logs');
End;

Procedure WalkToYews;
Var
ToYews:TPointArray;
Begin
SetupSRL;
SPS_Areas := ['11_6','11_7'];
ToYews := [Point(4546, 2625), Point(4570, 2663), Point(4594, 2664), Point(4613, 2635), Point(4631, 2627), Point(4646, 2627)];
SPS_WalkPath(ToYews);
end;

Begin
Smart_Server := WORLD;
Smart_Members := MEMBERS;
Smart_Signed := SIGNED;
Smart_SuperDetail := False;
SetupSRL;
SetupScript;
declarePlayers;
LoginPlayer;

begin
WalkToBank;
Bank;
WalkToYews;
repeat
Antiban;
ChopTree;
WalkToBank;
Bank;
walkToYews;
Inc(count);
until (count=loadcount)
end;
end.



//Notice that AntiRandoms isn't in here. It would be useless to include because Reflection is currently broken.


//This stops the script completely once your player has failed. e.g. Gotten into a random event, died (almost impossible) or failed to find a tree.


No malicious code.

oreokilla

2012-02-09 18:48:07

thank You For Telling him that lol

godsblade22

2012-06-12 08:05:18

Unknown identifier MMCX??

WeezyIV

2012-07-11 02:08:23

Which two trees do you mean? I assume the yews but it won't work for me. I am quite new to srl and I don't even know if I run Runescape at the same time as Simba or not. Please someone help me.

MrCudou

2012-08-18 20:11:13

[Error] C:\Users\Cudou\Desktop\Oreokillas wc script one to use.simba(121:3): Unknown identifier 'Smart_Server' at line 120
Compiling failed.

Got a bit of a problem here, as the script will not run properly. please help if possible. thanks in advance

Byrnie

2012-09-07 06:07:31

From: MrCudou
[Error] C:\Users\Cudou\Desktop\Oreokillas wc script one to use.simba(121:3): Unknown identifier 'Smart_Server' at line 120
Compiling failed.

Got a bit of a problem here, as the script will not run properly. please help if possible. thanks in advance


NKN has made a thread about this.
I'm a noob myself but as far as i can tell you need to replace the smart server line down to smart_superdetail with this
SRL_SixHourFix := True;
SMART_FixSpeed := True;

Look here if still having trouble. http://villavu.com/forum/showthread.php?t=88578

EDIT: Whilst it now compiles for me and loads up into game, it doesn't cut any logs and just opens several smart interfaces .