SRL Archive - First Scripts

Trawler Script!


ape

2008-04-19 23:17:59

This is my first script for runescape in scar. It is basically a simple script that allows you to stay logged in and collect fishes on the Trawler while you are doing something else. There are no anti randoms in this script as you don't have trouble with randoms while on the trawler. I know it isn't super optimized but it is a simple script that works. I hope you enjoy and I hope this helps anyone out with the boringness of the trawler!

program TrawlerKeeper;
{.include SRL/SRL/misc/Smart.scar}
{.include srl/srl.scar}
//Use this program to keep you logged in while you are on the trawler!
Procedure DeclarePlayers;
Begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;

Players[0].Name :='';//Just enter something here so SRL doesn't have errors on compile.
Players[0].Pass :='';
Players[0].Nick :='';
Players[0].Active:= True;
end;

Procedure Antibannage; //credit belongs to these functions accordingly.
begin
case Random(10) of
0: BoredHuman;
1: RandomRClick;
2: PickUpMouse;
3: AlmostLogout;
4: RandomMovement;
5: PickUpMouse;
6: GameTab(1+random(9));
7: DoEmote(1 + Random(9));
8: Begin
MakeCompass('E');
Wait(3000 + Random(2000));
MakeCompass('N');
End;
9: Begin
MakeCompass('W');
Wait(3000 + Random(2000));
MakeCompass('N');
End;
10: Begin
MakeCompass('S');
Wait(3000 + Random(2000));
MakeCompass('N');
End;
end;
end;

procedure Trawlin;
begin
repeat
AntiBannage;
sleep(1000+random(3000));
until(false);
end;

begin
Writeln('Starting Smart!');
SmartSetup('world116', True, True);
while not (SmartReady) do
Wait(100);
SetTargetDC(SmartGetDC);
if not (LoggedIn) then
while not (SmartGetColor(386, 249) = 65535) do
Wait(100);
SetupSRL;
DeclarePlayers;
Trawlin;
end.

ape

2008-04-19 23:21:21

Also! you will need to get SMART and download SVN if you haven't already. If you are having trouble with smart showing up and you have it installed please put this new world list in your old worlds.ini file in the scar includes folder.

; List generated by Freddy1990's Advanced World Generator v2.50
; Generated on 4/19/2008 at 11:03:13 PM
; http://freddy1990.com/fawg.php

[Worlds]
Count=159

[World1]
Prefix=world1
Type=Free
Flag=usflag
Location=United States 3

[World2]
Prefix=world2
Type=Members
Flag=usflag
Location=United States 3

[World3]
Prefix=sl1
Type=Free
Flag=usflag
Location=US Central 2

[World4]
Prefix=world4
Type=Free
Flag=usflag
Location=United States 2

[World5]
Prefix=world5
Type=Free
Flag=usflag
Location=United States 2

[World6]
Prefix=sl10
Type=Members
Flag=usflag
Location=US Central 2

[World7]
Prefix=world7
Type=Free
Flag=usflag
Location=United States 3

[World8]
Prefix=world8
Type=Free
Flag=usflag
Location=United States 3

[World9]
Prefix=world9
Type=Members
Flag=usflag
Location=United States 3

[World10]
Prefix=me5
Type=Free
Flag=nlflag
Location=Netherlands 2

[World11]
Prefix=world11
Type=Free
Flag=ukflag
Location=UK 1

[World12]
Prefix=jolt9
Type=Members
Flag=ukflag
Location=UK 2

[World13]
Prefix=world13
Type=Free
Flag=usflag
Location=United States 2

[World14]
Prefix=world14
Type=Free
Flag=usflag
Location=United States 2

[World15]
Prefix=mn2
Type=Free
Flag=ukflag
Location=UK 1

[World16]
Prefix=mn3
Type=Free
Flag=ukflag
Location=UK 1

[World17]
Prefix=world17
Type=Free
Flag=usflag
Location=United States 2

[World18]
Prefix=world18
Type=Members
Flag=usflag
Location=United States 2

[World19]
Prefix=world19
Type=Free
Flag=usflag
Location=United States 2

[World20]
Prefix=world20
Type=Free
Flag=usflag
Location=United States 2

[World21]
Prefix=world21
Type=Free
Flag=usflag
Location=United States 3

[World22]
Prefix=world22
Type=Members
Flag=usflag
Location=United States 3

[World23]
Prefix=mn4
Type=Members
Flag=ukflag
Location=UK 1

[World24]
Prefix=mn5
Type=Members
Flag=ukflag
Location=UK 1

[World25]
Prefix=me6
Type=Free
Flag=nlflag
Location=Netherlands 2

[World26]
Prefix=world26
Type=Members
Flag=usflag
Location=United States 3

[World27]
Prefix=world27
Type=Members
Flag=usflag
Location=United States 3

[World28]
Prefix=world28
Type=Members
Flag=usflag
Location=United States 3

[World29]
Prefix=world29
Type=Free
Flag=usflag
Location=United States 3

[World30]
Prefix=world30
Type=Free
Flag=usflag
Location=United States 3

[World31]
Prefix=world31
Type=Members
Flag=usflag
Location=United States 3

[World32]
Prefix=world32
Type=Free
Flag=usflag
Location=United States 3

[World33]
Prefix=at1
Type=Free
Flag=usflag
Location=US East 2

[World34]
Prefix=at2
Type=Free
Flag=usflag
Location=US East 2

[World35]
Prefix=at3
Type=Free
Flag=usflag
Location=US East 2

[World36]
Prefix=at4
Type=Members
Flag=usflag
Location=US East 2

[World37]
Prefix=world37
Type=Free
Flag=usflag
Location=United States 2

[World38]
Prefix=ny9
Type=Free
Flag=usflag
Location=US East 1

[World39]
Prefix=ny10
Type=Members
Flag=usflag
Location=US East 1

[World40]
Prefix=ny11
Type=Free
Flag=usflag
Location=US East 1

[World41]
Prefix=ny12
Type=Free
Flag=usflag
Location=US East 1

[World42]
Prefix=world42
Type=Members
Flag=usflag
Location=United States 3

[World43]
Prefix=sl11
Type=Free
Flag=usflag
Location=US Central 2

[World44]
Prefix=at6
Type=Members
Flag=usflag
Location=US East 2

[World45]
Prefix=ny13
Type=Members
Flag=usflag
Location=US East 1

[World46]
Prefix=ny14
Type=Members
Flag=usflag
Location=US East 1

[World47]
Prefix=world47
Type=Free
Flag=usflag
Location=United States 3

[World48]
Prefix=world48
Type=Members
Flag=usflag
Location=United States 3

[World50]
Prefix=ams2
Type=Free
Flag=nlflag
Location=Netherlands 1

[World51]
Prefix=ams3
Type=Free
Flag=nlflag
Location=Netherlands 1

[World52]
Prefix=jolt5
Type=Free
Flag=ukflag
Location=UK 2

[World53]
Prefix=ams5
Type=Members
Flag=nlflag
Location=Netherlands 1

[World54]
Prefix=me10
Type=Members
Flag=nlflag
Location=Netherlands 2

[World55]
Prefix=ch1
Type=Free
Flag=usflag
Location=US Central 1

[World56]
Prefix=world56
Type=Members
Flag=usflag
Location=United States 3

[World57]
Prefix=ch3
Type=Free
Flag=usflag
Location=US Central 1

[World58]
Prefix=ch4
Type=Members
Flag=usflag
Location=US Central 1

[World59]
Prefix=ch5
Type=Members
Flag=usflag
Location=US Central 1

[World61]
Prefix=world61
Type=Free
Flag=usflag
Location=United States 2

[World62]
Prefix=world62
Type=Free
Flag=usflag
Location=United States 2

[World63]
Prefix=world63
Type=Free
Flag=usflag
Location=United States 2

[World64]
Prefix=world64
Type=Members
Flag=usflag
Location=United States 2

[World65]
Prefix=world65
Type=Members
Flag=usflag
Location=United States 2

[World66]
Prefix=world66
Type=Members
Flag=usflag
Location=United States 2

[World67]
Prefix=jolt10
Type=Free
Flag=ukflag
Location=UK 2

[World68]
Prefix=jolt11
Type=Free
Flag=ukflag
Location=UK 2

[World69]
Prefix=jolt12
Type=Members
Flag=ukflag
Location=UK 2

[World70]
Prefix=world70
Type=Members
Flag=usflag
Location=United States 3

[World71]
Prefix=mn1
Type=Members
Flag=ukflag
Location=UK 1

[World72]
Prefix=world72
Type=Free
Flag=usflag
Location=United States 2

[World74]
Prefix=sl3
Type=Free
Flag=usflag
Location=US Central 2

[World75]
Prefix=sl4
Type=Free
Flag=usflag
Location=US Central 2

[World76]
Prefix=sl5
Type=Members
Flag=usflag
Location=US Central 2

[World77]
Prefix=sl6
Type=Members
Flag=usflag
Location=US Central 2

[World78]
Prefix=sl7
Type=Members
Flag=usflag
Location=US Central 2

[World79]
Prefix=sl8
Type=Members
Flag=usflag
Location=US Central 2

[World80]
Prefix=world80
Type=Free
Flag=ukflag
Location=UK 1

[World81]
Prefix=mn6
Type=Free
Flag=ukflag
Location=UK 1

[World82]
Prefix=world82
Type=Members
Flag=ukflag
Location=UK 1

[World83]
Prefix=world83
Type=Members
Flag=ukflag
Location=UK 1

[World84]
Prefix=world84
Type=Members
Flag=ukflag
Location=UK 1

[World85]
Prefix=ny1
Type=Free
Flag=usflag
Location=US East 1

[World86]
Prefix=ny2
Type=Free
Flag=usflag
Location=US East 1

[World87]
Prefix=cc16
Type=Free
Flag=usflag
Location=US Central 2

[World88]
Prefix=ny5
Type=Members
Flag=usflag
Location=US East 1

[World89]
Prefix=ny6
Type=Members
Flag=usflag
Location=US East 1

[World90]
Prefix=ny7
Type=Free
Flag=usflag
Location=US East 1

[World91]
Prefix=ny8
Type=Members
Flag=usflag
Location=US East 1

[World92]
Prefix=world92
Type=Members
Flag=ukflag
Location=UK 1

[World93]
Prefix=mi1
Type=Free
Flag=usflag
Location=US East 3

[World94]
Prefix=mi2
Type=Free
Flag=usflag
Location=US East 3

[World95]
Prefix=mi3
Type=Free
Flag=usflag
Location=US East 3

[World96]
Prefix=mi4
Type=Free
Flag=usflag
Location=US East 3

[World97]
Prefix=mi5
Type=Members
Flag=usflag
Location=US East 3

[World98]
Prefix=mi6
Type=Members
Flag=usflag
Location=US East 3

[World99]
Prefix=mi7
Type=Members
Flag=usflag
Location=US East 3

[World100]
Prefix=world100
Type=Members
Flag=usflag
Location=United States 3

[World101]
Prefix=at7
Type=Free
Flag=usflag
Location=US East 2

[World102]
Prefix=at8
Type=Free
Flag=usflag
Location=US East 2

[World103]
Prefix=at9
Type=Members
Flag=usflag
Location=US East 2

[World104]
Prefix=at10
Type=Members
Flag=usflag
Location=US East 2

[World105]
Prefix=mn8
Type=Free
Flag=ukflag
Location=UK 1

[World106]
Prefix=mn9
Type=Free
Flag=ukflag
Location=UK 1

[World107]
Prefix=au1
Type=Free
Flag=auflag
Location=Australia

[World108]
Prefix=au2
Type=Free
Flag=auflag
Location=Australia

[World109]
Prefix=au3
Type=Free
Flag=auflag
Location=Australia

[World110]
Prefix=au4
Type=Members
Flag=auflag
Location=Australia

[World111]
Prefix=au5
Type=Members
Flag=auflag
Location=Australia

[World112]
Prefix=au6
Type=Members
Flag=auflag
Location=Australia

[World113]
Prefix=world113
Type=Free
Flag=usflag
Location=United States 2

[World114]
Prefix=world114
Type=Members
Flag=usflag
Location=United States 2

[World115]
Prefix=world115
Type=Members
Flag=usflag
Location=United States 2

[World116]
Prefix=world116
Type=Members
Flag=usflag
Location=United States 2

[World117]
Prefix=swe1
Type=Free
Flag=sweflag
Location=Sweden

[World118]
Prefix=swe2
Type=Free
Flag=sweflag
Location=Sweden

[World119]
Prefix=swe3
Type=Free
Flag=sweflag
Location=Sweden

[World121]
Prefix=swe5
Type=Members
Flag=sweflag
Location=Sweden

[World123]
Prefix=swe7
Type=Free
Flag=sweflag
Location=Sweden

[World124]
Prefix=swe8
Type=Members
Flag=sweflag
Location=Sweden

[World125]
Prefix=jlv9
Type=Free
Flag=caflag
Location=Canada West

[World126]
Prefix=jlv2
Type=Free
Flag=caflag
Location=Canada West

[World127]
Prefix=jlv3
Type=Free
Flag=caflag
Location=Canada West

[World128]
Prefix=jlv4
Type=Free
Flag=caflag
Location=Canada West

[World129]
Prefix=jlv5
Type=Members
Flag=caflag
Location=Canada West

[World130]
Prefix=jlv6
Type=Members
Flag=caflag
Location=Canada West

[World131]
Prefix=jlv7
Type=Members
Flag=caflag
Location=Canada West

[World132]
Prefix=jlv8
Type=Members
Flag=caflag
Location=Canada West

[World133]
Prefix=hel1
Type=Free
Flag=finflag
Location=Finland

[World134]
Prefix=hel2
Type=Free
Flag=finflag
Location=Finland

[World136]
Prefix=hel4
Type=Free
Flag=finflag
Location=Finland

[World137]
Prefix=hel5
Type=Members
Flag=finflag
Location=Finland

[World138]
Prefix=hel6
Type=Members
Flag=finflag
Location=Finland

[World141]
Prefix=ams7
Type=Free
Flag=nlflag
Location=Netherlands 1

[World142]
Prefix=me2
Type=Free
Flag=nlflag
Location=Netherlands 2

[World143]
Prefix=me3
Type=Members
Flag=nlflag
Location=Netherlands 2

[World144]
Prefix=me4
Type=Members
Flag=nlflag
Location=Netherlands 2

[World145]
Prefix=jlv18
Type=Members
Flag=caflag
Location=Canada West

[World149]
Prefix=hel7
Type=Free
Flag=finflag
Location=Finland

[World151]
Prefix=hel9
Type=Members
Flag=finflag
Location=Finland

[World152]
Prefix=jlv10
Type=Free
Flag=caflag
Location=Canada West

[World153]
Prefix=jlv11
Type=Free
Flag=caflag
Location=Canada West

[World154]
Prefix=jlv12
Type=Free
Flag=caflag
Location=Canada West

[World155]
Prefix=jlv13
Type=Free
Flag=caflag
Location=Canada West

[World157]
Prefix=jlv15
Type=Members
Flag=caflag
Location=Canada West

[World158]
Prefix=jlv16
Type=Members
Flag=caflag
Location=Canada West

[World159]
Prefix=jlv17
Type=Members
Flag=caflag
Location=Canada West

ape

2008-04-22 23:44:55

Noone likes it?? not a single post or comment?? I know its simple but it keeps you logged in doing nothing with SMART. It is also a good start for a script if anyone wants to copy it when making their own or w/e.

Brain

2008-04-23 00:13:36

hmmm, I might like it, if I had a members account….
But awhile ago I saw a few people askin for one of these, so maybe just wait till they come along ;)