SRL Archive - First Scripts

Barbarian heavy-rodder


stu

2012-04-15 15:18:41

Hello, and welcome to my first ever script.
I finally decided to stop being such a leech and to finally make my own script.
This script will catch leaping fish at otto's grotto for some of the best xp in the game!

To setup: Set Camera to top position, facing west.
Put either feathers or (cheaper alternative) bait in your first or second inventory spot, and click run

Also, if you set Urns to "true", fill your last 10 spots with urns, and it will not drop these either. This will increase xp/hour from 45/50k to 55/60k!

May need mild baby sitting, as it is my first script and is quite basic. If it ends up at the northern-most spot, and that disappears, chances are it will get stuck and there is no failsafe for this.

Also, to make the proggy work you must have either Fishing or Total Xp as one of your 3 skills in the xp popup thing in the top right


FEEDBACK GREATLY APPRECIATED



Credits to Flight, as i took the antiban from his heavy-rodder, Yohojo for his video tutorials which helped me out alot, abu_jwka for his proggy tutorial, Torrent of Flame for his power-mining tutorial, putajonny, NKN and TotalKillz for all your help!

-Script updated to include login/breaking support. Also with some more testing I've found that it sometimes gets confused and thinks a full slayer helmet (e) is a fishing spot, and I will take a look at this when i get home from college

stu

2012-04-15 16:03:49

small proggy to show xp rates (i'm only 82 fishing) without urns.
With urns would raise this to around 60k

******************************************************************
*/////////———- Stus Leap Fisher v0.1—– ———-\\\\\\\*
******************************************************************

*/////////——— Proggy for the player: ——–\\\\\\\\\*
*//////////////////Running for: 8400seconds
*/////////We have gained: 114192 xp / Thats 48939 xp per hour


gotta get off the bed so can't leave it running any longer, but this shows it's pretty stable (considering i've never scripted before and this barely took any time to make)

ENJOY :)

Sockz

2012-04-15 22:20:18

Wow, nice first script. I couldn't see anything wrong with it whilst having a quick look. I'm gonna try your urn support out soon ;)

tehq

2012-04-15 22:28:09

Just to point this out, you don't do anything with the breaking constants :p

stu

2012-04-16 02:04:22

From: Sockz
Wow, nice first script. I couldn't see anything wrong with it whilst having a quick look. I'm gonna try your urn support out soon ;)


Thanks :)

From: tehq
Just to point this out, you don't do anything with the breaking constants :p


haha oh yeah, forgot about that as I never use it myself. ill edit that a bit later

stu

2012-04-16 13:51:32

Another proggy

******************************************************************
*/////////---------- Stus Leap Fisher v0.1----- ----------\\\\\\\*
******************************************************************

*/////////--------- Proggy for the player: --------\\\\\\\\\*
*//////////////////Running for: 5471seconds
*/////////We have gained: 90502 xp / Thats 59551 xp per hour

nielsie95

2012-04-16 14:13:44

Simple, yet effective :)

A few tips:
-Check if you are logged in while fishing.
-Use local variables (makes it more clear where variables are used and what for).
-Perhaps you want to check if a random occurred (FindNormalRandoms returns a boolean) so you can start fishing again.

stu

2012-04-16 14:32:10

From: nielsie95
Simple, yet effective :)

A few tips:
-Check if you are logged in while fishing.
-Use local variables (makes it more clear where variables are used and what for).
-Perhaps you want to check if a random occurred (FindNormalRandoms returns a boolean) so you can start fishing again.



Thanks alot for the feedback :)

-Ok, will add this a bit later
-So this is just to make it clearer for other people reading my script? Will bare this in mind for future updates/scripts
-I included FindNormalRandoms in my Antiban procedure, which is part of the main loop. Is this good enough, or should I add more throughout my script?

NKN

2012-04-16 17:17:07

Not a bad first script at all.
To get the angle right, could you use
SetAngle(SRL_ANGLE_HIGH)
Also, why not have a fail check? Create a local variable, and have it go up by one everytime it fails to fish, then if it fails say, six times, it could use SPS or RadialWalk to walk back to the original fishing spot.
Edit: For the Urns, what I said wouldn't work, so how about you make a DTM for the Urn's, and have it add them to an array or something, or just keep it as is. xD

For progress report, to get it in Hours/Minutes/Second, you could use this;
 Writeln('Total Time: ' + TimeRunning); 
It's what I use in all my scripts.

stu

2012-04-17 05:36:32

ahh i was trying to use SET_ANGLE(True) in my next script, but it wouldnt compile, have they changed it to (SRL_ANGLE_HIGH) now?
I was looking at something like that fail check you posted, and posted a thread about a problem i was having, i'll try it your way though sounds much better than what i had in mind.

Ill start making changes when I'm home from college

And ill change the proggy, it was annoying me how it was in seconds too :)

otaman

2012-04-24 22:16:51

Any chance you could have it cut the fish up and use the resulting supplies for bait instead of feathers/bait?

ABC!

2012-05-21 04:31:05

Looks like a good script, was gonna say there is already a heavy rodder made, but when I saw it used urns I realised this was EPIC!