PDA

View Full Version : Wilderness Agility Course Runner



enoyhs
02-18-2011, 04:19 PM
Wilderness Agility Runner

Can you tell me in short what is this script about?
This script runs in circles at wilderness agility course.

Can you be more specific?
This script uses Reflection and Colour Finding to find obstacles and solve them.
It eats food (any food) when Your HP is red.
Script is careful to only right click to perform actions, so it doesn't accidentally attack other people or things..

What doesn't it do?
When you die, it doesn't walk back (yet).
It doesn't answer to annoying people who call you a bot and stuff (yet).
It doesn't post to SRL Stats (yet).
It doesn't sleep, take breaks or support several accounts (yet).

What do I need to do to get it running?
Fill in lines with numbers 21. - 23. They are pretty self explanatory.
As for settings, set Manual settings to MIN and that would be all..

Is this script any good?
I have been testing this script for few days and I've gotten most common problems out of way, I think. There sometimes seems to come up out of range errors from SRL UpText function and Inventory function, still trying to figure this one out.

How much XP can I get with this one per hour?
I usually get around 30'000 XP per hour. Here is one of my reports, for example:
Status: /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
Status: | SRL Randoms Report |
Status: | www.villavu.com |
Status: |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Status: \~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/

=== WILDERNESS AGILITY COURSE =======
Experience gained: 93,431
XP/H : 29,243
Time running : 3 Hours, 11 Minutes and 41 Seconds
====================================
written by enoyhs (credits to marpis)
I trained with full inventory of tunas, which lasts around 4 - 5 hours for me.

Any other info?
This script is based on Barbarian agility course (http://villavu.com/forum/showthread.php?t=61563) by marpis, so big thanks to him and go check out his great work!
This is only my second script (first one was few years ago), so I'm glad to receive any advice you got to offer!
Progress reports are always welcome!

grats
02-25-2011, 03:15 PM
Works great so far, one thing to change is as soon as it comes out of the pipe it can see the rope, but it right clicks "walk here" and then right clicks the rope, make it just click the rope

also small typo on marpis on your very first lines where you give him credit

Another thing: when it comes off the log and runs up to the hill (rocks) it takes a while to click the rocks sometimes, while the skeletons are bashing on me, possibly make it a shorter wait
Similar to when the character falls down into the pit, the script reacts extremely fast on getting the player out of there.

great script though, I'll post a progress report when it's done a lot more.

to anyone running this script I highly recommend chocolate cake, light weight & heals a lot

Flight
02-25-2011, 03:45 PM
I'd think this would be a bit risky to run, and correct me if I'm wrong but is there not PvP allowed within the course? Anyways based on your progress report it looks great, 30k exp/hour is really good considering it's Agility. Have you thought about an Ape Atoll runner yet?

grats
02-25-2011, 04:11 PM
I'd think this would be a bit risky to run, and correct me if I'm wrong but is there not PvP allowed within the course? Anyways based on your progress report it looks great, 30k exp/hour is really good considering it's Agility. Have you thought about an Ape Atoll runner yet?

There's really like never anyone here, it's fully gated... extremely rarely there will be mages shooting at you through the gate and they can only hit you during 2 of the obstacles, I've done like 10 levels of agility here (all legit) and have never seen any PK going on here

been running the script for a while now and haven't even seen 1 person here lol




Experience gained: 61,181
XP/H : 27,938
Time running : 2 Hours, 11 Minutes and 23 Seconds




Experience gained: 81,751
XP/H : 28,561
Time running : 2 Hours, 51 Minutes and 44 Seconds



Have it give a report when it executes too:

report
Successfully executed.

enoyhs
02-26-2011, 06:53 AM
@grats Thanks for the reports and suggestions. I uploaded new version with few of your suggestions.
New / Updated things:
Clicks on the rope as soon coming out of the pipe (Doesn't walk to rope any more).
Made wait times a bit lower, that should lower the wait time problem at rocks.

@Flight Yes, it is in PvP zone. But to be honest PKers rarely come here. And as it is members I try to never leave it AFK for too long. I turn it on and let it run while I watch TV or play some other game and check in in every 10 - 30 mins.

By the way, I'm thinking of maybe making Ape Atoll course runner too.

P.S.
After 0.4 update I let my script run for 50mins and here is the report:
Status: /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
Status: | SRL Randoms Report |
Status: | www.villavu.com |
Status: |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Status: \~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/

=== WILDERNESS AGILITY COURSE =======
Experience gained: 26,457
XP/H : 31,428
Time running : 50 Minutes and 30 Seconds
====================================
written by enoyhs (credits to marpis)

As you can see, previously it was usually around 29K per hour, now it is 30K+

Wanted
02-26-2011, 06:53 AM
Really glad to see jr members posting scripts again.

Nava2
02-26-2011, 07:14 AM
Really glad to see jr members posting scripts again.

This is exactly what I was thinking.

Congrats on releasing your first script. :)

TomTuff
02-26-2011, 07:31 AM
Better than mine, and more gracefully executed too. Nice script ;)

grats
02-26-2011, 02:50 PM
=== WILDERNESS AGILITY COURSE =======
Experience gained: 31,619
XP/H : 31,075
Time running : 1 Hours, 1 Minutes and 2 Seconds

new version works good

blother
03-03-2011, 01:48 AM
Glad i found this. I've been wanting to get my agility up, so i'll definately test this out for ya.

wand2658
03-04-2011, 02:41 AM
Just started to run it and I notice that it has trouble finding the rope swing sometimes.

grats
03-06-2011, 07:33 AM
Experience gained: 35,241
XP/H : 29,728
Time running : 1 Hours, 11 Minutes and 7 Seconds

still going





Experience gained: 104,169
XP/H : 30,910
Time running : 3 Hours, 22 Minutes and 12 Seconds

blother
03-06-2011, 06:04 PM
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Got out of the pit!

Watched it as it was trying to click the ladder out of the pit from the rope swing. As you can see, it eventually got it, but it took a little while. I'll post a proggy when i run it longer, so far it has worked without any other problems.

trojan
03-10-2011, 08:53 AM
Didn't eat food lol, tried it 3 times and died each time. Agility worked perfectly though :)
Anyone got any ideas? I really wanna use this script

Brandon
03-10-2011, 03:06 PM
Hey Enoyhs I dont mean to edit your script or anything but the healing function needs a tolerance since it wont always find "RED" or perfect red and then heal.. so thats broken.. Here is a fix below that theoretically should work...

Untested: so as usual, back up the original script and then make the changes.

@ Trojan, you can Try this:

At Line 24, add this:


HP = 900; //HP level to eat at... Ex: Eat when health is less than or equal to 900 hp.
MaxHP = 970; //Your Maximum HP.. HP lvl * 10.. Ex: Consitution lvl = 97.. Multiply by 10 = 970.
FoodToEat = 361; //315 = Shrimp, 361 = tuna, 379 = Lobster, 373 = swordfish, 385 = shark



Replace the Heal Function with this procedure:


Procedure Heal;
var
Me:TME;
Item: TInvItem;
begin
Me:= GetMe;
if(Me.HPRatio <= ((HP/MaxHP) *100)) then
begin
if(R_ItemExists(FoodToEat, Item) = true) then
Repeat
R_ClickItemBy(FoodToEat, True, '');
Until(Me.HPRatio >= (((((HP + 140))/MaxHP)) *100)); //will keep healing until your HP lvl to eat at + 140!!
end;
end;

Emaziz
03-10-2011, 08:05 PM
Next obstacle: Stepping stone
Next obstacle: Tropical tree
Next obstacle: Monkeybars
Fell down: Monkeybars
Next obstacle: Stepping stone
Uptext not found: Stepping stone
Next obstacle: Stepping stone
Failed to solve obstacle for 20 seconds: Stepping stone
Next obstacle: Stepping stone
Next obstacle: Tropical tree
Next obstacle: Monkeybars
Did not find Monkeybars by color, trying to find with DTM
Did not succeed with finding DTM
Next obstacle: Stepping stone
Uptext not found: Stepping stone
Next obstacle: Stepping stone
Uptext not found: Stepping stone
Next obstacle: Stepping stone
Uptext not found: Stepping stone
Next obstacle: Stepping stone
Uptext not found: Stepping stone
Next obstacle: Stepping stone
Uptext not found: Stepping stone
Next obstacle: Stepping stone
Uptext not found: Stepping stone
Next obstacle: Stepping stone
Uptext not found: Stepping stone
Next obstacle: Stepping stone
Uptext not found: Stepping stone
Next obstacle: Stepping stone

Seems after it reset when it failed to find the monkeybars, but I was in fact up with the monkeybars. :(

Edit: Holy cow this is the wrong agility runner >_>

superduperd
03-10-2011, 11:20 PM
Next obstacle: Stepping stone
Next obstacle: Tropical tree
Next obstacle: Monkeybars
Fell down: Monkeybars
Next obstacle: Stepping stone
Uptext not found: Stepping stone
Next obstacle: Stepping stone
Failed to solve obstacle for 20 seconds: Stepping stone
Next obstacle: Stepping stone
Next obstacle: Tropical tree
Next obstacle: Monkeybars
Did not find Monkeybars by color, trying to find with DTM
Did not succeed with finding DTM
Next obstacle: Stepping stone
Uptext not found: Stepping stone
Next obstacle: Stepping stone
Uptext not found: Stepping stone
Next obstacle: Stepping stone
Uptext not found: Stepping stone
Next obstacle: Stepping stone
Uptext not found: Stepping stone
Next obstacle: Stepping stone
Uptext not found: Stepping stone
Next obstacle: Stepping stone
Uptext not found: Stepping stone
Next obstacle: Stepping stone
Uptext not found: Stepping stone
Next obstacle: Stepping stone
Uptext not found: Stepping stone
Next obstacle: Stepping stone

Seems after it reset when it failed to find the monkeybars, but I was in fact up with the monkeybars. :(

Edit: Holy cow this is the wrong agility runner >_>

Epic

OT:
Will test the script soon ;)

gamer716
03-12-2011, 06:26 AM
Status: /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
Status: | SRL Randoms Report |
Status: | www.villavu.com |
Status: |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Status: \~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/

=== WILDERNESS AGILITY COURSE =======
Experience gained: 55,471
XP/H : 12,657
Time running : 4 Hours, 22 Minutes and 57 Seconds
====================================
written by enoyhs (credits to marpis)''

Works great with a few misclicks. Haven't had issue with eating yet...
Died by a pker when I stopped...

superduperd
03-14-2011, 09:37 PM
When does it eat? Its at 287 hp atm and still doesnt eat? id rather have it goin at full hp at all time ;)

For the rest, the script works great :D

gamer716
03-14-2011, 10:32 PM
When does it eat? Its at 287 hp atm and still doesnt eat? id rather have it goin at full hp at all time ;)

For the rest, the script works great :D

It eats when red and the heart is pumping in the icon...

superduperd
03-14-2011, 10:58 PM
It eats when red and the heart is pumping in the icon...

yh ok i already figured that out, but why then and not earlier. Its better to have full hp always afaik? Or isnt it? :D

enoyhs
03-15-2011, 05:43 AM
Thanks for all the responses, I will maybe update this script a bit more in near future, but no promises.


yh ok i already figured that out, but why then and not earlier. Its better to have full hp always afaik? Or isnt it? :D

It is better to eat at low HP, because when you are at low HP you get hit less when you fail obstacles. For example, when you fail lava rocks with full HP you get hit for 100+ damage, but when you fail same lava rocks on low HP you get for only around 30 (or lower).
What this does it makes your food last longer, and you can auto longer (or legit play too).

Some maybe think that having low HP is easier for pkers to kill you, but if pkers come you are going to do no matter what (most of the time).

superduperd
03-15-2011, 09:41 AM
Thanks for all the responses, I will maybe update this script a bit more in near future, but no promises.



It is better to eat at low HP, because when you are at low HP you get hit less when you fail obstacles. For example, when you fail lava rocks with full HP you get hit for 100+ damage, but when you fail same lava rocks on low HP you get for only around 30 (or lower).
What this does it makes your food last longer, and you can auto longer (or legit play too).

Some maybe think that having low HP is easier for pkers to kill you, but if pkers come you are going to do no matter what (most of the time).

kk tnx for the fast update ^^ script works great btw, too bad agility sux to train, with 30k per hour, lvl 70-80 takes 40 hour :O

Edit: proggie :D

=== WILDERNESS AGILITY COURSE =======
Experience gained: 94,455
XP/H : 31,106
Time running : 3 Hours, 2 Minutes and 11 Seconds
====================================

Used full invent of lobs, also got 2 parts for statue --> free 4999 xp :D, 270 xp left for 72

gr, super

edit:
It seems like its always clicking same spot on the rope/lava stones/log/rocks/pipe? Is that true or am i just crazy XD Because if its always clicking same spot fagex can detect it right?

Gr, super

another edit: another proggie:

=== WILDERNESS AGILITY COURSE =======
Experience gained: 96,979
XP/H : 30,324
Time running : 3 Hours, 11 Minutes and 53 Seconds
====================================

Got killed though :d Dont know if it was by pker or by pit, since the log only says the following and i didnt see it:

Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Trying to get of the pit!
Successfully executed.

gr, super

Uzu
05-13-2011, 03:34 AM
Got stuck on the pit a few times but overall an awesome script :)

=== WILDERNESS AGILITY COURSE =======
Experience gained: 31,819
XP/H : 26,701
Time running : 1 Hours, 11 Minutes and 29 Seconds


=== WILDERNESS AGILITY COURSE =======
Experience gained: 115,225
XP/H : 28,431
Time running : 4 Hours, 3 Minutes and 10 Seconds

=== WILDERNESS AGILITY COURSE =======
Experience gained: 175,455
XP/H : 29,782
Time running : 5 Hours, 53 Minutes and 28 Seconds

=== WILDERNESS AGILITY COURSE =======
Experience gained: 21,222
XP/H : 30,599
Time running : 41 Minutes and 36 Seconds

rangermuffin
05-16-2011, 03:08 PM
Very nice script.
Used it to get from 51(with pie) to 71 and counting!
Only one suggestion.... when it fails the log surely it wouldn't be to much trouble
to create a separate function for returning to the log instead of restarting the
lower course again ><
The xp gain would be well worth the effort.

THANKS FOR THE SCRIPT :D

Caotom
05-31-2011, 12:35 AM
I just got back into this so it's probably something wrong with my setup, but when I try to run this it opens SMART then just sits there, doesn't even attempt to login, nothing.
Is it even supposed to use SMART?
Pretty sure it is something wrong with my Simba or I haven't installed something properly but any help would be appreciated.

~Caotom

Yago
05-31-2011, 12:51 AM
I just got back into this so it's probably something wrong with my setup, but when I try to run this it opens SMART then just sits there, doesn't even attempt to login, nothing.
Is it even supposed to use SMART?
Pretty sure it is something wrong with my Simba or I haven't installed something properly but any help would be appreciated.

~Caotom

Your settings for runescape are messed up. Choose fixed with lowest quality.

Caotom
05-31-2011, 09:04 AM
Your settings for runescape are messed up. Choose fixed with lowest quality.

Thanks!
I had it on min settings which makes it 800x600 or something and looks awfully like fixed screen, didn't see the actual option for fixed screen.

Script working as of the moment, although I got pk'd 3 mins into first try :P
Will post proggy when I get a decent one.

One thing that would be nice to see (I have no idea how hard/easy this would be as I have no gotten into scripting simba in over 2 and a half years) is after the message "you were found dead" the script either terminates or at least doesn't completely spam the debug with
Trying to get of the pit!
I have no idea if this is hard to do or even possible at all, but it's just a suggestion to make it easier to see what went wrong.

*EDIT*
New Proggy

=== WILDERNESS AGILITY COURSE =======
Experience gained: 123,592
XP/H : 28,169
Time running : 4 Hours, 23 Minutes and 2 Seconds
====================================
written by enoyhs (credits to marpis)

Thanks,
~Caotom

bloodi
06-12-2011, 10:37 PM
can someone please help me get this script running i have simba downloaded and srl and refeltion are updated

wantonman
07-30-2011, 04:06 AM
noticed theres a small problem with the rope swing. it has trouble clicking on it time to ... other than that its great

wantonman
07-31-2011, 02:01 AM
=== WILDERNESS AGILITY COURSE =======
Experience gained: 35,028
XP/H : 29,601
Time running : 1 Hours, 11 Minutes and 0 Seconds
====================================