Naike
2008-01-15 13:53:20
n1keee - SRL Member Application Form
n1keee
What is the meaning to life?
Where you Referred to SRL? If yes, by whom?
no
Programming Knowledge
Visual Basic & little Delphi
Other Communitys
Sythe
How Long have You Played Runescape
About 4 Years
Are you affilated in anyway with Jagex LTD?
No
—————————————————–
Please write down a paragraph about Yourself.
Hi.
As some of you know i applyed for about 20 days ago ^^.
I got 11 No :/ But now im back with an way better script.
As you may see ive learned alot.
I will uptade this!
Having some school problems and when that taken care of i fix AutoColor.
And to all that helped me i just wanna say Thanks and you be credited in my Thread!
Hope you like it.
And about that rule with one months wait, WT-Fakawi said it was ok for me to apply ;)
——————————————————
Please Post a Sample of your Work. Only SCAR Scripts Accepted
//////////////////////////////////////////////////////////////////////
// ___ __________ //
// _ | __| | | //
// ___ |_| |__ | | - Cuts - | //
// _ | _ | |___| |__________| //
// __ _ ___ | |_/\ | _| | Yews | //
// | \ | |/ | | / |___| | Willows | //
// | \ | |\/| | |_|\_\ |__________| //
// | |\ \| | |_| //
// |_| \___| Cammalot Multi WoodCutter! //
//////////////////////////////////////////////////////////////////////
//
// RR EEEEE A DDD
// R R E A A D D
// RR EEE A A D D
// R R E AAAAAAA D D
// R R EEEEE A A DDD
//
//
// If you don't have a positive additude agienst
// ScarScape then don't run this and don't even
// bother reading under this.
//
// This script only works for Scarscape atm.
// When i got time and my teachers stop being
// idiots i uptade this.
//
// Start this script in any bankbooth in cammalot bank!
// The bank south east from Cammalot telespot!
// Have a axe in inventory or equiped.
//
program Cammalot;
{.include SRL\SRL.scar}
Var
Loads, fx, fy, Chopped, Tr33Type, i, time2, t, u : integer;
NoTree : boolean;
Const
WhatDirection = ''; // If Attacked run ?
// N = North / S = South / E= East / W= West!
Howlong = 0; // How long it will run! 1 = 1 minute / 10 = 10 minutes and so on
procedure DeclarePlayers;
begin
HowManyPlayers := 5;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := ''; // Username
Players[0].Pass := ''; // Password
Players[0].Nick := ''; // 3 letters from your name!
Players[0].Active := True;
Players[0].Strings[0]:= ''; // BankPin ? Put it between the ''
Players[0].Strings[1]:= ''; // What tree you want to chop? Yew or Willow?
Players[0].Integers[0]:= 0; // Loads to do before switching player!
Players[0].Booleans[0]:= False; // Do you want to PwrChop?
Players[0].Booleans[1]:= False; // Are you using an equiped Dragon axe?
Players[0].Booleans[2]:= False; // Want axe unequiped in bag?
Players[1].Name := ''; // Username
Players[1].Pass := ''; // Password
Players[1].Nick := ''; // 3 letters from your name!
Players[1].Active := True;
Players[1].Strings[0]:= ''; // BankPin ? Put it between the ''
Players[1].Strings[1]:= ''; // What tree you want to chop? Yew or Willow?
Players[1].Integers[0]:= 0; // Loads to do before switching player!
Players[1].Booleans[0]:= False; // Do you want to PwrChop?
Players[1].Booleans[1]:= False; // Are you using an equiped Dragon axe?
Players[1].Booleans[2]:= False; // Want axe unequiped in bag?
Players[2].Name := ''; // Username
Players[2].Pass := ''; // Password
Players[2].Nick := ''; // 3 letters from your name!
Players[2].Active := True;
Players[2].Strings[0]:= ''; // BankPin ? Put it between the ''
Players[2].Strings[1]:= ''; // What tree you want to chop? Yew or Willow?
Players[2].Integers[0]:= 0; // Loads to do before switching player!
Players[2].Booleans[0]:= False; // Do you want to PwrChop?
Players[2].Booleans[1]:= False; // Are you using an equiped Dragon axe?
Players[2].Booleans[2]:= False; // Want axe unequiped in bag?
Players[3].Name := ''; // Username
Players[3].Pass := ''; // Password
Players[3].Nick := ''; // 3 letters from your name!
Players[3].Active := True;
Players[3].Strings[0]:= ''; // BankPin ? Put it between the ''
Players[3].Strings[1]:= ''; // What tree you want to chop? Yew or Willow?
Players[3].Integers[0]:= 0; // Loads to do before switching player!
Players[3].Booleans[0]:= False; // Do you want to PwrChop?
Players[3].Booleans[1]:= False; // Are you using an equiped Dragon axe?
Players[3].Booleans[2]:= False; // Want axe unequiped in bag?
Players[4].Name := ''; // Username
Players[4].Pass := ''; // Password
Players[4].Nick := ''; // 3 letters from your name!
Players[4].Active := True;
Players[4].Strings[0]:= ''; // BankPin ? Put it between the ''
Players[4].Strings[1]:= ''; // What tree you want to chop? Yew or Willow?
Players[4].Integers[0]:= 0; // Loads to do before switching player!
Players[4].Booleans[0]:= False; // Do you want to PwrChop?
Players[4].Booleans[1]:= False; // Are you using an equiped Dragon axe?
Players[4].Booleans[2]:= False; // Want axe unequiped in bag?
NickNameBMP := CreateBitmapMaskFromText(Players[CurrentPlayer].Nick, UpChars);
end;
/////////////////////////////////////////////////////////////////////////
// Don't touch anything under here if you don't know what your doing!!!//
/////////////////////////////////////////////////////////////////////////
Procedure AxeUse;
Var
AxeDTM, ox, oy : Integer;
begin
if (not LoggedIn) then exit;
if Players[CurrentPlayer].Booleans[1] then Exit else
AxeDTM := DTMFromString('78DA63F4626260D0646440058C4824900E02A' +
'AD125A02604A84695801A0FA01A65026A9C806A6C09A87100AAB1' +
'C2AF06006A7C02F4');
GameTab(5);
If FindDtm(AxeDTM, ox, oy, MIX1, MIX2, MIY1, MIY2)then
FreeDtm(AxeDTM) else
begin
GameTab(4);
If Players[CurrentPlayer].Booleans[2] = False then
begin
If FindDtm(AxeDTM, ox, oy, MIX1, MIX2, MIY1, MIY2)then
begin
Mouse(ox, oy, 0, 0, False);
ChooseOption('Wei');
if FindBlackChatMessage('evel')then
begin
LogOut;
Writeln('Have a axe you can use');
NextPlayer(False);
FreeDTM(AxeDTM);
end else
begin
Writeln('No Axe Found');
LogOut;
NextPlayer(False);
FreeDTM(AxeDTM);
end;
end;
end;
end;
end;
Procedure ProgressReport;
Begin
Writeln('#-------------------------------------#');
Writeln(' ----> Ran for ' + (TimeRunning) + ' <----');
Writeln('#-------------------------------------# ');
Writeln(' ----> Banked ' + IntToStr(Loads) + ' Loads <----');
Writeln('#-------------------------------------#');
Writeln(' ----> Cut ' + IntToStr(Chopped) + ' Logs <----');
Writeln('#-------------------------------------#');
end;
Procedure SomeRandomTalk; // 1
Begin
if (not LoggedIn) then exit;
case Random(50) of
0: TypeSend ('Boring stuff');
1: TypeSend ('CutCutCut');
2: TypeSend ('I Think i Logout soon');
3: TypeSend ('Watching tv might not answer');
4: TypeSend ('My birthday is in December');
5: TypeSend ('BirdNest here i come');
6: TypeSend ('I want 99 WoodCutting');
7: TypeSend ('I got ' + IntToStr(Chopped) + ' Logs');
8: TypeSend ('Brum Brum');
9: TypeSend ('Zzzzzz');
10: TypeSend ('(,,,)(^_^)(,,,)');
11: TypeSend ('I want magic seeds');
12: TypeSend ('Yew seedys');
13: TypeSend ('I put Privite on off now bye.');
14: TypeSend ('Bag full soon');
15: TypeSend ('ive cut' + IntToStr(Chopped) + ' Logs today');
16: TypeSend ('Im at school i gtg soon');
17: TypeSend ('Gl getting ' + Players[CurrentPlayer].Strings[1]);
18: TypeSend ('!"#¤%&/()=?`');
19: TypeSend ('I want to leevel!');
20: TypeSend ('Cut Cut Cut');
21: TypeSend ('No Pk No Rs');
22: TypeSend ('I want bh solo');
23: TypeSend ('I want 99 everything');
24: TypeSend ('Boooring');
25: TypeSend ('Bling Blong ling long');
26: TypeSend ('Running low on fuel');
27: TypeSend ('I cant wait until i get my wc cape');
28: TypeSend ('i can fly');
29: TypeSend ('Mayby i go fish insted');
30: TypeSend ('Mix acid and bomb');
31: TypeSend ('Bannng');
32: TypeSend ('I go sleep soon');
33: TypeSend ('Bloodhoun34');
34: TypeSend ('Thats it');
35: TypeSend ('Im out soon');
end;
end;
function AllPlayersInactive : Boolean;
var
I : Integer;
begin
for I := 0 to HowManyPlayers - 1 do
if Players[i].Active then
Exit;
Result := True;
end;
Procedure WhatTree;
begin
Tr33Type := 0
case Lowercase(Players[CurrentPlayer].Strings[1]) of
'yew' : Tr33Type := 1;
'willow' : Tr33Type := 2;
else TerminateScript;
end;
end;
Procedure Setup;
Begin
if (not LoggedIn) then exit;
HighestAngle;
MakeCompass('N');
AxeUse;
end;
procedure AntiRandoms;
begin
if not LoggedIn then Exit;
FindNormalRandoms;
if FindFight then
begin
Wait(RandomRange(3000, 5000));
RunTo(WhatDirection,True);
end
end;
Procedure AntiBanish;
Begin
if (not LoggedIn) then exit;
Case Random(150) of
0: HoverSkill('Woodcutting', False);
1,2: MouseSpeed := 9 + Random(3);
3,4: PickUpMouse;
5: GameTab(2);
8: Wait(2000);
9,10,11: Setrun(True);
14: Hoverskill('Random', False);
15,16: SomeRandomTalk
end;
end;
Procedure B4nk;
Var x, y, ax, ay: integer;
Foundbank : Boolean;
time: Integer;
Begin
if (not LoggedIn) then exit;
MarkTime(time);
Foundbank := False;
Repeat
if FindObjCustom(ax, ay, ['ank'], [8751501, 3370376, 803673], 7) then
begin
GetMousepos(x, y); // Couldnt use Openbank; OpenBankQuite;
AntiRandoms; // Becuase : I need to open a bank in cammalot
Mouse(x, y, 1, 1, false);
Chooseoption('kly');
Foundbank := True;
writeln('FoundBank');
Wait(1000+random(1000));
Inpin(Players[CurrentPlayer].Strings[0]);
end;
Until (FoundBank) or (TimeFromMark(time) > 10000);
end;
Procedure CheckIfLevled;
Var ox, oy : integer;
Begin
if (not LoggedIn) then exit;
If FindColorTolerance(ox, oy, 16711680, 205, 434, 370, 459, 10) then
begin
Mouse(ox, oy, 0, 0, true);
AntiBanish;
end else Exit;
end;
Procedure Depos1tAll;
Begin
if (not LoggedIn) then exit;
Fixbank;
wait(1000+random(500));
Deposit(1,1,2);
Closebank;
Wait(1000+random(500));
AntiRandoms;
Loads := Loads + 1;
Chopped := Chopped + 27;
end;
Procedure YewWalking;
Var hx, hy : Integer;
begin
if (not LoggedIn) then exit;
for t := 0 to 4 do
case t of
0: if RadialWalk(6908273, 210, 220, 65, 0, 0) then
AntiRandoms else Logout;
1: if RadialWalk(6908273, 261, 299, 50, 0, 0) then
AntiRandoms else Logout;
2: if RadialWalk(5724247, 150, 300, 75, 0, 0) then
AntiRandoms else Logout;
3: if RadialWalk(1195603, 273, 260, 64, 0, 0) then
AntiRandoms else Logout;
4: If FindSymbol(hx, hy, 'tree') then
begin
Mouse(hx, hy, 0, 0, True);
AntiRandoms;
Flag;
end else
Logout;
end;
end;
Procedure LittleCheck;
begin
if (not LoggedIn) then exit;
MMouse(fx, fy, 0, 0);
if IsUpText(Players[CurrentPlayer].Strings[1]) then
begin
NoTree := True;
end else NoTree := False;
end;
Procedure WillowWalking;
begin
if (not LoggedIn) then exit;
for t := 0 to 2 do
case t of
0: if RadialWalk( 6908273 , 220, 240, 65, 0, 0) then
AntiRandoms else Logout;
1: if RadialWalk( 6908273, 265, 255, 59, 0, 0) then
AntiRandoms else Logout;
2: if RadialWalk( 402999, 250, 200, 50, 0, 0) then
AntiRandoms else Logout;
end;
end;
Procedure WaitWhileWc;
Var
Tick : Integer;
begin
if (not LoggedIn) then exit;
NoTree := False;
MarkTime(Tick);
repeat;
AntiBanish;
Wait(2000+random(1000));
LittleCheck;
until(NoTree = True) or (InvFull) or (TimeFromMark(tick) > 15000+random(10000));
end;
Procedure ChoppAYew;
Var lx, ly : integer;
Begin
if (not LoggedIn) then exit;
Repeat
If FindObjCustom(lx, ly, ['Yew','ew','Ye'], [4223112, 4487056, 3694966, 4487056, 2000245], 10) then
begin
GetMousePos(fx, fy);
MMouse(fx, fy, 0, 0);
If IsUpText('Yew') then
Mouse(fx, fy, 0, 0, true);
AntiRandoms;
AntiBanish;
WaitWhileWc;
end else
LogOut;
Until(Invfull);
end;
Procedure ChoppAWillow;
Var cx, cy : integer;
Begin
if (not LoggedIn) then exit;
Repeat
If FindObjCustom(cx, cy, ['Wil', 'illo', 'llow'], [2637371, 2325097, 3098178, 2448722], 7) then
begin
GetMousePos(fx, fy);
MMouse(fx, fy, 0, 0);
If IsUpText('Wil') then
Mouse(fx, fy, 0, 0, true);
AntiRandoms;
AntiBanish;
WaitWhileWc;
end else
LogOut;
Until(Invfull);
end;
Procedure YewWalkBack;
Begin
if (not LoggedIn) then exit;
for u := 0 to 5 do
case u of
0: if RadialWalk( 1195603, 339, 116, 50, 0, 0) then
AntiRandoms else Logout;
1: if RadialWalk( 5724247, 70, 115, 60, 0, 0) then
AntiRandoms else Logout;
2: if RadialWalk( 1195603 , 70, 90, 65, 0, 0) then
AntiRandoms else Logout;
3: if RadialWalk( 6908273, 75, 90, 60, 0, 0) then
AntiRandoms else Logout;
end;
end;
Procedure WillowWalkBack;
Begin
if (not LoggedIn) then exit;
for u := 0 to 1 do
case u of
1: if RadialWalk( 6908273, 40, 45, 59, 0, 0) then
AntiRandoms else Logout;
2: if RadialWalk( 9408666, 35, 111, 65, 0, 0) then
AntiRandoms else Logout;
end;
end;
Procedure PCwhat;
Begin
If Players[CurrentPlayer].Strings[1] = 'Willow' then
begin
ChoppAWillow;
end else
if Players[CurrentPlayer].Strings[1] = 'Yew' then
begin
ChoppAYew;
end else
Writeln('Select What Tree To Chop at line 10');
end;
Procedure ChopSelectedTree;
begin
Repeat
PCwhat;
WaitWhileWc;
until(Invfull);
end;
Procedure DropPart;
Begin
if (not LoggedIn) then exit;
DropAll;
Loads := Loads + 1;
Chopped := Chopped + 27;
if (Not(InvCount = 0 )) then
LogOut;
end;
Procedure MainLoopPower;
begin
ClearDebug;
Repeat
if (not LoggedIn) then NextPlayer(False);
LoginPlayer;
ProgressReport;
ChopSelectedTree;
DropPart;
until(Loads = Players[CurrentPlayer].Integers[0]);
LogOut;
NextPlayer(True);
end;
Procedure MainLoopYew;
begin
ClearDebug;
Repeat
if (not LoggedIn) then NextPlayer(False);
LoginPlayer;
Setup;
AxeUse;
YewWalking;
ChoppAYew;
YewWalkBack;
B4nk;
Depos1tAll;
until(Loads = Players[CurrentPlayer].Integers[0]);
LogOut;
NextPlayer(True);
end;
Procedure MainLoopWil;
begin
ClearDebug;
Repeat
if (not LoggedIn) then NextPlayer(False);
LoginPlayer;
Setup;
AxeUse;
WillowWalking;
ChoppAYew;
WillowWalkBack;
B4nk;
Depos1tAll;
until(Loads = Players[CurrentPlayer].Integers[0]);
LogOut;
NextPlayer(True);
end;
begin
SetupSrl;
Activateclient;
Disguise('Windows Live Messenger');
MarkTime(time2);
DeclarePlayers;
Repeat
WhatTree;
for i := 0 to 2 do
case i of
0: if Players[CurrentPlayer].Booleans[0] = True then
MainloopPower;
1: if Players[CurrentPlayer].Booleans[0] = False then
if Tr33Type = 1 then
MainloopYew;
2: If Players[CurrentPlayer].Booleans[0] = False then
if Tr33Type = 2 then
MainloopWil;
end;
until(TimeFromMark(time2) > Howlong*60000) or (AllPlayersInactive);
end.——————————————————
<!– END TEMPLATE: formanswers –>