PDA

View Full Version : Please help me when following BenLands tut



kanko
03-26-2013, 09:41 PM
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
03-26-2013, 09:48 PM
You need to add a end at the end and you also need your main loop

Zorgatone
03-26-2013, 09:49 PM
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
03-26-2013, 09:50 PM
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
03-26-2013, 09:51 PM
Yes and after an end add also a point (.)

So look like this End;. ?

Zorgatone
03-26-2013, 09:52 PM
So look like this End;. ?

End. without the semicolon ( ; )

kanko
03-26-2013, 09:57 PM
Yes and after an end add also a point (.)

it says compiling failed when placing a (.)

kanko
03-26-2013, 09:58 PM
End. without the semicolon ( ; )

it says compiling error(:

I did End. only

rj
03-26-2013, 09:59 PM
it says compiling error(:

I did End. only
http://villavu.com/forum/showthread.php?t=67691

Zorgatone
03-26-2013, 09:59 PM
it says compiling error(:

I did End. only

Can you paste again the whole code?