NiCbaZ
2008-04-12 07:37:58
nicbaz - SRL Member Application Form
nicbaz
What is the meaning to life?
Where you Referred to SRL? If yes, by whom?
Programming Knowledge
HTML and Scar only
Other Communitys
sp0rk-eh sometimes
How Long have You Played Runescape
3 years
Are you affilated in anyway with Jagex LTD?
No
—————————————————–
Please write down a paragraph about Yourself.
Hello All Srl Members+ this is my members app, i first came to this forum about 2 years ago i was a little noob and leacher, since then i have been getting better at scripting i now feel it is time to apply for members in my script i have included
// This Script Has Theese Fetures
// DTM's
// TPA's
// Multi
// Map Walking
// Multi PLayer
// Colour Useage
// Cases
//
Please Take the Time to have a look at my app and see if i worthy of srl members.
My name is Pat i live in aus and i am 14 years old
So thats all about me!
p.s its not letting me to attach so il just put it there.
——————————————————
Please Post a Sample of your Work. Only SCAR Scripts Accepted
program SeersYewCutter;
{.include SRl/SRl.scar}
{.include SRL/SRL/Skill/Woodcutting.scar}
//////////////////////////////////////////////////////////////////////
// Seers Yew Cutter By Nicbaz //
// \\
// This Script Has Theese Fetures //
// DTM's \\
// TPA's //
// Multi \\
// Map Walking //
// Multi PLayer \\
// Colour Useage //
// Cases \\
// Hello And Welcome To My first real \\
// Script this script is designed to cut and bank yew logs in //
// Seers bank Fill in the script in the below lines lines 60-67 \\
// //
////////////////////////////////////////////////////////////////////\\
// V 1.1 //
// Wrote Wcing Procedure \\
// Walking With symbles //
// \\
//////////////////////////////////////////////////////////////////////
//V 1.2 \\
// Started To learn DTM's //
// And Radial Map Walking \\
// //
/////////////////////////////////////////////////////////////////////
//V 1.3 \\
//TPA's In the wood Cutting Procedure //
// \\
/////////////////////////////////////////////////////////////////////
//V 1.4 \\
//Added in random talking //
//And DTM's For Banking \\
/////////////////////////////////////////////////////////////////////
//V 1.5 //
//Removed Random Talking \\
//Added In Multi Player //
// \\
/////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////
//Future Updates \\
//Needed Failsafes //
//Needed SRL stats \\
// \\
/////////////////////////////////////////////////////////////////////
// Thanks to Torrent of Flame for his Tutorials and Help :D \\
/////////////////////////////////////////////////////////////////////
////////////////////////////nicbaz Delcare Players //////////////////
/////////////////////////////////////////////////////////////////////
procedure DeclarePlayers;
begin
HowManyPlayers := 2;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := '';
Players[0].Pass := '';
Players[0].Nick := '';
Players[0].Active := True;
Players[0].Integers[0] := 10; //Loads to Do;
Players[1].Name := '';
Players[1].Pass := '';
Players[1].Nick := '';
Players[1].Active := True;
Players[1].Integers[0] := 100; //Loads to Do;
{
Players[2].Name := '';
Players[2].Pass := '';
Players[2].Nick := '';
Players[2].Active := True;
Players[2].Integers[0] := 100; //Loads to Do;
Players[3].Name := '';
Players[3].Pass := '';
Players[3].Nick := '';
Players[3].Active := True;
Players[3].Integers[0] := 100; //Loads to Do;
Players[4].Name := '';
Players[4].Pass := '';
Players[4].Nick := '';
Players[4].Active := True;
Players[4].Integers[0] := 100; //Loads to Do;
Players[5].Name := '';
Players[5].Pass := '';
Players[5].Nick := '';
Players[5].Active := True;
Players[5].Integers[0] := 100; //Loads to Do; }
end;
/////////////////////////////////////////////////////////////////////
////////////////////////Dont Edit Below Here ////////////////////////
/////////////////////////////////////////////////////////////////////
var x, y: integer;
Loads, Yew: integer;
BrokenAxe: integer;
NormalAxe: integer;
BrokenAxes: integer;
/////////////////////////////////////////////////////////////////////
////////////////////////nicbaz load DTM's ///////////////////////////
/////////////////////////////////////////////////////////////////////
procedure LoadDTMs;
begin
BrokenAxe := DTMFromString('78DA636C616260E0636440061D697C601A26C' +
'AD80354C38FAA06260B57D30754C34D404D2F508D080135CD4035' +
'5C04D4D400D5A8E05703008C0604B4');
NormalAxe := DTMFromString('78DA63E4626060E067400175F17C609A11CA6' +
'7640312720C688011550D0B909025A0860748B01050230E245809' +
'A81105127C04D480E439F1AB01004CBC01C4');
end;
/////////////////////////////////////////////////////////////////////
////////////////////////////nicbaz AntiBan //////////////////////////
/////////////////////////////////////////////////////////////////////
procedure AntiBans;
begin
case Random(7) of
0: HoverSkill('woodcutting', false);
1: DoEmote(1 + Random(20));
2: AlmostLogout;
3: BoredHuman;
4: RandomMovement;
5: PickUpMouse;
6: RandomRClick;
end;
end;
/////////////////////////////////////////////////////////////////////
////////////////////////////nicbaz CheckAxe /////////////////////////
/////////////////////////////////////////////////////////////////////
procedure CheckAxe;
begin
if FindAxe then
begin
Writeln('Axe Found')
end
end;
/////////////////////////////////////////////////////////////////////
////////////////////////////nicbaz randoms //////////////////////////
/////////////////////////////////////////////////////////////////////
procedure Randoms;
begin
FindTalk;
FindNormalRandoms;
FindLamp('Woodcutting');
FindEnt(x, y, true);
SolvePinball;
end;
/////////////////////////////////////////////////////////////////////
////////////////////////////nicbaz ChooseColor///////////////////////
/////////////////////////////////////////////////////////////////////
function PickYewColour: Integer;
begin
case random(4) of
0: Result := 3297356;
1: Result := 3898223;
2: Result := 534303;
3: Result := 534046;
4: Result := 4218718;
end;
end;
/////////////////////////////////////////////////////////////////////
////////////////////////////nicbaz Ent//// //////////////////////////
/////////////////////////////////////////////////////////////////////
procedure EntFinder; //By Yohojo - edited by bobbohobbo
var
EX, EY: integer;
FX, FY: integer;
SafeEntWait: LongInt;
begin
if (not (LoggedIn)) then
Exit;
begin
Status('Ent Checking')
if
(FindObjCustom(EX, EY, ['Yew'], [4690821], 7)) then
begin
MMouse(EX, EY, 0, 0)
if FindColorTolerance(FX, FY, 55769, 85, 15, 115, 15, 20) then
begin
Status('Found Ent');
MarkTime(SafeEntWait)
repeat
FTWait(5)
FindNormalRandoms;
if not (LoggedIn) then
NextPlayer(False);
until TimeFromMark(SafeEntWait) > 20000 + Random(5000);
end;
end;
end;
end;
/////////////////////////////////////////////////////////////////////
////////////////////////////nicbaz banking //////////////////////////
/////////////////////////////////////////////////////////////////////
procedure Banking;
begin
Yew := DTMFromString('78DA63E4656060E0614001899E9C609A11CA6' +
'7940412CC0C688011530D9A3931AE68E6C80009215435CE860CA8' +
'6AF880842801F7B00309115435ED79F6A86A9831ED6AC9B1C554C' +
'387AAA6ABD001550D2B90E0226017C83DEC04EC1200126CF8C307' +
'00F93B0A62');
begin
Wait(300 + random(160));
OpenBankQuiet('sb');
if (not (FindDTM(Yew, x, y, mix1, miy1, mix2, miy2))) then
begin
if (FindColorSpiralTolerance(x, y, 608352, mix1, miy1, mix2, miy2, 15)) then
begin
Mouse(x, y, 4, 3, false);
ChooseOption('All');
Loads := Loads + 1;
end;
end else
if (FindDTM(Yew, x, y, mix1, miy1, mix2, miy2)) then
begin
Mouse(x, y, 4, 3, false);
ChooseOption('All');
Loads := Loads + 1;
end;
CloseBank;
Wait(150 + random(278));
MakeCompass('S');
end;
end;
/////////////////////////////////////////////////////////////////////
////////////////////////////nicbaz To bank //////////////////////////
/////////////////////////////////////////////////////////////////////
procedure WalkTobank;
begin
if FindSymbol(x, y, 'altar') then
begin
if (FindSymbol(x, y, 'tree')) then
Mouse(x, y, 2, 2, true);
FFlag(2);
wait(200 + random(400));
if (findSymbol(x, y, 'cook')) then begin
mouse(x, y, 2, 2, true);
FFlag(2);
wait(250 + random(400));
end;
if (findSymbol(x, y, 'bank')) then begin
mouse(x, y, 2, 2, true);
FFlag(2);
end;
end else
if not FindSymbol(x, y, 'altar') then
Exit;
end;
/////////////////////////////////////////////////////////////////////
////////////////////////////nicbaz Is Axe Broken ////////////////////
/////////////////////////////////////////////////////////////////////
function IsAxeBroken: boolean;
begin
if FindDTM(BrokenAxe, x, y, 547, 206, 734, 464) then
Writeln('Axe is broken! Attempting to bank and get new one.');
BrokenAxes := BrokenAxes + 1;
WalkTobank;
begin
Writeln('Banking for new axe..');
Banking;
if (FindDTM(NormalAxe, x, y, 151, 210, 595, 281)) then
begin
ChooseOption('1')
CheckAxe;
CloseBank;
end;
end;
end;
/////////////////////////////////////////////////////////////////////
////////////////////////////nicbaz ChooseClick //////////////////////////
/////////////////////////////////////////////////////////////////////
function ChooseClick: Integer;
begin
case random(2) of
0: begin
Mouse(x, y, 3, 3, true);
end;
1: begin
Mouse(x, y, 4, 4, false);
ChooseOption('hop');
end;
end;
end;
/////////////////////////////////////////////////////////////////////
////////////////////////////nicbaz ChopYew //////////////////////////
/////////////////////////////////////////////////////////////////////
procedure ChopYew;
var Attempts: integer;
CuttingTime: integer;
begin
if (not (LoggedIn)) then NextPlayer(false);
MarkTime(CuttingTime);
MakeCompass('S');
SetAngle(true);
repeat
if (not (FindObjTPA(x, y, PickYewColour, 10, -1, 7, 7, 15, ['Yew']))) then
begin
Wait(2000 + random(250));
Attempts := Attempts + 1;
if (Attempts = 100) then
begin
Writeln('Could not find yews');
Attempts := 0;
NextPlayer(false);
Wait(1500 + random(1200));
end;
end else
begin
if FindObjTPA(x, y, PickYewColour, 10, -1, 7, 7, 15, ['Yew']) then
ChooseClick;
FindNormalRandoms;
Antibans;
EntFinder;
FindEnt(x, y, True);
end;
until (TimeFromMark(CuttingTime) > 800000 + random(60000)) or (InvFull)
end;
/////////////////////////////////////////////////////////////////////
////////////////////////////nicbaz Nicbaz ///////////////////////////
/////////////////////////////////////////////////////////////////////
procedure text;
begin
ClearDebug;
Writeln(' _______ .__ ___. ')
wait(250 + random(30));
Writeln(' \ \ |__| ____\_ |__ _____ ________')
wait(250 + random(30));
Writeln(' / | \| |/ ___\| __ \\__ \ \___ /')
wait(250 + random(30));
Writeln('/ | \ \ \___| \_\ \/ __ \_/ / ')
wait(250 + random(30));
Writeln('\____|__ /__|\___ >___ (____ /_____ \')
wait(250 + random(30));
Writeln(' \/ \/ \/ \/ \/')
wait(2000)
Writeln(' _____.___. __________ ')
wait(250 + random(30));
Writeln(' \__ | | ______ _ __ \______ \______ _ __ ___________')
wait(250 + random(30));
Writeln(' / | |/ __ \ \/ \/ / | ___/ _ \ \/ \/ // __ \_ __ \')
wait(250 + random(30));
Writeln(' \____ \ ___/\ / | | ( <_> ) /\ ___/| | \/')
wait(250 + random(30));
Writeln(' / ______|\___ >\/\_/ |____| \____/ \/\_/ \___ >__| ')
wait(250 + random(30));
Writeln(' \/ \/ \/ ')
end;
/////////////////////////////////////////////////////////////////////
////////////////////////////nicbaz Walk Tree/////////////////////////
/////////////////////////////////////////////////////////////////////
procedure WalkTrees;
begin
MakeCompass('s');
RoadColor := FindRoadColor;
RadialWalk(RoadColor, 0, 30, 72, 4, 4);
Writeln('Walking To Road')
FFlag(2);
RadialWalk(16757, 5, 30, 75, 4, 4);
Writeln('Walking To Rock')
FFlag(2);
RadialWalk(13587, 5, 90, 75, 4, 4);
Writeln('Walking To Tree')
FFlag(2);
end;
/////////////////////////////////////////////////////////////////////////
///////////////////////////nicbaz Proggy/////////////////////////////////
/////////////////////////////////////////////////////////////////////////
procedure Proggy;
begin
ClearDebug;
Writeln(',,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,');
Writeln('/\Please Post Progress Reports & Any problems /\ ');
Writeln('//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\ ');
Writeln('//\\Worked For: ' + TimeRunning + ' //\\');
Writeln('//\\Did: ' + IntToStr(Loads) + ' Loads //\\');
Writeln('//\\Broke: ' + IntToStr(BrokenAxes) + ' Axes //\\');
Writeln('//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\ ');
Writeln('//\\ Thanks for Using my Script :D //\\ ');
Writeln('```````````````````````````````````````````````');
end;
/////////////////////////////////////////////////////////////////////
////////////////////////////Mainloop/////////////////////////////////
/////////////////////////////////////////////////////////////////////
procedure Setup;
begin
SetupSRL;
text;
DeclarePlayers;
LoginPLayer;
end;
begin
Setup;
LoadDTMs;
CheckAxe;
Wait(900 + Random(333));
repeat
WalkTrees;
ChopYew;
WalkTobank;
Banking;
if (Loads = Players[CurrentPlayer].Integers[0]) then
begin
NextPlayer(True);
Loads := 0;
MakeCompass('S')
Writeln('Players Switched successfully')
end;
Proggy;
until (False);
end.
/////////////////////////////////////////////////////////////////////////
//Thank you for useing my script! //
//Credits to //
//Torrent Of Flame For Lots of Help! //
//Jesus For lots of help! //
//And Da Owner for lots of help! //
/////////////////////////////////////////////////////////////////////////——————————————————
<!– END TEMPLATE: formanswers –>
