insidethefire666
2012-05-29 22:06:54
Compiling failed.
this is what I have at line 28 is the thing i can't seem to figure out what's going wrong and I am new to scripting so tips are really appreciated
with Players[0] do
2012-05-29 22:06:54
2012-05-29 22:07:53
2012-05-29 22:09:04
2012-05-29 22:10:46
2012-05-29 22:15:56
2012-05-29 22:21:37
2012-05-29 22:24:58
2012-05-29 22:25:31
2012-05-29 22:26:52
2012-05-29 22:28:29
Procedure StatsGuise (wat.String)
Begin
Status (wat);
Disguise (wat);
end;
[Error] (48:26): colon (':') expected at line 47
Compiling failed.
2012-05-29 22:29:26
for i := 0 to NumbOfPlayers-1 do
Players[i].BoxRewards := ['Xp'];
with Players[0] do
2012-05-29 22:31:48
program insidethefires_MULTI_chopper;
{$DEFINE SMART}
{$DEFINE SimbaDebug}
{$i srl/srl.simba}
const
SRLStats_Username= ''; // your username
SRLStats_Password= ''; // your password
BreakEvery= ''; // however many minutes your going to break for after
BreakFor= ''; // how long you want that break to be
NumbOfPlayers= 1; //this is how many players your using
StartPlayer= 0; // what players you are starting with
Version= '1'; // Leave this alone it's my script don't change it
procedure DeclarePlayers;
var i:integer;
begin
NumberOfPlayers(NumbOfPlayers);
CurrentPlayer := StartPlayer;
for i := 0 to NumbOfPlayers-1 do
Players[i].BoxRewards := ['Xp'];
with Players[0] do
begin
Name := ''; // Player Username
Pass := ''; // this is your pass
Pin := ''; // your pin if you have one if not leave blank
Active := True; //leave at true
Integers[1] := 1; //1 for Yews,2 for magics,3,for willows,4 for oaks
Integers[2] := 4; // this is how long it waits before chopping another tree
end;
End;
Procedure StatsGuise (wat:String);
Begin
Status (wat);
Disguise (wat);
end;
Function CheckAndClick(Uptext:String; X,Y:Integer; Stronger: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, 2000);
If Result FFlag (0);
End Else
Begin
Mouse(x, y, 0, 0,True);
Wait(100+Random(50));
Flag(0);
End;
End;
End;
Procedure AntiBan;
Begin
Case Random(250) Of
0 Begin StatsGuise ('AntiBan') GameTab(Tab_Stats) HoverSkill ;'Magic, False) GamaTab(28) End;
1 Begin StatsGuise ('AntiBan') SleepAndMoveMouse(1000)+ Random(250)); End;
2 Begin StatsGuise ('AntiBan') GameTab(Tab_Inv) ExamineInv GamaTab(20); End;
3 Begin StatsGuise ('AntiBan') RandomAngle=(1); End;
4 Begin StatsGuise ('AntiBan') GameTab (Tab_Stats) ; Wait(1000 + Random(250)); GamaTab(28) End;
5 Begin StatsGuise ('AntiBan') GameTab (Tab_Stats) HoverSkill('random', false); GamaTab(28) End;
End;
End;
Procedure FailSafe;
Begin
Players(CurrentPlayer).Loc=Reason;
Logout;
Stats_Commit;
ProgressReport;
Teriminate Scipt
End;
Procedure ChopTree;
var x, y: Integer;
begin
//FindObjCustom(x, y, ['att', 'ack''a'], [12346, 35678], 5); this is for attack
if FindObjCustom(x, y, ['Chop', 'down' 'p d'], [1713699, 2108458, 1844516], 30) Then
WriteIn('Found tree');
Mouse(x, y, 0, 0, false);
ChooseOption('hop');
repeat
Wait(1200+random(250));
Until not IsUpText('ew') or (InvFull);
End;
Begin
SetupSRL;
DeclarePlayers;
Repeat
ChopDown
Until(False);
End;
2012-05-29 22:32:32
Procedure StatsGuise (wat.String); // . instead of :
Begin
Status (wat); // extra space in between vars and procedure
Disguise (wat); // and here
end;
2012-05-29 22:34:46
2012-05-29 22:39:20
2012-05-29 22:46:19
2012-05-29 22:50:11
2012-05-29 22:59:40
2012-05-29 23:01:09
From: insidethefire666
so i'm gonna set this down for today go smoke a bowl and chill out and think about what i might be doing wrong
2012-05-29 23:04:12
2012-05-29 23:19:33
2012-05-29 23:22:19
Result:=WaitOption(Option, 1000); 2012-05-29 23:26:52
2012-05-29 23:27:41
From: insidethefire666
Result:=WaitOption(Option, 1000);
[Error] (64:22): Unknown identifier 'Option' at line 63
Compiling failed.
this is new problem now
Function CheckAndClick(Uptext, Option:String; X,Y:Integer; Stronger:Boolean):Boolean;
// ^ you have to declare option as a var in your function
Begin
MMouse (x, y, 5, 5) ;
If WaitUPtext (UpText, 1500+Random(500)) Then // remove spaces between function and vars!
Begin
Result:=True;
GetMousePos(x,y)
If RClick Then
Begin
Mouse(x, y, 0, 0, False);
Result:=WaitOption(Option, 2000);
If Result FFlag (0); // remove space!
// ^ you have an if but no then
End Else
Begin
Mouse(x, y, 0, 0,True);
Wait(100+Random(50));
Flag(0);
End;
End;
End;
2012-05-29 23:38:34
2012-05-29 23:41:10
2012-05-29 23:45:27
Function CheckAndClick(Uptext,Option:String; X,Y:Integer; Stronger:Boolean):Boolean;
CheckAndClick('booth', 'bank', x, y, True);
2012-05-29 23:53:18
2012-05-29 23:57:48
2012-05-30 00:07:22
Begin
Players[CurrentPlayer] .Loc= Reason;
Logout;
Stats_Commit;
//ProgressReport;
Teriminate Scipt 2012-05-30 00:18:11
2012-05-30 13:39:43
Procedure ChopDown:Boolean;2012-05-30 13:50:50
Procedure ChopDown
var x, y: Integer;
begin
//FindObjCustom(x, y, ['att', 'ack''a'], [12346, 35678], 5); this is for attack
if FindObjCustom(x, y, ['Chop', 'down' 'p d'], [1713699, 2108458, 1844516], 30) Then
WriteIn('Found tree');
Mouse(x, y, 0, 0, false);
ChooseOption('hop');
repeat
Wait(1200+random(250));
Until not IsUpText('ew') or (InvFull);
End; 2012-05-30 13:52:43
2012-05-30 14:00:09
2012-05-30 14:00:23
2012-05-30 14:01:21
2012-05-30 14:01:33
From: insidethefire666
when i do Function ChopDown:Boolean; it tells me a semicolon was still expected before Boolean and if I add a semi colon it tells me that Begin was expected before Boolean
[Error] (96:20): 'BEGIN' expected at line 95
Compiling failed.
[Error] (96:19): Semicolon (';') expected at line 95
Compiling failed.
2012-05-30 14:07:04
program insidethefires_MULTI_chopper;
{$DEFINE SMART}
{$DEFINE SimbaDebug}
{$i srl/srl.simba}
//var
///Loads: Integer //whole number
//Done: Boolean //true or false
//LongNumbers: Extended Integers with decimal basis
const
SRLStats_Username= ''; // your username
SRLStats_Password= ''; // your password
BreakEvery= ''; // however many minutes your going to break for after
BreakFor= ''; // how long you want that break to be
NumbOfPlayers= 1; //this is how many players your using
StartPlayer= 0; // what players you are starting with
Version= '1'; // Leave this alone it's my script don't change it
procedure DeclarePlayers;
var i:integer;
begin
NumberOfPlayers(NumbOfPlayers);
CurrentPlayer := StartPlayer;
for i := 0 to NumbOfPlayers-1 do
Players[i].BoxRewards := ['Xp'];
with Players[0] do
begin
Name := ''; // Player Username
Pass := ''; // this is your pass
Pin := ''; // your pin if you have one if not leave blank
Active := True; //leave at true
Integers[1] := 1; //1 for Yews,2 for magics,3,for willows,4 for oaks
Integers[2] := 4; // this is how long it waits before chopping another tree
end;
End;
Procedure StatsGuise (wat:String);
Begin
Status (wat);
Disguise (wat);
end;
Function CheckAndClick(Uptext:String; Option:String; X,Y:Integer; RClick:Boolean):Boolean;
Begin
MMouse (x, y, 5, 5) ;
If WaitUPtext(UpText, 1000+Random(250)) Then
Begin
Result:=True;
GetMousePos(x,y)
If RClick Then
Begin
Mouse(x, y, 0, 0, False);
Result:=WaitOption(Option, 1000);
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
Case Random(250) Of
0: Begin StatsGuise ('AntiBan') GameTab(Tab_Stats) HoverSkill('Magic', False); GameTab(28) End;
1: Begin StatsGuise ('AntiBan') SleepAndMoveMouse((750)+ Random(250)); End;
2: Begin StatsGuise ('AntiBan') RandomAngle(1); End;
3: Begin StatsGuise ('AntiBan') GameTab (Tab_Stats) ; Wait(750 + Random(250)); GameTab(28) End;
4: Begin StatsGuise ('AntiBan') GameTab (Tab_Stats) HoverSkill('random', false); GameTab(28) End;
End;
End;
Procedure FailSafe(Reason:String);
Begin
Players[CurrentPlayer].Loc:=Reason;
Logout;
Stats_Commit;
//ProgressReport;
TerminateScript;
End;
Procedure ChopDown: Boolean;
Var
x, y: Integer;
Begin
//FindObjCustom(x, y, ['att', 'ack''a'], [12346, 35678], 5); this is for attack
if FindObjCustom(x, y, ['Chop', 'down' 'p d'], [1713699, 2108458, 1844516], 30) Then
WriteIn('Found tree');
Mouse(x, y, 0, 0, false);
ChooseOption('hop');
repeat
Wait(1200+random(250));
Until not IsUpText('ew') or (InvFull);
End;
Begin
SetupSRL;
DeclarePlayers;
Repeat
ChopDown
Until(False);
End; 2012-05-30 14:08:36
2012-05-30 14:28:26
2012-05-30 14:43:57
Procedure ChopDown;
Var
x, y: Integer; WriteIn: String;
Begin
//FindObjCustom(x, y, ['att', 'ack''a'], [12346, 35678], 5); this is for attack
if FindObjCustom(x, y, ['Chop', 'down', 'p d'], [1713699, 2108458, 1844516], 30) Then
WriteIn:('Found tree');
Mouse(x, y, 0, 0, false);
ChooseOption('hop');
repeat
Wait(1200+random(250));
Until not IsUpText('ew') or (InvFull);
End; 2012-05-30 14:45:23
Procedure ChopDown;
Var
x, y: Integer; WriteIn: String;
Begin
//FindObjCustom(x, y, ['att', 'ack''a'], [12346, 35678], 5); this is for attack
if FindObjCustom(x, y, ['Chop', 'down', 'p d'], [1713699, 2108458, 1844516], 30) Then
WriteIn:('Found tree');
Mouse(x, y, 0, 0, false);
ChooseOption('hop');
repeat
Wait(1200+random(250));
Until not IsUpText('ew') or (InvFull);
End; 2012-05-30 14:46:24
2012-05-30 14:49:41
2012-05-30 14:50:51
program insidethefires_MULTI_chopper;
{$DEFINE SMART}
{$DEFINE SimbaDebug}
{$i srl/srl.simba}
//var
///Loads: Integer //whole number
//Done: Boolean //true or false
//LongNumbers: Extended Integers with decimal basis := it's value
//Text: String '' to declare a string
const
SRLStats_Username= ''; // your username
SRLStats_Password= ''; // your password
BreakEvery= ''; // however many minutes your going to break for after
BreakFor= ''; // how long you want that break to be
NumbOfPlayers= 1; //this is how many players your using
StartPlayer= 0; // what players you are starting with
Version= '1'; // Leave this alone it's my script don't change it
procedure DeclarePlayers;
var i:integer;
begin
NumberOfPlayers(NumbOfPlayers);
CurrentPlayer := StartPlayer;
for i := 0 to NumbOfPlayers-1 do
Players[i].BoxRewards := ['Xp'];
with Players[0] do
begin
Name := ''; // Player Username
Pass := ''; // this is your pass
Pin := ''; // your pin if you have one if not leave blank
Active := True; //leave at true
Integers[1] := 1; //1 for Yews,2 for magics,3,for willows,4 for oaks
Integers[2] := 4; // this is how long it waits before chopping another tree
end;
End;
Procedure StatsGuise (wat:String);
Begin
Status (wat);
Disguise (wat);
end;
Function CheckAndClick(Uptext:String; Option:String; X,Y:Integer; RClick:Boolean):Boolean;
Begin
MMouse (x, y, 5, 5) ;
If WaitUPtext(UpText, 1000+Random(250)) Then
Begin
Result:=True;
GetMousePos(x,y)
If RClick Then
Begin
Mouse(x, y, 0, 0, False);
Result:=WaitOption(Option, 1000);
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
Case Random(250) Of
0: Begin StatsGuise ('AntiBan') GameTab(Tab_Stats) HoverSkill('Magic', False); GameTab(28) End;
1: Begin StatsGuise ('AntiBan') SleepAndMoveMouse((750)+ Random(250)); End;
2: Begin StatsGuise ('AntiBan') RandomAngle(1); End;
3: Begin StatsGuise ('AntiBan') GameTab (Tab_Stats) ; Wait(750 + Random(250)); GameTab(28) End;
4: Begin StatsGuise ('AntiBan') GameTab (Tab_Stats) HoverSkill('random', false); GameTab(28) End;
End;
End;
Procedure FailSafe(Reason:String);
Begin
Players[CurrentPlayer].Loc:=Reason;
Logout;
Stats_Commit;
//ProgressReport;
TerminateScript;
End;
Procedure ChopDown;
Var
x, y: Integer; WriteIn: String;
Begin
//FindObjCustom(x, y, ['att', 'ack''a'], [12346, 35678], 5); this is for attack
if FindObjCustom(x, y, ['Chop', 'down', 'p d'], [1713699, 2108458, 1844516], 30) Then
WriteLn('Found tree');
Mouse(x, y, 0, 0, false);
ChooseOption('hop');
repeat
Wait(1200+random(250));
Until not IsUpText('ew') or (InvFull);
End;2012-05-30 14:52:06
2012-05-30 14:57:49
2012-05-30 23:43:11
Program Insidethefires_MULTI_chopper;
{$DEFINE SMART}
{$i SRL\SRl.simba}
//var
///Loads: Integer //whole number
//Done: Boolean //true or false
//LongNumbers: Extended Integers with decimal basis := it's value
//Text: String '' to declare a string
const
SRLStats_Username= ''; // your username
SRLStats_Password= ''; // your password
BreakEvery= ''; // however many minutes your going to break for after
BreakFor= ''; // how long you want that break to be
LoadsTotal= ''; // how many loads you want to chop
NumbOfPlayers= 1; //this is how many players your using
StartPlayer= 0; // what players you are starting with
Version= '1'; // Leave this alone it's my script don't change it
procedure DeclarePlayers;
var i:integer;
begin
NumberOfPlayers(NumbOfPlayers);
CurrentPlayer := StartPlayer;
for i := 0 to NumbOfPlayers-1 do
Players[i].BoxRewards := ['Xp'];
with Players[0] do
begin
Name := ''; // Player Username
Pass := ''; // this is your pass
Pin := ''; // your pin if you have one if not leave blank
Active := True; //leave at true
Integers[1] := 1; //1 for Yews,2 for magics,3,for willows,4 for oaks
Integers[2] := 4; // this is how long it waits before chopping another tree
end;
End;
Procedure StatsGuise (wat:String);
Begin
Status (wat);
Disguise (wat);
end;
Function CheckAndClick(Uptext:String; Option:String; X,Y:Integer; RClick:Boolean):Boolean;
Begin
MMouse (x, y, 5, 5) ;
If WaitUPtext(UpText, 1000+Random(250)) Then
Begin
Result:=True;
GetMousePos(x,y)
If RClick Then
Begin
Mouse(x, y, 0, 0, False);
Result:=WaitOption(Option, 1000);
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
Case Random(250) Of
0: Begin StatsGuise ('AntiBan') GameTab(Tab_Stats) HoverSkill('Magic', False); GameTab(28) End;
1: Begin StatsGuise ('AntiBan') SleepAndMoveMouse((750)+ Random(250)); End;
2: Begin StatsGuise ('AntiBan') RandomAngle(1); End;
3: Begin StatsGuise ('AntiBan') GameTab (Tab_Stats) ; Wait(750 + Random(250)); GameTab(28) End;
4: Begin StatsGuise ('AntiBan') GameTab (Tab_Stats) HoverSkill('random', false); GameTab(28) End;
End;
End;
Procedure FailSafe(Reason:String);
Begin
Players[CurrentPlayer].Loc:=Reason;
Logout;
Stats_Commit;
//ProgressReport;
TerminateScript;
End;
Procedure ChopDown;
Var
x,y : Integer;
Begin
//FindObjCustom(x, y, ['att', 'ack''a'], [12346, 35678], 5); this is for attack
If FindObjCustom(x, y, ['Chop', 'down', 'Yew'], [1713699, 2108458, 1844516], 30) Then
WriteLn('Found tree');
Mouse(x, y, 0, 0, false);
ChooseOption('hop');
repeat
Wait(1200+random(250));
Until IsUpText('ew') or (InvFull);
End;
Begin
SetupSRL;
DeclarePlayers;
Repeat
ChopDown
Until(False);
End. 2012-05-30 23:50:31
If FindObjCustom(x, y, ['Chop', 'down', 'Yew'], [1713699, 2108458, 1844516], 30) Then
WriteLn('Found tree');
Mouse(x, y, 0, 0, false);
ChooseOption('hop');this will always perform 2012-05-30 23:54:58
Begin
Wait(750+random(250)) or
IsUpText('ew') (InvFull);
Repeat;
End;2012-05-30 23:56:06
2012-05-31 00:02:24
From: insidethefire666
Begin
Wait(750+random(250)) or
IsUpText('ew') (InvFull);
Repeat;
End;
[Error] (115:16): Type mismatch at line 114
Compiling failed.
Fixed the other error and i tweaked this around some any ideas on what i'm doing wrong?
2012-05-31 00:04:22
2012-05-31 00:11:57