Cazax
2008-02-07 15:56:11
<!– BEGIN TEMPLATE: formanswers –>
cazax - SRL Member Application Form
cazax
What is the meaning to life?
Where you Referred to SRL? If yes, by whom?
no
Programming Knowledge
nothing
Other Communitys
How Long have You Played Runescape
3 years
Are you affilated in anyway with Jagex LTD?
No
—————————————————–
Please write down a paragraph about Yourself.
Well, when i started in this forum, i was basically a n00b. Then i started reading tuts, asking people and making scripts. I speak spanish and english.
——————————————————
Please Post a Sample of your Work. Only SCAR Scripts Accepted
Thanks to HeavenzEyez1 for helping me with SRL-Stats.
Thanks to Derek for helping me with FindDTMRotated.
Thanks to Nielsie95 for his great AutoColor tut.
——————————————————
<!– END TEMPLATE: formanswers –>
cazax - SRL Member Application Form
cazax
What is the meaning to life?
Where you Referred to SRL? If yes, by whom?
no
Programming Knowledge
nothing
Other Communitys
How Long have You Played Runescape
3 years
Are you affilated in anyway with Jagex LTD?
No
—————————————————–
Please write down a paragraph about Yourself.
Well, when i started in this forum, i was basically a n00b. Then i started reading tuts, asking people and making scripts. I speak spanish and english.
——————————————————
Please Post a Sample of your Work. Only SCAR Scripts Accepted
// start in varrock east bank, any slot.
//axe equiped.
program OakBanker;
{.include srl/srl.scar}
var
LogsChopped,LoadsDone,HowManyLoads,OakLog,OakEnt,Bankers : Integer;
SetUped,IsInOak,Chopped : Boolean;
Axe : Array[0..4] of Integer;
const
LoadsToDoPerPlayer = 10;
Procedure DeclarePlayers;
begin
SRLID := ''; // enter or your computer will shut down :). joke.
SRLPassword := ''; // enter your password
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := ''; // Username
Players[0].Pass := ''; // Password
Players[0].Nick := ''; // 3-4 letters of your Username
Players[0].Active := True; // are u going to use this player ?
end;
procedure DTMs;
begin
OakLog := DTMFromString('78DA63946060601066400105E126609A11CA6' +
'79404125C0C688011558D0A901024A0860F48701350C309242409' +
'A8110212F204D4C8000919026AD408DB0500E1540279');
Axe[0] := DTMFromString('78DA631467606090624001060A0A609A11CA6' +
'704A9E16640038CA86A0480842A0135CA408297801A4520214A40' +
'8D309010C7AF0600E26A019A'); // bronze axe
Axe[1] := DTMFromString('78DA631462606010604001060A0A609A11CA6' +
'71404122C0C688011550D17909023A0861748F01150230B24B808' +
'A891266C0E00B910014C'); // iron axe
Axe[2] := DTMFromString('78DA6314606060E0674001060A0A609A11CA6' +
'704C93333A0014654351C404296801A1E20C14D408D34906023A0' +
'461248F0E2570300AF320136');// steel axe
Axe[3] := DTMFromString('78DA631461606010604001060A0A609A11CA6' +
'71406122C0C688011550D2F901023428D1C0135B240828F801A90' +
'19ACF8D50000C0470159'); // addy axe
Axe[4] := DTMFromString('78DA639464606010604001060A0A609A11CA6' +
'79400122C0C688011558D30901026A0461048C81150A30424F808' +
'A85101126CF8D50000CDB20176'); // rune axe?? maybe...
OakEnt := DTMFromString('78DA63E465606060674001FFFF436846289F9' +
'1154830316005286AB809A89120428D2861BB00671B026E');
Bankers := DTMFromString('78DA6364626060606640017FFE30816946289' +
'F11C4656140038CA86A5809AB0100B3C80217');
end;
procedure AntiBannage;
begin
if (not(LoggedIn)) then
Exit;
case random(40) of
0: SleepAndMoveMouse(1232+random(857));
1:begin
HoverSkill('Fishing', false);
wait(2000+random(1000));
GameTab(4);
end;
2:begin
HoverSkill('Cooking', false);
wait(2000+random(1000));
GameTab(4);
end;
3:begin
DoEmote(1+random(17));
wait(2546+random(165))
GameTab(1 +random(5))
Gametab(4)
end;
4: MMouse(random(250), random(250), 10, 10);
5: BoredHuman;
6: PickUpMouse;
7:begin
GameTab(1 + Random(12));
wait(1000+random(1000));
GameTab(4);
end;
end;
end;
Procedure Randoms;
begin
if(not(LoggedIn))then
Exit;
FindNormalRandoms;
if (FindFight) then
begin
Writeln(' Found Fight ')
SetRun(true);
RunTo('N',True);
end;
end;
Procedure AutoResponder;
var
x,y : Integer;
begin
if FindText(x,y,'c lvl',SmallChars,MIX1,MIY1,MIX2,MIY2) or FindText(x,y,'c level',SmallChars,MIX1,MIY1,MIX2,MIY2) or FindText(x,y,'oodcutting lvl',SmallChars,MIX1,MIY1,MIX2,MIY2)then
begin
Writeln(' Someone is talking with me '+ (chr(13)) +' we are going to respond');
SayCurrentLevels('woodcutting')
if FindText(x,y,'i',SmallChars,MIX1,MIY1,MIX2,MIY2) or FindText(x,y,'ello',SmallChars,MIX1,MIY1,MIX2,MIY2)then
case random(5) of
0: TypeSend('hi');
0: TypeSend('hiya');
0: TypeSend('hello');
0: TypeSend('whats up');
0: TypeSend('yes?');
end;
end;
end;
Procedure SetUpCurrentPlayer;
var
x,y,i : Integer;
begin
SetUped := False;
if (not(LoggedIn)) then
Exit;
MakeCompass('E');
wait (1000+random(666))
MakeCompass('N');
GameTab(4)
for i := 0 to 4 do
if (FindDTM(Axe[i],x,y,MIX1,MIY1,MIX2,MIY2))then
begin
Mouse(x,y,1,1,false);
ChooseOption('xamine')
wait(2000)
if (IsChatBlackTextAnyLine('axe')) and (not(IsChatBlackTextAnyLine('this broken'))) then
begin
Writeln('Found axe')
SetUped := True;
if (IsChatBlackTextAnyLine('this broken')) then
begin
Writeln('Broken axe found...')
MakeCompass('S');
OpenBankQuiet('veb');
FixBank;
if(FindDTM(Axe[i],x,y,MIX1,MIY1,MIX2,MIY2))then
Writeln('Another axe was found');
Mouse(x,y,1,1,true);
CloseBank;
MakeCompass('N');
SetUped := True;
Exit;
if(not(FindDTM(Axe[i],x,y,MIX1,MIY1,MIX2,MIY2)))then
Writeln('No more axes was found');
TerminateScript;
end;
end;
end;
end;
procedure ToTheOak;
var
x,y,Rock,Road : Integer;
begin
if (not(LoggedIn)) then
Exit;
if (Setuped) then
begin
IsInOak := False;
Rock := FindRockColor;
if FindColorSpiral(x,y,Rock,MMX1,MMY1,MMX2,MMY2)then
Mouse(x,y,1,1,True);
Flag;
AntiBannage;
Randoms;
Road := FindVarrockRoadColor;
RadialWalk(Road,50,90,70,0,1);
AntiBannage;
Randoms;
IsInOak := True;
end;
end;
Procedure Chopping;
var
a,b,c,d,x,y : Integer;
begin
if (not(LoggedIn)) then
Exit;
if (IsInOak) then
begin
Chopped := False;
SetAngle(true);
repeat
if (FindObjCustom(a,b, ['wn Oa','Oak','wn Oa','ak'], [2181180,2184264,2189148,3112046], 30)) then
AntiBannage;
Randoms;
if (not(FindObjCustom(a,b, ['wn Oa','Oak','wn Oa','ak'], [2181180,2184264,2189148,3112046], 30)))then
wait(5555+random(555));
if (FindObjCustom(a,b, ['wn Oa','Oak','wn Oa','ak'], [2181180,2184264,2189148,3112046], 30)) then
AntiBannage;
Randoms;
MMouse(a,b,2,2)
if (IsUpText('ak'))then
GetMousePos(a,b);
Writeln('Found Oak')
Mouse(a,b,3,3,false)
if (not(FindDTM(OakEnt,x,y,MIX1,MIY1,MIX2,MIY2)))then
ChooseOption('hop');
if (FindDTM(OakEnt,c,d,MIX1,MIY1,MIX2,MIY2))then
Writeln('*********Ent********');
Status('ent found');
AntiBannage;
Randoms;
wait(10000+random(5000))
AntiBannage;
Randoms;
wait(4200+random(245))
until(InvCount = 28)
Chopped := True;
end;
end;
procedure ToTheBankAndBank;
var
e,f,BackRoad,LadderColor : Integer;
AngleFound : Extended;
begin
if (not(LoggedIn)) then
Exit;
if (InvCount = 28) then
begin
if (Chopped) then
begin
LogsChopped :=LogsChopped + 27
ReportVars[0] := 27;
SendSRLReport;
Writeln('Inventory full. letz go to the bank')
MakeCompass('N')
BackRoad := FindRockColor;
RadialWalk(BackRoad,360,180,70,1,1)
Writeln('We are in RadialWalk #1')
Flag;
Randoms;
AntiBannage;
SymbolAccuracy := 0.8;
if (FindSymbol(e,f,'bank')) then
Writeln('Bank symbol found');
Mouse(e,f,2,2,true);
MakeCompass('S');
SetAngle(false);
OpenBankQuiet('veb');
Deposit(2,28,2);
CLoseBank;
AntiBannage;
Randoms;
LoadsDone := LoadsDone + 1
Exit;
SymbolAccuracy := 0.8;
if (not(FindSymbol(e,f,'bank')))then
begin
Writeln('Bank symbol was not found trying to search with a DTM');
if(FindDTMRotated(Bankers,e,f,MIX1,MIY1,MIX2,MIY2,0,360,1,AngleFound))then
Writeln('DTM found');
if(not(FindDTMRotated(Bankers,e,f,MMX1,MMY1,MMX2,MMY2,0,360,1,AngleFound)))then
LadderColor := FindLadderColor;
if (FindColorSpiral(e,f,LadderColor,MMX1,MMY1,MMX2,MMY2))then
Writeln('Ladder found');
Mouse(e,f,1,1,true);
Flag;
MakeCompass('S')
SetAngle(false)
OpenBankQuiet('veb')
Deposit(2,28,2);
CloseBank;
AntiBannage;
Randoms;
LoadsDone := LoadsDone + 1
end;
end;
end;
end;
Procedure Sig;
begin
Writeln(' ______ _________ _______ _____ ')
Writeln('| _____|| _____ | | _____| |_ _| ')
Writeln('|| | | | | | | | | ')
Writeln('||__ | |_____| | | |______ | | ')
Writeln('| __| | _____ | |_______ | | | ')
Writeln('|| | | | | _______| | | | ')
Writeln('||____ |_| |_| _________| |_| ')
Writeln('|_____| ')
wait(1000)
Writeln('OAK BANKER')
Writeln('BY: CAZAX')
Writeln('DONT LEECH')
end;
procedure Proggy;
begin
Writeln('|---------------------------------|');
Writeln('|Worked for:'+ TimeRunning+' -----|');
Writeln('|Chopped '+ IntToStr(LogsChopped)+ '-----|');
Writeln('|Banked:'+IntToStr(LoadsDone)+'---|');
Writeln('|---------------------------------|');
Writeln('|---------------------------------|');
Writeln('|---------------------------------|');
end;
begin
SetupSRL;
ActivateClient;
SRLID := SRLID;
SRLPassword := SRLPassword;
ScriptID := '634';
DeclarePlayers;
if SRLID = '' then
begin
Writeln('omg leecher...')
OpenWebPage('http://www.stats.srl-forums.com/index.php')
TerminateScript;
end;
if (not(LoggedIn))then
LoginPlayer;
DTMs;
Sig;
Disguise('YouTube - Rune...')
repeat
SetUpCurrentPlayer;
ToTheOak;
Chopping;
ToTheBankAndBank;
Proggy;
SRLRandomsReport;
SendSRLReport;
until ( HowManyLoads = LoadsToDoPerPlayer)
end.Thanks to HeavenzEyez1 for helping me with SRL-Stats.
Thanks to Derek for helping me with FindDTMRotated.
Thanks to Nielsie95 for his great AutoColor tut.
——————————————————
<!– END TEMPLATE: formanswers –>