TViYH
2007-12-02 00:28:50
<!– BEGIN TEMPLATE: formanswers –>
Elkins121 - SRL Member Application Form
Elkins121
What is the meaning to life?
Where you Referred to SRL? If yes, by whom?
yes
Sythe from Sythe.org (I found them first…)
Programming Knowledge
Scar, Basic HTML, Some VB6
Other Communitys
Sythe, Sp0rk-Eh, Freddy1990
How Long have You Played Runescape
1.7 years
Are you affilated in anyway with Jagex LTD?
No
—————————————————–
Please write down a paragraph about Yourself.
I am trustworthy! Please accept me!
——————————————————
Please Post a Sample of your Work. Only SCAR Scripts Accepted
——————————————————
<!– END TEMPLATE: formanswers –>
Elkins121 - SRL Member Application Form
Elkins121
What is the meaning to life?
Where you Referred to SRL? If yes, by whom?
yes
Sythe from Sythe.org (I found them first…)
Programming Knowledge
Scar, Basic HTML, Some VB6
Other Communitys
Sythe, Sp0rk-Eh, Freddy1990
How Long have You Played Runescape
1.7 years
Are you affilated in anyway with Jagex LTD?
No
—————————————————–
Please write down a paragraph about Yourself.
I am trustworthy! Please accept me!
——————————————————
Please Post a Sample of your Work. Only SCAR Scripts Accepted
{.Script Info:
# ScriptName = Al Kharid Smelter
# Author = Elkins121
# Description = Smelts Steel Bars in Al Kharid
# Version = 1
# Date = 12/01/07
# Comments = Start In Al Kharid,
Most Northern Usable Bank Slot...
Have Iron In First Bank Slot,
and Coal In Second Bank Slot...
Use ScarScape! Visit Forum Thread For Link To ScarScape Download...
/Script Info}
program New;
{.include SRL\SRL.scar}
Const StartPlayer = 0; // Determines who will play first
LoadsToDo = 5;
var DTM, Done, BarsMade, Banked: integer;
MySRLID, MySRLPassword : string;
Procedure DeclarePlayers;
begin
MySRLID := ''; // Must be a string!
MySRLPassword := ''; // Must be a string!
HowManyPlayers:= 1; // Set Number of Players here.
NumberOfPlayers(HowManyPlayers); // Sets the Players Array Length;
CurrentPlayer:= StartPlayer; // CurrentPlayer = Array Index
Players[0].Name :=''; //username
Players[0].Pass :=''; //password
Players[0].Nick :=''; //3-4 consecutive letters of your user name(NOT First letter)
Players[0].Pin :=0; //Pin number(not a string!!)
Players[0].Active :=True; //are you going to use this player
end;
Function InPin2(pin:integer):Boolean; //Thanks Xcan!!
var pinstr:string;
star,i,x,y:integer;
tpt1,tpt2:array[0..3] of tpoint;
begin
if (PinScreen) then
begin
star := BitmapFromString2(False, 'a81C2B78DA4D8B3912C0200C0' +
'3BF247C01A5C984FF3F29166970B1A359C90090A3007F0A61493A' +
'8DDBCBACF4328CE66C7C07BDF0A9A7928B6DF4C63C4FA15E684B6' +
'C1AD47EEE3AE036373F9CC');
tpt1[0].x:=428; tpt1[0].y:=31;
tpt2[0].x:=442; tpt2[0].y:=48;
tpt1[1].x:=444; tpt1[1].y:=31;
tpt2[1].x:=458; tpt2[1].y:=48;
tpt1[2].x:=460; tpt1[2].y:=31;
tpt2[2].x:=474; tpt2[2].y:=48;
tpt1[3].x:=476; tpt1[3].y:=31;
tpt2[3].x:=490; tpt2[3].y:=48;
PinStr:=(inttostr(pin))
mmouse(322,203,20,20);
for i:=1 to 4 do
begin
wait(100+random(100));
ClickText(pinstr[i], upchars, 1, 1, 512, 336, True);
wait(100+random(100))
mmouse(322,203,20,20);
repeat
wait(20)
if i=4 then
begin
repeat
wait(20)
until bankscreen
break;
end;
until FindBitmaptoleranceIn(star,x,y,tpt1[i-1].x,tpt1[i-1].y,tpt2[i-1].x,tpt2[i-1].y,20)
end;
end;
if (bankscreen) then
result:=true;
freebitmap(star)
end;
procedure Smith;
begin
FindNormalRandoms;
Wait(2000);
if FindObjCustom(x,y,['melt','urnace'],[3618619,4013378,3158068,4210757],1) then
Mouse(x,y,0,0,true);
Wait(2000);
Mouse(265,410,0,0,false);
ChooseOption('X');
Wait(1000);
TypeSend('9');
repeat
Wait(1000);
ClickToContinue;
FindNormalRandoms;
HoverSkill('random',false);
InvCount;
ClearDebug;
until(InvCount=9)
BarsMade:=BarsMade+9;
ReportVars[0] := ReportVars[0] + 9;
end;
procedure One;
begin
OpenBankFast('akb');
Wait(2000);
if not (players[currentplayer].pin = 0) then
begin
InPin2(Players[CurrentPlayer].Pin);
end;
FixBank;
DepositAll;
Withdraw(1,1,9);
Withdraw(2,1,18);
CloseBank;
FindNormalRandoms;
end;
procedure Two;
begin
if FindSymbol(x,y,'cook') then
Mouse(x+2,y+2,0,0,true);
Flag;
if FindDTM(DTM,x,y,mmx1,mmy1,mmx2,mmy2) then
Mouse(x+6,y,0,0,true);
Flag;
if FindSymbol(x,y,'bank') then
Mouse(x,y,0,0,true);
Flag;
OpenBankFast('akb');
if not (players[currentplayer].pin = 0) then
begin
InPin2(Players[CurrentPlayer].Pin);
end;
Wait(2000);
FixBank;
DepositAll;
Banked:=Banked+1;
CloseBank;
FindNormalRandoms;
Done:=Done+1;
end;
procedure Randomness;
begin
if FindSymbol(x,y,'cook') then
Mouse(x+2,y+2,0,0,true);
Flag;
Mouse(660,55,0,0,true);
Flag;
Flag;
FindNormalRandoms;
Smith;
end;
procedure ProggyReport;
begin
ChangeReportWidth(280);
ClearReport;
AddToReport('--Bars Made ' + IntToStr(BarsMade) + ' --');
AddToReport('-Loads Done ' + IntToStr(Done) + ' -');
AddToReport('-----Banked ' + IntToStr(Banked) + ' time(s).-----');
end;
procedure RunIt;
begin
DTM := DTMFromString('78DA632C676260F0644001FFFEF1816946289' +
'FB10EA8C61255CD9327EF50D510634E0195CC2903AA094255F3E7' +
'0F138A1A00D62F1205');
repeat
One;
Randomness;
Two;
ProggyReport;
ReportVars[1] := ReportVars[1] + 1;
SendSRLReport;
until(Done=LoadsToDo);
end;
begin
SetupSRL;
if (MySRLID='') then
begin
MySRLID:='3506';
MySRLPassword:='Smeltation';
end;
SRLID:=MySRLID;
SRLPassword:=MYSRLPASSWORD;
ScriptID:='501';
DeclarePlayers;
if not loggedin then
LoginPlayer;
ReportVars[2] := ReportVars[2] + 1;
RunIt;
end.——————————————————
<!– END TEMPLATE: formanswers –>