Results 1 to 16 of 16

Thread: I am completley lost

  1. #1
    Join Date
    Feb 2007
    Location
    South East England
    Posts
    2,906
    Mentioned
    2 Post(s)
    Quoted
    8 Post(s)

    Default I am completley lost

    When I compile my Script it opens up "Global.scar" and says in the debug box;

    Line 12: [Error] (36:1): Semicolon (';') expected in script

    I add a Semi-Colon, and it says Identifier Expected, I delete line 12, and then the next var tells me it needs a SemiColon.

    Please Help!!
    Jus' Lurkin'

  2. #2
    Join Date
    Oct 2006
    Posts
    10
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I would recommend updating to SRL revision 14, if you have not done so already. Hopefully that will solve your problem.

  3. #3
    Join Date
    Feb 2007
    Location
    South East England
    Posts
    2,906
    Mentioned
    2 Post(s)
    Quoted
    8 Post(s)

    Default

    Done it. Ive completley uninstalled, reinstalled, cleaned up, got 14..

    Still happens.
    Jus' Lurkin'

  4. #4
    Join Date
    Jun 2007
    Location
    Wednesday
    Posts
    2,446
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    Try putting my Globals.scar over it and see if that fixes it. Otherwise, it may be the script you're running interfering with the Globals.scar file (using same var or const or something like that).
    By reading this signature you agree that mixster is superior to you in each and every way except the bad ways but including the really bad ways.

  5. #5
    Join Date
    Feb 2007
    Location
    South East England
    Posts
    2,906
    Mentioned
    2 Post(s)
    Quoted
    8 Post(s)

    Default

    Still happens even when I use yours

    Seriousley whats wrong with it :[
    Jus' Lurkin'

  6. #6
    Join Date
    Feb 2007
    Location
    Estonia.
    Posts
    1,938
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Try sing another script?
    Eerik.

  7. #7
    Join Date
    Jun 2007
    Location
    Wednesday
    Posts
    2,446
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    What scar version are you using - Scar 3.12c and 3.14 are the recommended versions (3.14 is seen as better, but not that much difference)
    By reading this signature you agree that mixster is superior to you in each and every way except the bad ways but including the really bad ways.

  8. #8
    Join Date
    Feb 2007
    Location
    South East England
    Posts
    2,906
    Mentioned
    2 Post(s)
    Quoted
    8 Post(s)

    Default

    Its retarded though. Even when I take the const and var out it still happens?

    EDIT: 3.14
    Jus' Lurkin'

  9. #9
    Join Date
    Jun 2007
    Location
    ENGLAND
    Posts
    220
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Search thorugh and see if a ';' is missing. If problem re-occurs then use another script or consult the creator of the script. It's most probably a simple mistake.

  10. #10
    Join Date
    Feb 2007
    Location
    South East England
    Posts
    2,906
    Mentioned
    2 Post(s)
    Quoted
    8 Post(s)

    Default

    I have searched Global.scar its not meant to have a ; in the middle of "var" is it? :/

    And its me trying to write a script.
    Jus' Lurkin'

  11. #11
    Join Date
    Jun 2007
    Location
    Wednesday
    Posts
    2,446
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    Exppo - it's in global.scar (SRL file) so there are no errors in it unless it wasn't installed correctly (due to the downloading part).

    Post the script you're trying to use and I'll see if I can run it. If I can, then you have a messed up scar that needs to be completely re-installed, otherwise it's the script and we can try to fix it.
    By reading this signature you agree that mixster is superior to you in each and every way except the bad ways but including the really bad ways.

  12. #12
    Join Date
    Feb 2007
    Location
    South East England
    Posts
    2,906
    Mentioned
    2 Post(s)
    Quoted
    8 Post(s)

    Default

    Ok.
    Jus' Lurkin'

  13. #13
    Join Date
    Jun 2007
    Location
    ENGLAND
    Posts
    220
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    And yeah 3.14 is better (sorry for double posting)

  14. #14
    Join Date
    Jun 2007
    Location
    Wednesday
    Posts
    2,446
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    You forgot to put a ';' after program WillowCrusher. After that, there were a few other errors that needed fixing, but here it is:
    SCAR Code:
    Program WillowCrusher;
    {.include SRL/SRL.scar}
    {.include SRL/SRL/Skill/WoodCutting.scar}


    var LoadsNum: integer;

    const
    //------------------------Setup----------------------\\

    //-->Willow Colours<--\\

    WillowColour = 0; //Colour of Willow
    WillowColour2 = 0; //Another Willow Colour
    WillowColour3 = 0; //A third Willow Colour

    //-->Loads<--\\

    Loads = 0; //How many loads per player before switching

    {-------------------------------------------------------
                           Player Setup
    --------------------------------------------------------}


    procedure DeclarePlayers;
    begin
       HowManyPlayers := 2; //How many Players
       NumberOfPlayers(HowManyPlayers);
       CurrentPlayer :=0; //Starting Player
       
       Players[0].Name := 'Username';
       Players[0].Pass := 'Password';
       Players[0].Nick := '3-4 letters of Username';
       Players[0].Active := True;
       
       Players[1].Name := 'Username';
       Players[1].Pass := 'Password';
       Players[1].Nick := '3-4 letters of Username';
       Players[1].Active := True;
    end;
       
    {----------------------------Do Not Edit Below This----------------------------}



    procedure Signature;
    begin
       ClearDebug;
       writeln('      Torrents Willow Crusher&Banker      ');
       writeln(' _____                                _   ');
       writeln('(_   _)                              ( )_ ');
       writeln('  | |   _    _ __  _ __   __    ___  | ,_)');
       writeln('  | | / _`\ ( "__)( "__)/"__`\/" _ `\| |  ');
       writeln('  | |( (_) )| |   | |  (  ___/| ( ) || |_ ');
       writeln('  (_)`\___/ (_)   (_)  `\____)(_) (_) \__)');
       wait(2500 + random(500));
    end;

    procedure ToFProggy;
    begin
      ClearDebug;
      Writeln(' Please Post Progress Reports &any problems ');
      Writeln('      From Wherever you got the script      ');
      Writeln('//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\');
      Writeln('//\\Worked For: ' + TimeRunning + '       //\\');
      Writeln('//\\Did: ' + IntToStr(LoadsNum) + ' Loads //\\');
      Writeln('//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\');
      Writeln('//\\   Thanks for Using my Script :D   //\\ ');
    end;

     begin
     SetupSRL;
     Signature;
     ToFProggy;
    end.
    By reading this signature you agree that mixster is superior to you in each and every way except the bad ways but including the really bad ways.

  15. #15
    Join Date
    Feb 2007
    Location
    South East England
    Posts
    2,906
    Mentioned
    2 Post(s)
    Quoted
    8 Post(s)

    Default

    AAAH!! I freaking LOVE you!!

    Seriousely.. Where is the Rep++ thing??!

    *CyberGayness*

    Lol seriousley though dude you rock...


    EDIT: You got Rep
    Jus' Lurkin'

  16. #16
    Join Date
    Jun 2007
    Location
    Wednesday
    Posts
    2,446
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    I don't rock I just roll *listens to the crickets chriping*
    Ahwell, glad I could help and thanks for the rep
    By reading this signature you agree that mixster is superior to you in each and every way except the bad ways but including the really bad ways.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. lost
    By noname123 in forum Music, Movies and TV
    Replies: 8
    Last Post: 12-04-2012, 09:27 AM
  2. im lost
    By n0n4m311 in forum OSR Help
    Replies: 8
    Last Post: 10-04-2008, 10:16 PM
  3. lost
    By oldtimer145 in forum Who Are You ? Who ? Who ?
    Replies: 2
    Last Post: 02-04-2007, 11:39 PM

Posting Permissions

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