10wnu9
2012-03-19 22:40:54
moved from previous section PLEASE HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2012-03-19 22:40:54
2012-03-19 22:56:34
From: 10wnu9
How the hell do I fix this error, just made my first script and I get this : confused:
moved from previous section PLEASE HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2012-03-19 22:59:47
2012-03-19 23:00:51
From: sahibjs
You just made another thread about the same thing.
Try not to create multiple threads.
2012-03-19 23:03:55
program New;
{$DEFINE SMART}
{$i srl/srl.simba}
{$DEFINE SRL5}
//This Is My very First Script, If You
//Are Using It Please Leave Constructive Critiscism!
Const
World = 103; //May not Work As of Yet.
MEMBERS = True;
Stats_UserID = '';
Stats_Password = '';
AutoUpdate = True;
procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := ''; // Username?
Players[0].Pass := ''; // Password?
Players[0].Nick := '10w'; // 3 letters of your username (not the first letter)
Players[0].Active := True;
end;
Function CheckAndClick(UpText, Option:String; X,Y:Integer;RClick:Boolean) :Boolean;
Begin
MMouse(x,y,5,5);
If WaitUptext(Uptext, 1500+Random(500)) Then
Begin
Result:= True;
GetMousePos(x, y);
If RClick Then
Begin
Mouse(x, y, 0, 0, False);
Result:= WaitOption(Option,1800);
If Result Then FFlag(0);
End Else
Begin
Mouse(x, y, 0, 0, True);
Wait(100+Random(50));
FFlag(0);
End;
End;
End;
procedure AntiBan;
begin
if(not(LoggedIn))then
Exit;
FindNormalRandoms;
case Random(2) of
0:
begin
Gametab(Tab_Stats) Hoverskill ('Random',False);
Wait(7873+Random(298));
Gametab(Tab_Inv);
MakeCompass('W');
Wait(9346+Random(222));
MakeCompass('E');
end;
1: PickUpMouse;
2:
begin
MakeCompass('S');
wait(222+random(1335));
MakeCompass('W');
wait(561+random(133));
MakeCompass('E');
FindNormalRandoms;
end;
end;
end;
procedure ChopTree;
var x, y, PlusOne, TooLong, TreeCounter: integer;
begin
MarkTime(TooLong);
PlusOne:= InvCount + 1;
x:=MSCX;
y:=MSCY;
If FindObjTPA(x, y, 3424846, 5, 1, 15, 60, 600, ['Cho'])then
Case Random(2) of
0: Mouse(x, y, 5, 5, True);
1: Begin
Mouse(x, y, 5, 5, False);
WaitOption('Chop', 500);
End;
End;
Flag;
MarkTime(TreeCounter);
If (TimeFromMark(TooLong) > 30000) then
repeat
FindNormalRandoms;
if FindObj(x, y, 'hop', 3424846, 22)
then Mouse(x, y, 2, 2, false);
ChooseOption('hop');
Wait(198+Random(128));
FindNormalRandoms;
if FindObj(x, y, 'hop', 3424846, 22)
then
Mouse(x,y,0,0,false);
ChooseOption('hop');
Wait(222+Random(122));
WriteLn ('ANNIHILATING TREE!');
if InvCount=+1 then
WriteLn('We Got the Yew log!!');
begin
Mouse(x, y, 2, 2, false);
ChooseOption('hop');
end;
Flag;
MarkTime(TreeCounter);
repeat
Wait(75+Random(286)); MakeCompass('W');
Wait(500+Random(122));
Wait(75+Random(133)); MakeCompass('E');
wait(400+random(250));
AntiBan;
If InvCount=PlusOne Then
WriteLn('We ANNIHILATED another log!');
Until not IsUpText('ew') or (InvFull);
until(InvFull);
End;
Procedure DropLogs;
Var
x, y, LogDTM, I:Integer;
SlotBox:TBox;
LogPattern:TIntegerArray;
Begin
LogDTM := DTMFromString('mbQAAAHicY2VgYHBlYmAwA2JjIHYA4gAgfgIUfwTEb4D4AxA/BmIHAxkgyYSGUcF/IGbEgsEAABw/B2s=');
LogPattern:=[1,5,9,13,17,21,25,29,2,6,10,14,18,22,26,3,7,11,15,19,23,27,4,8,12,16,20,16,12,8,4];
If InvFull then
begin
FindNormalRandoms;
For I:=0 To 27 Do
Begin
FindNormalRandoms;
Status('Dropping Log:'+ IntToStr(I));
SlotBox:=InvBox(LogPattern[I]);
If FindDTm(LogDTM,x,y,Slotbox.x1,Slotbox.y1, SlotBox.x2, Slotbox.y2) Then
begin
MouseItem(LogPattern[I],1);
ChooseOption('Dro');
End;
End;
End;
begin
SetUpSRL;
ActivateClient;
DeclarePlayers;
LoginPlayer;
repeat
ChopTree;
If Invfull then
DropLogs;
until(False);
End. 2012-03-19 23:05:05
From: Sex
His other thread was in a different forum. He posted this one in the correct forum, though he should have reported the other thread to have it moved. I have already reported it :).
2012-03-19 23:07:42
2012-03-19 23:08:04
From: 10wnu9
Yes I know I understand, I'm Ultimately tired, you'd see me round the forum, i'm not usually like this, as for the other one, I shall delete it when Possible.
And Here is the Simba TAGSprogram New;
{$DEFINE SMART}
{$i srl/srl.simba}
{$DEFINE SRL5}
//This Is My very First Script, If You
//Are Using It Please Leave Constructive Critiscism!
Const
World = 103; //May not Work As of Yet.
MEMBERS = True;
Stats_UserID = '';
Stats_Password = '';
AutoUpdate = True;
procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := ''; // Username?
Players[0].Pass := ''; // Password?
Players[0].Nick := '10w'; // 3 letters of your username (not the first letter)
Players[0].Active := True;
end;
Function CheckAndClick(UpText, Option:String; X,Y:Integer;RClick:Boolean) :Boolean;
Begin
MMouse(x,y,5,5);
If WaitUptext(Uptext, 1500+Random(500)) Then
Begin
Result:= True;
GetMousePos(x, y);
If RClick Then
Begin
Mouse(x, y, 0, 0, False);
Result:= WaitOption(Option,1800);
If Result Then FFlag(0);
End Else
Begin
Mouse(x, y, 0, 0, True);
Wait(100+Random(50));
FFlag(0);
End;
End;
End;
procedure AntiBan;
begin
if(not(LoggedIn))then
Exit;
FindNormalRandoms;
case Random(2) of
0:
begin
Gametab(Tab_Stats) Hoverskill ('Random',False);
Wait(7873+Random(298));
Gametab(Tab_Inv);
MakeCompass('W');
Wait(9346+Random(222));
MakeCompass('E');
end;
1: PickUpMouse;
2:
begin
MakeCompass('S');
wait(222+random(1335));
MakeCompass('W');
wait(561+random(133));
MakeCompass('E');
FindNormalRandoms;
end;
end;
end;
procedure ChopTree;
var x, y, PlusOne, TooLong, TreeCounter: integer;
begin
MarkTime(TooLong);
PlusOne:= InvCount + 1;
x:=MSCX;
y:=MSCY;
If FindObjTPA(x, y, 3424846, 5, 1, 15, 60, 600, ['Cho'])then
Case Random(2) of
0: Mouse(x, y, 5, 5, True);
1: Begin
Mouse(x, y, 5, 5, False);
WaitOption('Chop', 500);
End;
End;
Flag;
MarkTime(TreeCounter);
If (TimeFromMark(TooLong) > 30000) then
repeat
FindNormalRandoms;
if FindObj(x, y, 'hop', 3424846, 22)
then Mouse(x, y, 2, 2, false);
ChooseOption('hop');
Wait(198+Random(128));
FindNormalRandoms;
if FindObj(x, y, 'hop', 3424846, 22)
then
Mouse(x,y,0,0,false);
ChooseOption('hop');
Wait(222+Random(122));
WriteLn ('ANNIHILATING TREE!');
if InvCount=+1 then
WriteLn('We Got the Yew log!!');
begin
Mouse(x, y, 2, 2, false);
ChooseOption('hop');
end;
Flag;
MarkTime(TreeCounter);
repeat
Wait(75+Random(286)); MakeCompass('W');
Wait(500+Random(122));
Wait(75+Random(133)); MakeCompass('E');
wait(400+random(250));
AntiBan;
If InvCount=PlusOne Then
WriteLn('We ANNIHILATED another log!');
Until not IsUpText('ew') or (InvFull);
until(InvFull);
End;
Procedure DropLogs;
Var
x, y, LogDTM, I:Integer;
SlotBox:TBox;
LogPattern:TIntegerArray;
Begin
LogDTM := DTMFromString('mbQAAAHicY2VgYHBlYmAwA2JjIHYA4gAgfgIUfwTEb4D4AxA/BmIHAxkgyYSGUcF/IGbEgsEAABw/B2s=');
LogPattern:=[1,5,9,13,17,21,25,29,2,6,10,14,18,22,26,3,7,11,15,19,23,27,4,8,12,16,20,16,12,8,4];
If InvFull then
begin
FindNormalRandoms;
For I:=0 To 27 Do
Begin
FindNormalRandoms;
Status('Dropping Log:'+ IntToStr(I));
SlotBox:=InvBox(LogPattern[I]);
If FindDTm(LogDTM,x,y,Slotbox.x1,Slotbox.y1, SlotBox.x2, Slotbox.y2) Then
begin
MouseItem(LogPattern[I],1);
ChooseOption('Dro');
End;
End;
End;
begin
SetUpSRL;
ActivateClient;
DeclarePlayers;
LoginPlayer;
repeat
ChopTree;
If Invfull then
DropLogs;
until(False);
End.
Bare In Mind This Is MY FIRST script ever and It's going okay, it's at the end. ^^^
I get the error it says— Error] (194:4): Identifier expected at line 193
Line 193 Being the part saying "End."
The end of the script, so thanks for you consideration.
2012-03-19 23:10:42
2012-03-19 23:11:50
2012-03-19 23:12:23
Procedure DropLogs;
Var
x, y, LogDTM, I:Integer;
SlotBox:TBox;
LogPattern:TIntegerArray;
Begin
LogDTM := DTMFromString('mbQAAAHicY2VgYHBlYmAwA2JjIHYA4gAgfgIUfwTEb4D4AxA/BmIHAxkgyYSGUcF/IGbEgsEAABw/B2s=');
LogPattern:=[1,5,9,13,17,21,25,29,2,6,10,14,18,22,26,3,7,11,15,19,23,27,4,8,12,16,20,16,12,8,4];
If InvFull then
begin
FindNormalRandoms;
For I:=0 To 27 Do
Begin
FindNormalRandoms;
Status('Dropping Log:'+ IntToStr(I));
SlotBox:=InvBox(LogPattern[I]);
If FindDTm(LogDTM,x,y,Slotbox.x1,Slotbox.y1, SlotBox.x2, Slotbox.y2) Then
begin
MouseItem(LogPattern[I],1);
ChooseOption('Dro');
End;
End;
end;//////////////////////////////////////////here
End;
2012-03-19 23:12:51
From: 10wnu9
Hmm, How did I format It wrong, In standards Is this about the worst you can get?
2012-03-19 23:15:39
2012-03-19 23:17:30
program New;
{$DEFINE SMART}
{$i srl/srl.simba}
{$DEFINE SRL5}
const
World = 103;
MEMBERS = True;
Stats_UserID = '';
Stats_Password = '';
AutoUpdate = True;
procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := '';
Players[0].Pass := '';
Players[0].Nick := '10w';
Players[0].Active := True;
end;
function CheckAndClick(UpText, Option: string; X, Y: Integer; RClick: Boolean): Boolean;
begin
MMouse(x, y, 5, 5);
if WaitUptext(Uptext, 1500 + Random(500)) then
begin
Result := True;
GetMousePos(x, y);
if RClick then
begin
Mouse(x, y, 0, 0, False);
Result := WaitOption(Option, 1800);
if Result then
FFlag(0);
end
else
begin
Mouse(x, y, 0, 0, True);
Wait(100 + Random(50));
FFlag(0);
end;
end;
end;
procedure AntiBan;
begin
if (not (LoggedIn)) then
Exit;
FindNormalRandoms;
case Random(2) of
0:
begin
Gametab(Tab_Stats) Hoverskill('Random', False);
Wait(7873 + Random(298));
Gametab(Tab_Inv);
MakeCompass('W');
Wait(9346 + Random(222));
MakeCompass('E');
end;
1: PickUpMouse;
2:
begin
MakeCompass('S');
wait(222 + random(1335));
MakeCompass('W');
wait(561 + random(133));
MakeCompass('E');
FindNormalRandoms;
end;
end;
end;
procedure ChopTree;
var
x, y, PlusOne, TooLong, TreeCounter: integer;
begin
MarkTime(TooLong);
PlusOne := InvCount + 1;
x := MSCX;
y := MSCY;
if FindObjTPA(x, y, 3424846, 5, 1, 15, 60, 600, ['Cho']) then
case Random(2) of
0: Mouse(x, y, 5, 5, True);
1:
begin
Mouse(x, y, 5, 5, False);
WaitOption('Chop', 500);
end;
end;
Flag;
MarkTime(TreeCounter);
if (TimeFromMark(TooLong) > 30000) then
repeat
FindNormalRandoms;
if FindObj(x, y, 'hop', 3424846, 22) then
Mouse(x, y, 2, 2, false);
ChooseOption('hop');
Wait(198 + Random(128));
FindNormalRandoms;
if FindObj(x, y, 'hop', 3424846, 22) then
Mouse(x, y, 0, 0, false);
ChooseOption('hop');
Wait(222 + Random(122));
WriteLn('ANNIHILATING TREE!');
if InvCount = + 1 then
WriteLn('We Got the Yew log!!');
begin
Mouse(x, y, 2, 2, false);
ChooseOption('hop');
end;
Flag;
MarkTime(TreeCounter);
repeat
Wait(75 + Random(286));
MakeCompass('W');
Wait(500 + Random(122));
Wait(75 + Random(133));
MakeCompass('E');
wait(400 + random(250));
AntiBan;
if InvCount = PlusOne then
WriteLn('We ANNIHILATED another log!');
until not IsUpText('ew') or (InvFull);
until (InvFull);
end;
procedure DropLogs;
var
x, y, LogDTM, I: Integer;
SlotBox: TBox;
LogPattern: TIntegerArray;
begin
LogDTM := DTMFromString('mbQAAAHicY2VgYHBlYmAwA2JjIHYA4gAgfgIUfwTEb4D4AxA/BmIHAxkgyYSGUcF/IGbEgsEAABw/B2s=');
LogPattern := [1, 5, 9, 13, 17, 21, 25, 29, 2, 6, 10, 14, 18, 22, 26, 3, 7, 11, 15, 19, 23, 27, 4, 8, 12, 16, 20, 16, 12, 8, 4];
if InvFull then
begin
FindNormalRandoms;
for I := 0 to 27 do
begin
FindNormalRandoms;
Status('Dropping Log:' + IntToStr(I));
SlotBox := InvBox(LogPattern[I]);
if FindDTm(LogDTM, x, y, Slotbox.x1, Slotbox.y1, SlotBox.x2, Slotbox.y2) then
begin
MouseItem(LogPattern[I], 1);
ChooseOption('Dro');
end;
end;
end;
end; // you were missing this
begin
SetUpSRL;
ActivateClient;
DeclarePlayers;
LoginPlayer;
repeat
ChopTree;
if Invfull then
DropLogs;
until (False);
end.Proper standards for you :).2012-03-19 23:19:53
2012-03-19 23:22:09
From: 10wnu9
If I fix Up My script to General Good Use Standards How will I release It on the forums?
2012-03-19 23:23:20
2012-03-19 23:37:25
2012-03-20 12:01:27
2012-03-20 14:12:58
From: 10wnu9
Okay the script is working "Okay" But is Not complete, Is there a way to make the script change the camera angle until it finds acceptable colour/tree or is there the only MakeCompass('N'); Setting?
Thanks.
2012-03-20 15:44:12
2012-03-20 15:52:26
2012-03-20 17:11:55
2012-03-20 17:16:18
if (FindTree = False) then
repeat
CompassMovement(0, 360, False);
until(FindTree = True);
2012-03-20 17:24:50
Procedure DropLogs;
Var
x, y, LogDTM, I:Integer;
SlotBox:TBox;
LogPattern:TIntegerArray;
Begin
LogDTM := DTMFromString('mbQAAAHicY2VgYHBlYmAwA2JjIHYA4gAgfgIUfwTEb4D4AxA/BmIHAxkgyYSGUcF/IGbEgsEAABw/B2s=');
LogPattern:=[1,5,9,13,17,21,25,29,2,6,10,14,18,22,26,3,7,11,15,19,23,27,4,8,12,16,20,16,12,8,4];
If InvFull then
begin
FindNormalRandoms;
For I:=0 To 27 Do
Begin
FindNormalRandoms;
Status('Dropping Log:'+ IntToStr(I));
SlotBox:=InvBox(LogPattern[I]);
If FindDTm(LogDTM,x,y,Slotbox.x1,Slotbox.y1, SlotBox.x2, Slotbox.y2) Then
begin
MouseItem(LogPattern[I],1);
ChooseOption('rop');
End;
End;
End;
End; 2012-03-20 17:26:53
2012-03-20 17:32:48
Function CheckAndClick(UpText, Option:String; X,Y:Integer;RClick:Boolean) :Boolean;
Begin
MMouse(x,y,5,5);
If WaitUptext(Uptext, 1500+Random(500)) Then
Begin
Result:= True;
GetMousePos(x, y);
If RClick Then
Begin
Mouse(x, y, 0, 0, False);
Result:= WaitOption(Option,1800);
If Result Then FFlag(0);
End Else
Begin
Mouse(x, y, 0, 0, True);
Wait(100+Random(50));
FFlag(0);
End;
End;
End;
procedure AntiBan;
begin
if(not(LoggedIn))then
Exit;
FindNormalRandoms;
case Random(2) of
0:
begin
Gametab(Tab_Stats) Hoverskill ('Random',False);
Wait(30000+Random(298));
Gametab(Tab_Inv);
MakeCompass('0');
Wait(22000+Random(222));
MakeCompass('0');
end;
1: PickUpMouse;
2:
begin
MakeCompass('0');
wait(2000+random(1335));
MakeCompass('0');
wait(561+random(133));
MakeCompass('0');
FindNormalRandoms;
end;
end;
end;
procedure ChopTree;
var x, y, PlusOne, TooLong, TreeCounter: integer;
begin
CompassMovement(0, 360, false);
MarkTime(TooLong);
PlusOne:= InvCount + 1;
x:=MSCX;
y:=MSCY;
If FindObjTPA(x, y, 3424846, 5, 1, 15, 60, 600, ['Cho'])then
Case Random(2) of
0: Mouse(x, y, 5, 5, True);
1: Begin
Mouse(x, y, 5, 5, False);
WaitOption('Chop', 500);
End;
End;
Flag;
MarkTime(TreeCounter);
If (TimeFromMark(TooLong) > 30000) then
repeat
FindNormalRandoms;
if FindObj(x, y, 'hop', 3424846, 22)
then Mouse(x, y, 2, 2, false);
ChooseOption('hop');
Wait(198+Random(128));
FindNormalRandoms;
if FindObj(x, y, 'hop', 3424846, 22)
then
Mouse(x,y,0,0,false);
ChooseOption('hop');
Wait(222+Random(122));
WriteLn ('ANNIHILATING TREE!');
if InvCount=+1 then
WriteLn('We Got the Yew log!!');
begin
Mouse(x, y, 2, 2, false);
ChooseOption('hop');
end;
Flag;
MarkTime(TreeCounter);
repeat
Wait(75+Random(286));
CompassMovement(0, 360, false);
Wait(2000+Random(122));
CompassMovement(0, 360, false);
wait(2000+random(250));
AntiBan;
If InvCount=PlusOne Then
WriteLn('We ANNIHILATED another log!');
Until not IsUpText('ew') or (InvFull);
until(InvFull);
End;
Procedure DropLogs;
Var
x, y, LogDTM, I:Integer;
SlotBox:TBox;
LogPattern:TIntegerArray;
Begin
LogDTM := DTMFromString('mbQAAAHicY2VgYHBlYmAwA2JjIHYA4gAgfgIUfwTEb4D4AxA/BmIHAxkgyYSGUcF/IGbEgsEAABw/B2s=');
LogPattern:=[1,5,9,13,17,21,25,29,2,6,10,14,18,22,26,3,7,11,15,19,23,27,4,8,12,16,20,16,12,8,4];
If InvFull then
begin
FindNormalRandoms;
For I:=0 To 27 Do
Begin
FindNormalRandoms;
Status('Dropping Log:'+ IntToStr(I));
SlotBox:=InvBox(LogPattern[I]);
If FindDTm(LogDTM,x,y,Slotbox.x1,Slotbox.y1, SlotBox.x2, Slotbox.y2) Then
begin
MouseItem(LogPattern[I],2);
ChooseOption('rop');
End;
End;
End;
End;
begin
SetUpSRL;
ActivateClient;
DeclarePlayers;
LoginPlayer;
repeat
ChopTree;
If Invfull then
DropLogs;
until(False);
End.
2012-03-20 17:41:05
if FindObj(x, y, 'hop', 3424846, 22)
then Mouse(x, y, 2, 2, false);
ChooseOption('hop');
Wait(198+Random(128));
FindNormalRandoms;
if FindObj(x, y, 'hop', 3424846, 22)
then
Mouse(x,y,0,0,false);
ChooseOption('hop');
Wait(222+Random(122));
WriteLn ('ANNIHILATING TREE!');
if InvCount=+1 then
WriteLn('We Got the Yew log!!');
begin
Mouse(x, y, 2, 2, false);
ChooseOption('hop');
2012-03-20 17:42:12
2012-03-20 17:47:27
repeat
ClickTree
If the time is 30 seconds from a mark that you just marked then...
Repeat
ClickTree 3 times
Repeat
Antiban
until the UpText is gone or InvFull
until InvFull
until False
2012-03-20 17:49:04
2012-03-20 17:51:28
2012-03-20 17:56:10
2012-03-20 18:03:42
2012-03-20 18:16:38
2012-03-20 18:22:35
2012-03-20 18:28:00
2012-03-20 18:30:43
2012-03-20 18:31:46
repeat
repeat
ChopTree;
until InvFull;
DropLogs;
until False;
end.
2012-03-20 18:38:51
2012-03-20 18:41:47
2012-03-21 12:16:49
2012-03-21 12:32:37
2012-03-21 13:04:34
From: 10wnu9
I wrote Dropper := Dropper + 1;
and It has and error on it….Why? Any help please?
2012-03-21 13:12:09
program New;
{$DEFINE SMART}
{$i srl/srl.simba}
{$DEFINE SRL5}
//Run The script anywhere where there is many
//Trees or Oaks, Works anywhere, recommended spot:-
//West Of Cooking Guild Grand Exchange!
//Any Problems found, Pm Me Or Leave an Issue on
//Thread!
//This Is My very First Script, If You
//Are Using It Please Leave Constructive Critiscism!
Const
World = 103; //May not Work As of Yet.
MEMBERS = True;
Stats_UserID = '';
Stats_Password = '';
AutoUpdate = True;
procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := ''; // Username?
Players[0].Pass := ''; // Password?
Players[0].Nick := '10w'; // 3 letters of your username (not the first letter)
Players[0].Active := True;
end;
Function CheckAndClick(UpText, Option:String; X,Y:Integer;RClick:Boolean) :Boolean;
Begin
MMouse(x,y,5,5);
If WaitUptext(Uptext, 1500+Random(500)) Then
Begin
Result:= True;
GetMousePos(x, y);
If RClick Then
Begin
Mouse(x, y, 0, 0, False);
Result:= WaitOption(Option,1800);
If Result Then FFlag(0);
End Else
Begin
Mouse(x, y, 0, 0, True);
Wait(100+Random(50));
FFlag(0);
End;
End;
End;
procedure AntiBan;
begin
if(not(LoggedIn))then
Exit;
FindNormalRandoms;
case Random(2) of
0:
begin
Wait(22000+Random(387));
Gametab(Tab_Stats) Hoverskill ('Random',False);
Wait(30000+Random(298));
Gametab(Tab_Inv);
CompassMovement(-180, 180, False);
Wait(22000+Random(222));
CompassMovement(-180, 180, False);
end;
1: PickUpMouse;
2:
begin
MakeCompass('0');
wait(2000+random(1335));
MakeCompass('0');
wait(561+random(133));
MakeCompass('0');
FindNormalRandoms;
end;
end;
end;
procedure ChopTree;
var x, y, PlusOne, TooLong, TreeCounter: integer;
begin
PlusOne:= InvCount + 1;
x:=MSCX;
y:=MSCY;
If FindObjTPA(x, y, 3688533, 5, 1, 15, 60, 600, ['Cho'])then
Case Random(2) of
0: Mouse(x, y, 5, 5, True);
1: Begin
Mouse(x, y, 5, 5, False);
WaitOption('Chop', 500);
CompassMovement(180, -180, false);
End;
End;
Flag;
MarkTime(TreeCounter);
If (TimeFromMark(TooLong) > 30000) then
CompassMovement(-180, 180, false);
repeat
FindNormalRandoms;
if FindObj(x, y, 'hop', 3688533, 22)
then Mouse(x, y, 2, 2, false);
ChooseOption('hop');
Wait(198+Random(128));
WriteLn ('ANNIHILATING TREE!');
if InvCount=+1 then
WriteLn('We Got the Yew log!!');
begin
Mouse(x, y, 2, 2, false);
ChooseOption('hop');
end;
Flag;
MarkTime(TreeCounter);
repeat
Wait(75+Random(286));
CompassMovement(0, 360, false);
Wait(1222+Random(122));
CompassMovement(0, 360, false);
wait(1286+random(250));
AntiBan;
If InvCount=PlusOne Then
WriteLn('We ANNIHILATED another log!');
Until not IsUpText('ree') or (InvFull);
until(InvFull);
End;
Procedure DropLogs;
Var
x, y, LogDTM, I:Integer;
SlotBox:TBox;
LogPattern:TIntegerArray;
Begin
LogDTM := DTMFromString('mbQAAAHicY2VgYHBlYmAwA2JjIHYA4gAgfgIUfwTEb4D4AxA/BmIHAxkgyYSGUcF/IGbEgsEAABw/B2s=');
LogPattern:=[1,5,9,13,17,21,25,29,2,6,10,14,18,22,26,3,7,11,15,19,23,27,4,8,12,16,20,16,12,8,4];
For I:=2 To 28 Do
begin
FindNormalRandoms;
Status('Dropping Log:'+ IntToStr(I));
SlotBox:=InvBox(LogPattern[I]);
If FindDTm(LogDTM,x,y,Slotbox.x1,Slotbox.y1, SlotBox.x2, Slotbox.y2) Then
begin
MouseItem(LogPattern[I], false);
ChooseOption('rop');
End;
End;
End;
begin
SetUpSRL;
ActivateClient;
DeclarePlayers;
LoginPlayer;
Repeat
ChopTree;
If InvFull Then
DropLogs;
until (false);
End. 2012-03-21 13:29:32
2012-03-21 16:06:04
2012-03-21 16:13:33
2012-03-21 16:15:20
2012-03-21 17:54:43
From: Nebula
MouseItem(LogPattern,2);
2012-03-21 18:01:08
2012-03-21 18:05:20
2012-03-21 18:14:23
Begin
LogDTM := DTMFromString('mbQAAAHicY2VgYHBlYmAwA2JjIHYA4gAgfgIUfwTEb4D4AxA/BmIHAxkgyYSGUcF/IGbEgsEAABw/B2s=');
LogPattern:=[1,5,9,13,17,21,25,29,2,6,10,14,18,22,26,3,7,11,15,19,23,27,4,8,12,16,20,16,12,8,4];
For I:=2 To 28 Do
begin
FindNormalRandoms;
Status('Dropping Log:'+ IntToStr(I));
SlotBox:=InvBox(LogPattern[I]);
If FindDTm(LogDTM,x,y,Slotbox.x1,Slotbox.y1, SlotBox.x2, Slotbox.y2) Then
begin
MMouse(x, y, 2, 2);
Mouse(x, y, 0, 0, False);
ChooseOption('rop');
End;
End;
End;
2012-03-21 18:32:45
2012-03-21 18:36:31
From: 10wnu9
Right Sex, Thanks But now never mind that, I Have Solved a problem and have started another…It cannot go on like this, But I do think I will be sorted if I Iron out this error.
Here is the scriptprogram New;
{$DEFINE SMART}
{$i srl/srl.simba}
{$DEFINE SRL5}
//Run The script anywhere where there is many
//Trees or Oaks, Works anywhere, recommended spot:-
//West Of Cooking Guild Grand Exchange!
//Any Problems found, Pm Me Or Leave an Issue on
//Thread!
//This Is My very First Script, If You
//Are Using It Please Leave Constructive Critiscism!
Const
World = 103; //May not Work As of Yet.
MEMBERS = True;
Stats_UserID = '';
Stats_Password = '';
AutoUpdate = True;
procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := ''; // Username?
Players[0].Pass := ''; // Password?
Players[0].Nick := '10w'; // 3 letters of your username (not the first letter)
Players[0].Active := True;
end;
Function CheckAndClick(UpText, Option:String; X,Y:Integer;RClick:Boolean) :Boolean;
Begin
MMouse(x,y,5,5);
If WaitUptext(Uptext, 1500+Random(500)) Then
Begin
Result:= True;
GetMousePos(x, y);
If RClick Then
Begin
Mouse(x, y, 0, 0, False);
Result:= WaitOption(Option,1800);
If Result Then FFlag(0);
End Else
Begin
Mouse(x, y, 0, 0, True);
Wait(100+Random(50));
FFlag(0);
End;
End;
End;
procedure AntiBan;
begin
if(not(LoggedIn))then
Exit;
FindNormalRandoms;
case Random(2) of
0:
begin
Wait(22000+Random(387));
Gametab(Tab_Stats) Hoverskill ('Random',False);
Wait(30000+Random(298));
Gametab(Tab_Inv);
CompassMovement(-180, 180, False);
Wait(22000+Random(222));
CompassMovement(-180, 180, False);
end;
1: PickUpMouse;
2:
begin
MakeCompass('0');
wait(2000+random(1335));
MakeCompass('0');
wait(561+random(133));
MakeCompass('0');
FindNormalRandoms;
end;
end;
end;
procedure ChopTree;
var x, y, PlusOne, TooLong, TreeCounter: integer;
begin
PlusOne:= InvCount + 1;
x:=MSCX;
y:=MSCY;
If FindObjTPA(x, y, 3688533, 5, 1, 15, 60, 600, ['Cho'])then
Case Random(2) of
0: Mouse(x, y, 5, 5, True);
1: Begin
Mouse(x, y, 5, 5, False);
WaitOption('Chop', 500);
CompassMovement(180, -180, false);
End;
End;
Flag;
MarkTime(TreeCounter);
If (TimeFromMark(TooLong) > 30000) then
CompassMovement(-180, 180, false);
repeat
FindNormalRandoms;
if FindObj(x, y, 'hop', 3688533, 22)
then Mouse(x, y, 2, 2, false);
ChooseOption('hop');
Wait(198+Random(128));
WriteLn ('ANNIHILATING TREE!');
if InvCount=+1 then
WriteLn('We Got the Yew log!!');
begin
Mouse(x, y, 2, 2, false);
ChooseOption('hop');
end;
Flag;
MarkTime(TreeCounter);
repeat
Wait(75+Random(286));
CompassMovement(0, 360, false);
Wait(1222+Random(122));
CompassMovement(0, 360, false);
wait(1286+random(250));
AntiBan;
If InvCount=PlusOne Then
WriteLn('We ANNIHILATED another log!');
Until not IsUpText('ree') or (InvFull);
until(InvFull);
End;
Procedure DropLogs;
Var
x, y, LogDTM, I:Integer;
SlotBox:TBox;
LogPattern:TIntegerArray;
Begin
LogDTM := DTMFromString('mbQAAAHicY2VgYHBlYmAwA2JjIHYA4gAgfgIUfwTEb4D4AxA/BmIHAxkgyYSGUcF/IGbEgsEAABw/B2s=');
LogPattern:=[1,5,9,13,17,21,25,29,2,6,10,14,18,22,26,3,7,11,15,19,23,27,4,8,12,16,20,16,12,8,4];
For I:=2 To 28 Do
begin
FindNormalRandoms;
Status('Dropping Log:'+ IntToStr(I));
SlotBox:=InvBox(LogPattern[I]);
If FindDTm(LogDTM,x,y,Slotbox.x1,Slotbox.y1, SlotBox.x2, Slotbox.y2) Then
begin
MouseItem(LogPattern[I], false);
ChooseOption('rop');
End;
End;
End;
begin
SetUpSRL;
ActivateClient;
DeclarePlayers;
LoginPlayer;
Repeat
ChopTree;
If InvFull Then
DropLogs;
until (false);
End.
The error is with "MouseItem(LogPattern, false);"
Somebody said Put 2 instead of False but that does not rightclick.
I get type Mismatch, And I really want to give a shout out to Abu, Nebula and Sex for being such great support, along with gucci on another thread!!!!!!
2012-03-21 18:38:04
2012-03-21 18:39:23
From: Nebula
Yeah I made a mistake. I just checked and Right click is 0, not 2. try 0.
2012-03-21 18:43:13
2012-03-21 19:10:34
2012-03-21 19:15:14
2012-03-21 19:23:03
2012-03-21 19:27:28
2012-03-21 19:31:15
2012-03-21 19:40:59
program New;
{$DEFINE SMART}
{$i srl/srl.simba}
{$DEFINE SRL5}
//Run The script anywhere where there is many
//Trees or Oaks, Works anywhere, recommended spot:-
//West Of Cooking Guild Grand Exchange!
//Any Problems found, Pm Me Or Leave an Issue on
//Thread!
//This Is My very First Script, If You
//Are Using It Please Leave Constructive Critiscism!
Const
World = 103; //May not Work As of Yet.
MEMBERS = True;
Stats_UserID = '';
Stats_Password = '';
AutoUpdate = True;
procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := ''; // Username?
Players[0].Pass := ''; // Password?
Players[0].Nick := '10w'; // 3 letters of your username (not the first letter)
Players[0].Active := True;
end;
Function CheckAndClick(UpText, Option:String; X,Y:Integer;RClick:Boolean) :Boolean;
Begin
MMouse(x,y,5,5);
If WaitUptext(Uptext, 1500+Random(500)) Then
Begin
Result:= True;
GetMousePos(x, y);
If RClick Then
Begin
Mouse(x, y, 0, 0, False);
Result:= WaitOption(Option,1800);
If Result Then FFlag(0);
End Else
Begin
Mouse(x, y, 0, 0, True);
Wait(100+Random(50));
FFlag(0);
End;
End;
End;
procedure AntiBan;
begin
if(not(LoggedIn))then
Exit;
FindNormalRandoms;
case Random(2) of
0:
begin
Wait(22000+Random(387));
Gametab(Tab_Stats) Hoverskill ('Random',False);
Wait(30000+Random(298));
Gametab(Tab_Inv);
CompassMovement(-180, 180, False);
Wait(22000+Random(222));
CompassMovement(-180, 180, False);
end;
1: PickUpMouse;
2:
begin
MakeCompass('0');
wait(2000+random(1335));
MakeCompass('0');
wait(561+random(133));
MakeCompass('0');
FindNormalRandoms;
end;
end;
end;
procedure ChopTree;
var x, y, PlusOne, TooLong, TreeCounter, Inv: integer;
begin
PlusOne:= Inv + 1;
x:=MSCX;
y:=MSCY;
If FindObjTPA(x, y, 3688533, 5, 1, 15, 60, 600, ['Cho'])then
Case Random(2) of
0: Mouse(x, y, 5, 5, True);
1: Begin
Mouse(x, y, 5, 5, False);
WaitOption('Chop', 500);
CompassMovement(180, -180, false);
End;
End;
Flag;
MarkTime(TreeCounter);
If (TimeFromMark(TooLong) > 30000) then
CompassMovement(-180, 180, false);
repeat
FindNormalRandoms;
If InvFull Then
exit;
if FindObj(x, y, 'hop', 3688533, 22)
then Mouse(x, y, 2, 2, false);
ChooseOption('hop');
Wait(198+Random(128));
WriteLn ('ANNIHILATING TREE!');
Inv:=InvCount;
if InvCount=PlusOne then
WriteLn('We Got the Yew log!!');
begin
Mouse(x, y, 2, 2, false);
ChooseOption('hop');
end;
Flag;
MarkTime(TreeCounter);
repeat
If InvFull Then
exit;
Wait(75+Random(286));
CompassMovement(0, 360, false);
Wait(1222+Random(122));
CompassMovement(0, 360, false);
wait(1286+random(250));
AntiBan;
Inv:=InvCount;
If InvCount=PlusOne Then
WriteLn('We ANNIHILATED another log!');
Until not IsUpText('ree') or (InvFull);
until(InvFull);
End;
Procedure DropLogs;
Var
x, y, LogDTM, I:Integer;
SlotBox:TBox;
LogPattern:TIntegerArray;
Begin
LogDTM := DTMFromString('mbQAAAHicY2VgYHBlYmAwA2JjIHYA4gAgfgIUfwTEb4D4AxA/BmIHAxkgyYSGUcF/IGbEgsEAABw/B2s=');
LogPattern:=[1,5,9,13,17,21,25,29,2,6,10,14,18,22,26,3,7,11,15,19,23,27,4,8,12,16,20,16,12,8,4];
For I:=2 To 28 Do
begin
writeln('Dropping');
FindNormalRandoms;
Status('Dropping Log:'+ IntToStr(I));
SlotBox:=InvBox(LogPattern[I]);
If FindDTm(LogDTM,x,y,Slotbox.x1,Slotbox.y1, SlotBox.x2, Slotbox.y2) Then
begin
MouseItem(LogPattern[I], 0);
ChooseOption('rop');
End;
End;
FreeDTM(LogDTM);
End;
begin
SetUpSRL;
ActivateClient;
DeclarePlayers;
LoginPlayer;
Repeat
ChopTree;
If InvFull Then
DropLogs;
until (false);
End.2012-03-21 19:45:43
2012-03-22 03:55:27
2012-03-22 03:56:49
2012-03-22 04:06:12
2012-03-22 04:50:29
program New;
{$DEFINE SMART}
{$i srl/srl.simba}
{$DEFINE SRL5}
//Run The script anywhere where there is many
//Trees or Oaks, Works anywhere, recommended spot:-
//West Of Cooking Guild Grand Exchange!
//Any Problems found, Pm Me Or Leave an Issue on
//Thread!
//This Is My very First Script, If You
//Are Using It Please Leave Constructive Critiscism!
Const
World = 103; //May not Work As of Yet.
MEMBERS = True;
Stats_UserID = '';
Stats_Password = '';
AutoUpdate = True;
procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := ''; // Username?
Players[0].Pass := ''; // Password?
Players[0].Nick := '10w'; // 3 letters of your username (not the first letter)
Players[0].Active := True;
end;
function CheckAndClick(UpText, Option:String; X,Y:Integer;RClick:Boolean) :Boolean;
begin
MMouse(x,y,5,5);
if WaitUptext(Uptext, 1500+Random(500)) then
begin
Result:= True;
GetMousePos(x, y);
if RClick then
begin
Mouse(x, y, 0, 0, False);
Result:= WaitOption(Option,1800);
if Result then
FFlag(0);
end else
begin
Mouse(x, y, 0, 0, True);
Wait(100+Random(50));
FFlag(0);
end;
end;
end;
procedure AntiBan;
begin
if(not(LoggedIn))then
Exit;
FindNormalRandoms;
case Random(2) of
0:
begin
Wait(22000+Random(387));
Gametab(Tab_Stats) Hoverskill ('Random',False);
Wait(30000+Random(298));
Gametab(Tab_Inv);
CompassMovement(-180, 180, False);
Wait(22000+Random(222));
CompassMovement(-180, 180, False);
end;
1: PickUpMouse;
2:
begin
MakeCompass('0');
wait(2000+random(1335));
MakeCompass('0');
wait(561+random(133));
MakeCompass('0');
FindNormalRandoms;
end;
end;
end;
procedure ChopTree;
var
x, y, PlusOne, TooLong, TreeCounter: integer;
begin
PlusOne:= InvCount + 1;
x:=MSCX;
y:=MSCY;
if FindObjTPA(x, y, 3688533, 5, 1, 15, 60, 600, ['Cho'])then
case Random(2) of
0: Mouse(x, y, 5, 5, True);
1: begin
Mouse(x, y, 5, 5, False);
WaitOption('Chop', 500);
CompassMovement(180, -180, false);
end;
end;
Flag;
MarkTime(TreeCounter);
if (TimeFromMark(TooLong) > 30000) then
CompassMovement(-180, 180, false);
repeat
FindNormalRandoms;
if FindObj(x, y, 'hop', 3688533, 22) then
Mouse(x, y, 2, 2, false);
ChooseOption('hop'); //this will be run no matter if it found the tree or not
Wait(198+Random(128));
WriteLn ('ANNIHILATING TREE!');
if InvCount=+1 then
WriteLn('We Got the Yew log!!');
Mouse(x, y, 2, 2, false);
ChooseOption('hop');
Flag;
MarkTime(TreeCounter);
repeat
Wait(75+Random(286));
CompassMovement(0, 360, false);
Wait(1222+Random(122));
CompassMovement(0, 360, false);
wait(1286+random(250));
AntiBan;
if InvCount=PlusOne then
WriteLn('We ANNIHILATED another log!');
until not IsUpText('ree') or (InvFull);
until(InvFull);
end;
procedure DropLogs;
var
x, y, LogDTM, I:Integer;
SlotBox:TBox;
LogPattern:TIntegerArray;
begin
LogDTM := DTMFromString('mbQAAAHicY2VgYHBlYmAwA2JjIHYA4gAgfgIUfwTEb4D4AxA/BmIHAxkgyYSGUcF/IGbEgsEAABw/B2s=');
LogPattern:=[1,5,9,13,17,21,25,29,2,6,10,14,18,22,26,3,7,11,15,19,23,27,4,8,12,16,20,16,12,8,4];
for I:=2 to 28 do
begin
FindNormalRandoms;
Status('Dropping Log:'+ IntToStr(I));
SlotBox:=InvBox(LogPattern[I]);
If FindDTm(LogDTM,x,y,Slotbox.x1,Slotbox.y1, SlotBox.x2, Slotbox.y2) Then
begin
MouseItem(LogPattern[I], 0); //instead of 0 you can also use mouse_Right
ChooseOption('rop');
end;
end;
end;
begin
SetUpSRL;
ActivateClient;
DeclarePlayers;
LoginPlayer;
repeat
If InvFull Then
DropLogs
else
ChopTree;
until (false);
end.
2012-03-22 11:53:30
2012-03-22 12:10:43
if ChopTrees then
Wrtieln('this works fine? Lets see if I can locate my logs');
DropLogs;2012-03-22 14:10:46
2012-03-22 16:02:37
2012-03-22 16:27:16
repeat
Wait(75+Random(286));
CompassMovement(0, 360, false);
Wait(1222+Random(122));
CompassMovement(0, 360, false);
wait(1286+random(250));
AntiBan;
if InvCount=PlusOne then
WriteLn('We ANNIHILATED another log!');
until not IsUpText('ree') or (InvFull);2012-03-22 16:27:45
2012-03-22 17:54:01
program New;
{$DEFINE SMART}
{$i srl/srl.simba}
{$DEFINE SRL5}
//Run The script anywhere where there is many
//Trees or Oaks, Works anywhere, recommended spot:-
// Lumbridge castle orWest Of Cooking Guild Grand Exchange!
//Any Problems found, Pm Me Or Leave an Issue on
//Thread!
//This Is My very First Script, If You
//Are Using It Please Leave Constructive Critiscism!
Const
World = 103; //May not Work As of Yet.
MEMBERS = True;
Stats_UserID = '';
Stats_Password = '';
AutoUpdate = True;
procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := ''; // Username?
Players[0].Pass := ''; // Password?
Players[0].Nick := ''; // 3 letters of your username (not the first letter)
Players[0].Active := True;
end;
function CheckAndClick(UpText, Option:String; X,Y:Integer;RClick:Boolean) :Boolean;
begin
MMouse(x,y,5,5);
if WaitUptext(Uptext, 1500+Random(500)) then
begin
Result:= True;
GetMousePos(x, y);
if RClick then
begin
Mouse(x, y, 0, 0, False);
Result:= WaitOption(Option,1800);
if Result then
FFlag(0);
end else
begin
Mouse(x, y, 0, 0, True);
Wait(100+Random(50));
FFlag(0);
end;
end;
end;
procedure AntiBan;
begin
if(not(LoggedIn))then
Exit;
FindNormalRandoms;
case Random(2) of
0:
begin
Wait(16000+Random(387));
Gametab(Tab_Stats) Hoverskill ('Random',False);
Wait(3000+Random(298));
Gametab(Tab_Inv);
CompassMovement(-180, 180, False);
Wait(4500+Random(222));
CompassMovement(-180, 180, False);
end;
1: PickUpMouse;
2:
begin
MakeCompass('0');
wait(2000+random(1335));
MakeCompass('0');
wait(561+random(133));
MakeCompass('0');
FindNormalRandoms;
end;
end;
end;
procedure ChopTree;
var
x, y, PlusOne, TooLong, TreeCounter: integer;
begin
PlusOne:= InvCount + 1;
x:=MSCX;
y:=MSCY;
if FindObjTPA(x, y, 3162184, 5, 1, 15, 60, 600, ['Cho'])then
case Random(2) of
0: Mouse(x, y, 4, 4, True);
1: begin
Mouse(x, y, 4, 4, False);
WaitOption('Chop', 500);
CompassMovement(180, -180, false);
end;
end;
Flag;
MarkTime(TreeCounter);
if (TimeFromMark(TooLong) > 30000) then
CompassMovement(-180, 180, false);
repeat
FindNormalRandoms;
if FindObj(x, y, 'hop', 3162184, 22) then
Mouse(x, y, 2, 2, false);
ChooseOption('hop'); //this will be run no matter if it found the tree or not
Wait(19+Random(12));
WriteLn ('ANNIHILATING TREE!');
if InvCount=+1 then
WriteLn('We Got the log!!');
Mouse(x, y, 2, 2, false);
ChooseOption('hop');
Flag;
MarkTime(TreeCounter);
until(InvFull);
end;
procedure DropLogs;
var
x, y, LogDTM, I:Integer;
SlotBox:TBox;
LogPattern:TIntegerArray;
begin
LogDTM := DTMFromString('mbQAAAHicY2VgYHBlYmAwA2JjIHYA4gAgfgIUfwTEb4D4AxA/BmIHAxkgyYSGUcF/IGbEgsEAABw/B2s=');
LogPattern:=[1,5,9,13,17,21,25,29,2,6,10,14,18,22,26,3,7,11,15,19,23,27,4,8,12,16,20,16,12,8,4];
for I:=2 to 28 do
begin
FindNormalRandoms;
Status('Dropping Log:'+ IntToStr(I));
SlotBox:=InvBox(LogPattern[I]);
If FindDTm(LogDTM,x,y,Slotbox.x1,Slotbox.y1, SlotBox.x2, Slotbox.y2) Then
begin
MouseItem(LogPattern[I], 0); //instead of 0 you can also use mouse_Right
ChooseOption('rop');
end;
end;
end;
begin
SetUpSRL;
ActivateClient;
DeclarePlayers;
LoginPlayer;
repeat
ChopTree;
If InvFull Then
WriteLn('OMFG DROPPING THE BITCHES!!!');
DropLogs;
until(false);
end.
2012-03-22 18:19:59
2012-03-22 18:26:34
procedure ChopTree;
var
x, y, PlusOne, TooLong, TreeFindFailsafe, TreeWaitFailsafe: integer;
begin
PlusOne:= InvCount;
x:=MSCX;
y:=MSCY;
MarkTime(TooLong);
MarkTime(TreeFindFailsafe);
repeat
repeat
if FindObjTPA(x, y, 3162184, 5, 1, 15, 60, 600, ['Cho'])then
begin
case Random(2) of
0: Mouse(x, y, 4, 4, True);
1: begin
Mouse(x, y, 4, 4, False);
WaitOption('Chop', 500);
end;
end;
Flag;
Break;
end;
if (TimeFromMark(TooLong) > 30000) then
CompassMovement(-180, 180, false);
until(TimeFromMark(TreeFindFailsafe) > 60000);
if (TimeFromMark(TreeFindFailsafe) > 60000) then
begin
writeln('Couldnt find tree');
Logout;
TerminateScript;
end else
begin
wait(RandomRange(300, 600));
if InvCount > PlusOne then
begin
WriteLn('We Got the log!!');
break;
end else
begin
MarkTime(TreeWaitFailsafe);
repeat
wait(RandomRange(50, 150));
until(InvCount > PlusOne) or (TimeFromMark(TreeWaitFailsafe) > RandomRange(5000, 10000));
if (TimeFromMark(TreeWaitFailsafe) > 5000) then
begin
writeln('Log wasnt cut');
break;
end else
begin
writeln('Log was Cut! :)');
break;
end;
end;
end;
until(False);
end;
2012-03-22 18:49:49
2012-03-23 17:30:42
2012-03-24 05:32:37
2012-03-24 06:50:03
program New;
{$DEFINE SMART}
{$i srl/srl.simba}
{$DEFINE SRL5}
//Run The script anywhere where there is many
//Trees or Oaks, Works anywhere, recommended spot:-
// Lumbridge castle orWest Of Cooking Guild Grand Exchange!
//Any Problems found, Pm Me Or Leave an Issue on
//Thread!
//This Is My very First Script, If You
//Are Using It Please Leave Constructive Critiscism!
Const
World = 103; //May not Work As of Yet.
MEMBERS = True;
Stats_UserID = '';
Stats_Password = '';
AutoUpdate = True;
procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := ''; // Username?
Players[0].Pass := ''; // Password?
Players[0].Nick := '10w'; // 3 letters of your username (not the first letter)
Players[0].Active := True;
end;
function CheckAndClick(UpText, Option:String; X,Y:Integer;RClick:Boolean) :Boolean;
begin
MMouse(x,y,5,5);
if WaitUptext(Uptext, 1500+Random(500)) then
begin
Result:= True;
GetMousePos(x, y);
if RClick then
begin
Mouse(x, y, 0, 0, False);
Result:= WaitOption(Option,1800);
if Result then
FFlag(0);
end else
begin
Mouse(x, y, 0, 0, True);
Wait(100+Random(50));
FFlag(0);
end;
end;
end;
procedure AntiBan;
begin
if(not(LoggedIn))then
Exit;
FindNormalRandoms;
case Random(2) of
0:
begin
Wait(16000+Random(387));
Gametab(Tab_Stats) Hoverskill ('Random',False);
Wait(305+Random(298));
Gametab(Tab_Inv);
CompassMovement(-180, 180, False);
Wait(4500+Random(222));
CompassMovement(-180, 180, False);
end;
1: PickUpMouse;
2:
begin
MakeCompass('0');
wait(1743+random(1335));
MakeCompass('0');
wait(561+random(133));
MakeCompass('0');
FindNormalRandoms;
end;
end;
end;
function TreeColour: Integer;
var
arP: TPointArray;
arC: TIntegerArray;
tmpCTS, i, arL: Integer;
X, Y, Z: Extended;
begin
tmpCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.93, 0.79);
FindColorsSpiralTolerance(MSCX, MSCY, arP, 1910309, MSX1, MSY1, MSX2, MSY2, 2);
if (Length(arP) = 0) then
begin
Writeln('Failed to find the color, no result.');
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
Exit;
end;
arC := GetColors(arP);
ClearSameIntegers(arC);
arL := High(arC);
for i := 0 to arL do
begin
ColorToXYZ(arC[i], X, Y, Z);
if (X >= 1.34) and (X <= 2.07) and (Y >= 1.47) and (Y <= 2.33) and (Z >= 1.17) and (Z <= 1.80) then
begin
Result := arC[i];
Writeln('AutoColor = ' + IntToStr(arC[i]));
Break;
end;
end;
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
if (i = arL + 1) then
Writeln('AutoColor failed in finding the color.');
end;
procedure ChopTree;
var
x, y, PlusOne, TooLong, TreeFindFailsafe, TreeWaitFailsafe: integer;
begin
PlusOne:= InvCount;
x:=MSCX;
y:=MSCY;
MarkTime(TooLong);
MarkTime(TreeFindFailsafe);
repeat
repeat
if FindObjTPA(x, y, TreeColour, 5, 1, 15, 60, 600, ['Cho'])then
begin
case Random(2) of
0: Mouse(x, y, 4, 4, True);
1: begin
Mouse(x, y, 4, 4, False);
WaitOption('Chop', 500);
end;
end;
Flag;
Break;
end;
if (TimeFromMark(TooLong) > 30000) then
CompassMovement(-180, 180, false);
until(TimeFromMark(TreeFindFailsafe) > 60000);
if (TimeFromMark(TreeFindFailsafe) > 60000) then
begin
writeln('Couldnt find tree');
Logout;
TerminateScript;
end else
begin
wait(RandomRange(300, 600));
if InvCount > PlusOne then
begin
WriteLn('We Got the log!!');
break;
end else
begin
MarkTime(TreeWaitFailsafe);
repeat
wait(RandomRange(50, 150));
until(InvCount > PlusOne) or (TimeFromMark(TreeWaitFailsafe) > RandomRange(5000, 10000));
if (TimeFromMark(TreeWaitFailsafe) > 5000) then
begin
writeln('Log wasnt cut');
break;
end else
begin
writeln('Log was Cut! :)');
break;
end;
end;
end;
until(False);
end;
procedure DropLogs;
var
x, y, LogDTM, I:Integer;
SlotBox:TBox;
LogPattern:TIntegerArray;
begin
LogDTM:= DTMFromString('mbQAAAHicY2VgYIhlYmAIAuJgIE4A4gwg7mGE4BlAPB2Iu4HY0VIEqJqJwUBBAUxDMCZgxILBAADLpQW6');
LogPattern:=[1,5,9,13,17,21,25,29,2,6,10,14,18,22,26,3,7,11,15,19,23,27,4,8,12,16,20,16,12,8,4];
for I:=2 to 28 do
begin
FindNormalRandoms;
Status('Dropping Log:'+ IntToStr(I));
SlotBox:=InvBox(LogPattern[I]);
If FindDTm(LogDTM,x,y,Slotbox.x1,Slotbox.y1, SlotBox.x2, Slotbox.y2) Then
begin
MouseItem(LogPattern[I], 0); //instead of 0 you can also use mouse_Right
ChooseOption('rop');
end;
end;
end;
begin
SetUpSRL;
ActivateClient;
DeclarePlayers;
LoginPlayer;
repeat
ChopTree;
If InvFull Then
WriteLn('Dropping!');
DropLogs;
until(false);
end. 2012-03-24 08:38:28
2012-03-24 08:44:40
2013-12-13 08:14:21
2013-12-13 13:26:22
From: 10wnu9I'd be lying if I said a lot hasn't change. With the release of SRL 6 a lot of code was altered. Saying that, it shouldn't take too much catching up if you're still interested!
Has the code completely changed since I left this thread? I might retry this script unless it is completely dead.