Results 1 to 4 of 4

Thread: Why??

  1. #1
    Join Date
    Sep 2006
    Posts
    457
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Why??

    So i know this is probably ub3r n33b of me but why do i keep getting this error?

    Line 108: being the end of the script btw

    SCAR Code:
    program jesus45lumbypwner;
    {.Include SRL\SRL\Misc\Smart.Scar}
    {.Include SRL\SRL.Scar}
    {.Include SRL\SRL\Reflection\Reflection.Scar}



    var
      x, y, Axe: integer;

    const
    ////////////////////////////////////////////////////////
      Activity = True;       // Wood cut or mine?        //
      AxeWield = False;      // is axe wielded?         //
                                                       //
                                                      //
                                                     //
    //////////////////////////////////////////////////

     procedure DeclarePlayers;
    begin
       HowManyPlayers := 1; //How many Players
       NumberOfPlayers(HowManyPlayers);
       CurrentPlayer :=0; //Starting Player

       Players[0].Name := '';
       Players[0].Pass := '';
       Players[0].Nick := '';
       Players[0].Active := True;


                // 1 for wc 2 for mine  (both in lumby)
    end;



    {/////////////////////////////////////////////////////////////////////////
                                                                           //
                                                                          //
        DO NOT TOUCH BELOW HERE, UNLESS YOU KNOW WHAT YOUR DOING ;)      //
                                                                        //
    }
    ////////////////////////////////////////////////////////////////////



    procedure Hello;

    begin
     writeln('               WElCOME TO JESUS45 LUMBY PWNER          ');
     wait(250);
     writeln('                         ENJOY!                        ');
     wait(200);
     writeln(' and dont be a noob or ill flamzor you :)');
    end;


    Procedure Dtms;

    begin

      Axe := DTMFromString('78DA633467666028636440066D29020C82401' +
           'A26CA680F54938DAA06260B57E30A549347408D23504D310135C6' +
           '40352D04D45810760F00D4B8054D');
    end;

    function LoadPath: TPointArray;
    begin
      SetLength(Result, 9);

      Result[0] := Point(3222, 3218);
      Result[1] := Point(3229, 3218);
      Result[2] := Point(3236, 3222);
      Result[3] := Point(3233, 3230);
      Result[4] := Point(3226, 3234);
      Result[5] := Point(3222, 3240);
      Result[6] := Point(3220, 3247);
      Result[7] := Point(3207, 3247);
      Result[8] := Point(3195, 3242);
    end;

    Procedure WalkToTree;

    var
     i: integer;
     Path: TPointArray;
     
    begin
     Path:= LoadPath;
     for i:= 0 to high(Path) do
      begin
        WalkToTile(Path[i],3,0);
      end;
        Wait(500+Random(200));
    end;






    procedure Mainloop;

    begin
     DeclarePlayers;
     Hello;
     LoadPath;
     WalkToTree;
    end.

    SCAR Code:
    Line 108: [Error] (20480:4): Semicolon (';') expected in script C:\Users\User\Desktop\rammstein\jesus45's lumby pwner.scar
    Finished my curser ---> it's in mage section.

  2. #2
    Join Date
    Nov 2007
    Location
    Chile
    Posts
    1,901
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Change:
    SCAR Code:
    procedure Mainloop;

    begin
     DeclarePlayers;
     Hello;
     LoadPath;
     WalkToTree;
    end.
    To:
    SCAR Code:
    procedure Mainloop;
    begin
     DeclarePlayers;
     Hello;
     LoadPath;
     WalkToTree;
    end;

    begin
      MainLoop;
    end.


  3. #3
    Join Date
    Sep 2006
    Posts
    457
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    luly gigglez at my n33bn3ss

    thanks
    Finished my curser ---> it's in mage section.

  4. #4
    Join Date
    Dec 2007
    Location
    Wizzup?'s boat
    Posts
    1,013
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    or just delete "procedure Mainloop;
    Project: Welcome To Rainbow

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
  •