SRL Archive - RS3 Outdated / Broken Scripts

yEssenceMiner


Yanhua

2011-12-20 06:09:27

Outdated. Will update later.

Claymore

2011-12-20 06:13:58


Function FindOre:Boolean;
Var
X, Y:Integer;
Begin
SetAngle(False);
If Not Invfull Then Begin
MakeCompass('40');
If FindObjCustom(X, Y, ['ssen'], [8750732, 11579576, 1243514, 8224130], 2) Then
Begin
writeln('Found ore!')
Result := True;
MMouse(X, Y, 3, 3);
GetMousePos(X, Y);
Mouse(X, Y, 0, 0, False);
Wait(500+randomrange(200,300));
If ChooseOption('Mine Rune Essence') Then
Result := True;
while (Not InvFull)
Do
wait(100+randomrange(50,70));
end;
Wait(500+randomrange(200,500));
end;

If Not Invfull Then Begin
MakeCompass('80');
If FindObjCustom(X, Y, ['ssen'], [8750732, 11579576, 1243514, 8224130], 2) Then
Begin
writeln('Found ore!')
Result := True;
MMouse(X, Y, 3, 3);
GetMousePos(X, Y);
Mouse(X, Y, 0, 0, False);
Wait(500+randomrange(200,300));
If ChooseOption('Mine Rune Essence') Then
Result := True;
while (Not InvFull)
Do
wait(100+randomrange(50,70));
end;
Wait(500+randomrange(200,500));
end;

If Not Invfull Then Begin
MakeCompass('120');
If FindObjCustom(X, Y, ['ssen'], [8750732, 11579576, 1243514, 8224130], 2) Then
Begin
writeln('Found ore!')
Result := True;
MMouse(X, Y, 3, 3);
GetMousePos(X, Y);
Mouse(X, Y, 0, 0, False);
Wait(500+randomrange(200,300));
If ChooseOption('Mine Rune Essence') Then
Result := True;
while (Not InvFull)
Do
wait(100+randomrange(50,70));
end;
Wait(500+randomrange(200,500));
end;

If Not Invfull Then Begin
MakeCompass('160');
If FindObjCustom(X, Y, ['ssen'], [8750732, 11579576, 1243514, 8224130], 2) Then
Begin
writeln('Found ore!')
Result := True;
MMouse(X, Y, 3, 3);
GetMousePos(X, Y);
Mouse(X, Y, 0, 0, False);
Wait(500+randomrange(200,300));
If ChooseOption('Mine Rune Essence') Then
Result := True;
while (Not InvFull)
Do
wait(100+randomrange(50,70));
end;
Wait(500+randomrange(200,500));
end;

If Not Invfull Then Begin
MakeCompass('200');
If FindObjCustom(X, Y, ['ssen'], [8750732, 11579576, 1243514, 8224130], 2) Then
Begin
writeln('Found ore!')
Result := True;
MMouse(X, Y, 3, 3);
GetMousePos(X, Y);
Mouse(X, Y, 0, 0, False);
Wait(500+randomrange(200,300));
If ChooseOption('Mine Rune Essence') Then
Result := True;
while (Not InvFull)
Do
wait(100+randomrange(50,70));
end;
Wait(500+randomrange(200,500));
end;

If Not Invfull Then Begin
MakeCompass('240');
If FindObjCustom(X, Y, ['ssen'], [8750732, 11579576, 1243514, 8224130], 2) Then
Begin
writeln('Found ore!')
Result := True;
MMouse(X, Y, 3, 3);
GetMousePos(X, Y);
Mouse(X, Y, 0, 0, False);
Wait(500+randomrange(200,300));
If ChooseOption('Mine Rune Essence') Then
Result := True;
while (Not InvFull)
Do
wait(100+randomrange(50,70));
end;
Wait(500+randomrange(200,500));
end;

If Not Invfull Then Begin
MakeCompass('280');
If FindObjCustom(X, Y, ['ssen'], [8750732, 11579576, 1243514, 8224130], 2) Then
Begin
writeln('Found ore!')
Result := True;
MMouse(X, Y, 3, 3);
GetMousePos(X, Y);
Mouse(X, Y, 0, 0, False);
Wait(500+randomrange(200,300));
If ChooseOption('Mine Rune Essence') Then
Result := True;
while (Not InvFull)
Do
wait(100+randomrange(50,70));
end;
Wait(500+randomrange(200,500));
end;

If Not Invfull Then Begin
MakeCompass('320');
If FindObjCustom(X, Y, ['ssen'], [8750732, 11579576, 1243514, 8224130], 2) Then
Begin
writeln('Found ore!')
Result := True;
MMouse(X, Y, 3, 3);
GetMousePos(X, Y);
Mouse(X, Y, 0, 0, False);
Wait(500+randomrange(200,300));
If ChooseOption('Mine Rune Essence') Then
Result := True;
while (Not InvFull)
Do
wait(100+randomrange(50,70));
end;
Wait(500+randomrange(200,500));
end;

If Not Invfull Then Begin
MakeCompass('360');
If FindObjCustom(X, Y, ['ssen'], [8750732, 11579576, 1243514, 8224130], 2) Then
Begin
writeln('Found ore!')
Result := True;
MMouse(X, Y, 3, 3);
GetMousePos(X, Y);
Mouse(X, Y, 0, 0, False);
Wait(500+randomrange(200,300));
If ChooseOption('Mine Rune Essence') Then
Result := True;
while (Not InvFull)
Do
wait(100+randomrange(50,70));
end;
Wait(500+randomrange(200,500));
end;

end;


Function ClickPortal:Boolean;
Var
X, Y:Integer;
Begin
ClickNorth(False);
SetAngle(True);
Wait(500+randomrange(100,300));
If FindObjEx(X, Y, ['ortal'], [12819148, 10734506, 11189143, 12299464, 10919621, 11657914, 13084604, 14015418, 12561875, 12313033, 13150376, 13290913, 13681613, 10790856, 15255248, 12161715, 15253946, 12168648], 8, 50, 130, 60, 402, 278) Then
begin
MMouse(X, Y, 3, 3);
Mouse(X, Y, 0, 0, True);
Wait(2000+randomrange(50,100));
Result := True;
End

End;

Now this is just silly. Go to the beginner tutorials and look up repeat functions. These will shorten your code by a lot.

Yanhua

2011-12-20 06:17:38

From: Deathscytex

Function FindOre:Boolean;
Var
X, Y:Integer;
Begin
SetAngle(False);
If Not Invfull Then Begin
MakeCompass('40');
If FindObjCustom(X, Y, ['ssen'], [8750732, 11579576, 1243514, 8224130], 2) Then
Begin
writeln('Found ore!')
Result := True;
MMouse(X, Y, 3, 3);
GetMousePos(X, Y);
Mouse(X, Y, 0, 0, False);
Wait(500+randomrange(200,300));
If ChooseOption('Mine Rune Essence') Then
Result := True;
while (Not InvFull)
Do
wait(100+randomrange(50,70));
end;
Wait(500+randomrange(200,500));
end;

If Not Invfull Then Begin
MakeCompass('80');
If FindObjCustom(X, Y, ['ssen'], [8750732, 11579576, 1243514, 8224130], 2) Then
Begin
writeln('Found ore!')
Result := True;
MMouse(X, Y, 3, 3);
GetMousePos(X, Y);
Mouse(X, Y, 0, 0, False);
Wait(500+randomrange(200,300));
If ChooseOption('Mine Rune Essence') Then
Result := True;
while (Not InvFull)
Do
wait(100+randomrange(50,70));
end;
Wait(500+randomrange(200,500));
end;

If Not Invfull Then Begin
MakeCompass('120');
If FindObjCustom(X, Y, ['ssen'], [8750732, 11579576, 1243514, 8224130], 2) Then
Begin
writeln('Found ore!')
Result := True;
MMouse(X, Y, 3, 3);
GetMousePos(X, Y);
Mouse(X, Y, 0, 0, False);
Wait(500+randomrange(200,300));
If ChooseOption('Mine Rune Essence') Then
Result := True;
while (Not InvFull)
Do
wait(100+randomrange(50,70));
end;
Wait(500+randomrange(200,500));
end;

If Not Invfull Then Begin
MakeCompass('160');
If FindObjCustom(X, Y, ['ssen'], [8750732, 11579576, 1243514, 8224130], 2) Then
Begin
writeln('Found ore!')
Result := True;
MMouse(X, Y, 3, 3);
GetMousePos(X, Y);
Mouse(X, Y, 0, 0, False);
Wait(500+randomrange(200,300));
If ChooseOption('Mine Rune Essence') Then
Result := True;
while (Not InvFull)
Do
wait(100+randomrange(50,70));
end;
Wait(500+randomrange(200,500));
end;

If Not Invfull Then Begin
MakeCompass('200');
If FindObjCustom(X, Y, ['ssen'], [8750732, 11579576, 1243514, 8224130], 2) Then
Begin
writeln('Found ore!')
Result := True;
MMouse(X, Y, 3, 3);
GetMousePos(X, Y);
Mouse(X, Y, 0, 0, False);
Wait(500+randomrange(200,300));
If ChooseOption('Mine Rune Essence') Then
Result := True;
while (Not InvFull)
Do
wait(100+randomrange(50,70));
end;
Wait(500+randomrange(200,500));
end;

If Not Invfull Then Begin
MakeCompass('240');
If FindObjCustom(X, Y, ['ssen'], [8750732, 11579576, 1243514, 8224130], 2) Then
Begin
writeln('Found ore!')
Result := True;
MMouse(X, Y, 3, 3);
GetMousePos(X, Y);
Mouse(X, Y, 0, 0, False);
Wait(500+randomrange(200,300));
If ChooseOption('Mine Rune Essence') Then
Result := True;
while (Not InvFull)
Do
wait(100+randomrange(50,70));
end;
Wait(500+randomrange(200,500));
end;

If Not Invfull Then Begin
MakeCompass('280');
If FindObjCustom(X, Y, ['ssen'], [8750732, 11579576, 1243514, 8224130], 2) Then
Begin
writeln('Found ore!')
Result := True;
MMouse(X, Y, 3, 3);
GetMousePos(X, Y);
Mouse(X, Y, 0, 0, False);
Wait(500+randomrange(200,300));
If ChooseOption('Mine Rune Essence') Then
Result := True;
while (Not InvFull)
Do
wait(100+randomrange(50,70));
end;
Wait(500+randomrange(200,500));
end;

If Not Invfull Then Begin
MakeCompass('320');
If FindObjCustom(X, Y, ['ssen'], [8750732, 11579576, 1243514, 8224130], 2) Then
Begin
writeln('Found ore!')
Result := True;
MMouse(X, Y, 3, 3);
GetMousePos(X, Y);
Mouse(X, Y, 0, 0, False);
Wait(500+randomrange(200,300));
If ChooseOption('Mine Rune Essence') Then
Result := True;
while (Not InvFull)
Do
wait(100+randomrange(50,70));
end;
Wait(500+randomrange(200,500));
end;

If Not Invfull Then Begin
MakeCompass('360');
If FindObjCustom(X, Y, ['ssen'], [8750732, 11579576, 1243514, 8224130], 2) Then
Begin
writeln('Found ore!')
Result := True;
MMouse(X, Y, 3, 3);
GetMousePos(X, Y);
Mouse(X, Y, 0, 0, False);
Wait(500+randomrange(200,300));
If ChooseOption('Mine Rune Essence') Then
Result := True;
while (Not InvFull)
Do
wait(100+randomrange(50,70));
end;
Wait(500+randomrange(200,500));
end;

end;


Function ClickPortal:Boolean;
Var
X, Y:Integer;
Begin
ClickNorth(False);
SetAngle(True);
Wait(500+randomrange(100,300));
If FindObjEx(X, Y, ['ortal'], [12819148, 10734506, 11189143, 12299464, 10919621, 11657914, 13084604, 14015418, 12561875, 12313033, 13150376, 13290913, 13681613, 10790856, 15255248, 12161715, 15253946, 12168648], 8, 50, 130, 60, 402, 278) Then
begin
MMouse(X, Y, 3, 3);
Mouse(X, Y, 0, 0, True);
Wait(2000+randomrange(50,100));
Result := True;
End

End;

Now this is just silly. Go to the beginner tutorials and look up repeat functions. These will shorten your code by a lot.


I'll fix that up later.

It shouldn't affect the functionality of the script though, so I don't see why it would matter so much.

Er1k

2011-12-20 10:14:58

coding style matters as long as someone wishes to understand/use/modify your script later :P

nickivey

2011-12-21 11:32:17

its getting stuck at trying to find portals
edit it only happens like 1 out of 10
good job though i couldn't do something like this

getlikem3

2011-12-21 13:02:06

From: nickivey
its getting stuck at trying to find portals
edit it only happens like 1 out of 10
good job though i couldn't do something like this

The same exact thing is happening to me also.

Mink

2011-12-21 13:15:44

sweet about to test! i made a request on this a couple days ago so im excited :)

Magicman2k22

2011-12-21 18:55:43

it won't let me go were the essence is (Teleport won't work)

Yanhua

2011-12-21 22:08:12

From: getlikem3
The same exact thing is happening to me also.


This is quite hard as the portal colours are constantly changing. I'll see what I can do though.

Yanhua

2011-12-21 22:10:22

From: Magicman2k22
it won't let me go were the essence is (Teleport won't work)


What do you mean? Does it fail to go through the door?

omegaangelz

2011-12-22 01:30:46

nice job dude I have been waiting around for an ess miner for like 2 months lol. Great work I was unaware of the changing portal colors but I'm sure you'll tackle it. I plan to use this once you get it fixed so if there is any sort of testing or determining all of the different colors of portals let me know what to do and I can gather what you need.

Yanhua

2011-12-22 01:34:50

From: omegaangelz
nice job dude I have been waiting around for an ess miner for like 2 months lol. Great work I was unaware of the changing portal colors but I'm sure you'll tackle it. I plan to use this once you get it fixed so if there is any sort of testing or determining all of the different colors of portals let me know what to do and I can gather what you need.


Thanks for your support. Yes, I did write this script in less than a day so it is very buggy.

I will, most certainly work on the portal finding whenever I can. :)

ordeath

2011-12-24 04:23:52

[Error] (664:1): Closing parenthesis expected at line 663
Compiling failed.

Yanhua

2011-12-24 04:26:39

From: ordeath
[Error] (664:1): Closing parenthesis expected at line 663
Compiling failed.


Fixing that now. Will update OP.

EDIT: Updated. Complies fine now.

ordeath

2011-12-24 05:09:18

From: Yanhua
Fixing that now. Will update OP.

EDIT: Updated. Complies fine now.


thx

BigMaczRGood

2011-12-24 10:11:07

Thank you so much for the update maybe I will start gold farming for my main with this!

PatDuffy

2011-12-24 10:17:57

From: BigMaczRGood
Thank you so much for the update maybe I will start gold farming for my main with this!


…..Please use your words wisely here. We do not support gold-farming. We are perfectly fine with people botting or doing whatever, but "GoldFarming" is taboo.

Blumblebee

2011-12-24 14:56:10

From: PatDuffy
…..Please use your words wisely here. We do not support gold-farming. We are perfectly fine with people botting or doing whatever, but "GoldFarming" is taboo.


I think he meant that he was going to make an army and dump all the gold on his main, not making a Chinese person sit in a basement and make accounts/bot then sell for cash :p

Edit: As for the script:

Yanhua I don't know why but I like you, and I want to help you get where you want to be. That's going to take a bit of patience on your part though, you seem a bit too eager to use random knowledge instead of collecting it for a purpose.

By this I mean, after suggesting you learn TPA's/ACA/Autocoloring you went out and did that but in a very primitive sense. To be honest it is hard to tell if you understand it or you just found it worked thanks to the ACA. With 90% of your code you could shorten it into <50 lines. By that I mean all your autocolor functions could simply be,

function AutoColorFunc(Color, Tol: Integer): Integer;
var
arP: TPointArray;
arC: TIntegerArray;
tmpCTS, i, arL: Integer;
begin
tmpCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(1);

FindColorsSpiralTolerance(MSCX, MSCY, arP, Color, MSX1, MSY1, MSX2, MSY2, Tol);
if (Length(arP) = 0) then
begin
Writeln('Failed to find the color, no result.');
ColorToleranceSpeed(tmpCTS);
Exit;
end;

arC := GetColors(arP);
ClearSameIntegers(arC);
arL := High(arC);

for i := 0 to arL do
begin
Result := arC[i];
Writeln('AutoColor = ' + IntToStr(arC[i]));
Break;
end;

ColorToleranceSpeed(tmpCTS);

if (i = arL + 1) then
Writeln('AutoColor failed in finding the color.');
end;

and simply fill in the color/tol you got from ACA. Secondly, I would advise using ACA as a standard point of reference, but not to simply copy and paste the code. You can look through many tutorials and scripts that autocolor in different ways, and by combining the knowledge you learn from each of these you will be able to make your own. Aside from that you've kept improving and I like the script. If you ever have questions, feel free to ask me.

Elitezer0

2011-12-24 14:58:00

Wont open for me. Idk why other scripts work fine. Keep getting this:

Compiled successfully in 951 ms.
SRL Compiled in 16 msec
It has been 3 minutes and Runescape is not yet ready… Terminating.
Make sure your settings are set to fixed screen
Successfully executed.

Green Bay Packers

2011-12-25 14:28:53

Can you include stats?

Firefighter_Emt18

2011-12-26 11:40:56

Ya, i am having the same problem as Elitezer0. it compiles correctly and then after about 3 minutes i get the same message.

Kyle Undefined

2011-12-26 11:47:40

From: Elitezer0
Wont open for me. Idk why other scripts work fine. Keep getting this:

Compiled successfully in 951 ms.
SRL Compiled in 16 msec
It has been 3 minutes and Runescape is not yet ready… Terminating.
Make sure your settings are set to fixed screen
Successfully executed.


Sigh… Please read what the debug says, your graphic settings are incorrect.

Firefighter_Emt18

2011-12-26 15:14:17

what do you mean debug

RISK

2011-12-26 15:14:47

The white box below where the code is.

From: Firefighter_Emt18
what do you mean debug

Firefighter_Emt18

2011-12-26 15:43:44

k ya but when i run it it doesn't even load the smart screen. and on my other computer it doeskin load it at all either but instead starts taking over the screen and try's to do everything without the window loaded

Yanhua

2011-12-26 15:46:38

From: Firefighter_Emt18
k ya but when i run it it doesn't even load the smart screen. and on my other computer it doeskin load it at all either but instead starts taking over the screen and try's to do everything without the window loaded


You're doing something wrong.

Read some tutorials on how to properly install Simba and configure RS Settings please, post here if you're still having trouble after all that. :)

Firefighter_Emt18

2011-12-26 16:47:44

i have been using simbe for about a month now this is the first problem i have ran into with it.

Firefighter_Emt18

2011-12-26 16:55:45

And it is still doing the same thing

Yanhua

2011-12-26 17:16:20

From: Firefighter_Emt18
And it is still doing the same thing


From: Firefighter_Emt18
i have been using simbe for about a month now this is the first problem i have ran into with it.


Please refrain from double posting. The edit button is there for a reason :p

Still doing the same thing? What thing?

Firefighter_Emt18

2011-12-26 18:21:08

when i start the script it compiles then it takes over my mouse and then starts to do everything but the smart window doesnt start up and it just starts typing everything in the script itself

Yanhua

2011-12-26 18:23:23

From: Firefighter_Emt18
when i start the script it compiles then it takes over my mouse and then starts to do everything but the smart window doesnt start up and it just starts typing everything in the script itself


Sorry, my bad.

Take out // from in front of {$DEFINE SMART}

Firefighter_Emt18

2011-12-26 18:24:51

k that fixed it thank you i was like i know theres something wrong cause this is the first script i have ever had a problem with but good work and thank you

Green Bay Packers

2011-12-27 15:14:50

Hey, erm, when I use this script, it works perfectly fine, but when it goes to bank, it doesn't do anything. It just runs inside and runs back out to mine again with a full inventory. It then goes to the mine and says "Failed to find the color, no result."

Yanhua

2011-12-27 20:07:26

From: Green Bay Packers
Hey, erm, when I use this script, it works perfectly fine, but when it goes to bank, it doesn't do anything. It just runs inside and runs back out to mine again with a full inventory. It then goes to the mine and says "Failed to find the color, no result."


I'll look into this later.

Spending most of my time on perfecting the Auto Tabs Pro script at the moment. :spot:

Puissant

2011-12-30 02:13:52

when i go to run it, all it says is script successively compiled in "Such and such" seconds. Any help please?

EDIT: removed // infront of dfine smart at begining

Elitezer0

2011-12-30 04:14:48

From: Kyle Undefined
Sigh… Please read what the debug says, your graphic settings are incorrect.


Oh wow, i can;t belevie i missed the screen part I'm so sorry to waste your time lol thank you:D

ZIFs112

2012-01-01 13:53:56

You passed a wrong ys to a finder function: -5. That is below 0, thus out of bounds. Setting the value to 0 for now.
Warning! You passed a wrong ys to a finder function: -5. That is below 0, thus out of bounds. Setting the value to 0 for now.
Warning! You passed a wrong ys to a finder function: -5. That is below 0, thus out of bounds. Setting the value to 0 for now.
Warning! pls fix it.

Dreviore

2012-01-01 14:02:22

Nevermind, worked.

Rezozo

2012-01-04 22:33:01

where does this mine exactly, it just goes to front of ge and stops…

Edit: is this Members only??

ZIFs112

2012-01-05 14:36:00

if you creat a script, pls fix it too..

chelmid

2012-01-09 13:13:45

Doesn't work:

Failed to find colors when coming back from aubury's house to bank.
Plz Yanhua update it as soon as you can.

user666

2012-01-11 01:38:15

Anyone else getting this error? Sorry if this is a stupid post.


Exception in Script: Unable to find file 'SRL\SRL.scar' used from ''

NickMystre

2012-01-11 03:51:19

From: user666
Anyone else getting this error? Sorry if this is a stupid post.


Exception in Script: Unable to find file 'SRL\SRL.scar' used from ''


Did you update to SRL-5 ? This would mean that 'srl.scar' is now called 'srl.simba'

Check it out.

monkey8192

2012-01-11 23:08:01

plz update the bot i get the same problem as the others 'SRL\SRL.scar' used from. I changed the .scar to .simba and still got an errr. plz update it. thank you :)

Omar

2012-01-13 07:03:42

Needs to be updated to SRL 5.

MattL191

2012-01-15 04:11:07

Kinda new to botting. And "TRYING" to learn to script. I keep getting an error while starting this script.

Found the Problem. My fault.

krushsawa

2012-01-15 13:09:18

I'll give this a go =p

lolcat

2012-01-18 20:06:49

This is outdated.

jordi1104

2012-01-20 07:34:20

Can you update this script please?

'Toxin

2012-01-20 07:35:35

From: jordi1104
Can you update this script please?


Mining essence is probably the largest goldfarming aspect in RuneScape, if this was updated it would be released to Members only so it wouldn't be abused by all you guys. :)

Overtime

2012-01-20 09:22:36

Its not even complicated to update -.- everything is there, you just have to change a few lines of code..

Seriously read some guides.

jordi1104

2012-01-20 18:27:13

From: XxX Toxin XxX
Mining essence is probably the largest goldfarming aspect in RuneScape, if this was updated it would be released to Members only so it wouldn't be abused by all you guys. :)


I'm learning scripting right now so if you are reffering to me as one of the script abusers no I am not.
Also you have made a mistake flax picking is the biggest goldfarming aspect of runescape.

niqje

2012-03-23 14:13:06

From: jordi1104
I'm learning scripting right now so if you are reffering to me as one of the script abusers no I am not.
Also you have made a mistake flax picking is the biggest goldfarming aspect of runescape.


No rune essence are. It's because it is f2p and has a decent income/h flax is p2p and has for a p2p thing a poor income.