Yanhua
2011-12-20 06:09:27
2011-12-20 06:09:27
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;
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.
2011-12-20 10:14:58
2011-12-21 11:32:17
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
2011-12-21 13:15:44
2011-12-21 18:55:43
2011-12-21 22:08:12
From: getlikem3
The same exact thing is happening to me also.
2011-12-21 22:10:22
From: Magicman2k22
it won't let me go were the essence is (Teleport won't work)
2011-12-22 01:30:46
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.
2011-12-24 04:23:52
2011-12-24 04:26:39
From: ordeath
[Error] (664:1): Closing parenthesis expected at line 663
Compiling failed.
2011-12-24 05:09:18
From: Yanhua
Fixing that now. Will update OP.
EDIT: Updated. Complies fine now.
2011-12-24 10:11:07
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!
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.
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;2011-12-24 14:58:00
2011-12-25 14:28:53
2011-12-26 11:40:56
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.
2011-12-26 15:14:17
2011-12-26 15:14:47
From: Firefighter_Emt18
what do you mean debug
2011-12-26 15:43:44
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
2011-12-26 16:47:44
2011-12-26 16:55:45
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.
2011-12-26 18:21:08
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
2011-12-26 18:24:51
2011-12-27 15:14:50
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."
2011-12-30 02:13:52
2011-12-30 04:14:48
From: Kyle Undefined
Sigh… Please read what the debug says, your graphic settings are incorrect.
2012-01-01 13:53:56
2012-01-01 14:02:22
2012-01-04 22:33:01
2012-01-05 14:36:00
2012-01-09 13:13:45
2012-01-11 01:38:15
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 ''
2012-01-11 23:08:01
2012-01-13 07:03:42
2012-01-15 04:11:07
2012-01-15 13:09:18
2012-01-18 20:06:49
2012-01-20 07:34:20
2012-01-20 07:35:35
From: jordi1104
Can you update this script please?
2012-01-20 09:22:36
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. :)
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.