Tv-XxX
2008-05-31 14:06:38
<!– BEGIN TEMPLATE: formanswers –>
Tv-XxX - SRL Member Application Form
Tv-XxX
What is the meaning to life?
Where you Referred to SRL? If yes, by whom?
no
Programming Knowledge
PHP, Delphi, C, C#, C++, Pascal, Basic, Html
Other Communitys
How Long have You Played Runescape
5 Years
Are you affilated in anyway with Jagex LTD?
No
—————————————————–
Please write down a paragraph about Yourself.
Well. I'm Back, and Applying For Membership Once Again :)
I Have Been Trying My Hardest To Learn As Much As I Can About Scar Scripting, and Believe I Have Come Along Way, as I Know Undersatnd Much Much More.
The Code I Have Attached With This Application Is My West Varrok Clay Miner and Softner, Hopefully You Will Accept My Application, If Not, Im Sure There's A Valid Reason Why.
Yours Tv.
——————————————————
Please Post a Sample of your Work. Only SCAR Scripts Accepted
——————————————————
<!– END TEMPLATE: formanswers –>
Tv-XxX - SRL Member Application Form
Tv-XxX
What is the meaning to life?
Where you Referred to SRL? If yes, by whom?
no
Programming Knowledge
PHP, Delphi, C, C#, C++, Pascal, Basic, Html
Other Communitys
How Long have You Played Runescape
5 Years
Are you affilated in anyway with Jagex LTD?
No
—————————————————–
Please write down a paragraph about Yourself.
Well. I'm Back, and Applying For Membership Once Again :)
I Have Been Trying My Hardest To Learn As Much As I Can About Scar Scripting, and Believe I Have Come Along Way, as I Know Undersatnd Much Much More.
The Code I Have Attached With This Application Is My West Varrok Clay Miner and Softner, Hopefully You Will Accept My Application, If Not, Im Sure There's A Valid Reason Why.
Yours Tv.
——————————————————
Please Post a Sample of your Work. Only SCAR Scripts Accepted
program Tvs_Clay_Moist;
{.include Srl/Srl/Misc/Smart.scar}
{.include Srl/Srl.scar}
{.include Srl/Srl/Misc/Users.scar}
{.include Srl/Srl/Skill/Mining.scar}
{
___________ ____ ___ ____ ___ _________
\__ ___/__ __ \ \/ /___ ___\ \/ / / _____/____ ___.__. ______
| | \ \/ / ______ \ / \ \/ / \ / \_____ \\__ \< | |/ ___/
| | \ / /_____/ / \ > < / \ / \/ __ \\___ |\___ \
|____| \_/ /___/\ \/__/\_ \/___/\ \ /_______ (____ / ____/____ >
\_/ \/ \_/ \/ \/\/ \/
___________.__ __ _____.___. ___________
\__ ___/| |__ _____ ____ | | __ \__ | | ____ __ __ \__ ___/___ ____
| | | | \\__ \ / \| |/ / / | |/ _ \| | \ | | / _ \ / _ \
| | | Y \/ __ \| | \ < \____ ( <_> ) | / | |( <_> | <_> )
|____| |___| (____ /___| /__|_ \ / ______|\____/|____/ |____| \____/ \____/ /\ /\ /\
\/ \/ \/ \/ \/ \/ \/ \/
Starblaster For FindObjCustom2
Mixster For EmptiestWorld
Jad For JadSymbol
Waddo For PerfectNorth2
}
Var
ClayMined, SoftClayMade : Integer;
CharactersWorld : String;
//###################### StarBlasters Find Object Custom Function #####################################################
function FindObjCustom2(var cx, cy: Integer; Text: TStringArray; Color: TIntegerArray; Tolerance: Integer): Boolean;
var
a, b, c, i, x1, y1, x2, y2: Integer;
Start: Boolean;
begin
for b := 0 to (GetArrayLength(Color)-1) do
begin
if (FindColorSpiralTolerance(cx, cy, color[b], MSX1, MSY1, MSX2, MSY2, Tolerance)) then
begin
Start := True;
Break;
end;
end;
if(Start)then
begin
x1 := 245;
y1 := 165;
x2 := 277;
y2 := 185;
repeat
if not(LoggedIn)then break;
a := a + 1;
if (a = 1) then
c := c + 1
else if (a = 3) then
c := c + 1;
for i := 1 to c do
begin
if (a = 1) then
begin
x1 := x1 + 30;
x2 := x2 + 30;
end else
if (a = 2) then
begin
y1 := y1 - 20;
y2 := y2 - 20;
end else
if (a = 3) then
begin
x1 := x1 - 30;
x2 := x2 - 30;
end else
if (a = 4) then
begin
y1 := y1 + 20;
y2 := y2 + 20;
end;
if (x1 = 485) and (x2 = 517) then
x2 := x2 - 2;
if (y1 = 325) and (y2 = 345) then
y2 := y2 - 7;
if (x2 > 515) then
Break;
for b := 0 to (GetArrayLength(Color)-1) do
begin
if (FindColorTolerance(cx, cy, Color[b], x1, y1, x2, y2, tolerance)) then
begin
MMouse(cx, cy, 3, 3);
Wait(5+Random(10));
if (IsUpTextMultiCustom(Text)) then
begin
Result := True;
Exit;
end;
end;
end;
end;
if (a = 4) then
a := 0;
until (x2 > 515) or (Result = True);
end;
end;
//#######################################################################################################
//###################### Mixsters Random Least Worlds Function (Edited By Tv-XxX) #####################
function EmptiestWorld(members: Boolean): string;
var
website, GetCharacterWorld : string;
worlds : array of string;
RandWorld : Integer;
begin
case members of
False: website := GetPage('http://www.runescape.com/slj.ws?lores.x=1&plugin=0&order=MPLAW');
True: website := GetPage('http://www.runescape.com/slj.ws?lores.x=1&plugin=0&order=mPLAW');
end;
Delete(website, 1, Pos('function e(w,m,s,a,dt,h,p,l) ', website) + 50);
while GetArrayLength(worlds) < 10 do
begin
SetArrayLength(worlds, GetArrayLength(worlds) + 1);
Delete(website, 1, Pos('",', website) + 3);
worlds[GetArrayLength(worlds) - 1] := Between(',"', '",', website);
Delete(website, 1, Pos('",', website) + 3);
end;
RandWorld := Random(10)
Result := worlds[RandWorld];
If((Length(Result)=8))Then GetCharacterWorld := Right(Result,3) Else GetCharacterWorld := Right(Result,2);
CharactersWorld := GetCharacterWorld;
end;
//#######################################################################################################
//################# Jads Symbol Locator #################################################################
function JadSymbol(WhatSymbol: String; Click : Boolean): Boolean;
var
Tx, Ty, I : Integer;
begin
for I := 1 to 15=0 do
begin
if(FindSymbol(Tx, Ty,(WhatSymbol)))then
begin
if(Click)then
Mouse(Tx,Ty,2,2,true);
Result := True;
Exit;
end;
wait(750+random(500));
end;
Writeln('Could NOT find '+WhatSymbol+' symbol.');
Result := False;
end;
//######################################################################################################
//############################## Waddos PerfectNorth Function ##########################################
function perfectnorth2 : boolean;
var x,y,ndtm,checks,mark:integer;
begin
ndtm := DTMFromString('78DA63F4646260D06740011919D60C3A8C0C0' +
'C40C4F01F0818416AF450D5BCFDF685C18801A20604C06A748950' +
'A343408D07A67B30D4B813A1C68D08354E986A3EBF7E83A20600C' +
'EBE1E34');
MarkTime(Mark);
makecompass('n');
wait(1000);
keydown(vk_left);
repeat
wait(50);
if finddtm(ndtm,x,y,mmx1,mmy1,mmx2,mmy2)then
begin
keyup(vk_left);
writeln('found in '+inttostr(timefrommark(mark))+' ms');
keydown(vk_right);
wait(15+random(2));
keyup(vk_right);
result:=true;
exit;
end;
if rs_GetCompassAngleDegrees>=40 then
begin
keyup(vk_left);
makecompass('20');
wait(50);
keydown(vk_left);
end;
checks:=checks+1;
until ((checks>=10) or (result=true));
freedtm(ndtm);
checks:=0;
keyup(vk_left);
end;
//##############################################################################################
{
#####################################################################
# WithDraw Taken From SRL # 16 #
# Edited By Tv-XxX #
# Changes Are : #
# Longer Wait Time, #
# Removed +Chr(13) as TypeSend All Ready Includes That #
#####################################################################
}
procedure WithdrawCopy(col, row, Amount: Integer);
Var
BBox: TBox;
begin
Col := Col - 2;
FixBank;
BBox := BankIndexToMSBox(BankPointToIndex(Point(Col, Row)));
If Amount = 1 Then
Begin
MouseBox(BBox.X1 + 5, BBox.Y1 + 5, BBox.X2 - 5, BBox.Y2 - 5, 1);
Wait(RandomRange(50, 150));
End
Else
Begin
MouseBox(BBox.X1 + 5, BBox.Y1 + 5, BBox.X2 - 5, BBox.Y2 - 5, 2);
if (Amount = 5) or (Amount = 10) then
ChooseOption('Withdraw ' +IntToStr(Amount))
else if Amount = 0 then
ChooseOption('Withdraw All')
else
begin
ChooseOption('Withdraw X');
Wait(2000 + Random(1000));
TypeSend(IntToStr(Amount));
end;
End;
end;
{
########################################################################################################################################################
_______ _______ _______ ______ _______ _______ _________ _______ _______ _________ _______ _______ _______ _______
( )|\ /| ( ____ \( ___ )( __ \ ( ____ \ ( ____ \\__ __/( ___ )( ____ )\__ __/( ____ \ |\ /|( ____ \( ____ )( ____ \
| () () |( \ / ) | ( \/| ( ) || ( \ )| ( \/ | ( \/ ) ( | ( ) || ( )| ) ( | ( \/ | ) ( || ( \/| ( )|| ( \/
| || || | \ (_) / | | | | | || | ) || (__ | (_____ | | | (___) || (____)| | | | (_____ | (___) || (__ | (____)|| (__
| |(_)| | \ / | | | | | || | | || __) (_____ ) | | | ___ || __) | | (_____ ) | ___ || __) | __)| __)
| | | | ) ( | | | | | || | ) || ( ) | | | | ( ) || (\ ( | | ) | | ( ) || ( | (\ ( | (
| ) ( | | | | (____/\| (___) || (__/ )| (____/\ /\____) | | | | ) ( || ) \ \__ | | /\____) | | ) ( || (____/\| ) \ \__| (____/\
|/ \| \_/ (_______/(_______)(______/ (_______/ \_______) )_( |/ \||/ \__/ )_( \_______) |/ \|(_______/|/ \__/(_______/
########################################################################################################################################################
}
Procedure TvReport;
Begin
ClearDebug;
Writeln('################################################')
Writeln('# Tvs Clay Miner and Moister #')
Writeln('################################################')
Writeln('---------------- Time Running ------------------')
Writeln('------------------------------------------------')
Writeln(' '+TimeRunning)
Writeln('------------------------------------------------')
Writeln('-------------- Clay Ores Mined -----------------')
Writeln('------------------------------------------------')
Writeln(' '+IntToStr(ClayMined))
Writeln('------------------------------------------------')
Writeln('-------------- Soft Clays Made -----------------')
Writeln('------------------------------------------------')
Writeln(' '+IntToStr(SoftClayMade))
Writeln('################################################')
Writeln('# [url]Http://www.Tv-XxX.co.uk[/url] #')
Writeln('################################################')
ReportVars[1]:= 28;
SendSRLReport;
wait(100)
SRLRandomsReport;
End;
Procedure TvAntiBan;
Begin
case Random(100) of
0: HoverSkill('Mining', False);
4: HoverSkill('Crafting', false);
8:
begin
GameTab(1 + Random(12));
wait(1800 + random(500));
GameTab(4)
end;
12: BoredHuman;
16: AlmostLogout;
20: DoEmote(400 + Random(90));
40:
Begin
Case Random(10) of
4:
Begin
Logout;
Writeln('Status : SLEEPING')
Wait(60000+random(300000))
LoginPlayer;
end;
end;
end;
end;
If(InChat('Hi'))or (InChat('ello'))or (InChat('Hey')) Then
Begin
case Random(20) of
0: TypeSend('hello');
1: TypeSend('hi');
2: TypeSend('hola');
3: TypeSend('hey');
4: TypeSend('morning');
end;
End;
If(InChat('lvl'))or (InChat('ining'))or (InChat('level'))or (InChat('lvl?')) Then
Begin
case Random(5) of
0: TypeSend(IntToStr(GetSkillLevel('mining'))+' yours?');
1: TypeSend(IntToStr(GetSkillLevel('mining')));
2: TypeSend(IntToStr(GetSkillLevel('mining'))+' and you?');
3: TypeSend('erm... '+IntToStr(GetSkillLevel('mining')));
4: TypeSend(IntToStr(GetSkillLevel('mining')));
end;
End;
End;
Procedure TvAntiRandoms;
Begin
FindNormalRandoms;
wait(10)
If(FindFight)Then RunAway('w',True,1,10000);
wait(10)
End;
Procedure BankClay;
Var
Ti, Tx, Ty, BucketDTM : Integer;
Begin
BucketDTM := DTMFromString('78DA637464616098CCC8800C26963B3388006' +
'990E87F20607406AA9987AA06220B2381B40550CD74026ABC806A' +
'BA08A8B102AA69C3AF0600E3D7099B');
GameTab(4);
repeat
OpenBankFast('vwb');
Ti := Ti + 1;
Until ((BankScreen) Or (Ti > 5) or (PinScreen));
If BankScreen Then
Begin
FixBank;
Deposit(1, 14, 14);
Repeat
WithdrawCopy(1, 1, 0);
wait(1500+random(500));
Until(DTMRotated(BucketDTM, Tx, Ty, MIX1, MIY1, MIX2, MIY2))
CloseBank;
End;
ClayMined:= ClayMined + 28;
AddToReport('Clay Mined : '+IntToStr(ClayMined))
ReportVars[0]:= 28;
SendSRLReport;
TvAntiRandoms;
End;
Procedure MineClay;
var
Tx, Ty, GemDTM, FrogDTM, IncTol : integer;
begin
SetupMining;
FindPickHeadColor;
If Not Loggedin then Exit;
GemDTM := DTMFromString('78DA63DCC7CCC0B09D910119F00AE632FC07D' +
'220D1FF40C07808A8E620AA1A882C8C04D21B816AD61350B319A8' +
'E600013520BB361050B301A8662B0135BB806A0E11507304A8663' +
'701353B816AD6E1570300831C12C9');
FrogDTM := DTMFromString('78DA637CC2CCC0709B910119F0E53A3018016' +
'990E87F2060BC06547306550D44164602E9AB40352F08A8F94CA4' +
'1A0276010073F70DC4');
If not InvFull then begin
repeat
If Not Loggedin then Exit;
if FindObjCustom2(Tx, Ty, ['Min', 'ine'], [6532563, 5146789, 5674678], 7 + IncTol) then begin
MMouse(Tx,Ty,4,4)
wait(100+random(100))
if IsUpText('ine') then Mouse(Tx,Ty,0,0,True);
Flag;
TvAntiRandoms;
If(GasFound(Tx, Ty)) Then RunAway('s',False,1,10000);
TvAntiBan;
FindPick;
Wait(4000+random(1000));
IncTol := 0
end
else
Begin
wait(1000+random(1000))
If Not Loggedin then Exit;
IncTol := IncTol + 2
end;
until(InvFull);
end;
End;
Procedure WaterClay;
Var
Tx, Ty, Ti, BucketDTM, ClayDTM, BucketWaterDTM, ClayTxtBMP : Integer;
Begin
ClayDTM := DTMFromString('78DA63CC60616060646240062B27243088006' +
'94620FE0F048C894035FF19195001231209A4B3806A5898F0ABC9' +
'03AAF987DF1C00A7C6096E');
BucketDTM := DTMFromString('78DA637464616098CCC8800C26963B3388006' +
'990E87F20607406AA9987AA06220B2381B40550CD74026ABC806A' +
'BA08A8B102AA69C3AF0600E3D7099B');
BucketWaterDTM := DTMFromString('78DA6314636160B8C2C8800CAA6B663388006' +
'990E87F206004A97986AA06220B2381B40050CD39026A14806AAE' +
'1250C307547317BF1A003DCD0A6E');
ClayTxtBMP := BitmapFromString(30, 10, 'beNp9ktEJgDAMRLP/Co' +
'qI7iFIcQDBD93G0rTJeW0t95HY+HINCctzrNc+ZoWUhkWD+5ii/DY' +
'VZJXY6vNHkJOhPioyFS4i3oVQKCNgUBnWVNJpcphP3tAwedarBG+j' +
'ep4p2Ed9KbbQpn9kHDulzYHjxIrnNraPqiVwnFwIdGX1+HsPa/VI8' +
'4HDK8wzpk7+PsTXgNqVWDfQellrGh0vHqxBj6wxTb4uOLf53IbrBW' +
'CkR+4=');
If(DTMRotated(BucketDTM, Tx, Ty, MIX1, MIY1, MIX2, MIY2))Then
Begin
Mouse(Tx, Ty, 4, 4, True)
wait(500+random(500))
FindObjCustom2(Tx, Ty, ['tain', 'Foun'],[9932135, 11116160], 10)
Mouse(Tx, Ty, 4, 4, True)
Wait(15000 + Random(5000))
DTMRotated(BucketWaterDTM, Tx, Ty, MIX1, MIY1, MIX2, MIY2)
Mouse(Tx, Ty, 4, $, True)
DTMRotated(ClayDTM, Tx, Ty, MIX1, MIY1, MIX2, MIY2)
Mouse(Tx, Ty, 4, 4, True)
wait(500+random(500))
Repeat
Wait(100+random(100))
Ti:= Ti+1
Until((FindBitmap(ClayTxtBMP, Tx, Ty))Or (Ti>30))
mouse(250,421,10,10,false);
wait(100+random(500))
Ti:=0
Repeat
Wait(100+random(100))
Ti:= Ti+1
Until(ChooseOption('All')Or (Ti>30))
Wait(20000 + Random(5000))
DTMRotated(BucketDTM, Tx, Ty, MIX1, MIY1, MIX2, MIY2)
Mouse(Tx, Ty, 4, 4, True)
wait(500+random(500))
FindObjCustom2(Tx, Ty, ['tain', 'Foun'],[9932135, 11116160], 10)
Mouse(Tx, Ty, 4, 4, True)
Wait(15000 + Random(5000))
End Else
Begin
MouseItem(1, True)
FindObjCustom2(Tx, Ty, ['tain', 'Foun'],[9932135, 11116160], 10)
Mouse(Tx, Ty, 4, 4, True)
Wait(15000 + Random(5000))
MouseItem((1+random(12)), True)
MouseItem((16+random(10)), True)
Wait(2000+random(1000))
mouse(250,421,10,10,false);
wait(1000+random(500))
ChooseOption('All');
Wait(20000 + Random(5000))
MouseItem(1, True)
FindObjCustom2(Tx, Ty, ['tain', 'Foun'],[9932135, 11116160], 10)
Mouse(Tx, Ty, 4, 4, True)
Wait(15000 + Random(5000))
End;
end;
Procedure SecondClayWetter;
Var
Ti, Tx, Ty, ClayDTM, BucketWaterDTM, ClayTxtBMP : Integer;
Begin
ClayDTM := DTMFromString('78DA63CC60616060646240062B27243088006' +
'94620FE0F048C894035FF19195001231209A4B3806A5898F0ABC9' +
'03AAF987DF1C00A7C6096E');
BucketWaterDTM := DTMFromString('78DA6314636160B8C2C8800CAA6B663388006' +
'990E87F206004A97986AA06220B2381B40050CD39026A14806AAE' +
'1250C307547317BF1A003DCD0A6E');
ClayTxtBMP := BitmapFromString(30, 10, 'beNp9ktEJgDAMRLP/Co' +
'qI7iFIcQDBD93G0rTJeW0t95HY+HINCctzrNc+ZoWUhkWD+5ii/DY' +
'VZJXY6vNHkJOhPioyFS4i3oVQKCNgUBnWVNJpcphP3tAwedarBG+j' +
'ep4p2Ed9KbbQpn9kHDulzYHjxIrnNraPqiVwnFwIdGX1+HsPa/VI8' +
'4HDK8wzpk7+PsTXgNqVWDfQellrGh0vHqxBj6wxTb4uOLf53IbrBW' +
'CkR+4=');
GameTab(4);
repeat
OpenBankFast('vwb');
Ti := Ti + 1;
Until ((BankScreen) Or (Ti > 5) or (PinScreen));
If BankScreen Then
Begin
FixBank;
Deposit(15, 28, 14);
wait(1000+random(500))
WithdrawCopy(2, 1, 0);
wait(1000+random(500))
CloseBank;
Wait(2000+random(1000))
DTMRotated(BucketWaterDTM, Tx, Ty, MIX1, MIY1, MIX2, MIY2)
Mouse(Tx, Ty, 4, $, True)
DTMRotated(ClayDTM, Tx, Ty, MIX1, MIY1, MIX2, MIY2)
Mouse(Tx, Ty, 4, 4, True)
wait(500+random(500))
Ti:=0
Repeat
Wait(100+random(100))
Ti:= Ti+1
Until((FindBitmap(ClayTxtBMP, Tx, Ty))Or (Ti>30))
mouse(250,421,10,10,false);
wait(100+random(500))
Ti:=0
Repeat
Wait(100+random(100))
Ti:= Ti+1
Until(ChooseOption('All')Or (Ti>30))
Wait(20000 + Random(5000))
End;
repeat
OpenBankFast('vwb');
Ti := Ti + 1;
Until ((BankScreen) Or (Ti > 5) or (PinScreen));
If BankScreen Then
Begin
FixBank;
DepositAll;
wait(1000+random(500))
CloseBank;
End;
SoftClayMade := SoftClayMade+28;
TvReport;
End;
Procedure MineToBank;
Var
Tx, Ty, Ti : Integer;
Begin
Ti:= 0
Repeat
Mouse(((((MMX2)-(MMX1))/3)+MMX1)-random(15),(MMY1 + 20), 4, 4, True)
Wait(5000+random(1000))
Flag;
Ti:= Ti + 1
Until(Ti=2)
Ti:= 0
perfectnorth2;
Repeat
Mouse(((((MMX2)-(MMX1))/2)+MMX1)+random(10),(MMY1 + 20), 4, 4, True)
Flag;
Wait(1000+random(1000))
Ti:= Ti + 1
Until(Ti=2)
Ti:= 0
Repeat
If(RadialWalk(FindVarrockRoadColor,40,110,60,2,2))Then
Begin
Writeln('Status : Found Varrok Road')
Wait(1000 + Random(1000))
Flag;
Ti:= 4
End Else
Begin
Writeln('Status : Looking For Varrok Road [' +IntToStr(Ti)+ ']')
Ti:= Ti + 1;
If(Ti=4) Then Begin Writeln('Status : Can Not Find Varrok Road, Logging Out'); Logout; TerminateScript; End;
End;
Until(Ti=4)
Ti:= 0
Repeat
If(FindSymbol(Tx, Ty, 'Bank'))Or (JadSymbol('bank', True)) Then
Begin
Writeln('Status : Found Bank Symbol')
Mouse(Tx, Ty, 4, 4, True)
Flag;
Ti:= 4
GameTab(4);
End Else
Begin
Writeln('Status : Looking For Bank Symbol [' +IntToStr(Ti)+ ']')
Ti:= Ti + 1;
If(Ti=4) Then
If(FindSymbol(Tx, Ty, 'Water')) Then
Begin
RadialWalk(FindVarrockRoadColor,250,290,40,2,2)
Writeln('Status : Found Varrok Road')
Wait(1000 + Random(1000))
Flag;
Ti:= 0
End else
Begin
Ti:= 0
If(RadialWalk(FindVarrockRoadColor,70,120,40,2,2))Then
Begin
Writeln('Status : Found Varrok Road')
Wait(1000 + Random(1000))
Flag;
Ti:= 0
End Else
Begin
Mouse((MMX2)-20, ((((MMY2)-(MMY1))/2)+MMY1)+random(5), 4, 4, True)
Flag;
Ti:= 0
End;
End;
End;
Until(Ti=4)
End;
Procedure BankToMine;
Var
Tx, Ty, Ti, AgilityDTM : Integer;
Begin
Ti:= 0
Repeat
If(FindSymbol(Tx, Ty, 'Bank')) Then
Begin
Writeln('Status : Found Bank Symbol')
Mouse(Tx+8, Ty, 4, 4, True)
Flag;
Ti:= 4
GameTab(4);
End Else
Begin
Writeln('Status : Looking For Bank Symbol [' +IntToStr(Ti)+ ']')
Ti:= Ti + 1;
End;
Until(Ti=4)
Ti:= 0
Repeat
If(RadialWalk(FindVarrockRoadColor,230,250,72,2,2))Then
Begin
Writeln('Status : Found Varrok Road')
Wait(2000 + Random(1000))
Flag;
Ti:= 4
End Else
Begin
Writeln('Status : Looking For Varrok Road [' +IntToStr(Ti)+ ']')
Ti:= Ti + 1;
If(Ti=4) Then Begin Mouse( MMX1 + 10, MMY2 - 10, 4, 4, True); Wait(2000 + Random(2000)); Flag; End;
End;
Until(Ti=4)
Ti:= 0
Repeat
If(RadialWalk(FindVarrockRoadColor,200,(260 + (Ti*3)),50,2,2))Then
Begin
Writeln('Status : Found Varrok Road')
Wait(1000 + Random(1000))
Flag;
Ti:= 4
End Else
Begin
Writeln('Status : Looking For Varrok Road [' +IntToStr(Ti)+ ']')
Ti:= Ti + 1;
If(Ti=4) Then Begin Writeln('Status : Can Not Find Varrok Road, Logging Out'); Logout; TerminateScript; End;
End;
Until(Ti=4)
Ti:= 0
Repeat
Mouse(((((MMX2)-(MMX1))/2)+MMX1)+(12+(random(5))),(MMY2 - 21), 4, 4, True)
Flag;
Wait(1000+random(1000))
Ti:= Ti + 1
Until(Ti=4)
Ti:= 0
Repeat
If(FindSymbol(Tx, Ty, 'mining spot'))Or (JadSymbol('mining spot', True)) Then
Begin
Writeln('Status : Found Mining Symbol')
Mouse((Tx+6), (Ty-6), 4, 4, True)
Flag;
Ti:= 4
GameTab(4);
End Else
Begin
Writeln('Status : Looking For Mining Symbol [' +IntToStr(Ti)+ ']')
Ti:= Ti + 1;
If(Ti=4) Then
Begin
LoadSymbolBitmapColor('agility')
AgilityDTM := DTMFromString('78DA637CC2CCC020C2C8800C984EBB30A4006' +
'990E87F20607C0454238DAA8691971942C3F82035BC04D4BCC4B4' +
'0B5D0D00D4A6099E');
If(DTMRotated(AgilityDTM, Tx, Ty, MMX1, MMY1, MMX2, MMY2))Or (JadSymbol('agility', True))Or(FindColorTolerance(Tx, Ty, 11178100, MMX1, MMY1, MMX2, MMY2, 10))Then
Begin
Writeln('Status : Found Agility Symbol')
Mouse((MMX2)-20, ((((MMY2)-(MMY1))/2)+MMY1)+random(5), 4, 4, True)
Flag;
Ti:= 0
End Else
Begin
Writeln('Status : Can Not Find Mine (Or Agility), Logging Out');
Logout;
TerminateScript;
End;
End;
End;
Until(Ti=4)
End;
Procedure FountainToBank;
Var
Tx, Ty, Ti : Integer;
Begin
Ti:= 0
Repeat
If(RadialWalk(FindVarrockRoadColor,240,310,60,2,2))Then
Begin
Writeln('Status : Found Varrok Road')
Wait(1000 + Random(1000))
Flag;
Ti:= 4
End Else
Begin
Writeln('Status : Looking For Varrok Road [' +IntToStr(Ti)+ ']')
Ti:= Ti + 1;
If(Ti=4) Then Begin Writeln('Status : Can Not Find Varrok Road, Logging Out'); Logout; TerminateScript; End;
End;
Until(Ti=4)
Ti:= 0
Repeat
If(FindSymbol(Tx, Ty, 'Bank')) Then
Begin
Writeln('Status : Found Bank Symbol')
Mouse(Tx, Ty, 4, 4, True)
wait(5000+random(2000))
Flag;
Ti:= 4
GameTab(4);
End Else
Begin
Writeln('Status : Looking For Bank Symbol [' +IntToStr(Ti)+ ']')
Ti:= Ti + 1;
If(Ti=4) Then
Begin
RadialWalk(FindVarrockRoadColor,250,290,30,2,2);
Flag;
Ti:= 0;
If(FindSymbol(Tx, Ty, 'cook')) Then
Begin
RadialWalk(FindVarrockRoadColor,70,110,70,2,2);
Flag;
End;
End;
End;
Until(Ti=4)
End;
Procedure BankToFountian;
Var
Tx, Ty, Ti : Integer;
Begin
Ti:= 0
Repeat
If(FindSymbol(Tx, Ty, 'Bank')) Then
Begin
Writeln('Status : Found Bank Symbol')
Mouse(Tx, Ty, 4, 4, True)
Flag;
Ti:= 4
GameTab(4);
End Else
Begin
Writeln('Status : Looking For Bank Symbol [' +IntToStr(Ti)+ ']')
Ti:= Ti + 1;
End;
Until(Ti=4)
Ti:= 0
Repeat
If(RadialWalk(FindVarrockRoadColor,120,160,60,2,2))Then
Begin
Writeln('Status : Found Varrok Road')
Wait(1000 + Random(1000))
Flag;
Ti:= 4
End Else
Begin
Writeln('Status : Looking For Varrok Road [' +IntToStr(Ti)+ ']')
Ti:= Ti + 1;
If(Ti=4) Then Begin Writeln('Status : Can Not Find Varrok Road, Logging Out'); Logout; TerminateScript; End;
End;
Until(Ti=4)
Ti:= 0
Repeat
If(FindSymbol(Tx, Ty, 'Water')) Then
Begin
Writeln('Status : Found Water Symbol')
Mouse(Tx, Ty, 4, 4, True)
Flag;
Ti:= 4
GameTab(4);
End Else
Begin
Writeln('Status : Looking For Water Symbol [' +IntToStr(Ti)+ ']')
Ti:= Ti + 1;
If(Ti=4) Then Begin Mouse((MMX2)-20, ((((MMY2)-(MMY1))/2)+MMY1)+random(5), 4, 4, True); Ti:=0 End;
End;
Until(Ti=4)
End;
procedure SmartAnimation;
begin
ClearDebug;
Writeln('=========================================')
Writeln('= ##### # # ##### ##### ##### =')
Writeln('= # # # # # # # # # # =')
Writeln('= ##### # # # ##### ##### # =')
Writeln('= # # # # # # # # =')
Writeln('= ##### # # # # # # # =')
Writeln('=========================================')
Writeln(' LOADING WORLD '+ CharactersWorld +' ')
Writeln('=========================================')
Wait(100)
end;
Procedure SetUpScript;
Begin
If(Not(Loggedin)) Then TerminateScript;
MakeCompass('N')
perfectnorth2;
SetRun(True)
SetAngle(True)
End;
procedure SetupSmart;
Var
Ti : Boolean;
Tx, Ty, WelcomeScreen : Integer;
CharactersPrefix : String;
begin
WelcomeScreen := BitmapFromString(32, 4, 'beNpjYHB09v3/nwGIgADCAI' +
'pAEFycGLatvSeEDUcQgFU9mvkeXsEk2QUHVtbOuPQCxeFSBN0DcT/' +
'QNDQvAEUgToXrRWMDrUB2DzzoMNUDzYdYgeIBAO43gOo=');
CharactersPrefix := EmptiestWorld(Players[CurrentPlayer].Booleans[0])
SmartSetup(CharactersPrefix, false, true);
ClearDebug;
SmartAnimation;
Wait(1000);
SetupSrl;
ScriptID := '880';
if ((players[currentplayer].strings[0] = '') or (players[currentplayer].strings[1] = ''))then
begin
SRLID:='4159';
SRLPassword:='sK9k5Dd7mV';
end else
begin
SRLID := players[currentplayer].strings[0];
SRLPassword := players[currentplayer].strings[1];
end;
Repeat
SetTargetDC(SmartGetDC);
SmartAnimation;
If((SmartReady)and ((FindBitmap(Tx, Ty, WelcomeScreen))Or Loggedin)) Then Ti:= True Else Ti:= False;
Until(Ti)
ClearDebug;
Writeln('=========================================')
Writeln('= ##### # # ##### ##### ##### =')
Writeln('= # # # # # # # # # # =')
Writeln('= ##### # # # ##### ##### # =')
Writeln('= # # # # # # # # =')
Writeln('= ##### # # # # # # # =')
Writeln('=========================================')
Writeln(' LOADED WORLD '+ CharactersWorld +' ')
Writeln('=========================================')
Wait(100)
end;
begin
SRLPlayerForm(True, ['Members Account'], [], ['SRLStats User','SRLStats Pass'], [])
ClearReport;
ClearDebug;
SetupSmart;
loginplayer;
///////////////////////////////////////////////
Repeat
SetUpScript;
BankToMine;
MineClay;
SetUpScript;
MineToBank;
BankClay;
BankToFountian;
WaterClay;
FountainToBank;
SecondClayWetter;
case random(10) of
4:
Begin
Writeln('Status : Sleeping After Banking')
Logout;
wait(120000+random(180000))
LoginPlayer;
End;
8:
Begin
Writeln('Status : Random Waiting After Banking')
wait(180000+random(180000))
If Not(LoggedIn)Then LoginPlayer;
End;
End;
Until(False)
end.——————————————————
<!– END TEMPLATE: formanswers –>