SRL Archive - RS3 Outdated / Broken Scripts

JJ's Thieving Guild Chest Thiever


J J

2012-02-29 16:55:43

Video on setting it up and showing how it works, etc.
http://www.youtube.com/watch?v=VZsZExKnCjE

Hello,

Thanks for taking your time to check out my script. This is the first script I've written myself and I'm proud to have it finished. As far as I know it works flawless, except for handling random. I will add more features in the future. You currently have to log-in manually.

This script should be getting around 50.000 thieving experience per hour.

How to set it up and what are the requirements?
  • GAME MODE: ALL (not on filter or anything else)
  • 35 thieving
  • Buyers and Cellars quest
  • Lockpick

This script is opening the gates/doors and looting the chests are spot number 4 on this map:

Once you have positioned your character there you can choose to run this script with SMART, which works but is a bit harder to set up.. or you can choose to let Simba control your mouse and choose your desired RuneScape screen with the "Select a client"-tool built in to Simba.

Your brightness should be turned all the way up, and your graphics should be on the lowest possible.

The script:
program ThievingGuildChests;
{$DEFINE SMART}
{$i srl/srl.simba}

Function OpenChest:Boolean;
Var
X, Y, t: Integer;

begin
MarkTime(t);
repeat

X:=MSCX;
Y:=MSCY;
if FindObjTPA(X, Y, 7376552, 15, 1, 4, 9, 20, ['ract']) then
begin;
Writeln('We found the chest');
GetMousePos(X, Y);

Case Random(4) of
0..2: begin;
Mouse(X, Y, 5, 5, True);
Writeln('We clicked the chest');
end;

3: begin;
Mouse(X, Y, 5, 5, False);
WaitOption('Open', 300);
Writeln('We clicked the chest');
end;
end;

Wait(1500+random(1000));
Writeln('We are waiting to complete the thieving');
end;

begin;
repeat
Wait(200+random(200));
until FindChatBoxText('fail', 8, clBlack) or FindChatBoxText('open', 8, clBlack) or FindChatBoxText('reach', 8, clBlack) or (TimeFromMark(t) >= 10000);
end;

begin;
if FindChatBoxText('fail', 8, clBlack) then
Wait(300+random(200));
end;

begin;
if FindChatBoxText('open', 8, clBlack) then
Wait(2000+random(500));
end;

begin
if FindChatBoxText('reach', 8, clBlack) then
WriteLn('Time to open the doors');
Wait(300+random(200));
end;

until FindChatBoxText('reach', 8, clBlack) or (TimeFromMark(t) >= 15000);
end;


function OpenGate:Boolean;
var
X, Y, a, t, z: Integer;

begin
z:=0
t:=0
a:=0
MarkTime(t);

repeat
X:=MSCX;
Y:=MSCY;
z:=0
if FindObjTPA(X, Y, 1252637, 5, 1, 3, 3, 6, ['pen']) then
begin;
Writeln('We found the chest');
GetMousePos(X, Y);

Case Random(4) of
0..2: begin;
Mouse(X, Y, 2, 2, True);
Writeln('We clicked the gate');
end;

3: begin;
Mouse(X, Y, 2, 2, False);
WaitOption('Open', 300);
Writeln('We clicked the gate');
end;
end;

Writeln('We are waiting to open the gate');
Wait(2000+random(1000));
end;

begin;
repeat
Wait(200+random(200));
until FindChatBoxText('swings', 8, clBlack) or FindChatBoxText('bornly', 8, clBlack) or (TimeFromMark(t) >= 10000);
end;

begin;
if FindChatBoxText('bornly', 8, clBlack) then
WriteLn('We failed to open the gate');
Wait(200+random(200));
end;

begin;
if FindChatBoxText('swings', 8, clBlack) then
a:=a+1
end;

begin;
if (TimeFromMark(z) >= 10000) then
WriteLn('Time exceeded');
end;

until FindChatBoxText('swings', 8, clBlack) or (TimeFromMark(t) >= 20000);
end;


begin
SetUpSRL;
ActivateClient;
repeat
repeat OpenChest;
until(FindChatBoxText('reach', 8, clBlack));
OpenGate;
until(False);
end.

Be sure to leave some feedback to help me to improve the script!
Auto log-in, antiban and other features will be added in the future.

Greetz,

JJ.

InH

2012-03-01 16:57:02

One thing I'd fix is getting stuck inside the gate. Not a big deal just gotta turn camera a bit to the left.

k1ng91

2012-03-01 17:29:15

it works fine for me i just wish it did the chests on south wall more than the ones on the north wall

J J

2012-03-02 11:08:08

From: InH
One thing I'd fix is getting stuck inside the gate. Not a big deal just gotta turn camera a bit to the left.

Does it actually get stuck or does it have a hard time to get outside of the gate? And which gate are we talking about? I'll test it today and see if I can fix it. I will also be adding anti-ban and anti-randoms today or tomorrow! Weekend!


From: k1ng91
it works fine for me i just wish it did the chests on south wall more than the ones on the north wall

Good to hear. I think I'll modify it in the future to hop worlds, open all gates and open the three south chests for maximum xp/h. My first focus is releasing version 1.1 which will have anti-ban/anti-randoms and probably some other add ons!

phamxboa

2012-03-02 16:19:12

how mch exp an hour is it supposed to get? all it does for me is unlock the north and south chest over and over which only gives like 30 exp

J J

2012-03-02 17:15:04

From: phamxboa
how mch exp an hour is it supposed to get? all it does for me is unlock the north and south chest over and over which only gives like 30 exp

It should be opening the gates which gave 210 xp/ea. The south chests which gave 180 xp/ea and the northern chests which gave 30 xp/ea. I will be rewriting the script in a couple variants to only open the gates and hop worlds and only open south chests/gates.

Right now it should be opening a combination of all.

phamxboa

2012-03-02 18:05:46

Have you calculated how much exp/hour it gets?

J J

2012-03-03 04:35:52

From: phamxboa
Have you calculated how much exp/hour it gets?

Yeah it was getting me around 50k xp/h, but it was mainly thieving the south chests. I will be rewriting this script so that it will only be thieving the south chests and the gates for optimal xp. In the future I will probably rewrite it again to let it hop world to open the gates.

Kabouterplop

2012-03-04 18:01:57

can you add a self login future???? so i dont have to babysit

J J

2012-03-10 14:34:39

From: Kabouterplop
can you add a self login future???? so i dont have to babysit

Once I have a members account again I will add some new features. Currently working on perfecting my other script and working on a script for SRL Member appliance.

Darkcorn

2012-03-15 15:54:22

Testing it now, will post proggie in a hour. Also props for the vid.

Edit:Pretty good. Only thing i saw was just speed. Also maybe a if their was a option to choose which side chests you wanna pick lock? like north or south. then have the script focus on just those three. Also if its possible to have a counter for when you open a door, ill know when it closes so ill be ready to click on it to open it again.

GREAT WORK MAN!! KEEP IT UP!!!

hellot

2012-03-16 00:45:56

Works like a dream, nice work.

J J

2012-03-17 17:47:37

From: Darkcorn
Testing it now, will post proggie in a hour. Also props for the vid.

Edit:Pretty good. Only thing i saw was just speed. Also maybe a if their was a option to choose which side chests you wanna pick lock? like north or south. then have the script focus on just those three. Also if its possible to have a counter for when you open a door, ill know when it closes so ill be ready to click on it to open it again.

GREAT WORK MAN!! KEEP IT UP!!!

Thanks :) If I have a p2p account again that can access the Thieving Guild I will work on some new options like thieving all chests or just the south ones. I could try to make a counter, but I think the closing of the doors also depends on the population of the world, thus, it wouldn't be 100% accurate to know when they will close.

However, with my new knowledge I can probably detect if it's open or closed much easier. Using Auto Color Aid and TPA's.

From: hellot
Works like a dream, nice work.

Thanks!

BigRedJapan

2012-03-30 02:04:33

Love the Script!

J J

2012-03-31 08:56:39

From: Rules of Joe
Love the Script!

Thanks :)

RubenPriest

2012-03-31 15:24:11

Works flawless!

J J

2012-04-03 11:25:57

From: RubenPriest
Works flawless!

Good to know that it still works :D Some day I might make an advanced version using new techniques I learned.

Theron

2012-05-25 12:28:25

always tries to open the chests even before the gates have been opened.

litoris

2012-05-25 14:10:00

Please don't add world hop publicly, it will kill the method with tons of people hopping. I've had problems when there was one other person that hopped around for xp when doing this legit.

kllj

2012-05-26 12:04:27

how do you get the script off the page without a file to click on? Ive tried copying and pasting to an empty simba but it allends up in one line

johnarnts

2012-07-04 00:21:49

Running this script as we speak, set up was easy. Not sure what other user is talking about with the copy/paste. Just delete lines on new simba and paste should format itself. Will edit to include proggy after one hour. :)

[F]aceless

2012-08-13 07:57:51

when opens a chest it clicks to open another chest but the door to that chest is closed. the script do this every time.

[F]aceless

2012-08-13 07:59:22

From: Theron
always tries to open the chests even before the gates have been opened.


Same here

___

2012-11-29 16:06:53

JJ you should revamp this script.

YoHoJo

2013-06-17 21:51:27

Moved to outdated.
If it becomes updated report it so mods can handle it.