SRL Archive - General Botting Help

Please help me when following BenLands tut


kanko

2013-03-26 17:41:59

Hey guys,

On youtube BenLands video how to setup bot for rs 07 when I want to point the window of rs 07 and compile after that i want to run but it says this:

[Error] (36761:1): Unexpected end of file at line 36760
Compiling failed.


He told me use this then compile and run:

Program testP07;

{$I SRL/SRL.Simba}
{$I P07Include.Simba}

//LOGIN INFO STUFF
Procedure P07_DeclarePlayer;
Begin
P07_PlayerName:='username';
P07_PlayerPass:='password';
End;

Begin

P07_DeclarePlayer;
SetupP07Include;
ActivateClient;
Wait(2000);
If (Not P07_LoggedIn) Then
P07_LogInPlayer;
P07_MakeCameraAngleHigh;
P07_MakeCompassNorth;

Writeln(P07_GetUpText);

If P07_BankScreen Then
WriteLn('Bank is Open');
If P07_InvFull Then
WriteLn('Inventory is Full');

rj

2013-03-26 17:48:22

You need to add a end at the end and you also need your main loop

Zorgatone

2013-03-26 17:49:33

From: RJJ95
You need to add a end at the end and you also need your main loop


Yes and after an end add also a point (.)

kanko

2013-03-26 17:50:15

how do i add a main loop sorry He told me to copy that whole lines from a guy in this forum a unofficial one

kanko

2013-03-26 17:51:32

From: Zorgatone
Yes and after an end add also a point (.)


So look like this End;. ?

Zorgatone

2013-03-26 17:52:37

From: kanko
So look like this End;. ?


End. without the semicolon ( ; )

kanko

2013-03-26 17:57:15

From: Zorgatone
Yes and after an end add also a point (.)


it says compiling failed when placing a (.)

kanko

2013-03-26 17:58:18

From: Zorgatone
End. without the semicolon ( ; )


it says compiling error(:

I did End. only

rj

2013-03-26 17:59:14

From: kanko
it says compiling error(:

I did End. only

http://villavu.com/forum/showthread.php?t=67691

Zorgatone

2013-03-26 17:59:14

From: kanko
it says compiling error(:

I did End. only


Can you paste again the whole code?