SRL Archive - First Scripts

Bow Maker in GE - First Script


RuneItBack2Front

2008-12-01 16:20:48

This is my very first script so input is appreciated. I have great plans for this script such as Make Bow, Add String and then High Alch it all in one run.

Right now it makes Yew bows in the GE. I would like to make sure I am on the right path before adding a lot of other functionality that would have to be changed after getting your input.

In the Code Fill in:
1. Player Information. At this time we do not log in, however some of the
routines require this to be filled in. We are currently on doing one
player.
2. TripsToTheBank & BowType

In RS do the following:
1. Go to the Exchange
2. Stand right infront of the BANKER (not Clerk) in the top right of exchanage
He is the one with black hair and a grey suit.
3. Put your YEW logs in the first slot in your bank
4. Put your knife in the last slot in your inventoy

Press Run Script


Caveat: Only One Player
Doesn't log you in
Only does Yew logs
Does not add strings yet

Like I say, the goal is to make sure I am on the right path before adding more functionality so your input is appreciated!

Smexyprince

2008-12-01 17:18:26

Pretty Simple.
Takes It Time clicking Things…
Withdraws Yews and Banks The Bows correctly :P

Should work on making it Faster, And change Mouse Strokes

(I Know Nothing of Scar Btw)

Proggy:

--------> GE Log Fletch by RuneItBack2Front <-----------
<----------------------------------------------------------->
Time Running : 1 Minutes and 35 Seconds
Banked : 1
Bows Created : 27
<----------------------------------------------------------->

deWi

2008-12-01 19:12:26

i would be happy if it would inlclude willows too :D but ill check it out anyway

krisg05

2008-12-05 11:31:46

when useing did first lot fine start to bank banks knife and yew longs

Baked0420

2008-12-05 11:49:10

wow, looks pretty nice for a first script, I would just add LoginPlayer; after ActivateClient; to make it a little better, so you don't have to start logged in. I might test this to see how it goes if I get some stuff to fletch so I can give you some more advice to make it better, but from just looking it over it looks pretty nice. I think you shoul definitely add in "more functionality" as you put it, because it looks great and that'll make it even better. If you need any help with anything P.M. and I'll see if I can help you.

D1zl3

2008-12-05 14:55:20

From: Smexyprince
Pretty Simple.
Takes It Time clicking Things…
Withdraws Yews and Banks The Bows correctly :P


This can be fixed easily by changing it from

begin
SetUpSRL; // Must do this
DeclarePlayers; // who is playing
TimesBanked := 0; // initialize

to

begin
MouseSpeed:= 10; // Speed of mouse
SetUpSRL; // Must do this
DeclarePlayers; // who is playing
TimesBanked := 0; // initialize

Kyle Undefined

2008-12-06 01:14:16

From: D1zl3
This can be fixed easily by changing it from

begin
SetUpSRL; // Must do this
DeclarePlayers; // who is playing
TimesBanked := 0; // initialize

to

begin
MouseSpeed:= 10; // Speed of mouse
SetUpSRL; // Must do this
DeclarePlayers; // who is playing
TimesBanked := 0; // initialize


You don't want to set it to a set speed, not everybody moves the mouse at a constant speed. Try
MouseSpeed := RandomRange(10, 15);
It uses a random range of speeds. But very nice script, I would just suggest adding Strings to the DeclarePlayers tho ;)

~Camo