SRL Archive - First Scripts

Waterbirth Snape Grasser


Alaska

2012-02-25 20:59:17


[WSG] Waterbirth Snape Grasser (v1.1)
By Alaska

What does it do?

This script will teleport to Waterbirth Isle, pickup an inventory of snape grass, teleport to the Moonclan Isle to bank.




Info
I finally decided to apply myself to something and try to learn a bit of scripting today. I read through some tutorials, and watched some of YoHoJo's videos on scripting and I gained a little bit of knowledge. Enough to piece together this script at least. It's slightly unstable at the moment and I'm only posting it now because it's sort of functional and I need constructive criticism & advice on what to work on and change.

Requirements
  • Lunar Diplomacy completed
  • Runes for Waterbirth and Moonclan teleports

Flaws
  • Doesn't notice snape grass sometimes
  • Could be speedier

Plans
  • Fix the standards that aren't up to par
  • Speed
  • Better failsafes and antibans
  • Better snape grass finding method
  • Adding banking on the fremmy isle with Peer the Seer, only requires Fremmy Trials done

tehq

2012-02-25 23:12:15

I wouldn't say the standards are really a "mess", have you seen some people's standards! Ex:

begin
if dostuff then
repeat
otherstuff
until false;
end;
They're very good for your first script!

As for finding the snape grass.. My advice would be try making DTM of a few points on the grass that finds many of the plants. You could nest a few repeats in there too to make it very accurate.. Repeat until IsUpText('nap'); Repeat until FindDTM(snapegrass,.. InvCoords); Repeat until Invcount = 28;

Alaska

2012-02-26 00:02:42

Updated it a bit, running a little better. I'll work on it tomorrow and hopefully iron out the few issues I'm having with it.

kingsleyeng

2012-02-29 03:49:10

haha take tehq word for what he says his scripts are boss

bobowns

2012-03-01 23:53:40

Can you please add anti leech its so annoying to see 5 people in each world collecting it and it makes all the rock crabs scatter