SRL Archive - RS3 Outdated / Broken Scripts

Spiker Wilderness Agility


Spiker

2012-05-13 00:56:02

Spiker Wilderness Agility

Last Update: May 13, 2012 - 5:13PM Central

Description:

This is my third script. It will effectively run the wilderness agility course.

Features:
Recovers From Failed Tasks For Full Experience
Sleek On-Screen Progress Report
Runs Course Fast
SPS Walking
30k+ xp/hr
FailSafes
Efficient
AntiBan

Instructions:
1. Fill out all the information in the setup.
2. Start across the bridge(inside the gate, somewhere before the obstacle pipe).
3. Use lobsters, swordfish, monkfish, and/or sharks for food.
4. Post proggies and buggies please.

To-Do List:
Ability To Start From Anywhere Throughout Course
Run Course Faster
Suggestions?


Progress Reports:
Soon To Come
UPDATES:
//v1.0
Initial release

//v1.1
Fixed falling into the dungeon problem
Made user hp level input more obvious
Minor fixes to increase speed and efficiency

NOTE: The initial release may be a little buggy as it was hard to test properly with 99 agility. However, it should not be too buggy. Also, I was having problems with the most current SPS update, so you may have to go back a couple updates like I did. It seems to work fine now.

fletchbetch

2012-05-13 01:08:59

c.IOManager, false, 0, 0, MMCX-75, MMCY-75, MMCX+75, MMCY+75

this line is keeping it from running, and i have no idea what to do.

Spiker

2012-05-13 01:16:11

From: fletchbetch
c.IOManager, false, 0, 0, MMCX-75, MMCY-75, MMCX+75, MMCY+75

this line is keeping it from running, and i have no idea what to do.


Can you provide some more information? Then, I may be able to help.

thatoneguy

2012-05-13 04:05:14

So far it's working for me. Will update later.

Edit - Problems so far:
- Eats food when no damage has been taken.
- Got to the rock wall at the end and tried to go through the pipe instead.
- Fell down the rope swing, got attacked by a skeleton, script couldn't find ladder, tried to log out but was in combat so it couldn't.

Edit:

It can finish the course and find its way up from the ladder. So I'm not sure why or when the problems occur.

Edit:

Fell in lava, then logged out.

Successfully crossed the stepping stones.
NextPlayer(True)
SwitchToPlayer(PlayerNo: 0, Active: True);

Has done this more than once. Finishes an obstacle and then logs out and tried to switch players.

Ketan

2012-05-13 05:39:33

From: Spiker
Can you provide some more information? Then, I may be able to help.


When you cross the log, there is a change in HP if you fell down, but in case you cross the log and a zombie attacks you there is a hp loss as well. Therefore, using the hp method to check fail is really buggy. Make something that will detect if you're in the area underground, that'd be better.

EDIT: When you fall down, the underground area has brownish ground, if you make a check to find if the screen has brownish area > ???? <int value> then it's a fail cross. Something like that?

Er1k

2012-05-13 05:50:55

From: Ketan
EDIT: When you fall down, the underground area has brownish ground, if you make a check to find if the screen has brownish area > ???? <int value> then it's a fail cross. Something like that?


This. Maybe try something like this?
function InDungeon: boolean;
var tpa: TPointArray;
begin
if not LoggedIn then Exit;
SetColorToleranceSpeed(1);
FindMMColorsSpiralTolerance(tpa, 2574684, 25);
writeln(length(tpa));
result := length(tpa) > 1200;
if result then writeln('in dungeon');
end;

Ketan

2012-05-13 06:30:25

From: Er1k
This. Maybe try something like this?
function InDungeon: boolean;
var tpa: TPointArray;
begin
if not LoggedIn then Exit;
SetColorToleranceSpeed(1);
FindMMColorsSpiralTolerance(tpa, 2574684, 25);
writeln(length(tpa));
result := length(tpa) > 1200;
if result then writeln('in dungeon');
end;


Hmm I think that should work, is the color right or do I need to change it?

Sumskills

2012-05-13 08:57:55

eats even at full hp lol, wasted full invent of monkfish :(

Er1k

2012-05-13 09:59:31

From: Ketan
Hmm I think that should work, is the color right or do I need to change it?


Try it inside the dungeon and see for yourself on ACA. It worked on my end. Not sure if it actually changed when it didn't detect for you. Tolerance was already set to 25 which is quite high IMO.

Spiker

2012-05-13 14:06:32

Will work on many, many fixes by the end of the day. Currently busy with Mother's Day and all. Thank you for all the feedback and suggestions.

Er1k: Thank your for helping out.

Spiker

2012-05-13 17:03:54

From: thatoneguy
So far it's working for me. Will update later.

Edit - Problems so far:
- Eats food when no damage has been taken.
- Got to the rock wall at the end and tried to go through the pipe instead.
- Fell down the rope swing, got attacked by a skeleton, script couldn't find ladder, tried to log out but was in combat so it couldn't.

Edit:

It can finish the course and find its way up from the ladder. So I'm not sure why or when the problems occur.

Edit:

Fell in lava, then logged out.

Successfully crossed the stepping stones.
NextPlayer(True)
SwitchToPlayer(PlayerNo: 0, Active: True);

Has done this more than once. Finishes an obstacle and then logs out and tried to switch players.


Thank you for your feedback. Please post debug boxes after stating the problem.

As far as the eating problem goes, did you make sure to change your hp level in DeclarePlayers? I assume that most people missed this, so I will make it more obvious.

Reviewing the other problems now.

EDIT: I assume it logged out after you finished an obstacle over and over because you were out of food, and it checked your hp level, and since you didn't change it from 99 to whatever your hp level is, it thought that you needed to eat, and since you didn't have food, it logged out. (yay run-on sentences)

EDIT: Version 1.1 is out! Give it a try.

zxzero

2012-05-13 23:51:48

The script gets stuck after the rope swing for me. The first time it passed it, it immediately said it couldn't find the stepping stones then logged out then back in and tried finding the pipe, the second time it ran down the ladder. :P

Can't wait till this script is done though and thanks for the hard work you have done to make it. ^^

thatoneguy

2012-05-14 05:29:04

From: Spiker
Thank you for your feedback. Please post debug boxes after stating the problem.

As far as the eating problem goes, did you make sure to change your hp level in DeclarePlayers? I assume that most people missed this, so I will make it more obvious.

Reviewing the other problems now.

EDIT: I assume it logged out after you finished an obstacle over and over because you were out of food, and it checked your hp level, and since you didn't change it from 99 to whatever your hp level is, it thought that you needed to eat, and since you didn't have food, it logged out. (yay run-on sentences)

EDIT: Version 1.1 is out! Give it a try.
I did change the HP level, but I had restarted the script a few times so perhaps I forgot to at some point.

My HP never got so low that it should log out though (I don't think so at least). The script kept wanting to change players, not sure why.

Sorry, not sure what exactly you want to post for debug (not sure where to find this..). Bot seems to have trouble with the rope swing; the script doesn't always recognize that the rope swing has been completed successfully, and will cause your player to retry it multiple times. The first time it retried a few times (even though it made it the first time) and then logged out. Second time it finally realized it made it across and continued on.

Same goes for the log balance; the script doesn't recognize a successful log crossing at times, and will just stand there and get attacked by the skeleton. I assume the bot thinks it should be in the dungeon.

rs2info

2012-05-14 08:05:37

Add cakes as food and I'll try it out.

Spiker

2012-05-14 11:36:56

From: rs2info
Add cakes as food and I'll try it out.


Will do. Keep an eye out.

Spiker

2012-05-14 18:55:28

I need some more testers :)

EDIT: Sorry about double post :/

akiba24

2012-05-14 21:04:29

xception in Script: Plugin(libsmart32) has not been found
what do i do?

akiba24

2012-05-14 21:14:45

ok i found the missing plugins but its still not working..how do i use this?

Swagger

2012-05-14 22:48:45

Fails on the rope swing every time. Says in the debug box "failed rope swing" regardless if you passed it successfully or did fail.

Spiker

2012-05-14 22:50:12

From: Swagger
Fails on the rope swing every time. Says in the debug box "failed rope swing" regardless if you passed it successfully or did fail.


Thanks for the feedback. Will fix very soon.

Metal_Flamez

2012-05-15 09:12:31

it randomly logs me out after it does ropeswing… >:( V1.1

Batman

2012-05-15 15:39:32

"[Error] (856:17): Unknown identifier 'RUNESCAPE_OTHER' at line 855
Compiling failed."

Any ideas on a fix?

cparks1000000

2012-05-16 21:10:10

My character does not climb the cliff at the end of the course.

epiclulzzz

2012-05-17 00:08:57

Continues to do ropeswing and will not pass it

Spiker

2012-05-17 00:13:43

From: Metal_Flamez
it randomly logs me out after it does ropeswing… >:( V1.1


Will fix this tomorrow.

From: ANinjaPeanut
"[Error] (856:17): Unknown identifier 'RUNESCAPE_OTHER' at line 855
Compiling failed."

Any ideas on a fix?


You need to update your SPS. Looks like you're using 1.0.

From: cparks1000000
My character does not climb the cliff at the end of the course.


Will look into this. Have you tried it multiple times and it always fails to climb just the cliffside?

From: epiclulzzz
Continues to do ropeswing and will not pass it


Will fix this tomorrow.

Batman

2012-05-17 04:37:02

From: Spiker
Will fix this tomorrow.



You need to update your SPS. Looks like you're using 1.0.


Ahhh so I was, downgraded it at one point and it seems overriding & updating doesn't actually update it; works now, will post results & proggy a bit later :)

CC268

2012-05-17 21:02:18

I can't even get through the setup :( what is the SRL Username? I put everything it could be and nothing worked it just highlighted orange

Spiker

2012-05-17 21:42:41

From: epiclulzzz
Continues to do ropeswing and will not pass it


Maybe you need higher agility :P

From: CC268
I can't even get through the setup :( what is the SRL Username? I put everything it could be and nothing worked it just highlighted orange


What's the error? You probably need to update SRL.

dubestone

2012-05-17 21:57:40

It fails to recognize the bridge

CC268

2012-05-17 22:06:22

I thought I did that….I will give it another shot though…so to get this right:
Download script, click on it in downloads and fill in the info…making sure srl and all that is updated?

Spiker

2012-05-17 22:49:23

From: dubestone
It fails to recognize the bridge


Make sure your color settings for brightness etc. are turned up all the way. Try it more than once.

Deus

2012-05-17 23:11:40

From what I've seen so far the object finding seems to be pretty good.

Waiting for the logout after obstacle fix, then will test more thoroughly.

hossie

2012-05-18 04:08:15

Mine fails at the ropeswing. it keeps going down the ladder…

Batman

2012-05-18 11:40:12

Right, been running this a little bit now and have come across a few problems…
1) If it fails on the rope swing then it normally doesn't recover from it.
and
2) (For me at least) it doesn't wait for the cliff and straight after the bridge it tries to run for the pipe.
Apart from that your code seems pretty good :)
Keep up the good work :D

epiclulzzz

2012-05-19 03:23:12

From: Spiker
Maybe you need higher agility :P


May have worded that incorrectly sorry, Fails to recognise that I've completed rope swing

Spiker

2012-05-19 03:32:58

From: epiclulzzz
May have worded that incorrectly sorry, Fails to recognise that I've completed rope swing


Haha that's better. I will fix this soon. Sorry for the wait guys.

beeb101

2012-05-22 08:51:19

add summer pie support?
and death walk?

also this doesnt work when some1 else is there… and if it falls down into the hole it doesnt get back up

Inheaven

2012-05-30 04:44:53

You have the same problem like Er1k has with his wilderness agility bot..
Cuz, his bot is doing the lava over and over again, but your bot is doing the ropeswing over and over again?

Walking to the obstacle pipe.
Found the obstacle pipe.
Successfully walked to the obstacle pipe.
Found the obstacle pipe.
Crawling through the obstacle pipe.
Found the ropeswing.
Successfully crawled through the obstacle pipe.
Found the ropeswing.
Crossing the ropeswing.
Failed to cross the ropeswing.
Found the lava. (Failsafe)
Found the ropeswing.
Found the ropeswing.
Found the ropeswing.
Crossing the ropeswing.


It says failed ropeswing, but it didn't failed.

jrtsoget

2012-06-01 18:37:59

I've noticed the same thing. It keeps doing the ropeswing over and over.

Spiker

2012-06-02 01:42:50

From: jrtsoget
I've noticed the same thing. It keeps doing the ropeswing over and over.


Will update this soon. Been really busy the last 2 weeks. Sorry.

Keep an eye out over the next few days for the update.

Enter

2012-06-08 03:13:25

Spent 5+ hours editing script to make it work. Still doesn't work so I'm gonna stop using it for now and hope you can fix the problem.

Before it'd log out before it had time to do the next thing (fixed) added wait timer.
Can't find log color (your default color for log balance is off bc it goes off on the ground on the north east side of the top screen and keeps clicking cancel. I tried to update the color, no matter what color I used, couldn't find. Anyway you could change to to be a tbox and have a box with this many pixels of this type of gray? and have it look from the center out?

Sometimes says failed when success.

Please fix. :)

Earth

2012-06-13 02:02:10

It succesfully gets passed the ropeswing but says it failed. Then trys ti find the ladder then logs out.

shaggyster

2012-06-17 22:58:30

well this was working really well hope you get this fixed until then i wont be using it well hope you get it fixed

I Can Clutch

2012-06-20 13:30:17

keeps "failing" the ropeswing when it does not fail it and goes back repeatedly

omfgomfg

2012-06-21 11:14:35

There's an SPS problem. :/

footballjds

2012-06-27 11:53:10

spiker, updates?

CephaXz

2012-06-27 12:13:43

From: footballjds
spiker, updates?


I'm gonna release my wildy agi runner soon :p

Gala

2012-06-27 13:51:15

If is repeating the rope swing, just set the tolerance to 3 of DungeonColor().
(No I won't explain where exactly, search the forums for infos)

Edit: Did you use the newest ACA?

Spiker

2012-06-27 14:19:49

Will try to update when I get the chance. Been really busy this summer.

bricks

2012-06-29 08:40:19

Thank you for this!!!! Also for everybody having the ropeswine problem go to line 628 and re place the other color with 928303.

error please fix He goes through the pipe and then proceeds to swing on the rope swing and it says i have crossed it and then it automatically says i've dropped into the dungeon twice, and then keeps making me re swing the rope swing. I also have this false dungeon problem near the end of the log balance as well, I think it has to due with detecting the dungeon please fix!

EDIT: I fixed it from thinking it was going into the dungeon by changing the dungeon color tolerance to 1 instead of 5 :p
EDIT: Sometimes after an obstacle it will just start spamming a command like found llog or finding obstacle ect. decent amount of bugs

Fun_Sponge

2012-08-10 16:45:11

I got an issue with the script (smart) failing to compile at lines 52 and 55.. I lack basic scripting, so it may be an easy fix.. thanks

[Error] C:\Simba\Includes\SRL/SRL/Misc/Smart.simba(53:19): Invalid number of parameters at line 52
Compiling failed.
[Error] C:\Simba\Includes\SRL\SRL\Misc\Smart.simba(56:19): Invalid number of parameters at line 55
Compiling failed.