SRL Archive - OSR Help

Stuck with script need help...


maxxfilth

2012-02-08 16:26:39

I want to make a fast vial filler on Varrock West Bank. I am very confused with what to do now this is what i have:
program new;
{$DEFINE SMART}

{$IFDEF SMART}
{$i SRL/SRL/Misc/Smart.simba}
{$ENDIF}
{$i SRL/SRL.simba}
{$i SRL/SRL/Misc/Paintsmart.simba}

procedure DoBankStuff;
begin

var
Loads:0 Interger;
Done: Boolean;
LongNumber: Extended;
Text: string;

procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;

with Players[0] do
begin
Name :=''; // Username
Pass :=''; // Password
Nick :=''; // 3-4 lower case letters of your character's name
Pin :=''; // Bank PIN
Active := True;
end;
end;
begin
Loads:=5;
Done:=True;
LongNumber:=5.36486;
Text:= 'Hello World!';
SetupSRL;
DeclarePlayers;
LoginPlayer;
OpenBank('veb', True, True);

end.

PatDuffy

2012-02-08 16:31:45

well to being with, you currently have a procedure in a procedure :p

Start by making a script to load SMART and log you in, then add something to walk you from place to place. Then add object finding, then banking, then anti-ban, etc.

maxxfilth

2012-02-08 17:23:04

could you edit it so i have a script to load SMART
PATH
myPath := [Point(4836, 2958), Point(4833, 2925), Point(4793, 2922), Point(4783, 2909), Point(4774, 2898), Point(4771, 2907)];

Wetish

2012-02-09 17:51:17

Here is a very simple procedure to use SPS walking.

Procedure WalkToBank;
var
myPath:TPointArray;
begin
SPS_Setup(RUNESCAPE_SURFACE,['8_9','8_10']);//SPS Areas
myPath := [Point(3511, 3967), Point(3483, 3968), Point(3450, 3975), Point(3416, 3995), Point(3416, 3995), Point(3241, 4094)];//Replace these points with your own.
SPS_WalkPath(myPath);
end;

KeepBotting

2012-02-10 22:59:16

Sorry, but what you have in your first post is a pile of rubbish.
Not trying to be rude but…I don't see how one could possibly get it into one's head to write something like that.

Watch YoHoJo's tutorials for complete beginners, they'll help you more than a forum post could.