Results 1 to 4 of 4

Thread: Constantly getting the same error - with every script ive tried.

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

    Default Constantly getting the same error - with every script ive tried.

    Code:
    [Runtime Error] : Out Of Range in line 613 in script C:\Program Files\SCAR 3.06\Scripts\Santy's Fighter.scar
    Thats just an example, i think i may have made some installation mistake, ive sorted the problem, it just means removing all the multiplayer code, however what does "Out Of Range" mean?

    Thanks.

  2. #2
    Join Date
    May 2007
    Location
    baltimore, md
    Posts
    836
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    could be the multiplayer just comment out all the unused player variables.

  3. #3
    Join Date
    May 2007
    Location
    Canada
    Posts
    261
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Post the DeclarePlayer procedure, except take out the passwords and the usernames.

    EDIT: Taken out of JAD's "a brief lesson on fixing annoying errors".

    Error 10: Out of range error.


    Solution:
    This is most commonly caused by not setting your players right in the player arrays. When you set the number of players, you are setting the number of slots that there are players for, ACTIVE OR NOT! so if you have 2 users active, but there are 6 slots, then you still have the how many players as 6.
    On vacation from July 2nd till middle of August


    Account Creator and Tutorial Island Runner (member | public) Errors fixed


    Check out my Complete forms tutorial. It will teach you everything you need to know about forms.

  4. #4
    Join Date
    Jun 2007
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ah sorry i should have made myself clearer.... Ive edited the first post. Ive solved the problem, im just curios as to what "Out Of Range" actually means.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Need to constantly update DTMs?
    By fyi101 in forum OSR Help
    Replies: 5
    Last Post: 04-14-2008, 12:34 AM
  2. Replies: 5
    Last Post: 02-26-2008, 04:14 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
  •