SRL Archive - RS3 Script Requests

Request a script!


Sin

2014-08-03 20:28:01

Any script with the exception of anything involving fighting. Must be feasible using color, and typically try not to have TOO high requirements. I could get them, but i'm really lazy :p

The Mayor

2014-08-03 20:41:13


repeat
LodestoneToPortSarim();
TravelKaramja();
NavigatePlank();
WalkToBananas();
PickBananas();
LodestoneToEdgeville();
WalkToBank();
FindBanker();
DepositBananas();
until rich

Lipcot

2014-08-03 20:56:21

From: The Mayor

repeat
LodestoneToPortSarim();
TravelKaramja();
NavigatePlank();
WalkToBananas();
PickBananas();
LodestoneToEdgeville();
WalkToBank();
FindBanker();
DepositBananas();
until rich


Im making one of this :) really noob though, almost finished it (juust need help with picking up bananas, dont know why i cant get it to work :/)

Sin

2014-08-03 23:05:12

Still waiting…

The Mayor

2014-08-03 23:09:23

From: undorak7
Im making one of this :) really noob though, almost finished it (juust need help with picking up bananas, dont know why i cant get it to work :/)


You should post your code so you can get help

Gunner

2014-08-03 23:20:41

From: Sin
Still waiting…


A dungeon leech finisher.


Repeat
antibanUntilDone();
lookForCompletedText();
clickPortal();
clickladder();
waitforXpScreen();
resumeAntiban();
Until 20k tokens

Yeah, I totally ripped the Mayor's format, but it was cool as sh*t so…

EDIT: A bonus would be it actually completes the XP screen instead of waiting through it, but it wouldn't be required.

Sin

2014-08-03 23:26:29

From: Gunner
A dungeon leech finisher.


Repeat
antibanUntilDone();
lookForCompletedText();
clickPortal();
clickladder();
waitforXpScreen();
resumeAntiban();
Until 20k tokens

Yeah, I totally ripped the Mayor's format, but it was cool as sh*t so…

EDIT: A bonus would be it actually completes the XP screen instead of waiting through it, but it wouldn't be required.


Well this wouldn't be too hard, but I wouldn't really use it >_<

Gunner

2014-08-03 23:34:55

From: Sin
Well this wouldn't be too hard, but I wouldn't really use it >_<


But, but, but…I would…I need it for my farm! :crying:

I get's so tiresome breaking into 4 SMARTS at once and completing dungeons.

TylerT

2014-08-03 23:36:35

From: Gunner
A dungeon leech finisher.


Repeat
antibanUntilDone();
lookForCompletedText();
clickPortal();
clickladder();
waitforXpScreen();
resumeAntiban();
Until 20k tokens

Yeah, I totally ripped the Mayor's format, but it was cool as sh*t so…

EDIT: A bonus would be it actually completes the XP screen instead of waiting through it, but it wouldn't be required.


Working on it buddy :) Consider it done

The Mayor

2014-08-03 23:46:29

From: TylerT
Working on it buddy :) Consider it done


Opps already done it :)


You will need need to change some colors and a few bits and pieces, but you get the idea.


program HelloIAmTheMayorAndIJustWroteThisForTheLolsUMad;

{$DEFINE SMART}
{$I SRL-6/SRL.Simba}
{$I SPS/LIB/SPS-RS3.simba}


const
REVISION = '1';
{


Script title: "A Script"


}

{- 1. Player Info -}

USERNAME = '';
PASS = '';
LOGIN_WORLD = -1;

{- 4. Paint & Debug Settings -}
ENABLE_DEBUG = True;
SRL_DEBUG = True;




(* -------------------------------------------------------------------------- *)
{* EASY UPDATE *}
(* -------------------------------------------------------------------------- *)
{ If future RS updates change the colours, then you can easily update them
yourself by changing the values below. Look at the AIO tutorial in my
signature if you don't know how to pick colours using ACA.
}

{ Portal }
PORTAL_COLOUR = 11111111;
PORTAL_TOL = 1;
PORTAL_HUE = 0.11;
PORTAL_SAT = 0.11;

{ Ladder }
LADDER_COLOUR = 1111111;
LADDER_TOL = 1;
LADDER_HUE = 0.11;
LADDER_SAT = 0.11;

{ Completed Text }
TEXT_COLOUR = 1111111;


(* -------------------------------------------------------------------------- *)
{* DON'T TOUCH ANYTHING BELOW *}
{* (unless you know what you're doing) *}
(* -------------------------------------------------------------------------- *)


var
{ Statistics for progress report }
DungsCompleted: integer;


procedure declarePlayers();
begin
setLength(players, 1);
with players[0] do
begin
loginName := USERNAME;
password := PASS;
isActive := true;
world := LOGIN_WORLD;
isMember := false;
end
currentPlayer := 0;
end;

procedure findRandoms();
begin
exitTreasure();
claimTicket();
end;

procedure debug(text: string);
begin
if ENABLE_DEBUG then
writeLn(text);
end;

procedure progressReport();
var
dungsPerHour, PAD: integer;
begin

dungsPerHour := round(DungsCompleted * (3600.0 / (GetTimeRunning / 1000.0)));

PAD := 39;

if not ENABLE_DEBUG then clearDebug();

writeLn('||-------------------------------------||');
writeLn(padR('|| The Mayor''s DungLeech (Rev. ' + REVISION + ')', PAD) + '||') ;
writeLn(padR('||', PAD) + '||');
writeLn(padR('|| Time running: ' + timeRunning(TIME_SHORT), PAD) + '||');
writeLn(padR('|| Dungs leeched: ' + groupDigits(DungsCompleted, ',') + ' (' + groupDigits(dungsPerHour, ',') + ' PH)', PAD) + '||');
writeLn('||-------------------------------------||');

end;

procedure antiBan(ran: integer);
begin
case random(ran) of
1..6: pickUpMouse();
7..15: randomRClickItem();
16..30: sleepAndMoveMouse(random(3000) + random(750));
31..40: begin
smallRandomMouse();
smallRandomMouse();
smallRandomMouse();
end;
41..50: mouseOffClient(OFF_CLIENT_RANDOM);
51..150: randomCompass(0, 360, false);
151..165: mainScreen.setAngle(MS_ANGLE_HIGH);
166..175: hoverRandomSkill();
176..200: sleepAndMoveMouse(4000 + random(2500));
end;
end;

function isCompletedTextVisible(): boolean;
var
x, y: integer
begin
result := findColor(x, y, TEXT_COLOUR, chatBox.getBounds());

if result then writeLn('Found the completed text');
end;

function isXPScreenOpen(): boolean;
var
x, y: integer
begin
result := getColor(100, 100) = 123456;
end;

procedure navigateXPScreen();
begin
mouseBox(intToBox(1, 1, 1, 1), MOUSE_LEFT);
end;

function clickLadder(): boolean;
var
x, y, i: integer;
TPA: TPointArray;
ATPA: T2DPointArray;
begin
if not isLoggedIn() then exit;

findColorsSpiralTolerance(x, y, TPA, LADDER_COLOUR, mainScreen.getBounds(), LADDER_TOL, colorSetting(2, LADDER_HUE, LADDER_SAT));
debug('Ladder TPA length: ' + toStr(length(TPA)));

if length(TPA) > 0 then
begin
mainScreen.filterPointsPlayer(TPA);
ATPA := TPA.cluster(5, 5);
ATPA.filterBetween(0, 20);
ATPA.sortFromMidPoint(mainscreen.playerPoint);

smartImage.debugATPA(ATPA);

for i := 0 to high(ATPA) do
begin
mouseBox(getTPABounds(ATPA[i]), MOUSE_MOVE);
if isMouseOverText(['adder']) then
begin
debug('Found ladder mouseOverText');

if random(15) = 1 then
begin
fastClick(MOUSE_RIGHT);
result := chooseOption.select(['adder']);
break;
end else
begin
getMousePos(x, y);
multiClick(point(x, y), 8, 3);
result := true;
break;
end;

end else
debug('Ladder mouseOverText didn''t match');
end;

if random(5) = 1 then smallRandomMouse();
smartImage.clearArea(mainScreen.getBounds());

end else
debug('Couldn''t find any ladder colours - rotating camera');

end;

function clickPortal(): boolean;
var
x, y, i: integer;
TPA: TPointArray;
ATPA: T2DPointArray;
begin
if not isLoggedIn() then exit;

findColorsSpiralTolerance(x, y, TPA, PORTAL_COLOUR, mainScreen.getBounds(), PORTAL_TOL, colorSetting(2, PORTAL_HUE, PORTAL_SAT));
debug('Portal TPA length: ' + toStr(length(TPA)));

if length(TPA) > 0 then
begin
mainScreen.filterPointsPlayer(TPA);
ATPA := TPA.cluster(5, 5);
ATPA.filterBetween(0, 20);
ATPA.sortFromMidPoint(mainscreen.playerPoint);

smartImage.debugATPA(ATPA);

for i := 0 to high(ATPA) do
begin
mouseBox(getTPABounds(ATPA[i]), MOUSE_MOVE);
if isMouseOverText(['ortal']) then
begin
debug('Found portal mouseOverText');

if random(15) = 1 then
begin
fastClick(MOUSE_RIGHT);
result := chooseOption.select(['ortal']);
break;
end else
begin
getMousePos(x, y);
multiClick(point(x, y), 8, 3);
result := true;
break;
end;

end else
debug('Portal mouseOverText didn''t match');
end;

if random(5) = 1 then smallRandomMouse();
smartImage.clearArea(mainScreen.getBounds());

end else
debug('Couldn''t find any portal colours - rotating camera');

end;

procedure setup();
begin
smartShowConsole := false;
smartPlugins := ['d3d9.dll'];
smartEnableDrawing := true;
disableSRLDebug := not SRL_DEBUG;
setupSRL();

declarePlayers();
end;

procedure mainLoop();
begin

if isCompletedTextVisible() then
begin
while not clickPortal() do
randomCompass(0, 360, false);

while not clickladder() do
randomCompass(0, 360, false);

if isXPScreenOpen() then
navigateXPScreen();
end else
antiBan(2000);

end;

begin
clearDebug();
setup();

repeat
if not isLoggedIn() then
begin
players[currentPlayer].login();
wait(randomRange(4000, 6000));
mainscreen.setAngle(MS_ANGLE_HIGH);
findRandoms();
end;

mainLoop();
progressReport();

until false;

end.

Gunner

2014-08-04 00:28:14

From: The Mayor
Opps already done it :)You will need need to change some colors and a few bits and pieces, but you get the idea.


Ermahgerd a ril lurch scrupt!! :drool:

Pls tell me you've been working on this since I requested it on your request thread…and you didn't just pop this out in 26 mins…

Thx btw, wow.

The Mayor

2014-08-04 01:06:42

From: Gunner
Ermahgerd a ril lurch scrupt!! :drool:

Pls tell me you've been working on this since I requested it on your request thread…and you didn't just pop this out in 26 mins…

Thx btw, wow.


Probably about 10 minutes. I just edited another one of my scripts.

chambo123

2014-08-05 09:03:25

Portable Sawmill Maker would be the current one I'd request (y)

Ashaman88

2014-08-05 18:51:08

Sin is back in action!!!

Sin

2014-08-05 20:21:44

From: Ashaman88
Sin is back in action!!!



Your Livid Farm script won't be the only script available in the Farming section soon :D

TylerT

2014-08-05 20:35:01

From: Sin

Your Livid Farm script won't be the only script available in the Farming section soon :D


Damn, looking good man. :)

Trollcrank

2014-08-06 19:48:57

From: Sin

Your Livid Farm script won't be the only script available in the Farming section soon :D


Instead of just doing herb runs and logging off, or whatever it does, it should have something to do instead of logging to the lobby.Herbs take about 1hr to grow, maybe make marigolds or something… idk what the script even does so I can't make up any ideas :p

kevin33

2014-08-06 20:17:10

From: Sin

Your Livid Farm script won't be the only script available in the Farming section soon :D


That will be awesome!! I will definitely use this as farming is one of my next skills that need training :-) Looking good!

kosmiklol

2014-08-07 00:09:55

a awesome dungeoneering bot would be awesome that can do medium floors complex 6

candyman89

2014-08-08 01:33:31

Clay miner at Remington which banks at clan citadel entrance ??/????/

The Mayor

2014-08-08 01:53:15

From: kosmiklol
a awesome dungeoneering bot would be awesome that can do medium floors complex 6


Not sure if troll :unsure:

Ian

2014-08-08 02:08:44

From: The Mayor
Not sure if troll :unsure:


You must admit though, it would be awesome.

The Spark

2014-08-08 02:13:40

From: The Mayor
Not sure if troll :unsure:


doubt it, new people to the forums usually don't know that nobody makes dung script.

hopesluck

2014-08-08 16:59:10

i would like to see a wilderness agility course runner =) haha, i hate that skill soooo much but its so damn useful lol

Jake

2014-08-09 01:10:36

Nonsense
We already have a dg script
https://villavu.com/forum/showthread.php?t=106135&p=1267963#post1267963
From: sparkyownage
doubt it, new people to the forums usually don't know that nobody makes dung script.

cosmasjdz

2014-08-09 03:09:45

basicly what i thought would be great is so called daily run script. for example make flasks, do herb runs, buy battlestaffs, and other stuff. This could be implemented into other scripts instead of log out breaks as an antiban . Also farming script alone would be aweshome too.

nkd2009

2014-08-12 17:24:11

An Al Kharid necklace crafter would be cool for F2P as it is the only way to get crafting xp without paying a fortune.
It would most likely go as follows:
1) open bank
2) withdraw 14 gems
3) withdraw 14 gold bar
4) walk to Furnace (maybe using symbol?)
5) click furnace & click the craft button
6) bank
7) repeat

Not sure if you have any interest in making this but thought I'd add it.
EDIT: after thinking about it further, silver tiara's would cost about 40m to 99 and would be much better exp, likely around 70k/hr.

Ian

2014-08-12 17:57:33

From: nkd2009
An Al Kharid necklace crafter would be cool for F2P as it is the only way to get crafting xp without paying a fortune.
It would most likely go as follows:
1) open bank
2) withdraw 14 gems
3) withdraw 14 gold bar
4) walk to Furnace (maybe using symbol?)
5) click furnace & click the craft button
6) bank
7) repeat

Not sure if you have any interest in making this but thought I'd add it.
EDIT: after thinking about it further, silver tiara's would cost about 40m to 99 and would be much better exp, likely around 70k/hr.


From: BMWxi
I have one that's almost ready for release that crafts in Lumbridge. I just need to add optional antiban and break taking.

Here are some pictures:

http://i.imgur.com/TZFPKFn.png
http://i.imgur.com/2FmklOw.png
http://i.imgur.com/IOmwXo9.png


It's Lumbridge not Al Kharid, but the furnace is closer.

The Spark

2014-08-12 18:14:00

From: nkd2009
An Al Kharid necklace crafter would be cool for F2P as it is the only way to get crafting xp without paying a fortune.
It would most likely go as follows:
1) open bank
2) withdraw 14 gems
3) withdraw 14 gold bar
4) walk to Furnace (maybe using symbol?)
5) click furnace & click the craft button
6) bank
7) repeat

Not sure if you have any interest in making this but thought I'd add it.
EDIT: after thinking about it further, silver tiara's would cost about 40m to 99 and would be much better exp, likely around 70k/hr.


I have one that I'm using right now actually in Al Kharid, it just needs a bit of revision on the code, I may release it in a few days, though BMWxi's one in Lumbridge is probably better :)

nkd2009

2014-08-14 16:19:06

From: BMWxi
It's Lumbridge not Al Kharid, but the furnace is closer.


That looks really good BMW, although I'm not so sure I'd have gone with the 4 wheel drive… Totally forgot about Lumbridge. Do you have a timeframe on the release?

Ian

2014-08-14 16:26:09

From: nkd2009
That looks really good BMW, although I'm not so sure I'd have gone with the 4 wheel drive… Totally forgot about Lumbridge. Do you have a timeframe on the release?


There's currently a small bug in SRL that stops the selection of dragonstone jewellery. I have it fixed on my local version but it was just guesswork so I've asked an SRL dev to see if they can replicate the bug. Once that's fixed the only things left are adding some antiban and fixing a bug where the script misclicks beside the furnace because it hasn't quite finished walking.

All in all I'd say either tomorrow or the next day. :)

Sin

2014-08-16 09:23:00

From: BMWxi
It's Lumbridge not Al Kharid, but the furnace is closer.


Are Sapphire bracelets good gp/xp? Are they expensive?

Ian

2014-08-16 17:38:07

From: Sin
Are Sapphire bracelets good gp/xp? Are they expensive?


Probably similar to sapphire necklaces, which are usually a very slight profit and 60k xp/h. Probably around 65k xp/h.
@nkd2009; https://villavu.com/forum/showthread.php?t=109947