Results 1 to 11 of 11

Thread: Out of Range?

  1. #1
    Join Date
    Jun 2007
    Posts
    1,312
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Out of Range?

    SCAR Code:
    { if not(loggedin) then exit;  }
      if Players[currentplayer].strings[0] = 'a' then
      begin

    Gives me out of random in line 602
    (if players[currentplayer].strings[0] = 'a' then)

    What have I done wrong?
    Active only during the Summer...

  2. #2
    Join Date
    Jul 2007
    Location
    Massachusetts
    Posts
    896
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    post the whole script, you might be out of range in your array

  3. #3
    Join Date
    Mar 2007
    Location
    Netherlands->Amersfoort.
    Posts
    1,615
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    The problem is probebly on the line before 602.

  4. #4
    Join Date
    Feb 2007
    Location
    Het ademt zwaar en moedeloos vannacht.
    Posts
    7,211
    Mentioned
    26 Post(s)
    Quoted
    72 Post(s)

    Default

    I assume you called SetupSRL AND NumberOfPlayers?
    If not, call them first
    I made a new script, check it out!.

  5. #5
    Join Date
    Jun 2007
    Posts
    1,312
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Markus View Post
    I assume you called SetupSRL AND NumberOfPlayers?
    If not, call them first
    Yeah
    SCAR Code:
    Problem Solved.
    This is my incomplete Air Crafter.
    Do not make any corrections except for the out of range error please, I am applying for membership with this, and I'm still working on it. It's full of old coding that I did.
    Active only during the Summer...

  6. #6
    Join Date
    Mar 2007
    Posts
    3,042
    Mentioned
    1 Post(s)
    Quoted
    14 Post(s)

    Default

    It compiles fine for me. You had a couple syntax errors because you didn't choose the x and y coordinates for some of your DDTM points, but I didn't receive any errors after I fixed those.
    :-)

  7. #7
    Join Date
    Jun 2007
    Posts
    1,312
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Method View Post
    It compiles fine for me. You had a couple syntax errors because you didn't choose the x and y coordinates for some of your DDTM points, but I didn't receive any errors after I fixed those.
    It compiles, but as I run it I get errors. Sometimes for logins, sometimes at that line.
    Active only during the Summer...

  8. #8
    Join Date
    Mar 2007
    Posts
    3,042
    Mentioned
    1 Post(s)
    Quoted
    14 Post(s)

    Default

    You haven't called the DeclarePlayers procedure in the script you posted. You have it as a procedure, but you haven't placed it within your main loop. That should fix your problems.
    :-)

  9. #9
    Join Date
    Jun 2007
    Posts
    1,312
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Method View Post
    You haven't called the DeclarePlayers procedure in the script you posted. You have it as a procedure, but you haven't placed it within your main loop. That should fix your problems.
    LOL
    Markus was right XD
    Active only during the Summer...

  10. #10
    Join Date
    Mar 2007
    Location
    Netherlands->Amersfoort.
    Posts
    1,615
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by JackLKrawl View Post
    LOL
    Markus was right XD
    Method said that

  11. #11
    Join Date
    Jun 2007
    Posts
    1,312
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by rikjess View Post
    Method said that
    Both did XD
    Active only during the Summer...

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. 71-99 range?
    By isjusme in forum RuneScape News and General
    Replies: 16
    Last Post: 06-02-2008, 03:45 PM
  2. 70 range
    By isjusme in forum RuneScape News and General
    Replies: 6
    Last Post: 04-27-2008, 05:37 PM
  3. out of range
    By nik999389 in forum OSR Help
    Replies: 4
    Last Post: 10-29-2007, 09:43 AM
  4. Out of range
    By rotflmfwao in forum OSR Help
    Replies: 3
    Last Post: 08-22-2007, 02:29 AM
  5. Eh... Out of Range...
    By Pancakes in forum OSR Help
    Replies: 4
    Last Post: 07-03-2007, 11:41 AM

Posting Permissions

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