SRL Archive - RS3 Agility

Taric's Burthrope Agility


Taric

2015-05-14 22:49:34

I've been wanting to make a barbarian agility script for a while now… SO I DECIDED TO TRAIN MAH AGILITY TO 35 WITH THIS SCRIPT. It's rough, gritty, and arguably "not sexy"… But it levels your agility, SO YOU DON'T HAVE TO.

You'll get around 4500-6000 xp/h depending on how often the script decides to take breaks. (This can be disabled if you want.)

How to set-up zeh script:

1)Get 5 Agility. This script does not account for failure.

2)Start on this tile.

3)Press start. The script will position the camera to where it needs to be!

4)Walk the dinosaur.

There will be a barbarian agility script in the near future™

Stay Sexy

Ian

2015-05-14 23:04:56

Gz on the release. I've some suggestions if you're interested.

Instead of having 6 different procedures for the 6 different obstacles, each with minimal changes, have a single procedure for passing an obstacle and use parameters for the clickbox, wait time, xp gain, and uptext.
Like this:

function clickObstacle(ClickBox: TBox; wait: Integer; XP: Double; Text: String): Boolean;
Another thing to perhaps consider would be to avoid potential infinite loops such as this one:

repeat
wait(100);
until isMouseOverText(['all']);

Taric

2015-05-14 23:09:19

From: BMWxi
*Quality feedback material here*


It's rough, gritty, and arguably "not sexy"


I wan't kidding when I said this XD. Since you typically only camp this agility course for 60-90 minutes, I was too lazy to make this a "quality" agility script… and for some reason having 6 different procedures was easier for me to write than writing a short clickObstacle function…

BUT THANK YOU FOR TEH FEEDBACK. I do appreciate it :D

rickhunley

2015-05-22 10:00:25

From: Taric


There will be a barbarian agility script in the near future™



Yes, please. :P

SmallP3n0r

2015-05-22 15:33:09

Gratz on the release.

ckbbe

2015-05-24 15:27:53

when i try to compile it gives me " Don't know which overloaded method to call with params (Int32, Int64)" ..

Taric

2015-05-24 15:52:09

From: ckbbe
when i try to compile it gives me " Don't know which overloaded method to call with params (Int32, Int64)" ..


Which line is this error occurring on? Have you filled out the constant values?


stopLevel := 35; //At what level will the script stop running?
takeBreaks := false; //Do you want to take breaks?
//Will take a break every 16 or so laps.

ckbbe

2015-05-24 16:14:26

From: Taric
Which line is this error occurring on? Have you filled out the constant values?


stopLevel := 35; //At what level will the script stop running?
takeBreaks := false; //Do you want to take breaks?
//Will take a break every 16 or so laps.


no particular line,i just press play and after about 2 sec it will give me ..
[ATTACH=CONFIG]26016[/ATTACH]

photomac54

2015-05-24 17:38:49

From: ckbbe
no particular line,i just press play and after about 2 sec it will give me ..
[ATTACH=CONFIG]26016[/ATTACH]


I am having this same problem with simba in general, curious what you find out. Frustrating thing is it doesn't give a line or place for problem area. I tried updating everything which there were some but didnt go away.

Taric

2015-05-24 17:42:55

From: photomac54
I am having this same problem with simba in general, curious what you find out. Frustrating thing is it doesn't give a line or place for problem area. I tried updating everything which there were some but didnt go away.


It's a bug with the latest SRL update. To fix it you can go to the includes/srl-6/lib/utilities/types/integerarrays.simba file and change


system.swap(i, random(i + 1));
to

system.swap(self[I], self[random(I + 1)]);

ckbbe

2015-05-24 17:43:15

as Taric said:

"Quick fix for this error is to go into the lib/utilities/types/integerarrays.simba file and change

Simba Code:

system.swap(i, random(i + 1));

to

Simba Code:

system.swap(self, self[random(I + 1)]);

"

photomac54

2015-05-24 17:53:03

From: Taric
It's a bug with the latest SRL update. To fix it you can go to the includes/srl-6/lib/utilities/types/integerarrays.simba file and change


system.swap(i, random(i + 1));
to

system.swap(self[I], self[random(I + 1)]);


From: ckbbe
as Taric said:

"Quick fix for this error is to go into the lib/utilities/types/integerarrays.simba file and change

Simba Code:

system.swap(i, random(i + 1));

to

Simba Code:

system.swap(self, self[random(I + 1)]);

"


thanks for the quick fix