~alex~
2007-03-27 18:34:59
<!– BEGIN TEMPLATE: formanswers –>
~alex~ - SRL Member Application Form
~alex~
What is the meaning to life?
To make scar scripts ;) (What's with this question lol??)
Where you Referred to SRL? If yes, by whom?
no
Programming Knowledge
Visual Basic
Other Communitys
Sythe, Jaghax (was)
How Long have You Played Runescape
3 years (ish)
Are you affilated in anyway with Jagex LTD?
No
—————————————————–
Please write down a paragraph about Yourself.
Hey,
I'm Alex and I'm from Northern Ireland. Ive been scripting for about a year, but recently took a break from Runescape and scripting and have basically missed out on SRL. I really want to get back into scripting and have made my first SRL script, and auto bone burier, which is included here.
I hope you accept me so I can provide scripts for the community and also, extend my knowlage of SRL even further.
I know there are probably some more effecient procedures and functions than the ones I used but hey.. I'm still gettin used to SRL ;)
(Randoms for script are not tested… Should work fine in theory though)
——————————————————
Please Post a Sample of your Work. Only SCAR Scripts Accepted
——————————————————
<!– END TEMPLATE: formanswers –>
~alex~ - SRL Member Application Form
~alex~
What is the meaning to life?
To make scar scripts ;) (What's with this question lol??)
Where you Referred to SRL? If yes, by whom?
no
Programming Knowledge
Visual Basic
Other Communitys
Sythe, Jaghax (was)
How Long have You Played Runescape
3 years (ish)
Are you affilated in anyway with Jagex LTD?
No
—————————————————–
Please write down a paragraph about Yourself.
Hey,
I'm Alex and I'm from Northern Ireland. Ive been scripting for about a year, but recently took a break from Runescape and scripting and have basically missed out on SRL. I really want to get back into scripting and have made my first SRL script, and auto bone burier, which is included here.
I hope you accept me so I can provide scripts for the community and also, extend my knowlage of SRL even further.
I know there are probably some more effecient procedures and functions than the ones I used but hey.. I'm still gettin used to SRL ;)
(Randoms for script are not tested… Should work fine in theory though)
——————————————————
Please Post a Sample of your Work. Only SCAR Scripts Accepted
program boneBurier;
{.include SRL/SRL.scar}
{=========================================================================]
[ SRL Empty Template. ]
[ ]
[ NAME : Brilliant Bone Burier ]
[ WRITER : ~Alex~ ]
[ CATEGORY : Errr? Bone burying? ]
[ DESCRIPTION : Withdraws bones and buries them, while checking ]
[ for randoms ]
[ USAGE : Start outside any bank, empty inv. Bones in ]
[ first bank slot. Set bone color. ]
[ AUTOCOLOR : No. Input bone color. Will add autocolor later ] ]
[ NOTES : Setup lines 42 - 45 Advised do not use lumbridge]
[ bank... Bank finding does not work well. ]
[ Let me know of any bugs! Script not well tested ] ]
[ CONTACT : [email]Gamesjunky1991@gmail.com[/email] ]
[ ]
[ ]
[=========================================================================]
[ This is a empty Template for a Collecting Script ]
[=========================================================================]
[ Instructions. ]
[=========================================================================]
[ 1. USE Runescape with Low Detail, Very Bright. ]
[ 2. Set your Screen to 32 bit TRUE color. ]
[ 3. Set Playernames and Passwords in DeclarePlayers. ]
[ 4. SET HOWMANYPLAYERS inside DeclarePlayers ]
[ 5. Start script Logged In or Out! ]
[=========================================================================}
//************************************************************************//
const VersionNumber = '1.00'; // Compliant with Rev 568+
//************************************************************************//
var
bonesLeft,bonesDone:integer;
timeOut:integer;
const
StartPlayer = 0; // Determines who will play first
bonesToDo = 29; // How many bones to do per player.
boneColor = 13619157; //Color of bones
runDirection = 'S'; //Direction to run in case of fight
Procedure DeclarePlayers;
begin
HowManyPlayers :=6; // Set Number of Players here.
NumberOfPlayers(6); // Sets the Players Array Length;
CurrentPlayer:=StartPlayer; // CurrentPlayer = Array Index
Players[0].Name :='';
Players[0].Pass :='';
Players[0].Nick :='1pkn';
Players[0].Loc :='Loc1';
Players[0].Skill:='';
Players[0].Active:=True;
Players[1].Name :='ssadasd';
Players[1].Pass :='sadas';
Players[1].Nick :='asasd';
Players[1].Loc :='Loc1';
Players[1].Skill:='';
Players[1].Active:=false;
Players[2].Name :='';
Players[2].Pass :='';
Players[2].Nick :='';
Players[2].Loc :='Loc1';
Players[2].Skill:='';
Players[2].Active:=false;
Players[3].Name :='';
Players[3].Pass :='';
Players[3].Nick :='';
Players[3].Loc :='Loc1';
Players[3].Skill:='';
Players[3].Active:=false;
Players[4].Name :='';
Players[4].Pass :='';
Players[4].Nick :='';
Players[4].Loc :='Loc1';
Players[4].Skill:='';
Players[4].Active:=false;
Players[5].Name :='';
Players[5].Pass :='';
Players[5].Nick :='';
Players[5].Loc :='Loc1';
Players[5].Skill:='';
Players[5].Active:=false;
writeln(inttostr(HowManyPlayers)+' Players');
end;
//********************************************************************//
procedure resetVars;
begin
bonesleft:=0
bonesdone:= 0
end;
procedure randoms;
begin
findnormalrandoms;
if findfight then
begin
runawaydirection(rundirection)
wait(5000+random(1000))
runBack;
end;
end;
Procedure withdrawBones;
begin
if bonesdone >= bonestodo then
begin
writeln('All bones done, switching player')
nextplayer(false)
loginplayer;
end;
if not(loggedin) then
begin
loginPlayer;
if bonesdone >= bonestodo then
begin
writeln('All bones done, switching player')
resetVars;
nextplayer(false)
end;
end;
repeat
openbank;
timeOut:=timeout+1
if timeOut > 15 then
begin
writeln('Could not find bank, switching player')
resetvars;
nextplayer(false)
break
end;
if pinscreen then
begin
writeln('Detected pinscreen, switching player')
resetVars;
nextplayer(false)
break
end;
until(bankscreen)
if (bankscreen) then
begin
fixbank;
withdraw(1,1,28)
writeln('Withdrew bones')
closebank;
end;
end;
procedure bury;
begin
if findcolortolerance(x,y,bonecolor,568,210,728,453,10) then
begin
repeat
clickitemcolortol(bonecolor,10,false)
wait(500+random(200))
clickoption('Bury',2)
bonesdone := bonesdone+ 1
randoms
wait(800 + random(160))
invcount;
until((invcount = 0)or not(loggedin)or (bonesdone >= bonestodo))
end;
if bonesdone >= bonestodo then
begin
writeln('All bones done, switching player')
resetvars;
nextplayer(false)
loginplayer;
end;
end;
procedure setup;
begin
setupsrl;
declareplayers;
activateclient;
highestangle;
end;
//************************************************************************//
procedure PlayerStats;
var Active: string;
var i: Integer;
begin
writeln('**********************************************');
writeln('Name : '+ Players[CurrentPlayer].Name);
writeln('Number : '+ inttostr(CurrentPlayer));
writeln('Prayer Level : '+inttostr(getSkillLevel('Prayer')));
writeln('Worked for : '+ inttostr(Players[CurrentPlayer].Worked)+' minutes.');
writeln('Banked : '+ inttostr(Players[CurrentPlayer].Banked) + ' times.');
if Players[CurrentPlayer].Active=True then Active:='True' else Active:='False';
writeln('Active : '+ Active);
writeln('**********************************************');
for i := 0 to HowManyPlayers-1 do
begin
if Players[i].Active=True then Active:='True' else Active:='False';
writeln( (inttostr(i))+' : '+Players[i].name+ ' = '+Active+'. - Lvl : '+inttostr(Players[i].Level[15])+
'. - B :'+inttostr(Players[i].Banked)+' Times.'+
' - : '+IntToStr(Players[i].Worked)+' mins.'+' - Loc: '+Players[i].loc);
end
writeln('**********************************************');
end;
//************************************************************************//
procedure ProgressReport;
begin
begin
WriteLn(' ');
WriteLn('<============== -'+VersionNumber+'- Progress Report ===============>');
SRLRandomsReport;
Writeln(' ');
end;
PlayerStats;
end;
begin
setup;
loginplayer;
repeat
withdrawBones;
bury;
progressReport;
wait(5000)
until(false)
end.——————————————————
<!– END TEMPLATE: formanswers –>