ammo2006
2007-09-20 23:45:06
<!– BEGIN TEMPLATE: formanswers –>
ammo2006 - SRL Member Application Form
ammo2006
What is the meaning to life?
Scripting :)
Where you Referred to SRL? If yes, by whom?
no
Programming Knowledge
No, I'm totally new, but I'm finding it fun and addicting.
Other Communitys
No
How Long have You Played Runescape
3 to 4 years, not shure.
Are you affilated in anyway with Jagex LTD?
No
—————————————————–
Please write down a paragraph about Yourself.
Not sure what you meen by affiliated, but I play the game, but if you meen like working for them, no.
I'm totally new to scripting, started about a month ago. Read a bunch of TUTS, didn't really understand them at first but I kept going at it, and eventually understood them. My first ever script was a power cutter, which I Made about 3 weeks ago, and released about 1 week ago. I want to be a positive part of the community (which I think i already am). The reason my post count is so low is because, MOST of the threads I see are spammed, and I HATE replying to spammed topics. So, sorry about that.
——————————————————
Please Post a Sample of your Work. Only SCAR Scripts Accepted
Theres somthing wrong with my Anti-randoms, I had a friend test it and he said it worked for him, but with me the anti randoms make the chopping procedure take longer than it should. I cant seem to fix that.
I find that it works about 9/10 runs.
Find any errors please Post(Don't know if i can see post on my app)
or contact me on msn, it's [email]potmonkey16@hotmail.com[/email]
The instructions said to put the script like this, or I would have it in an attachment…
——————————————————
<!– END TEMPLATE: formanswers –>
ammo2006 - SRL Member Application Form
ammo2006
What is the meaning to life?
Scripting :)
Where you Referred to SRL? If yes, by whom?
no
Programming Knowledge
No, I'm totally new, but I'm finding it fun and addicting.
Other Communitys
No
How Long have You Played Runescape
3 to 4 years, not shure.
Are you affilated in anyway with Jagex LTD?
No
—————————————————–
Please write down a paragraph about Yourself.
Not sure what you meen by affiliated, but I play the game, but if you meen like working for them, no.
I'm totally new to scripting, started about a month ago. Read a bunch of TUTS, didn't really understand them at first but I kept going at it, and eventually understood them. My first ever script was a power cutter, which I Made about 3 weeks ago, and released about 1 week ago. I want to be a positive part of the community (which I think i already am). The reason my post count is so low is because, MOST of the threads I see are spammed, and I HATE replying to spammed topics. So, sorry about that.
——————————————————
Please Post a Sample of your Work. Only SCAR Scripts Accepted
Theres somthing wrong with my Anti-randoms, I had a friend test it and he said it worked for him, but with me the anti randoms make the chopping procedure take longer than it should. I cant seem to fix that.
I find that it works about 9/10 runs.
Find any errors please Post(Don't know if i can see post on my app)
or contact me on msn, it's [email]potmonkey16@hotmail.com[/email]
The instructions said to put the script like this, or I would have it in an attachment…
//////////////////////////////////////////////////////////////////////////////////////////
//// V1.0 ////
//// Cuts Logs North East of Varrock And Banks Them ////
////-Start in Varrock east Bank ////
////-Fill in lines 20-39 ////
//////////////////////////////////////////////////////////////////////////////////////////
//// Credits ////
////~WT-Fakawi- For FindFastRandoms~ ////
////~JAD-For His TUT and the Basic Design For Banking(Changed a Bit)~ ////
////~Srl-Forums in general for being so cool~ ////
//////////////////////////////////////////////////////////////////////////////////////////
program Walker;
{.include srl/srl.scar}
{.include SRL/SRL/skill/Woodcutting.scar}
Var
LoadsDone: Integer;
///FILL THESE IN OR IT WILL NOT WORK PROPERLY!\\\
Const
LoadsToDo = 5; //How many loads to do
WaitTime = 3000; //Wait time per tree (Milliseconds)
Treecolor = 4028267; //The Tree Color on mainscreen
{MINIMAP COLORS}
MMLadderColor = 146013; //Ladder Color in bank, on minimap.
MMTreeColor = 1007148; //Brown Color of Tree ON MINIMAP!
Procedure DeclarePlayers;
begin
HowManyPlayers := 2;
CurrentPlayer := 0;
Players[0].Name :=''; //Username
Players[0].Pass :=''; //Password
Players[0].Nick :=''; //3-4 letters of nickname
Players[0].Active := True; //Do you want to use this player?
Players[1].Name :='sga';
Players[1].Pass :='asgf';
Players[1].Nick :='asdg';
Players[1].Active := True;
End;
//////////////////////////////////////////////////////////////////////////////////////////
{Don't--Touch--Unless--You--Know--Wat--Your--Doing------------------------------------}///
//////////////////////////////////////////////////////////////////////////////////////////
Procedure LoggingIn;
Begin;
DeclarePlayers;
SetupPlayers;
LoginPlayer;
End;
//////////////////////////////////////////////////////////////////////////////////////////
{Start---Randoms--And--Antiban--------------------------------------------------------}///
//////////////////////////////////////////////////////////////////////////////////////////
Procedure AntiBan;
Begin
Case random(5) of
1:HoverSkill('Woodcutting', False);
3:PickupMouse;
4:AlmostLogout;
End;
End;
//////////////////////////////////////////////////////////////////////////////////////////
function FindFastRandoms: Boolean; //WT-Fakawi
var
i: Integer;
begin
for i := 1 to 8 do
begin
case I of
1: if FindDead then
Result := True;
2: if FindMod then
Result := True;
3: if FindMime then
Result := True;
4: if FindMaze then
Result := True;
5: if FindQuiz then
Result := True;
6: if FindDemon then
Result := True;
7: begin
if NoGameTab then
begin
Result := True;
Players[CurrentPlayer].loc := 'No GameTab';
Logout;
Exit;
end;
end;
7: begin
if InBlack then
begin
Result := True;
Players[CurrentPlayer].loc := 'InBlack';
Logout;
Exit;
end;
end;
8: RC;
end;
wait(1);
end;
end;
//////////////////////////////////////////////////////////////////////////////////////////
Procedure Randoms;
Begin
HighestAngle;
FindNormalRandoms;
FindLamp ('WoodCutting');
if (FindFight=True) then
begin
MakeCompass('N');
Wait(200 + random(300))
RunAwayDirection('N');
Wait(5000 + Random(1000));
MakeCompass('S');
RunBack;
SetRun(False);
end;
end;
//////////////////////////////////////////////////////////////////////////////////////////
procedure WalkThere;
begin
SetRun(False);
Makecompass('N');
RadialRoadWalk(FindVarrockRoadColor, 31, 58, 60, 2, 2);
RadialRoadWalk(FindVarrockRoadColor, 86, 108, 60, 2, 2);
RadialRoadWalk(FindVarrockRoadColor, 68, 100, 25, -2, 2);
RadialRoadWalk(FindVarrockRoadColor, 0, 55, 48, 2, -2);
RadialRoadWalk(FindVarrockRoadColor, 0, 15, 32, 2, -2);
RadialWalk( MMTreeColor , 281, 307, 59, -1, 1);
Randoms;
Flag;
end;
//////////////////////////////////////////////////////////////////////////////////////////
{Chop--Tree---------------------------------------------------------------------------}///
//////////////////////////////////////////////////////////////////////////////////////////
Procedure ChoppingTree;
var x, y, Tries, I: Integer;
begin;
For I := 10 to 20 do
Begin;
If FindObj(x, y, 'Tree', TreeColor, I) then
Else
Begin
Wait(50);
Tries:= Tries + 1;
If (Tries = 20) Then
Writeln('Could not find color, NextPlayer.')
NextPlayer(False);
End;
begin;
Mouse(x, y, 1, 1, False);
if ChooseOption('hop') then
begin;
Makecompass('N');
HighestAngle;
Randoms;
AntiBan;
FindEnt(x, y, True);
FindBirdsNest;
Wait(WaitTime + Random (2000));
Exit;
End;
End;
End;
End;
//////////////////////////////////////////////////////////////////////////////////////////
Procedure BankIt;
var Log, x, y: Integer;
M: Boolean;
Begin
Log := DTMFromString('78DA63BCC7C4C0709091011530229140FA115' +
'0CD2E026A5E02D56C23A0E62350CD16026ABE03D56C25A0E62750' +
'CD5E026AFE00D51C26A0E63350CD71026A9E02D59C24A0E60D613' +
'500CB5B10FA');
If (InvFull) Then
Begin
MakeCompass('N');
If OpenBankGlass('veb',False,False) Then
Begin
FFlag(0);
wait(500 + random(500));
FixBank;
If (FindDTM(Log, x, y, 568, 209, 742, 460)) Then
Begin
Mouse(x, y, 3, 3, false);
ChooseOption('All')
M := True;
End;
CloseBank;
MakeCompass('N');
if(M)then
Begin
LoadsDone := LoadsDone + 1;
End;
End;
Else
Begin
WriteLn(Players[CurrentPlayer].Name + ' Could not find bank and is lost');
Nextplayer(False);
End;
End;
End;
//////////////////////////////////////////////////////////////////////////////////////////
Procedure WalkBack;
Begin
SetRun(False);
MakeCompass('N');
RadialRoadWalk(FindVarrockRoadColor, 84, 105, 65, -2, -2);
RadialRoadWalk(FindVarrockRoadColor, 210, 175, 65, -2, -2);
RadialRoadWalk(FindVarrockRoadColor, 235, 267, 60, -2, -2);
RadialRoadWalk(FindVarrockRoadColor, 282, 260, 60, 1, -1);
RadialRoadWalk(MMLadderColor, 258, 135, 47, 1, -1);
Randoms;
Flag;
Bankit
End;
//////////////////////////////////////////////////////////////////////////////////////////
Procedure Prog;
begin;
ClearDebug;
WriteLn('CURRENT PLAYER: ' +Players[CurrentPlayer].Name+ '.');
WriteLn('Running for ' +TimeRunning);
WriteLn('Cut: ' +IntToStr(LoadsDone)+ ' Loads!.');
end;
//////////////////////////////////////////////////////////////////////////////////////////
Begin
SetupSrl;
SetupWoodcutting;
ActivateClient;
If LoggedIn then Logout;
LoggingIn;
Repeat
Begin
WalkThere;
Repeat
ChoppingTree;
Until (InvFull);
WalkBack;
If not LoggedIn Then NextPlayer(False);
If (Loadsdone = LoadsToDo) Then
Begin
NextPlayer(True);
Prog;
SRLRandomsReport;
End;
End;
until ((CurrentPlayer) >= HowManyPlayers)
If((CurrentPlayer) >= HowManyPlayers) Then
Begin
TerminateScript;
End;
End.——————————————————
<!– END TEMPLATE: formanswers –>