Results 1 to 10 of 10

Thread: Please help me when following BenLands tut

  1. #1
    Join Date
    Feb 2012
    Posts
    93
    Mentioned
    0 Post(s)
    Quoted
    31 Post(s)

    Default Please help me when following BenLands tut

    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');

  2. #2
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

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

  3. #3
    Join Date
    Oct 2012
    Location
    Italy
    Posts
    145
    Mentioned
    0 Post(s)
    Quoted
    44 Post(s)

    Default

    Quote Originally Posted by RJJ95 View Post
    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 (.)
    Check out my new script here: http://villavu.com/forum/showthread.php?p=1194418 Al-Kharid Silk buyer

  4. #4
    Join Date
    Feb 2012
    Posts
    93
    Mentioned
    0 Post(s)
    Quoted
    31 Post(s)

    Default

    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

  5. #5
    Join Date
    Feb 2012
    Posts
    93
    Mentioned
    0 Post(s)
    Quoted
    31 Post(s)

    Default

    Quote Originally Posted by Zorgatone View Post
    Yes and after an end add also a point (.)
    So look like this End;. ?

  6. #6
    Join Date
    Oct 2012
    Location
    Italy
    Posts
    145
    Mentioned
    0 Post(s)
    Quoted
    44 Post(s)

    Default

    Quote Originally Posted by kanko View Post
    So look like this End;. ?
    End. without the semicolon ( ; )
    Check out my new script here: http://villavu.com/forum/showthread.php?p=1194418 Al-Kharid Silk buyer

  7. #7
    Join Date
    Feb 2012
    Posts
    93
    Mentioned
    0 Post(s)
    Quoted
    31 Post(s)

    Default

    Quote Originally Posted by Zorgatone View Post
    Yes and after an end add also a point (.)
    it says compiling failed when placing a (.)

  8. #8
    Join Date
    Feb 2012
    Posts
    93
    Mentioned
    0 Post(s)
    Quoted
    31 Post(s)

    Default

    Quote Originally Posted by Zorgatone View Post
    End. without the semicolon ( ; )
    it says compiling error(:

    I did End. only

  9. #9
    Join Date
    Oct 2012
    Location
    Italy
    Posts
    145
    Mentioned
    0 Post(s)
    Quoted
    44 Post(s)

    Default

    Quote Originally Posted by kanko View Post
    it says compiling error(:

    I did End. only
    Can you paste again the whole code?
    Check out my new script here: http://villavu.com/forum/showthread.php?p=1194418 Al-Kharid Silk buyer

  10. #10
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    Quote Originally Posted by kanko View Post
    it says compiling error(:

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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •