SRL Archive - Research & Development Lounge

MUST release something.


Sin

2012-03-14 15:56:17

It's been 4 days since March Break started and I haven't done ANYTHING productive for SRL other than make a paint for S1NMaples ;s
So, I need something to script, something extraordinary, something never done before(In colour anyways!), something that'll give me a challenge.

Don't say stuff like Green Dragon killer or anything like that, that's basic stuff :s
Monkey Knife Fighters are on my todolist, but I still have to do the quest :p

the flea

2012-03-14 16:00:56

you could help work on MSI?
http://villavu.com/forum/showthread.php?t=56179

Kyle Undefined

2012-03-14 16:13:55

I support the fleas suggestion :)

noidea

2012-03-14 16:14:26

Something hip and often not persued - Rune mysteries quest runner.

Sin

2012-03-14 16:16:17

I don't mind scripting for MSI, but creating the objects are quite confusing :s
I like to keep things relatively simple xD

jakeyboy29

2012-03-14 16:17:25

how is monkey knives hard buy green dragons isnt?

tehq

2012-03-14 16:19:12

From: noidea
Something hip and often not persued - Rune mysteries quest runner.


From: Sin

So, I need something to script, something extraordinary, something never done before(In colour anyways!), something that'll give me a challenge.


Rune mysteries
It's not completely perfect, yet, but it has been done. I'd vote for MSI as well.

Sin

2012-03-14 16:20:37

From: jakeyboy29
how is monkey knives hard buy green dragons isnt?


I meant something the community wants*


Rune Mysteries it is!

the flea

2012-03-14 16:39:59

From: Sin

I like to keep things relatively simple xD


From: SIN

something that'll give me a challenge.


someone needs to decide what they want :p

Sin

2012-03-14 17:04:57

From: the flea
someone needs to decide what they want :p


Nonono I meant my scripting style ahaha!

PatDuffy

2012-03-14 17:11:30

Awh, MSI isn't that hard to create objects for, its extremely easy!

Its always on my to-do list.

bolshak25

2012-03-14 17:22:26

Fist of Guthix :)
we all need more tokens and itd be a good challenge

Kyle Undefined

2012-03-14 17:46:53

MSI Objects are easier than anything else out there. What's so confusing about them?

P1nky

2012-03-14 17:52:59

Wilderness Looter.

kunzy

2012-03-14 18:03:50

make a cooker!! i swear non work here :( lol

euphemism

2012-03-14 19:26:58

Did you not have a Project GF RiD going on? I could have sworn you were going to release the scripts on the eighth? Maybe I just missed the thread.

RightClick

2012-03-14 19:33:12

A Quest Bot, like While Guthix Sleep :)
Seriously, i don't if one got created in the black market but a red chin bot, or if u want, a corperal beast bot, i already used one before with RSbot, some idea ..
It seem stupid but Corporeal Beast is a good challenge.

c00boes

2012-03-14 19:35:35

Swamp lizard catcher!!!

Sin

2012-03-14 19:43:54

From: euphemism
Did you not have a Project GF RiD going on? I could have sworn you were going to release the scripts on the eighth? Maybe I just missed the thread.


I couldn't do the Pest Control, MTA (didnt really understand the minigame :s), Thiever (MKF, haven't done the quests for it :s), and Agility.
Other than that, they're all done.
Not tested thoroughly so I don't want anyone to get banned because of me.

RightClick

2012-03-14 19:48:20

From: c00boes
Swamp lizard catcher!!!


Lmao really too easy to write for him xD

c00boes

2012-03-14 22:08:27

From: alexx1156
Lmao really too easy to write for him xD

Yeah but there are no swamp lizard catchers on SRL

lilpjer

2012-03-15 19:25:53

If you want some challenges do:
-Living rock cavern killer
-Soul Wars
-Dungeoneering

Gucci

2012-03-15 19:47:38

Wilderness Agility Runner?

brandon8081

2012-03-16 01:02:42

I was looking for something the community doesn't have. I noticed that there aren't any working Essence miners.

Flight

2012-03-16 01:06:11

Try your hand and making an anti-random. Maybe look for one that isn't currently working.

Kyle Undefined

2012-03-16 01:08:17

From: Flight
Try your hand and making an anti-random. Maybe look for one that isn't currently working.


This. Work on the Molly random, since it's currently disabled iirc.

wazzzup

2012-03-16 01:08:36

Make a Advanced Gnome Agility Course it's much needed!!!
Or a flawless master farmer thiever would be epic too!

Jagex_Fagex

2012-03-16 07:21:27

From: brandon8081
I was looking for something the community doesn't have. I noticed that there aren't any working Essence miners.


I thought putonajonny and Markus both released working ess miners not too long ago?

paronizzy

2012-03-16 08:03:16

From: P1nky
Wilderness Looter.


^This!! would be awesome. Although the old one that was on RSB got abuses and im not sure how easy it would be too script using color for all the possible items.

eduardo230

2012-03-16 08:43:55

monkey knife fighter! :D or msi

Runescape Pro

2012-03-16 08:50:28

I havea semi working advanced agility runner. Ill work on it more and release soon. As for an idea, some quest runners(f2p), msi, anti random.

John

2012-03-16 09:35:27

don't release this but apparently using color to detect the ball floating around a frost dragon. That's the hardest thing i can think of.

bloopy62

2012-03-16 10:22:40

2 words. Counting is key. Alright now that you've read the joke, I vote for an LRC Roctail fisher. I'm 99 fishing but broke as heck.

Sin

2012-03-16 17:19:34

From: Evlin
don't release this but apparently using color to detect the ball floating around a frost dragon. That's the hardest thing i can think of.

Who said I don't have a Frost Dragon under dev :3

HyperSecret

2012-03-16 17:23:51

I have never seen a Pyramid Plunder script come from SRL. Fastest Thieving XP in the game, as far as I know. Next to that monkey thing.

Sin

2012-03-16 17:24:53

Pyramid Plunder eh…
I'll look into it, i've never played the game xD

momotron

2012-03-16 18:15:40

jadinko hunter. Dont make me make my own.

jakeyboy29

2012-03-16 18:20:17

release the fungus!

Sin

2012-03-16 18:27:27

From: jakeyboy29
release the fungus!


To public?
Not a chance :P

illuminatiswag

2012-03-16 18:34:00

Sin why not make a experiment killer that runs to npc by yellow dot on the map and uses B2P i will love you long time :D

jakeyboy29

2012-03-16 18:36:08

From: Sin
To public?
Not a chance :P


members!!!!

Sin

2012-03-16 18:39:46

Experiments -


program new;
{$include srl/srl/misc/smart.simba}
{$I SRL/SRL.simba}
{$I srl/srl/misc/debug.simba}
{$I sps/sps.simba}
{$Include SRL/SRL/skill/fighting.simba}

procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;

Players[0].Name := ''; // Username
Players[0].Pass := ''; // Password
Players[0].Active := True;
Players[0].Pin := '';
Players[0].BoxRewards := ['Xp', 'mote', 'ostume', 'oins', 'aphire', 'ssence'];
end;// declare players
procedure SetupLogin;
begin
ClearDebug;
Smart_Server := 87;
Smart_Members := True;
Smart_Signed := True;
Smart_SuperDetail := False;
SetupSRL;
end;
function FindNearestNPC(var x,y:Integer;Click:Boolean):Boolean;
var
NPC:TPoint;
begin
if FindColorSpiralTolerance(NPC.x,NPC.y,65536,558,6,690,153,4) then
begin
Result := True;
if Click = True then
Mouse(NPC.x,NPC.y,1,1,True);
end;
end;
function FindSheep(var fx, fy: Integer): Boolean;
var
arP, arAP: TPointArray;
arC, arUC: TIntegerArray;
ararP: T2DPointArray;
tmpCTS, i, j, arL, arL2: Integer;
P: TPoint;
X, Y, Z: Extended;
begin
tmpCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.02, 1.58);

if not(FindColorsTolerance(arP, 6868413, MSX1, MSY1, MSX2, MSY2, 25)) then
begin
Writeln('Failed to find the color, no object found.');
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
Exit;
end;

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

for i := 0 to arL do
begin
ColorToXYZ(arC[i], X, Y, Z);

if (X >= 16.08) and (X <= 73.37) and (Y >= 18.80) and (Y <= 85.97) and (Z >= 10.95) and (Z <= 48.33) then
begin
for j := 0 to arL2 do
begin
if (arUC[i] = arC[j]) then
begin
SetLength(arAP, Length(arAP) + 1);
arAP[High(arAP)] := arP[j];
end;
end;
end;
end;

SortTPAFrom(arAP, Point(MSCX, MSCY));
ararP := SplitTPAEx(arAP, 10, 10);
arL := High(ararP);

for i := 0 to arL do
begin
if (Length(ararP[i]) < 10) then Continue;
P := MiddleTPA(ararP[i]);
MMouse(P.x, P.y, 5, 5);
Wait(100 + Random(100));
if (WaitUptext('ttack',750)) then
begin;
Result := True;
Break;
end;
end;

ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);

if (i = arL + 1) then
begin
Writeln('FindObject could not find object.');
Exit;
end;

GetMousePos(fx, fy);
end;

function FindSpider(var fx, fy: Integer): Boolean;
var
arP, arAP: TPointArray;
arC, arUC: TIntegerArray;
ararP: T2DPointArray;
tmpCTS, i, j, arL, arL2: Integer;
P: TPoint;
X, Y, Z: Extended;
begin
tmpCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.35, 2.63);

if not(FindColorsTolerance(arP, 2047561, MSX1, MSY1, MSX2, MSY2, 8)) then
begin
Writeln('Failed to find the color, no object found.');
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
Exit;
end;

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

for i := 0 to arL do
begin
ColorToXYZ(arC[i], X, Y, Z);

if (X >= 2.52) and (X <= 6.12) and (Y >= 2.60) and (Y <= 6.30) and (Z >= 1.51) and (Z <= 3.49) then
begin
for j := 0 to arL2 do
begin
if (arUC[i] = arC[j]) then
begin
SetLength(arAP, Length(arAP) + 1);
arAP[High(arAP)] := arP[j];
end;
end;
end;
end;

SortTPAFrom(arAP, Point(MSCX, MSCY));
ararP := SplitTPAEx(arAP, 15, 15);
arL := High(ararP);

for i := 0 to arL do
begin
if (Length(ararP[i]) < 10) then Continue;
P := MiddleTPA(ararP[i]);
MMouse(P.x, P.y, 5, 5);
Wait(100 + Random(100));
if (IsUpText('ttack')) then
begin;
Result := True;
Break;
end;
end;

ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);

if (i = arL + 1) then
begin
Writeln('FindObject could not find object.');
Exit;
end;

GetMousePos(fx, fy);
end;
function FindWolf(var fx, fy: Integer): Boolean;
var
arP, arAP: TPointArray;
arC, arUC: TIntegerArray;
ararP: T2DPointArray;
tmpCTS, i, j, arL, arL2: Integer;
P: TPoint;
X, Y, Z: Extended;
begin
tmpCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.24, 0.07);

if not(FindColorsTolerance(arP, 6052190, MSX1, MSY1, MSX2, MSY2, 12)) then
begin
Writeln('Failed to find the color, no object found.');
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
Exit;
end;

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

for i := 0 to arL do
begin
ColorToXYZ(arC[i], X, Y, Z);

if (X >= 6.87) and (X <= 14.21) and (Y >= 7.02) and (Y <= 14.52) and (Z >= 7.81) and (Z <= 16.25) then
begin
for j := 0 to arL2 do
begin
if (arUC[i] = arC[j]) then
begin
SetLength(arAP, Length(arAP) + 1);
arAP[High(arAP)] := arP[j];
end;
end;
end;
end;

SortTPAFrom(arAP, Point(MSCX, MSCY));
ararP := SplitTPAEx(arAP, 10, 10);
arL := High(ararP);

for i := 0 to arL do
begin
if (Length(ararP[i]) < 10) then Continue;
P := MiddleTPA(ararP[i]);
MMouse(P.x, P.y, 5, 5);
Wait(100 + Random(100));
if (IsUpText('ttack')) then
begin;
Result := True;
Break;
end;
end;

ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);

if (i = arL + 1) then
begin
Writeln('FindObject could not find object.');
Exit;
end;

GetMousePos(fx, fy);
end;
function WalkBack:boolean;
var
x,y,DTM:Integer;
aFound:Extended;
begin
Result := True;
end;
procedure Attack;
var
x,y,t:Integer;
begin

if FindSheep(x,y) or FindSpider(x,y) or FindWolf(x,y) then
begin
Mouse(x,y,1,1,False);
WaitOption('ttack',750);
MarkTime(t);
repeat
wait(10);
if TimeFromMark(t) > 5000 then
exit;
until(InFight);
while InFight do
begin
wait(10);
end;
end else
begin
FindNearestNPC(x,y,True);
FFlag(1);
wait(750);
end;
if not InFight then
exit;
end;
begin
ClearDebug;
SetupLogin;
DeclarePlayers;
LoginPlayer;
MouseSpeed := RandomRange(22,25);
repeat
Attack;
until(Not LoggedIn);
end.

bolshak25

2012-03-16 19:26:41

You could make functions/procedures for the xp counters.
One that tells you what stat whichever counter is, and one that will change whichever counter to a specific stat :)

Drax

2012-03-16 22:32:03

Simple dungeon script that does one floor ;) not impossible

slushpuppy

2012-03-16 22:55:18

something that helps legit players not the gold farmers. E.g. castle wars bot, mobilizing armies, Fog(potential for abuse), or like the previous poster said, something like a dungeoneering skilling bot

Zerkeronrs7

2012-03-17 10:19:28

A summoning script that banks at castle wars and teleports with spirit kyatt to the obelisk.

paronizzy

2012-03-18 19:34:13

Sin make a script that repeatedly does the Troll Invasion(easy 20 wave) mini game. I dunno if thats a challenge or not.

FifthDimension

2012-03-18 19:37:51

How about an easy script that stuns the Monk of Zamorak at Varrock Castle and has support for all stun spells :).

kitchenrange

2012-03-18 22:51:51

stunalcher would be legit.

E: Weekend is almost over hurryyyyyy.

Last Legend

2012-03-28 14:54:29

CASTLE WARSS!!!! :D I wants my halo XD

c00boes

2012-03-28 19:56:55

From: Sin
Experiments -


program new;
{$include srl/srl/misc/smart.simba}
{$I SRL/SRL.simba}
{$I srl/srl/misc/debug.simba}
{$I sps/sps.simba}
{$Include SRL/SRL/skill/fighting.simba}

procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;

Players[0].Name := ''; // Username
Players[0].Pass := ''; // Password
Players[0].Active := True;
Players[0].Pin := '';
Players[0].BoxRewards := ['Xp', 'mote', 'ostume', 'oins', 'aphire', 'ssence'];
end;// declare players
procedure SetupLogin;
begin
ClearDebug;
Smart_Server := 87;
Smart_Members := True;
Smart_Signed := True;
Smart_SuperDetail := False;
SetupSRL;
end;
function FindNearestNPC(var x,y:Integer;Click:Boolean):Boolean;
var
NPC:TPoint;
begin
if FindColorSpiralTolerance(NPC.x,NPC.y,65536,558,6,690,153,4) then
begin
Result := True;
if Click = True then
Mouse(NPC.x,NPC.y,1,1,True);
end;
end;
function FindSheep(var fx, fy: Integer): Boolean;
var
arP, arAP: TPointArray;
arC, arUC: TIntegerArray;
ararP: T2DPointArray;
tmpCTS, i, j, arL, arL2: Integer;
P: TPoint;
X, Y, Z: Extended;
begin
tmpCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.02, 1.58);

if not(FindColorsTolerance(arP, 6868413, MSX1, MSY1, MSX2, MSY2, 25)) then
begin
Writeln('Failed to find the color, no object found.');
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
Exit;
end;

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

for i := 0 to arL do
begin
ColorToXYZ(arC[i], X, Y, Z);

if (X >= 16.08) and (X <= 73.37) and (Y >= 18.80) and (Y <= 85.97) and (Z >= 10.95) and (Z <= 48.33) then
begin
for j := 0 to arL2 do
begin
if (arUC[i] = arC[j]) then
begin
SetLength(arAP, Length(arAP) + 1);
arAP[High(arAP)] := arP[j];
end;
end;
end;
end;

SortTPAFrom(arAP, Point(MSCX, MSCY));
ararP := SplitTPAEx(arAP, 10, 10);
arL := High(ararP);

for i := 0 to arL do
begin
if (Length(ararP[i]) < 10) then Continue;
P := MiddleTPA(ararP[i]);
MMouse(P.x, P.y, 5, 5);
Wait(100 + Random(100));
if (WaitUptext('ttack',750)) then
begin;
Result := True;
Break;
end;
end;

ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);

if (i = arL + 1) then
begin
Writeln('FindObject could not find object.');
Exit;
end;

GetMousePos(fx, fy);
end;

function FindSpider(var fx, fy: Integer): Boolean;
var
arP, arAP: TPointArray;
arC, arUC: TIntegerArray;
ararP: T2DPointArray;
tmpCTS, i, j, arL, arL2: Integer;
P: TPoint;
X, Y, Z: Extended;
begin
tmpCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.35, 2.63);

if not(FindColorsTolerance(arP, 2047561, MSX1, MSY1, MSX2, MSY2, 8)) then
begin
Writeln('Failed to find the color, no object found.');
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
Exit;
end;

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

for i := 0 to arL do
begin
ColorToXYZ(arC[i], X, Y, Z);

if (X >= 2.52) and (X <= 6.12) and (Y >= 2.60) and (Y <= 6.30) and (Z >= 1.51) and (Z <= 3.49) then
begin
for j := 0 to arL2 do
begin
if (arUC[i] = arC[j]) then
begin
SetLength(arAP, Length(arAP) + 1);
arAP[High(arAP)] := arP[j];
end;
end;
end;
end;

SortTPAFrom(arAP, Point(MSCX, MSCY));
ararP := SplitTPAEx(arAP, 15, 15);
arL := High(ararP);

for i := 0 to arL do
begin
if (Length(ararP[i]) < 10) then Continue;
P := MiddleTPA(ararP[i]);
MMouse(P.x, P.y, 5, 5);
Wait(100 + Random(100));
if (IsUpText('ttack')) then
begin;
Result := True;
Break;
end;
end;

ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);

if (i = arL + 1) then
begin
Writeln('FindObject could not find object.');
Exit;
end;

GetMousePos(fx, fy);
end;
function FindWolf(var fx, fy: Integer): Boolean;
var
arP, arAP: TPointArray;
arC, arUC: TIntegerArray;
ararP: T2DPointArray;
tmpCTS, i, j, arL, arL2: Integer;
P: TPoint;
X, Y, Z: Extended;
begin
tmpCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.24, 0.07);

if not(FindColorsTolerance(arP, 6052190, MSX1, MSY1, MSX2, MSY2, 12)) then
begin
Writeln('Failed to find the color, no object found.');
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
Exit;
end;

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

for i := 0 to arL do
begin
ColorToXYZ(arC[i], X, Y, Z);

if (X >= 6.87) and (X <= 14.21) and (Y >= 7.02) and (Y <= 14.52) and (Z >= 7.81) and (Z <= 16.25) then
begin
for j := 0 to arL2 do
begin
if (arUC[i] = arC[j]) then
begin
SetLength(arAP, Length(arAP) + 1);
arAP[High(arAP)] := arP[j];
end;
end;
end;
end;

SortTPAFrom(arAP, Point(MSCX, MSCY));
ararP := SplitTPAEx(arAP, 10, 10);
arL := High(ararP);

for i := 0 to arL do
begin
if (Length(ararP[i]) < 10) then Continue;
P := MiddleTPA(ararP[i]);
MMouse(P.x, P.y, 5, 5);
Wait(100 + Random(100));
if (IsUpText('ttack')) then
begin;
Result := True;
Break;
end;
end;

ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);

if (i = arL + 1) then
begin
Writeln('FindObject could not find object.');
Exit;
end;

GetMousePos(fx, fy);
end;
function WalkBack:boolean;
var
x,y,DTM:Integer;
aFound:Extended;
begin
Result := True;
end;
procedure Attack;
var
x,y,t:Integer;
begin

if FindSheep(x,y) or FindSpider(x,y) or FindWolf(x,y) then
begin
Mouse(x,y,1,1,False);
WaitOption('ttack',750);
MarkTime(t);
repeat
wait(10);
if TimeFromMark(t) > 5000 then
exit;
until(InFight);
while InFight do
begin
wait(10);
end;
end else
begin
FindNearestNPC(x,y,True);
FFlag(1);
wait(750);
end;
if not InFight then
exit;
end;
begin
ClearDebug;
SetupLogin;
DeclarePlayers;
LoginPlayer;
MouseSpeed := RandomRange(22,25);
repeat
Attack;
until(Not LoggedIn);
end.


Did… you…. just….. make an experiment killer… and decide that it was too simple and easy to make to deserve a download? YOU ARE AMAZING :drool:

Sin

2012-03-28 19:59:27

From: c00boes
Did… you…. just….. make an experiment killer… and decide that it was too simple and easy to make to deserve a download? YOU ARE AMAZING :drool:


Lool xD
It wasn't too hard with ACA xD

Rezozo

2012-03-28 20:10:55

From: bolshak25
Fist of Guthix :)
we all need more tokens and itd be a good challenge


I second this, I offered it some Time ago, maybe a boss like you could do it…? :)

brandon8081

2012-03-29 00:47:13

From: Sin
Experiments -


program new;
{$include srl/srl/misc/smart.simba}
{$I SRL/SRL.simba}
{$I srl/srl/misc/debug.simba}
{$I sps/sps.simba}
{$Include SRL/SRL/skill/fighting.simba}

procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;

Players[0].Name := ''; // Username
Players[0].Pass := ''; // Password
Players[0].Active := True;
Players[0].Pin := '';
Players[0].BoxRewards := ['Xp', 'mote', 'ostume', 'oins', 'aphire', 'ssence'];
end;// declare players
procedure SetupLogin;
begin
ClearDebug;
Smart_Server := 87;
Smart_Members := True;
Smart_Signed := True;
Smart_SuperDetail := False;
SetupSRL;
end;
function FindNearestNPC(var x,y:Integer;Click:Boolean):Boolean;
var
NPC:TPoint;
begin
if FindColorSpiralTolerance(NPC.x,NPC.y,65536,558,6,690,153,4) then
begin
Result := True;
if Click = True then
Mouse(NPC.x,NPC.y,1,1,True);
end;
end;
function FindSheep(var fx, fy: Integer): Boolean;
var
arP, arAP: TPointArray;
arC, arUC: TIntegerArray;
ararP: T2DPointArray;
tmpCTS, i, j, arL, arL2: Integer;
P: TPoint;
X, Y, Z: Extended;
begin
tmpCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.02, 1.58);

if not(FindColorsTolerance(arP, 6868413, MSX1, MSY1, MSX2, MSY2, 25)) then
begin
Writeln('Failed to find the color, no object found.');
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
Exit;
end;

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

for i := 0 to arL do
begin
ColorToXYZ(arC[i], X, Y, Z);

if (X >= 16.08) and (X <= 73.37) and (Y >= 18.80) and (Y <= 85.97) and (Z >= 10.95) and (Z <= 48.33) then
begin
for j := 0 to arL2 do
begin
if (arUC[i] = arC[j]) then
begin
SetLength(arAP, Length(arAP) + 1);
arAP[High(arAP)] := arP[j];
end;
end;
end;
end;

SortTPAFrom(arAP, Point(MSCX, MSCY));
ararP := SplitTPAEx(arAP, 10, 10);
arL := High(ararP);

for i := 0 to arL do
begin
if (Length(ararP[i]) < 10) then Continue;
P := MiddleTPA(ararP[i]);
MMouse(P.x, P.y, 5, 5);
Wait(100 + Random(100));
if (WaitUptext('ttack',750)) then
begin;
Result := True;
Break;
end;
end;

ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);

if (i = arL + 1) then
begin
Writeln('FindObject could not find object.');
Exit;
end;

GetMousePos(fx, fy);
end;

function FindSpider(var fx, fy: Integer): Boolean;
var
arP, arAP: TPointArray;
arC, arUC: TIntegerArray;
ararP: T2DPointArray;
tmpCTS, i, j, arL, arL2: Integer;
P: TPoint;
X, Y, Z: Extended;
begin
tmpCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.35, 2.63);

if not(FindColorsTolerance(arP, 2047561, MSX1, MSY1, MSX2, MSY2, 8)) then
begin
Writeln('Failed to find the color, no object found.');
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
Exit;
end;

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

for i := 0 to arL do
begin
ColorToXYZ(arC[i], X, Y, Z);

if (X >= 2.52) and (X <= 6.12) and (Y >= 2.60) and (Y <= 6.30) and (Z >= 1.51) and (Z <= 3.49) then
begin
for j := 0 to arL2 do
begin
if (arUC[i] = arC[j]) then
begin
SetLength(arAP, Length(arAP) + 1);
arAP[High(arAP)] := arP[j];
end;
end;
end;
end;

SortTPAFrom(arAP, Point(MSCX, MSCY));
ararP := SplitTPAEx(arAP, 15, 15);
arL := High(ararP);

for i := 0 to arL do
begin
if (Length(ararP[i]) < 10) then Continue;
P := MiddleTPA(ararP[i]);
MMouse(P.x, P.y, 5, 5);
Wait(100 + Random(100));
if (IsUpText('ttack')) then
begin;
Result := True;
Break;
end;
end;

ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);

if (i = arL + 1) then
begin
Writeln('FindObject could not find object.');
Exit;
end;

GetMousePos(fx, fy);
end;
function FindWolf(var fx, fy: Integer): Boolean;
var
arP, arAP: TPointArray;
arC, arUC: TIntegerArray;
ararP: T2DPointArray;
tmpCTS, i, j, arL, arL2: Integer;
P: TPoint;
X, Y, Z: Extended;
begin
tmpCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.24, 0.07);

if not(FindColorsTolerance(arP, 6052190, MSX1, MSY1, MSX2, MSY2, 12)) then
begin
Writeln('Failed to find the color, no object found.');
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
Exit;
end;

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

for i := 0 to arL do
begin
ColorToXYZ(arC[i], X, Y, Z);

if (X >= 6.87) and (X <= 14.21) and (Y >= 7.02) and (Y <= 14.52) and (Z >= 7.81) and (Z <= 16.25) then
begin
for j := 0 to arL2 do
begin
if (arUC[i] = arC[j]) then
begin
SetLength(arAP, Length(arAP) + 1);
arAP[High(arAP)] := arP[j];
end;
end;
end;
end;

SortTPAFrom(arAP, Point(MSCX, MSCY));
ararP := SplitTPAEx(arAP, 10, 10);
arL := High(ararP);

for i := 0 to arL do
begin
if (Length(ararP[i]) < 10) then Continue;
P := MiddleTPA(ararP[i]);
MMouse(P.x, P.y, 5, 5);
Wait(100 + Random(100));
if (IsUpText('ttack')) then
begin;
Result := True;
Break;
end;
end;

ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);

if (i = arL + 1) then
begin
Writeln('FindObject could not find object.');
Exit;
end;

GetMousePos(fx, fy);
end;
function WalkBack:boolean;
var
x,y,DTM:Integer;
aFound:Extended;
begin
Result := True;
end;
procedure Attack;
var
x,y,t:Integer;
begin

if FindSheep(x,y) or FindSpider(x,y) or FindWolf(x,y) then
begin
Mouse(x,y,1,1,False);
WaitOption('ttack',750);
MarkTime(t);
repeat
wait(10);
if TimeFromMark(t) > 5000 then
exit;
until(InFight);
while InFight do
begin
wait(10);
end;
end else
begin
FindNearestNPC(x,y,True);
FFlag(1);
wait(750);
end;
if not InFight then
exit;
end;
begin
ClearDebug;
SetupLogin;
DeclarePlayers;
LoginPlayer;
MouseSpeed := RandomRange(22,25);
repeat
Attack;
until(Not LoggedIn);
end.



Wow, talk about fast.

Zota

2012-03-29 04:02:13

From: Flight
Try your hand and making an anti-random. Maybe look for one that isn't currently working.


This. By a long shot.

You want to help the community? Want to increase EVERYONES script runtimes and overall functionality? Script some anti-randoms. I've noticed a LOT of them don't work anymore. So important yet suprisingly forgotten about.

Luke

injustice

2012-03-30 16:33:24

Try Dungeoneering :D

sham

2012-04-23 18:21:38

S1N why not try an LRC gold miner AND rocktail fisher, so mines gold and deposits/heats and also fishes rocktails after a certain number of ores mined? the switch shouldnt be too difficult, and it would be interesting to see how you would handle the walking :)

Joe

2012-04-23 20:42:05

Try a draynor willow chopper with TPAs… they're hard.
Or like me, go for a Hill Giant killer.
But if it were humanly possible FOG would be quite insane

Oxygen

2012-04-23 20:53:43

I'd go with fist of guthix or hill giant killer

x0Rz

2012-04-24 23:57:15

I was looking for a Chocolate crusher a while back, and ended up not finding one that worked for me, so that would be appreciated?