SRL Archive - RS3 Outdated / Broken Scripts

RyGuy's Advanced Gnome Agility


RyGuy

2012-01-19 13:30:57

RyGuy's Advanced Gnome Agility!


STATUS: Not working & not going to be fixed. Someone can take over the script if they want. No need to credit me if you don't want to

About This Script.

This is my first script. I know it has it's bugs that need to be worked out, but i thought i'd get an initial release out to see what you guys thought. EDIT: Not many bugs left, if you find any please post them!

You can begin running the course at level 85 agility, however you have a chance at failing the signpost until level 89. There is no support for failing the signpost as i did not have an account with a low enough agility to test it. EDIT: However, the way i have it coded, the script may work with failing the signpost, just a bit slower. If you have 85-88 agility please test it and let me know :)

So, if you have 89+ agility try out my script, and let me know what you think. I'm very open to suggestions!

Start it at the log balance, and please babysit! Not really needed anymore


Make sure Game Chat is set to All!

Versions

0.10 - Initial Release

0.15 - Some small changes made

0.20 - Finds Branch#2 much better than before
- Worked on some standards
- More Stable than previous versions

0.30 - SPS added to walk back to beginning
- Failsafes added

0.35 - Changed a DTM that would fail occasionally

0.50 - Rewrote most parts of the script to try making it more reliable. I think i was successful for the most part :P

0.60 - Fixed the barrier

0.70 - Fixed the first branch

0.80 - Added time running, xp, and xp/h

Known Bugs:
- Occasionally fails to climb first branch

Time: 1 Hours, 39 Minutes and 55 Seconds
We have gained 165353 Agility Experience!
We are gaining 99294 Agility Experience per Hour!
This report is with the penance horn. Actual xp/h without modifiers is about 50kp/h

program AdvancedGnomeAgility;
//////////////////////////WRITTEN BY RYGUY//////////////////////////////

////////////////////////////VERSION 0.80////////////////////////////////
{$DEFINE SMART}
{$DEFINE SRL5}
{$loadlib sps}
{$i SRL/srl.simba}
{$i sps/sps.simba}

var
Log, Branch1, Branch2, Post, Hurdle, TimeBegan, StartingXP: integer;
aFound: extended;

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

Players[0].Name := '';
Players[0].Pass := '';
Players[0].Nick := '';
Players[0].Active:=True;
end;
////////////////////DO NOT TOUCH BELOW THIS LINE/////////////////////////



procedure SetDTMs;
begin
Log := DTMFromString('mlwAAAHicY2dgYFBjZGDgB2JpINYEYkUgVgViHSDeDJQ/BsSbgHgVEM8A4lNAvA2IixwFGHLiFRkKHPgZ0qz4GLwtxRnCnaQYcuz4GdiA8rgwIx4MBQAxWws7');
Branch1 := DTMFromString('mbQAAAHicY2VgYNBjZGBQAmILIPYC4kQgngMUnwnEM5BwfqgSQ02KOUNxjDFDfqQhmOYHinOhYUYsGAwAfOwJcQ==');
Branch2 := DTMFromString('mKgEAAHic42NgYOACYm4g9gRiOyA2YYAAViDmAWIZIBYBYkGoOnaoHBsQS0BpmBl8UD0wdSA5RgYEAOlL91dg8LaWYkjykWdI8JID4yhXGYYYd1mGOA85huwgJYbMAEWGwnBlhvxQCAbp4QDqJQczkolRAQDIyg2R');
Hurdle := DTMFromString('mQwAAAHicY2ZgYJBlZGBQBmJtIK4A8quAuBKI/95dwfDr9jKG7zeWMHAB+TDMiISBAABdxglu');
Post := DTMFromString('mQwAAAHicY2aAAA4g5oRiaajYxj4/hu6uVoaSknwGNiAfhhmRMBAAAKdUBMw=');
end;



procedure FreeDTMs;
begin
FreeDTM(Log);
FreeDTM(Branch1);
FreeDTM(Branch2);
FreeDTM(Hurdle);
FreeDTM(Post);
end;



procedure Report;
var
Exp, ExpHr, TimeRan: integer;
begin
TimeRan := (1+((GetSystemTime - TimeBegan) / 1000));
Exp := (GetXPBarTotal - StartingXP);
ExpHr := Round((Exp * 3600) / (TimeRan));
WriteLn('Time: ' + TimeRunning);
WriteLn('We have gained ' + IntToStr(Exp) + ' Agility Experience!');
WriteLn('We are gaining ' + IntToStr(ExpHr) + ' Agility Experience per Hour!');
end;




procedure AntiBan;
begin
if not(LoggedIn)then
Exit;
FindNormalRandoms;
LevelUpEx(True, True);
case Random(300)of
0: HoverSkill('Agility', false);
1: PickUpMouse;
2: RandomMovement;
3: RandomRClick;
end;
end;



procedure LogBalance;
var
x, y: integer;
begin
repeat
if FindDTMRotated(Log, x, y, MSX1, MSY1, MSX2, MSY2, -Pi, Pi, Pi/30, aFound)then
WriteLn('Found Log');
Mouse(x, y, 5, 5, True);
Wait(500+random(50));
until(IsMoving);
while(IsMoving) do
WaitNone;
AntiBan;
end;



procedure ObstacleNet;
var
x, y: integer;
begin
x := MSCX;
y := MSCY;
if FindObjTPA(x, y, 466484, 5, 1, 50, 150, 200, ['over'])then
begin
ClickMouse2(True);
WriteLn('Found Net');
AntiBan;
Wait(4000+random(100));
end;
end;



procedure TreeBranch1;
var
x, y: integer;
begin
x := MSCX;
y := MSCY;
FindDTMRotated(Branch1, x, y, MSX1, MSY1, MSX2, MSY2, -Pi, Pi, Pi/30, aFound)
Mouse(x, y, 4, 4, True);
if DidRedClick then
begin
WriteLn('Found Branch 1');
AntiBan;
SetAngle(SRL_ANGLE_LOW);
end;
end;



procedure TreeBranch2;
var
x, y: integer;
begin
if FindDTM(Branch2, x, y, MSX1, MSY1, MSX2, MSY2)then
Mouse(x, y, 4, 4, True);
WriteLn('Found Branch 2');
AntiBan;
Wait(3000+random(50));
end;



procedure Signpost;
var
x, y: integer;
begin
if FindDTMRotated(Post, x, y, MSX1, MSY1, MSX2, MSY2, -Pi, Pi, Pi/30, aFound)then
Mouse(x, y, 4, 4, True);
WriteLn('Found Signpost');
AntiBan;
Wait(3000+random(50));
end;



procedure Pole;
var
x, y: integer;
begin
ClickNorth(SRL_ANGLE_NONE);
Wait(100+random(50));
if FindObjTPAMulti(x, y, [4541520, 2566185], 4, 1, 220, 7, 200, ['Swing'])then
ClickMouse2(True);
WriteLn('Found Pole');
AntiBan;
Wait(12000+random(100));
end;



procedure Barrier;
var
x, y: integer;
begin
if FindDTM(Hurdle, x, y, MSX1, MSY1, MSX2, MSY2)then
begin
MMouse(x, y, 3, 4);
ClickMouse2(True);
if DidRedClick then
begin
WriteLn('Found Barrier');
AntiBan;
Wait(6500+random(100));
Report;
end;
end;
end;



procedure BackToLog;
begin
repeat
case Random(3) of
0: SPS_WindWalk(Point(1736, 2910));
1: SPS_WindWalk(Point(1736, 2912));
2: SPS_WindWalk(Point(1734, 2910));
end;
WriteLn('Attempting To Run Back To Log')
until (IsMoving);
begin
MakeCompass('E');
SetAngle(SRL_ANGLE_HIGH);
end;
end;



procedure WhereAreWe;
var
x, y: integer;
begin

if FindDTMRotated(Log, x, y, MSX1, MSY1, MSX2, MSY2, -Pi, Pi, Pi/30, aFound)then
begin
WriteLn('Trying Balence');
LogBalance;
end;

if FindBlackChatMessage('other')then
begin
WriteLn('Trying Net');
ObstacleNet;
end;

if FindBlackChatMessage('netting')then
begin
WriteLn('Trying First Branch');
TreeBranch1;
end;

if FindBlackChatMessage('above')then
begin
WriteLn('Trying Second Branch');
TreeBranch2;
end;

if FindDTMRotated(Post, x, y, MSX1, MSY1, MSX2, MSY2, -Pi, Pi, Pi/30, aFound)then
begin
WriteLn('Trying Signpost');
Signpost;
end;

if FindColoredAreaTolerance(x, y, 6270424, MSX1, MSY1, MSX2, MSY2, 600, 5)then
begin
WriteLn('Trying Pole');
Pole;
end;

if FindDTM(Hurdle, x, y, MSX1, MSY1, MSX2, MSY2)then
begin
WriteLn('Trying Barrier');
Barrier;
end;

if FindColoredAreaTolerance(x, y, 10129284, MMX1, MMY1, MMX2, MMY2, 100, 10)then
begin
WriteLn('Trying Walk Back To Log')
BackToLog;
end;
end;



begin
Smart_Server := 86;
Smart_Members := True;
Smart_Signed := True;
Smart_SuperDetail := False;
SetUpSRL;
SPS_Setup(RUNESCAPE_SURFACE, ['4_7']);
ActivateClient;
DeclarePlayers;
LoginPlayer;
TimeBegan := GetSystemTime;
ToggleXPBar(True);
StartingXP := (GetXPBarTotal);
WriteLn('We are starting with ' + IntToStr(StartingXP) + ' xp');
ClickNorth(SRL_ANGLE_HIGH);
MakeCompass('E');
repeat
SetDTMs;
WhereAreWe;
FreeDTMs;
until(false);
end.

tdawg777

2012-01-19 15:58:18

Awesome! I'll try it out and get you some proggies.

Herp

2012-01-19 18:15:42

great, nice to see this moved out of "first scripts" and into agility. Also glad you fixed the walking bugs/ obstacle detection. Can't wait to use this when I get Skoll boots

illuminatiswag

2012-01-19 19:20:43

Gonna use Skool boots hope it gets me few levels 70atm but looking foward to getting 99 with this script 50k xp an hour is good especially when im not the one doing it :D

Darkcorn

2012-01-19 19:54:11

Sweet Script, hoping to get 99 agility with this dude!

RyGuy

2012-01-19 20:47:24

Thanks guys :) post proggies and any bugs that you find!

Recondyt

2012-01-19 21:38:40

[Error] (202:10): Unknown identifier 'SPS_WindWalk' at line 201
Compiling failed.

i got this error with the previous versions aswell, is it just me?

EDIT: ok so i tried removing this little part of the script starts up fine, then it crosses the log brilliantly, then either stops dead or keeps crossing the log over and over

RyGuy

2012-01-19 21:40:57

Use the search function WindWalking

parker yo

2012-01-19 21:59:31

Mine gets stuck in a loop going on the log. It walks across the log, stops and runs back to the log doing it over and over.

RyGuy

2012-01-19 22:28:39

From: parker yo
Mine gets stuck in a loop going on the log. It walks across the log, stops and runs back to the log doing it over and over.


make sure you have your chat set to all instead of filter

parker yo

2012-01-19 22:56:12

From: RyGuy
make sure you have your chat set to all instead of filter


Thank you, This was exactly the problem. Time to get a real proggy

L00000000000L

2012-01-20 04:02:57

i keep getting this error when trying to run it : [Error] (202:10): Unknown identifier 'SPS_WindWalk' at line 201
Compiling failed.

Ok working now with windwalking :)

Recondyt

2012-01-20 06:47:56

From: RyGuy
Use the search function WindWalking


thanks ryguy works PERFECTLY, amazing script!

owner5

2012-01-20 10:50:11

[Error] (202:10): Unknown identifier 'SPS_WindWalk' at line 201
Compiling failed.

EDIT : Script is still bugy on the log, keeps clicking on the minimap instead of on the log self.

translateservererror

2012-01-20 11:37:47

wat to do with windwalking?
i have the error too

lilcmp1

2012-01-20 11:42:42

From: owner5
[Error] (202:10): Unknown identifier 'SPS_WindWalk' at line 201
Compiling failed.

EDIT : Script is still bugy on the log, keeps clicking on the minimap instead of on the log self.

From: translateservererror
wat to do with windwalking?
i have the error too


You have to go here http://villavu.com/forum/showthread.php?t=70505&highlight=windwalk

Your going to need to edit your sps.simba file

parker yo

2012-01-20 11:49:17

Guys if you read through the posts, the problem has already been answered.

Destined2bGreat

2012-01-20 12:13:53

Grats on getting it to normal scripts. will post a proggy.

Edit: I get a good 47k xp an hour or so, but the bot will still get stuck on the first branch every now and then. It walks slightly above it to the east and then clicks around on the ground. This is usually caused when the bot climbs the eastmost net and ends up above the branch instead of in front of it.

RyGuy

2012-01-20 14:31:18

From: Destined2bGreat
Grats on getting it to normal scripts. will post a proggy.

Edit: I get a good 47k xp an hour or so, but the bot will still get stuck on the first branch every now and then. It walks slightly above it to the east and then clicks around on the ground. This is usually caused when the bot climbs the eastmost net and ends up above the branch instead of in front of it.


Thanks for trying it out! I'm heading to track practice but i'll take a look at it when i get back.

owner5

2012-01-20 15:41:10

Can someone give me the correct sps.simba file? =S

owner5

2012-01-20 15:59:54

I got the file , keeps spamming the log on the minimap… didn't change anything.

RyGuy

2012-01-20 16:56:05

It shouldn't spam the log on the minimap. The only time i have it set to click on the log is when it sees the water on the minimap. So after it runs over to the log, It should no longer click on the minimap because the water is out of view.

Destined2bGreat

2012-01-20 20:31:47

I just wish i didn't have to babysit it =\. Messes up every 15-45 minutes.

Haro Der

2012-01-20 22:14:57

I need someones help with setting this script up. Please add my MSN: [email]Haro.der@hotmail.com[/email] I would greatly appreciate it :)

Flight

2012-01-21 01:46:47

I'm gonna use this while my Skoll Boots are still available. I'll let ya know how it runs for me!

Edit:
Here's my slightly modified version. Pre-mouse movement for speed increases as well as my own moving check. Also this script does not require any SPS. Maybe this sparks some ideas for you, RyGuy?


program AdvancedGnomeAgility;
//////////////////////////WRITTEN BY RYGUY//////////////////////////////

////////////////////////////VERSION 0.80////////////////////////////////
{$DEFINE SMART}
{$DEFINE SRL5}
{$i SRL/srl.simba}

var
Log, Branch1, Branch2, Post, Hurdle, TimeBegan, StartingXP: integer;
aFound: extended;

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

Players[0].Name := '';
Players[0].Pass := '';
Players[0].Nick := '';
Players[0].Active:=True;
end;
////////////////////DO NOT TOUCH BELOW THIS LINE/////////////////////////



procedure SetDTMs;
begin
Log := DTMFromString('mlwAAAHicY2dgYFBjZGDgB2JpINYEYkUgVgViHSDeDJQ/BsSbgHgVEM8A4lNAvA2IixwFGHLiFRkKHPgZ0qz4GLwtxRnCnaQYcuz4GdiA8rgwIx4MBQAxWws7');
Branch1 := DTMFromString('mbQAAAHicY2VgYNBjZGBQAmILIPYC4kQgngMUnwnEM5BwfqgSQ02KOUNxjDFDfqQhmOYHinOhYUYsGAwAfOwJcQ==');
Branch2 := DTMFromString('mKgEAAHic42NgYOACYm4g9gRiOyA2YYAAViDmAWIZIBYBYkGoOnaoHBsQS0BpmBl8UD0wdSA5RgYEAOlL91dg8LaWYkjykWdI8JID4yhXGYYYd1mGOA85huwgJYbMAEWGwnBlhvxQCAbp4QDqJQczkolRAQDIyg2R');
Hurdle := DTMFromString('mQwAAAHicY2ZgYJBlZGBQBmJtIK4A8quAuBKI/95dwfDr9jKG7zeWMHAB+TDMiISBAABdxglu');
Post := DTMFromString('mQwAAAHicY2aAAA4g5oRiaajYxj4/hu6uVoaSknwGNiAfhhmRMBAAAKdUBMw=');
end;



procedure FreeDTMs;
begin
FreeDTM(Log);
FreeDTM(Branch1);
FreeDTM(Branch2);
FreeDTM(Hurdle);
FreeDTM(Post);
end;



procedure Report;
var
Exp, ExpHr, TimeRan: integer;
begin
TimeRan := (1+((GetSystemTime - TimeBegan) / 1000));
Exp := (GetXPBarTotal - StartingXP);
ExpHr := Round((Exp * 3600) / (TimeRan));
WriteLn('Time: ' + TimeRunning);
WriteLn('We have gained ' + IntToStr(Exp) + ' Agility Experience!');
WriteLn('We are gaining ' + IntToStr(ExpHr) + ' Agility Experience per Hour!');
end;




procedure AntiBan;
begin
if not(LoggedIn)then
Exit;
FindNormalRandoms;
LevelUpEx(True, True);
case Random(300)of
0: HoverSkill('Agility', false);
1: PickUpMouse;
2: RandomMovement;
3: RandomRClick;
end;
end;

Function IsMoving_F: Boolean;
begin
Result := PixelShift(IntToBox(MMCX-30, MMCY-30, MMCX+30, MMCY+30), 200) > 200;
end;

procedure LogBalance;
var
x, y: integer;
begin
repeat
if FindDTMRotated(Log, x, y, MSX1, MSY1, MSX2, MSY2, -Pi, Pi, Pi/30, aFound)then
begin
WriteLn('Found Log');
Mouse(x, y, 5, 5, True);
MMouse(410, 165, 15, 15);
Wait(500+random(50));
end;
until(IsMoving_F);
while(IsMoving_F) do
WaitNone;
AntiBan;
end;



procedure ObstacleNet;
var
x, y: integer;
begin
x := MSCX;
y := MSCY;
if FindObjTPA(x, y, 466484, 5, 1, 50, 150, 200, ['over'])then
begin
ClickMouse2(True);
MMouse(300, 155, 15, 15);
WriteLn('Found Net');
AntiBan;
Wait(3800+random(100));
end;
end;



procedure TreeBranch1;
var
x, y: integer;
begin
x := MSCX;
y := MSCY;
FindDTMRotated(Branch1, x, y, MSX1, MSY1, MSX2, MSY2, -Pi, Pi, Pi/30, aFound)
Mouse(x, y, 4, 4, True);
if DidRedClick then
begin
WriteLn('Found Branch 1');
AntiBan;
SetAngle(SRL_ANGLE_LOW);
end;
end;



procedure TreeBranch2;
var
x, y: integer;
begin
if FindDTM(Branch2, x, y, MSX1, MSY1, MSX2, MSY2)then
Mouse(x, y, 4, 4, True);
MMouse(345, 50, 15, 15);
WriteLn('Found Branch 2');
AntiBan;
Wait(3000+random(50));
end;



procedure Signpost;
var
x, y: integer;
begin
if FindDTMRotated(Post, x, y, MSX1, MSY1, MSX2, MSY2, -Pi, Pi, Pi/30, aFound)then
Mouse(x, y, 4, 4, True);
MMouse(540, 24, 6, 6);
WriteLn('Found Signpost');
AntiBan;
Wait(3100+random(300));
end;



procedure Pole;
var
x, y: integer;
begin
ClickMouse2(True);
Wait(100+random(50));
if FindObjTPAMulti(x, y, [4541520, 2566185], 4, 1, 220, 7, 200, ['Swing'])then
ClickMouse2(True);
MMouse(270, 120, 15, 15);
WriteLn('Found Pole');
AntiBan;
Wait(12000+random(100));
end;



procedure Barrier;
var
x, y, T: integer;
begin
if FindDTM(Hurdle, x, y, MSX1, MSY1, MSX2, MSY2)then
begin
MMouse(x, y, 3, 4);
ClickMouse2(True);
if DidRedClick then
begin
WriteLn('Found Barrier');
FFlag(0);
While IsMoving_F do
Wait(1);
AntiBan;
MMouse(583, 83, 4, 4);
Wait(RandomRange(2135, 2890));

MarkTime(T);
repeat
FindNormalRandoms;

if (TimeFromMark(T) > 6000) then
Exit;

if FindColoredAreaTolerance(x, y, 10129284, MMX1, MMY1, MMX2, MMY2, 100, 10) then
break;
until(false)

end;
end;
end;

procedure BackToLog;
begin
repeat
FindNormalRandoms;
ClickMouse2(True);
Wait(RandomRange(750, 1125));
until (IsMoving_F);

Report;

MakeCompass('E');
SetAngle(SRL_ANGLE_HIGH);
While IsMoving_F do
Wait(1);
end;

procedure WhereAreWe;
var
x, y: integer;
begin

if FindDTMRotated(Log, x, y, MSX1, MSY1, MSX2, MSY2, -Pi, Pi, Pi/30, aFound)then
begin
WriteLn('Trying Balence');
LogBalance;
end;

if FindBlackChatMessage('other')then
begin
WriteLn('Trying Net');
ObstacleNet;
end;

if FindBlackChatMessage('netting')then
begin
WriteLn('Trying First Branch');
TreeBranch1;
end;

if FindBlackChatMessage('above')then
begin
WriteLn('Trying Second Branch');
TreeBranch2;
end;

if FindDTMRotated(Post, x, y, MSX1, MSY1, MSX2, MSY2, -Pi, Pi, Pi/30, aFound)then
begin
WriteLn('Trying Signpost');
Signpost;
end;

if FindColoredAreaTolerance(x, y, 6270424, MSX1, MSY1, MSX2, MSY2, 600, 5)then
begin
WriteLn('Trying Pole');
Pole;
end;

if FindDTM(Hurdle, x, y, MSX1, MSY1, MSX2, MSY2)then
begin
WriteLn('Trying Barrier');
Barrier;
end;

if FindColoredAreaTolerance(x, y, 10129284, MMX1, MMY1, MMX2, MMY2, 100, 10)then
begin
WriteLn('Trying Walk Back To Log')
BackToLog;
end;

end;



begin
Smart_Server := 86;
Smart_Members := True;
Smart_Signed := True;
Smart_SuperDetail := False;
SetUpSRL;

ActivateClient;
DeclarePlayers;
LoginPlayer;

TimeBegan := GetSystemTime;
ToggleXPBar(True);
StartingXP := (GetXPBarTotal);
WriteLn('We are starting with ' + IntToStr(StartingXP) + ' xp');

ClickNorth(SRL_ANGLE_HIGH);
MakeCompass('E');

repeat
SetDTMs;
WhereAreWe;
FreeDTMs;
until(false);
end.

105-110k xp/hour using Skoll boots.

L00000000000L

2012-01-21 05:09:33

Can anyone give me the script with windwalking method in it, cause it keeps on telling me unknown identifier even with wind walking :/

Datank

2012-01-21 05:22:17

What do you do to get windwalking? I am a noob at this and have no idea what to do.

RyGuy

2012-01-21 07:45:31

From: Flight
I'm gonna use this while my Skoll Boots are still available. I'll let ya know how it runs for me!

Edit:
Here's my slightly modified version. Pre-mouse movement for speed increases as well as my own moving check. Also this script does not require any SPS. Maybe this sparks some ideas for you, RyGuy?


program AdvancedGnomeAgility;
//////////////////////////WRITTEN BY RYGUY//////////////////////////////

////////////////////////////VERSION 0.80////////////////////////////////
{$DEFINE SMART}
{$DEFINE SRL5}
{$i SRL/srl.simba}

var
Log, Branch1, Branch2, Post, Hurdle, TimeBegan, StartingXP: integer;
aFound: extended;

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

Players[0].Name := '';
Players[0].Pass := '';
Players[0].Nick := '';
Players[0].Active:=True;
end;
////////////////////DO NOT TOUCH BELOW THIS LINE/////////////////////////



procedure SetDTMs;
begin
Log := DTMFromString('mlwAAAHicY2dgYFBjZGDgB2JpINYEYkUgVgViHSDeDJQ/BsSbgHgVEM8A4lNAvA2IixwFGHLiFRkKHPgZ0qz4GLwtxRnCnaQYcuz4GdiA8rgwIx4MBQAxWws7');
Branch1 := DTMFromString('mbQAAAHicY2VgYNBjZGBQAmILIPYC4kQgngMUnwnEM5BwfqgSQ02KOUNxjDFDfqQhmOYHinOhYUYsGAwAfOwJcQ==');
Branch2 := DTMFromString('mKgEAAHic42NgYOACYm4g9gRiOyA2YYAAViDmAWIZIBYBYkGoOnaoHBsQS0BpmBl8UD0wdSA5RgYEAOlL91dg8LaWYkjykWdI8JID4yhXGYYYd1mGOA85huwgJYbMAEWGwnBlhvxQCAbp4QDqJQczkolRAQDIyg2R');
Hurdle := DTMFromString('mQwAAAHicY2ZgYJBlZGBQBmJtIK4A8quAuBKI/95dwfDr9jKG7zeWMHAB+TDMiISBAABdxglu');
Post := DTMFromString('mQwAAAHicY2aAAA4g5oRiaajYxj4/hu6uVoaSknwGNiAfhhmRMBAAAKdUBMw=');
end;



procedure FreeDTMs;
begin
FreeDTM(Log);
FreeDTM(Branch1);
FreeDTM(Branch2);
FreeDTM(Hurdle);
FreeDTM(Post);
end;



procedure Report;
var
Exp, ExpHr, TimeRan: integer;
begin
TimeRan := (1+((GetSystemTime - TimeBegan) / 1000));
Exp := (GetXPBarTotal - StartingXP);
ExpHr := Round((Exp * 3600) / (TimeRan));
WriteLn('Time: ' + TimeRunning);
WriteLn('We have gained ' + IntToStr(Exp) + ' Agility Experience!');
WriteLn('We are gaining ' + IntToStr(ExpHr) + ' Agility Experience per Hour!');
end;




procedure AntiBan;
begin
if not(LoggedIn)then
Exit;
FindNormalRandoms;
LevelUpEx(True, True);
case Random(300)of
0: HoverSkill('Agility', false);
1: PickUpMouse;
2: RandomMovement;
3: RandomRClick;
end;
end;

Function IsMoving_F: Boolean;
begin
Result := PixelShift(IntToBox(MMCX-30, MMCY-30, MMCX+30, MMCY+30), 200) > 200;
end;

procedure LogBalance;
var
x, y: integer;
begin
repeat
if FindDTMRotated(Log, x, y, MSX1, MSY1, MSX2, MSY2, -Pi, Pi, Pi/30, aFound)then
begin
WriteLn('Found Log');
Mouse(x, y, 5, 5, True);
MMouse(410, 165, 15, 15);
Wait(500+random(50));
end;
until(IsMoving_F);
while(IsMoving_F) do
WaitNone;
AntiBan;
end;



procedure ObstacleNet;
var
x, y: integer;
begin
x := MSCX;
y := MSCY;
if FindObjTPA(x, y, 466484, 5, 1, 50, 150, 200, ['over'])then
begin
ClickMouse2(True);
MMouse(300, 155, 15, 15);
WriteLn('Found Net');
AntiBan;
Wait(3800+random(100));
end;
end;



procedure TreeBranch1;
var
x, y: integer;
begin
x := MSCX;
y := MSCY;
FindDTMRotated(Branch1, x, y, MSX1, MSY1, MSX2, MSY2, -Pi, Pi, Pi/30, aFound)
Mouse(x, y, 4, 4, True);
if DidRedClick then
begin
WriteLn('Found Branch 1');
AntiBan;
SetAngle(SRL_ANGLE_LOW);
end;
end;



procedure TreeBranch2;
var
x, y: integer;
begin
if FindDTM(Branch2, x, y, MSX1, MSY1, MSX2, MSY2)then
Mouse(x, y, 4, 4, True);
MMouse(345, 50, 15, 15);
WriteLn('Found Branch 2');
AntiBan;
Wait(3000+random(50));
end;



procedure Signpost;
var
x, y: integer;
begin
if FindDTMRotated(Post, x, y, MSX1, MSY1, MSX2, MSY2, -Pi, Pi, Pi/30, aFound)then
Mouse(x, y, 4, 4, True);
MMouse(540, 24, 6, 6);
WriteLn('Found Signpost');
AntiBan;
Wait(3100+random(300));
end;



procedure Pole;
var
x, y: integer;
begin
ClickMouse2(True);
Wait(100+random(50));
if FindObjTPAMulti(x, y, [4541520, 2566185], 4, 1, 220, 7, 200, ['Swing'])then
ClickMouse2(True);
MMouse(270, 120, 15, 15);
WriteLn('Found Pole');
AntiBan;
Wait(12000+random(100));
end;



procedure Barrier;
var
x, y, T: integer;
begin
if FindDTM(Hurdle, x, y, MSX1, MSY1, MSX2, MSY2)then
begin
MMouse(x, y, 3, 4);
ClickMouse2(True);
if DidRedClick then
begin
WriteLn('Found Barrier');
FFlag(0);
While IsMoving_F do
Wait(1);
AntiBan;
MMouse(583, 83, 4, 4);
Wait(RandomRange(2135, 2890));

MarkTime(T);
repeat
FindNormalRandoms;

if (TimeFromMark(T) > 6000) then
Exit;

if FindColoredAreaTolerance(x, y, 10129284, MMX1, MMY1, MMX2, MMY2, 100, 10) then
break;
until(false)

end;
end;
end;

procedure BackToLog;
begin
repeat
FindNormalRandoms;
ClickMouse2(True);
Wait(RandomRange(750, 1125));
until (IsMoving_F);

Report;

MakeCompass('E');
SetAngle(SRL_ANGLE_HIGH);
While IsMoving_F do
Wait(1);
end;

procedure WhereAreWe;
var
x, y: integer;
begin

if FindDTMRotated(Log, x, y, MSX1, MSY1, MSX2, MSY2, -Pi, Pi, Pi/30, aFound)then
begin
WriteLn('Trying Balence');
LogBalance;
end;

if FindBlackChatMessage('other')then
begin
WriteLn('Trying Net');
ObstacleNet;
end;

if FindBlackChatMessage('netting')then
begin
WriteLn('Trying First Branch');
TreeBranch1;
end;

if FindBlackChatMessage('above')then
begin
WriteLn('Trying Second Branch');
TreeBranch2;
end;

if FindDTMRotated(Post, x, y, MSX1, MSY1, MSX2, MSY2, -Pi, Pi, Pi/30, aFound)then
begin
WriteLn('Trying Signpost');
Signpost;
end;

if FindColoredAreaTolerance(x, y, 6270424, MSX1, MSY1, MSX2, MSY2, 600, 5)then
begin
WriteLn('Trying Pole');
Pole;
end;

if FindDTM(Hurdle, x, y, MSX1, MSY1, MSX2, MSY2)then
begin
WriteLn('Trying Barrier');
Barrier;
end;

if FindColoredAreaTolerance(x, y, 10129284, MMX1, MMY1, MMX2, MMY2, 100, 10)then
begin
WriteLn('Trying Walk Back To Log')
BackToLog;
end;

end;



begin
Smart_Server := 86;
Smart_Members := True;
Smart_Signed := True;
Smart_SuperDetail := False;
SetUpSRL;

ActivateClient;
DeclarePlayers;
LoginPlayer;

TimeBegan := GetSystemTime;
ToggleXPBar(True);
StartingXP := (GetXPBarTotal);
WriteLn('We are starting with ' + IntToStr(StartingXP) + ' xp');

ClickNorth(SRL_ANGLE_HIGH);
MakeCompass('E');

repeat
SetDTMs;
WhereAreWe;
FreeDTMs;
until(false);
end.

105-110k xp/hour using Skoll boots.


Thank you very much for this Flight! I'm heading to an all day track meet, so unfortunately I cannot look at it today, but I love getting advice from some veteran scripters. Do I have your permisson to use some of your modified code in my script?

Flight

2012-01-21 08:31:57

From: RyGuy
Thank you very much for this Flight! I'm heading to an all day track meet, so unfortunately I cannot look at it today, but I love getting advice from some veteran scripters. Do I have your permisson to use some of your modified code in my script?


Absolutely. The end of the course, somewhere between finishing the barrier obstacle and walking to the log, there's something I did wrong apparently. I'll have to watch it closely to see what it is so I can fix it up.

Quintessence

2012-01-21 09:57:04

Would it be difficult to implement a procedure to eat Summer Pies to either boost up to 89 Agility and therefore achieve the no-failure rate or to boost up to 85 to actually enter the course?

RyGuy

2012-01-21 10:38:02

From: Quintessence
Would it be difficult to implement a procedure to eat Summer Pies to either boost up to 89 Agility and therefore achieve the no-failure rate or to boost up to 85 to actually enter the course?


It wouldn't be tough to add.. I'm sure if you look through some tutorials you could add it yourself! I have school starting this week, so I'm not going to have as much free time to script

Holako

2012-01-21 10:42:36

Will try it now hope u add eating aswell

Adobe

2012-01-21 14:19:38

It keeps going on the log, clicks on log, then runs back around and goes on it again =/

parker yo

2012-01-21 14:28:45

From: Adobe
It keeps going on the log, clicks on log, then runs back around and goes on it again =/


RyGuy has told me a fix for this on the first page but what you need to do is have the game tab on all and turn the other tabs to off because it uses the game chat to see when you have completed a part of the obstacle.

Adobe

2012-01-21 14:33:57

From: parker yo
RyGuy has told me a fix for this on the first page but what you need to do is have the game tab on all and turn the other tabs to off because it uses the game chat to see when you have completed a part of the obstacle.



:o tysm, been at 86 agility for like 3 months :D got boots for 88 agil, hopefully get 90 in the next few days.

Destined2bGreat

2012-01-21 14:43:19

Going to test out flights version and report back.

Adobe

2012-01-21 14:45:21

Time: 11 Minutes and 38 Seconds
We have gained 0 Agility Experience!
We are gaining 0 Agility Experience per Hour!

Every script, i get no exp/hour? help.


EDIT:
Your fix didn't work for this script, but it worked for his other one =/

Destined2bGreat

2012-01-21 14:51:44

STILL misclicks the first branch. If branches were fixed this would be flawless.

parker yo

2012-01-21 15:21:27

You guys may need to jump start it, Start it on the going down the tube and see if it will work. On start up mine needs some help sometimes. ITs working great for me at them moment. I have gone from 88-90 agility in 2 days.

Mansours0n

2012-01-22 08:48:25

I am at 10 Agility. Is there anyone here who could take some time to make this support levels under 85 agility? I am new to these scripts so I cant.. it would be really nice if someone did this.

niqje

2012-01-22 13:19:14

The script doesn't work. The SPS windwalk method thing in your script is giving an error, I copied the script from the other guy who deleted it which results than only going over the log and repeating that progress each time.

Hope you can fix this soon and goodluck!

tdawg777

2012-01-22 18:07:37

If the camera is facing the wrong way when attempting the log balance it will cross but then it won't be able to see the net climb properly so it starts looping the log balance over and over again.

Also bugs up when that agility scout calls you over then gives up. It might be the message you get in the chat box that messes it up? This also happens when you level up, after lvling it was stuck at the second branch climb again.

If it goes up the eastern most net it will mess up and clicks under the players feet instead of the first branch.

I was trying the edited version from above and it started running north towards the Balloon :L
:^: Seems to have been a random error, working fine now.

The wait between the signpost and the pole swing is awfully large unless it is to accommodate failing it, but I have no idea how to change it….

This is the longest it ran with constant babysitting until I had to go out.
Time: 5 Hours, 24 Minutes and 5 Seconds
We have gained 196760 Agility Experience!
We are gaining 36672 Agility Experience per Hour!
Not bad considering.

herpzderpzz

2012-01-24 02:53:09

It gets stuck at the Treebranch1 when taking the left net.

Ironduke

2012-01-24 23:55:31

First script ive ever tried.. I ran it infront of the log and it just kept going back to the log after it crossed it once and it kept crossing it again, so i had to click the net, then it wouldn't climb the branch so I had to do that, and it wouldn't climb the next one either so i had to do it for it, am I doing something wrong? I just copy-pasted Flight's modified script and hit run.

RyGuy

2012-01-25 01:03:32

From: Ironduke
First script ive ever tried.. I ran it infront of the log and it just kept going back to the log after it crossed it once and it kept crossing it again, so i had to click the net, then it wouldn't climb the branch so I had to do that, and it wouldn't climb the next one either so i had to do it for it, am I doing something wrong? I just copy-pasted Flight's modified script and hit run.


You must have your game chat set to "All" instead of filter. It checks for the black chat messages and they do not display with chat set to filter.

abbe95

2012-01-25 10:47:48

Script not working, sadly I get the error SPS windwalk. Hope you can fix this soon.

RyGuy

2012-01-25 10:51:08

From: abbe95
Script not working, sadly I get the error SPS windwalk. Hope you can fix this soon.


It's not a problem with the script. Your question has already been answered in the thread.

Ironduke

2012-01-25 22:26:05

Ive had no errors like the others but it does keep getting stuck on the branch.

Destined2bGreat

2012-01-25 22:30:27

Currently running for 30 minutes to two hours at a time. After that it gets messed up either at one of the branches or the signpost.

supersain

2012-01-25 22:41:24

Working good

Quintessence

2012-01-25 23:41:56

It seems to get stuck at the branch quite a lot and sometimes repeatedly crosses the log (despite having chat on all).

RyGuy

2012-01-25 23:46:55

From: Quintessence
It seems to get stuck at the branch quite a lot and sometimes repeatedly crosses the log (despite having chat on all).


For the repeatedly crossing the log try reducing the mincount to like 150 maybe… it may help.

So in line 106 change the 200 to 150 and let me know that goes better for ya.

Also for the branch, i'll try getting a better way to find that.. it's tough to do because everything on that course is very close in color.

dicin

2012-01-26 00:01:43

ok so this bot does 1 lap.. and stops at the log.. and keeps clicking on the mini map to get to the log.. (its already at the log but keeps clicking on mini map)


We are gaining 7276 Agility Experience per Hour!
Trying Walk Back To Log
Attempting To Run Back To Log
Attempting To Run Back To Log
Attempting To Run Back To Log
Attempting To Run Back To Log
Attempting To Run Back To Log

RyGuy

2012-01-26 00:30:30

Are you using my version or Flight's?

Iced_Liquid

2012-01-26 03:15:31

Every time it gets stuck on branch it looks like this -

Happens kinda often dono if pic helps. Also I am only 88 agility.


dicin

2012-01-26 09:21:37

From: RyGuy
Are you using my version or Flight's?


Ok your version gets stuck at the log.. like i metioned.. flights gets stuck at the branch… branch 2 to be exact

Quintessence

2012-01-26 10:17:17

From: RyGuy
For the repeatedly crossing the log try reducing the mincount to like 150 maybe… it may help.

So in line 106 change the 200 to 150 and let me know that goes better for ya.

Also for the branch, i'll try getting a better way to find that.. it's tough to do because everything on that course is very close in color.


Can't seem to find that line. :s

Anyway, I found another problem where if the script misclicks the poles (and the character moves up into sight of the barrier ahead), it will begin to click the 'jump over barrier' repeatedly.

RyGuy

2012-01-26 12:34:23

I'm going to be doing some work on this script over the next couple days.. if you can just use my ape atoll one for now

Destined2bGreat

2012-01-26 18:01:04

Is ape atoll flawless? (Can run for 5-8 hours without messing up). If so I will definitely use that. I'm currently 200k from 97 agility.

Iced_Liquid

2012-01-27 00:52:48

Sure is Destined I just tried it out that is if your smart doesn't crash first!:D

lilcmp1

2012-01-28 23:42:51

Looking forward to seeing this updated! second branch problems :\

warlacozte

2012-02-01 10:48:01

From: Herp
great, nice to see this moved out of "first scripts" and into agility. Also glad you fixed the walking bugs/ obstacle detection. Can't wait to use this when I get Skoll boots


its called sköll boots

Lordofpain

2012-02-02 00:07:55

From: Destined2bGreat
Is ape atoll flawless? (Can run for 5-8 hours without messing up). If so I will definitely use that. I'm currently 200k from 97 agility.


yes it sure is flawless at the moment. ive ran it for 2 and a half hours and it recovers from fails as well. but at 97. you wont even need to bother so yeah i say try it. its definitely worth it!:D

Chrome

2012-02-03 07:01:21

From: warlacozte
its called sköll boots
Well maybe some people dont have the accented O on their keyboard, no need to be a dick

InHuman

2012-02-04 18:27:22

so this shit is broke? :/

rice

2012-02-04 21:53:09

yes

Destined2bGreat

2012-02-05 14:55:20

No you fools, it's not. Ape atoll is just a lot more stable than this.

exilednoob

2012-02-05 23:12:03

[Error] (202:10): Unknown identifier 'SPS_WindWalk' at line 201
Compiling failed.

Can anyone help?

tdawg777

2012-02-06 04:11:03

From: exilednoob
[Error] (202:10): Unknown identifier 'SPS_WindWalk' at line 201
Compiling failed.

Can anyone help?


You need to add windwalk to your sps file, heres how to do it.
http://villavu.com/forum/showthread.php?t=70505

DarkKnight

2012-02-10 07:46:19

this is the fault i get:
[Error] (76:43): Invalid number of parameters at line 75
Compiling failed.
the line is:
if sps_WalkToPos(CtrlPoints, 20) then
Any help?

chelmid

2012-02-10 09:31:44

Nice script!I have already got 48-66 agility with it! (sometimes messes up with swing rope)

exilednoob

2012-02-10 15:05:43

The only thing im having trouble with now is everytime I start the script, it freezes my SMART and sometimes freezes up my computer.

Nevermind; at current this script will get you banned quick. I wouldnt use it until someone updates it

-Freezes your whole computer
-Sometimes does log balance twice
-Always runs back to log balance even if it doent do it twice
makes it obvious your bottin

teamemb99

2012-02-16 11:19:04

using ur apetol script which works amazing btw cant wait to use this 1

Masterstroke

2012-02-20 08:20:13

From: teamemb99
using ur apetol script which works amazing btw cant wait to use this 1


I'm using it as well but as soon as I make it to 85 agility I would prefer to have advanced gnome course which offers mich more xp :)

corretje

2012-02-26 05:29:40

Is this one going to be fixxed?
I would love more XP as I'm 94 agility lol

yasoof0wnz

2012-02-26 08:18:44

From: corretje
Is this one going to be fixxed?
I would love more XP as I'm 94 agility lol


I'm 97 and I can't find an advanced barb agility that works ANYWHERE. I have been waiting to get 99 since October 25th!

corretje

2012-02-26 08:22:22

From: yasoof0wnz
I'm 97 and I can't find an advanced barb agility that works ANYWHERE. I have been waiting to get 99 since October 25th!


You can use Ryu Guy's apetoll one, it does a good 38k XP an hour. You could've been 99 agility for a long time, lol.


EDIT: I did an attempt to fix it myself, using Ryguy's version as Flight's one walking back method is messed up.

(Still running)
Time: 1 Hours, 12 Minutes and 26 Seconds
We have gained 54655 Agility Experience!
We are gaining 44617 Agility Experience per Hour!

Still trying to optimise it, if i succeed in doing it I'll post the edited script here if Ryguy didn't managed it yet.

Sirhiro

2012-02-27 04:12:35


formWriteln: Time: 1 Hours, 7 Minutes and 8 Seconds
formWriteln: We have gained 40702 Agility Experience!
formWriteln: We are gaining 36377 Agility Experience per Hour!

The only thing I altered was the time it waits after getting off the sign post and clicking the poles. Been going smooth for me otherwise.

Masterstroke

2012-02-27 07:38:40

From: Sirhiro

formWriteln: Time: 1 Hours, 7 Minutes and 8 Seconds
formWriteln: We have gained 40702 Agility Experience!
formWriteln: We are gaining 36377 Agility Experience per Hour!

The only thing I altered was the time it waits after getting off the sign post and clicking the poles. Been going smooth for me otherwise.


It's nice you fixed it but the thing is, why using this if it's 36k/hour while the ape atoll one is also about 36k/hour.
Barb outpost avanced should be about 50-60k an hour :p

corretje

2012-02-27 12:32:00

From: Masterstroke
It's nice you fixed it but the thing is, why using this if it's 36k/hour while the ape atoll one is also about 36k/hour.
Barb outpost avanced should be about 50-60k an hour :p


It gives like 47k XP an hour, his script might be slow.

ifrootloops

2012-03-04 18:17:41

this bot definitely needs work. I like your other bots RyGuy

Leonoras

2012-03-10 19:20:42

When I try to start it, it crashes
[Error] (43:11): Duplicate identifier 'FREEDTMS' at line 42
Compiling failed.

rice

2012-03-10 23:06:55

read the header of this topic please. bot is broken so you need to fix it if you want it to work

elfiik

2012-03-14 15:46:32

guys may me send fixed script … i morron :DD..i have some problems with fix.
THX

[email]michaelhruzek@seznam.cz[/email]

kingsleyeng

2012-03-17 05:27:15

error

procedure FreeDTMs;

Kidlington

2012-03-17 05:44:28

From: kingsleyeng
error

procedure FreeDTMs;


Are you using the latest version? Also change 'FreeDTMs' to 'FreDTMs'

kingsleyeng

2012-03-17 06:12:34

From: Kidlington
Are you using the latest version? Also change 'FreeDTMs' to 'FreDTMs'


ok ill try that out now going to post if it works

Ashihtaka

2012-03-18 09:42:20

From: kingsleyeng
ok ill try that out now going to post if it works


won't work. The bot is outdated, and you need to re-script lots of it.