SRL Archive - Jr. Member OSR Outdated Scripts

Solar's Agilty script (Reflection, WIP)


Solar

2014-03-16 07:20:38

I figured I'd release my agility script in the Jr. section to try and get some feedback.
I know most if it is the same stuff just copied from other scripts and that most of the script could be shortened to just few functions/procedures instead of using extremely similar ones again and again by using a list of variables or record. This is something I'll hopefully do in the near future. I also might mess around with the obstacle box boundaries to try and get a more efficient area to search in.

I'm going to assume everyone knows what you need to run a script with reflection, otherwise you can easily find some instructions on another thread.

I should give thanks to @Flight;, @Krazy_Meerkat;, @hoodz; and @Ashaman88; for their script releases and general advice.

Just fill in the details at the top of the script as you would any script, be within the course boundaries (just use common sense for what I mean by course boundaries), and you should be good to go. Hopefully it isn't too 'bot-like' in behaviour.
I would advise using a fairly unbusy world.

I do have plans to add Ape Atoll capability to the script, but I doubt it'll be anytime soon. So as of now, all the script does is complete laps for the gnome and barbarian courses. (Remember you don't need food for the gnome course.)

Here's a short progress report from this morning:
****************************
Running for 23 Minutes and 12 Seconds
Completed 27 laps
Gained 4071 exp
At a rate of 10528 exp per hour
Aquired 1 levels
Time until break: 00:26:45
****************************

Clarity

2014-03-16 18:43:36

Congrats on release man!
I don't play OSRS so I can't really test but I'll look through it :)

rj

2014-03-17 18:23:55

Gratz on release!

P.S you could shave around 1.1k lines off this bad boy if you use parameters with all those handlers

Solar

2014-03-17 18:48:48

Yeah that's what I meant when I said about shortening most of it to 2 or 3 procedures. :)
Will probably be the next thing I do with it, but sort of lost interest in agility for the time being.

Hoodz

2014-03-19 19:31:59

Gz on release!

P1nky

2014-03-20 05:13:44

Good look on the release! Keep it up, and good luck!

samerdl

2014-04-01 09:27:37

Grats on the release Solar!, i'll be sure to try it soon when i start training agility :)

Solar

2014-04-01 12:32:15

From: samerdl
Grats on the release Solar!, i'll be sure to try it soon when i start training agility :)


It needs some adjusting in some parts and a big update really.
Thanks though.

Maybe when I want agility a little higher I'll refresh this script.

samerdl

2014-04-01 13:35:09

From: Solar
It needs some adjusting in some parts and a big update really.
Thanks though.

Maybe when I want agility a little higher I'll refresh this script.



Good to know :-)

Ilya

2014-04-04 05:35:04

A bit glitchy, but got the job done.

Solar

2014-04-04 13:56:17

Thanks. :)
As I've said above though, it needs some work. Maybe soon I'll get around to it.

Ilya

2014-04-04 18:07:43

From: Solar
Thanks. :)
As I've said above though, it needs some work. Maybe soon I'll get around to it.


Got me 50 agility, so no complaints here. =)

samerdl

2014-04-17 11:47:52

Am using the Barb Course. it's working beautifully.

only error i get is not finding the ladder when it fails the obstacle.

edit: i changed the color for that and worked fine.
edit2: eating won't work because, we're using main screen cords instead of inventory cords for the object finding command

gota change it to:


If FindDTM(DTM_Food, x, y, MIX1, MIY1, MIX2, MIY2) Then

Nice script mate, ty.

Got from 30 to 52 agility in one day and now i made a quick crappy Wildy course script to train to 70 :D

edit3: maxed out agility, got 70 agility. yay!. from 30-70 in 2 days total :D.

jman1208

2014-06-05 17:14:14

Script works well! Thank you

Wooty

2014-08-30 12:10:05

Eating is broken, here's a quick fix:

Change:
If GameTab(4) Then

To:
If GameTab(tab_Inv) Then

Thanks for this nice script! :)