Results 1 to 6 of 6

Thread: Can anyone explain this error

  1. #1
    Join Date
    Nov 2008
    Location
    Norway, Alesund
    Posts
    924
    Mentioned
    0 Post(s)
    Quoted
    37 Post(s)

    Default Can anyone explain this error

    i got jsut downloaded updates and get this
    Successfully compiled (9768 ms)
    SRL Compiled in 16 msec
    SMART Initialized.
    Loaded: Server 152, Members: False, Signed: True, Super Detail: False.
    [Runtime Error] : Out Of Range in line 338 in script C:\Program Files\SCAR 3.21\includes\SRL\SRL\Core\Login.scar
    Last edited by Laimonas171; 07-28-2009 at 07:58 PM.

  2. #2
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by Laimonas171 View Post
    i got jsut downloaded updates and get this
    Um, delete SRL folder, checkout revision.
    And you should be done

  3. #3
    Join Date
    Nov 2008
    Location
    Norway, Alesund
    Posts
    924
    Mentioned
    0 Post(s)
    Quoted
    37 Post(s)

    Default

    same error...

  4. #4
    Join Date
    Feb 2009
    Location
    Hungary (GMT + 1)
    Posts
    1,774
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Have you declared your player(s)? Afaik if you call a player specific function/procedure and your players wasn't declared, you will get an out-of range error because you don't got any player. Not sure though that the problem in this case is this.

  5. #5
    Join Date
    Nov 2008
    Location
    Norway, Alesund
    Posts
    924
    Mentioned
    0 Post(s)
    Quoted
    37 Post(s)

    Default

    procedure DeclarePlayers;
    begin
    HowManyPlayers := 1;
    CurrentPlayer := 0;
    NumberOfPlayers(HowManyPlayers);

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

  6. #6
    Join Date
    Nov 2008
    Location
    Norway, Alesund
    Posts
    924
    Mentioned
    0 Post(s)
    Quoted
    37 Post(s)

    Default

    CLOSED mainloop was wrong.

    Edit: sorry for double post.

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
  •