SRL Archive - RS3 Outdated / Broken Scripts

Logz - A Draynor Willow Log cutter and banker.


TravisV10

2007-06-30 08:55:43

SEE MY LATEST SCRIPT! (this one doesnt work, basically, at all!)

Here is the url:
http://www.villavu.com/forum/showthread.php?t=13213?t=14622




Logz - A Draynor Willow Log cutter and banker.


SRL 3.6 and SCAR 2.03


Sorry everyone but a new version of Logz will not be coming out. Please check out my latest script! http://www.villavu.com/forum/showthread.php?t=12843


Features:
-MultiPlayer
-AntiBan
-AntiRandoms
-Chops willow trees south of the Draynor bank, banks them, and repeats.


This script is new and I just need a few people to help me out with adding more stuff to it. Please post how well the script ran.



{
(C) Travis AKA Born2Code's scripts.

Logz - A Draynor Willow Log cutter and banker.

Designed for SCAR 2.03 with SRL 3.6.

If you liked this script, be sure to give me a good rating on SRL-Forums!

Features:
-AntiBan
-AntiRandoms
-MultiPlayer
-Fast Chopping procedure
-An AWESOME name =]

Soon to come features:
-Axe Head Finding
-ENT Finding
-Broken Axe Replacing

SETUP LINES 40-79

Enjoy! Do not LEECH, COPY, or REDISTRIBUTE!

}


program Logz;
{.include srl/srl.scar}
{.include SRL\SRL\Skill\Woodcutting.SCAR}

var
Loads,Tries,CutTime,AxeDTM: integer;

const
WillowTreeColor= 263943;//Color of the Tree
AOL= 1;//Amount of loads
WaitTime= 3;//Time between tree clicks (seconds)
LoadTime= 2;//Max. time per load (minutes)

procedure DeclarePlayers;
begin
HowManyPlayers := 6;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;

Players[0].Name := 'UserName';
Players[0].Pass := 'Password';
Players[0].Nick := '3-4 letters of UserName';
Players[0].Active := True;

Players[1].Name := 'UserName';
Players[1].Pass := 'Password';
Players[1].Nick := '3-4 letters of UserName';
Players[1].Active := False;

Players[2].Name := 'UserName';
Players[2].Pass := 'Password';
Players[2].Nick := '3-4 letters of UserName';
Players[2].Active := False;

Players[3].Name := 'UserName';
Players[3].Pass := 'Password';
Players[3].Nick := '3-4 letters of UserName';
Players[3].Active := False;

Players[4].Name := 'UserName';
Players[4].Pass := 'Password';
Players[4].Nick := '3-4 letters of UserName';
Players[4].Active := False;

Players[5].Name := 'UserName';
Players[5].Pass := 'Password';
Players[5].Nick := '3-4 letters of UserName';
Players[5].Active := False;

NickNameBMP := CreateBitmapMaskFromText(Players[CurrentPlayer].Nick, UpChars);
end;

procedure LoadDTM;
begin
AxeDTM := DTMFromString('78DA63E4646060E0634001514E1C609A11CA6' +
'7E401126CA86AB2037851D5B00309515435A1F6A8E600007D4802' +
'54');
end;

procedure WalkTrees;
begin
if(not(LoggedIn)) then Exit;
MakeCompass('N');
RadialRoadWalk(FindWaterColor,228,178,70,2,2);
Wait(2550+random(550));
FFlag(0);
end;

procedure WalkBank;
begin
if(not(LoggedIn)) then Exit;
MakeCompass('N');
if(not(FindSymbol(x,y,'bank'))) then
begin
Tries:=0
repeat
Wait(500+random(500));
if(Tries=25) then break;
Tries:=Tries+1
until FindSymbol(x,y,'bank');
end;
Mouse(x,y,2,2,true);
Wait(2550+random(550));
FFlag(0);
end;

procedure Chop;
begin
if(not(LoggedIn)) then Exit;
if(not(FindObj(x,y,'illow',WillowTreeColor,10))) then
begin
Tries:=0
repeat
Wait(345+random(634));
if(Tries=25) then
begin
Writeln('Couldnt find trees')
NextPlayer(false)
end;
Tries:=Tries+1
until FindSymbol(x,y,'fish');
end;
Mouse(x,y,3,4,true)
Wait(WaitTime*1000+random(1550));
end;

procedure Bank;
var I: Integer;
TP: TPoint;
begin
if(not(LoggedIn)) then Exit;
FFlag(0);
Wait(2550+random(550));
Writeln('Banking.')
MakeCompass('W');
KeyDown(VK_Down);
Wait(1000+random(50));
KeyUp(VK_Down);
Repeat
OpenBankGlass('db', false, false)
Until(BankScreen);
FFlag(0);
wait(500 + random(500));
FixBank;
for I := 1 to 28 do
begin
TP := ItemCoords(I);
if(ExistsItem(I))then
begin
if(not(FindDTM(AxeDTM,x,y,TP.x-25,TP.y-25,TP.x+25,TP.y+25)))then
begin
Mouse(x,y,2,2,false);
ChooseOption(x,y,'All');
end;
end;
end;
CloseBank;
Wait(1000+random(550));
KeyDown(VK_Up);
Wait(1000+random(50));
KeyUp(VK_Up);
Loads := Loads + 1
end;




procedure AntiBaning;
begin
if(not(LoggedIn))then
Exit;
case Random(20) of

0,16,17,18: RandomRClickEvery(3 + Random(3));

1: begin
HoverSkill('Woodcutting', false);
wait(1000+random(1000));
GameTab(4);
end;

2: begin
HoverSkill('Smithing', false);
wait(4000+random(550));
GameTab(4);
end;

3,4,5: RandomChatEvery(4 + Random(4));

6,12: PickUpMouse;

7: BoredEvery(10 + Random(5));

8,14: begin
GameTab(1 + Random(12));
wait(1000+random(1000));
GameTab(4);
end;


10: MouseBox(MMX1,MMY1,MMX2,MMY2,3);

11: SleepAndMoveMouse(5000+random(6000));

13,9: begin
GameTab(2 + Random(12));
wait(2000+random(1500));
GameTab(4);
end;


15: begin
GameTab(6 + Random(12));
wait(1500+random(700));
GameTab(4);
end;

19: begin
HoverSkill('Defene', false);
wait(4000+random(550));
GameTab(4);
end;

end;
end;

function FindFastRandoms: Boolean;
var
i: Integer;
begin
for i := 1 to 9 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;
8: begin
if InBlack then
begin
Result := True;
Players[CurrentPlayer].loc := 'InBlack';
Logout;
Exit;
end;
end;
9: RC;
end;
wait(1);
end;
end;


procedure Randoms;
begin
FindFastRandoms;
FindNormalRandoms;
end;



procedure Proggie;
begin
Writeln('\/_\/ \/_\/ \/_\/ \/_\/ \/_\/ \/_\/ \/_\/');
Writeln('Thank you for using Logz!');
Writeln('Cut approx. ' + IntToStr(Loads*28) + ' willow logs!');
Writeln('Banked '+ IntToStr(Loads) + ' time(s)!');
Writeln('Please post this proggie at http://www.villavu.com/forum/showthread.php?t=12658!');
Writeln('/\_/\ /\_/\ /\_/\ /\_/\ /\_/\ /\_/\ /\_/\');
Writeln('Script by: Travis AKA born2code!');
end;

procedure Start;
begin
LoadDTM;
ClearReport;
ClearDebug;
ActivateClient;
end;

procedure Loop;
begin
Repeat
HighestAngle;
MakeCompass('N');
WalkTrees;
repeat
MarkTime(CutTime);
Randoms;
AntiBaning;
Chop;
until(InvFull) or (TimeFromMark(CutTime) >= LoadTime*60000+random(60700));
WalkBank;
Bank;
Proggie;
Until (Loads=AOL);
NextPlayer(True);
Exit;
Loads:=0;
end;


begin
SetupSRL;
Start;
DeclarePlayers;
Loads := 0
DisguiseScar(IntToStr(Loads) + ' load(s).');
Status(IntToStr(Loads) + ' load(s).');
If(not(LoggedIn))then LoginPlayer;
repeat
If(not(LoggedIn))then NextPlayer(False);
Loop;
Until (False)
ClearDebug;
Proggie;
DisguiseScar('Done!');
Status('Done!');
end.



passiondrive

2007-06-30 09:43:26

First Post w00t lol, will test now and post proggie.

EDIT: Will not compile Line 326: [Error] (18373:1): Identifier expected in script. I'm using Scar 2.03 And SRL 3.6

Bourdou!

2007-06-30 10:21:07

Same problem with me

TravisV10

2007-06-30 10:24:06

FIXED!

Markeh1

2007-06-30 15:57:13

Does it have to be those versions of Scar and SRL? Not the recently updated ones?:(

TravisV10

2007-06-30 16:48:28

From: Markeh1
Does it have to be those versions of Scar and SRL? Not the recently updated ones?:(


Yes it does. Go to freddy1990.com and download 2.03 with srl 3.6. When you are installing it, dont install it as Scar 2.03, say the name of it is Scar 2.03 2.

But, if you dont understand what I am talking about:

:google:

passiondrive

2007-07-01 16:28:24

OK, got it to compile ill post a proggy sometime tomoro.

Markeh1

2007-07-01 16:36:51

Doesn't work, Just gets out of range tbh \=

jeffreytuner

2007-07-01 16:53:10

i think not many ppl will use becouse most ppl got divi now maybe update to divi if u want more response

C4rl1t0

2007-07-01 18:23:05

ill check this script out tonight and see how it is

TravisV10

2007-07-01 20:08:28

I am no longer updating. Check out my new script. (look @ my sig!)

Yugi

2007-07-06 12:06:50

Line 183: [Error] (14997:13): Unknown identifier 'RandomRClickEvery' in script C:\DOCUME~1\DENNIS~1\LOCALS~1\Temp\Woodcutting V0.5.scar

TravisV10

2007-07-06 12:23:54

From: Yugi
Line 183: [Error] (14997:13): Unknown identifier 'RandomRClickEvery' in script C:\DOCUME~1\DENNIS~1\LOCALS~1\Temp\Woodcutting V0.5.scar


You are using SRL 3.8. You need to use 3.6

tatotato

2007-07-08 19:30:34

doesnt work, logs in and does nothing

TravisV10

2007-07-08 19:36:50

From: tatotato
doesnt work, logs in and does nothing


Wow. Looks like someone is smart!

There has been a game engine update and you have to change some files. :sasmokin:

I dont even update this script anymore. Don't bother posting.

tatotato

2007-07-08 21:02:23

ah k man, what files should i change??

**EDIT**
figured it out, thanks for replying man

chulo92

2007-08-01 14:56:13

ive upadted it ad im using divi 3.11 and 3.8.1 srl lol SCAR is like ACTOOL

nugs

2007-08-05 23:07:19

how do i work it, i neaver got how to work a script its not a error i got its that when i start it logged out it logs me in but once im in it does shit until i log back out and when i do it when im logged in it does the same thing.
can somonepost how to work it plz.

hotshot123

2007-08-06 17:50:43

Lolz….

I got something like…. Line 1:1= Expected "BEGIN" in line
wtffff

hotshot123

2007-08-06 17:52:48

I dont think really any script has worked for me….I only had one Varrok ess. miner…and it started me off….clicked down to aubrey….(w/e his name is..) It took like….1 minute to find him….teleported me to the mine….mined a grand total of 7 ess. and went back up to the bank….and didnt know what to do…the mouse just went in circles

I guess scar just doesnt like me : ( lol

flameng

2007-08-07 17:12:09

k i tried and this poped up


Include file C:\Program Files\SCAR 2.03\includes\srl/srl.scar does not exist.
Include file C:\Program Files\SCAR 2.03\includes\SRL\SRL\Skill\Woodcutting.SCAR does not exist.
Failed when compiling

stazzie1

2007-08-07 18:55:45

Very well done.

kelly slater pro surfer

2007-09-09 20:43:43

please update its nice =]

rogeruk

2007-09-10 11:27:16

Stop bumping up OLD and DEAD threads.

Stevee

2007-09-15 01:42:26

hi people!!!


havent posted in 3 or so months, school kicked this site out of my mind **shoot me in the head**