Results 1 to 12 of 12

Thread: Error with antirandoms.scar

  1. #1
    Join Date
    Oct 2006
    Posts
    334
    Mentioned
    0 Post(s)
    Quoted
    18 Post(s)

    Default Error with antirandoms.scar

    any time I use any script that calls for an antirandoms procedure, the script compiles then fails saying:
    Code:
    [Runtime Error] : Out Of Range in line 1242 in script C:\Program Files\SCAR 3.12\includes\SRL/SRL/Core/AntiRandoms/AntiRandoms.scar

  2. #2
    Join Date
    May 2007
    Location
    Ohio
    Posts
    2,296
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by nategr8ns View Post
    any time I use any script that calls for an antirandoms procedure, the script compiles then fails saying:
    Code:
    [Runtime Error] : Out Of Range in line 1242 in script C:\Program Files\SCAR 3.12\includes\SRL/SRL/Core/AntiRandoms/AntiRandoms.scar
    During Run Time?
    Or Compile?

    and You Should Have SCAR 3.13 lol =]

  3. #3
    Join Date
    Jul 2007
    Location
    St. Louis, Missouri, USA.
    Posts
    575
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Try re-downloading SCAR and SRL. Post back here if that doesn't work.
    -You can call me Mick-



  4. #4
    Join Date
    Oct 2006
    Posts
    334
    Mentioned
    0 Post(s)
    Quoted
    18 Post(s)

    Default

    its during runtime, it compiles fine.

    I have the newest 3.12, but not 3.13

    ill try

  5. #5
    Join Date
    Oct 2006
    Posts
    334
    Mentioned
    0 Post(s)
    Quoted
    18 Post(s)

    Default

    the error still happens with Scar 3.13

  6. #6
    Join Date
    Nov 2007
    Location
    norway
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by nategr8ns View Post
    the error still happens with Scar 3.13
    are you sure you have done all that the script told you??

  7. #7
    Join Date
    Oct 2006
    Posts
    334
    Mentioned
    0 Post(s)
    Quoted
    18 Post(s)

    Default

    Quote Originally Posted by babeboom View Post
    are you sure you have done all that the script told you??
    no offense, but I had said this was an error with anti-randoms.scar. Its not a script per say, but a set of procedures and functions. You don't do anything with it, except tell your script to use parts of this file.

    It doesn't tell me to do anything.

  8. #8
    Join Date
    May 2007
    Location
    Ohio
    Posts
    2,296
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ehh...

    SCAR Code:
    [Runtime Error] : Out Of Range in line 1242 in script C:\Program Files\SCAR 3.12\includes\SRL/SRL/Core/AntiRandoms/AntiRandoms.scar
    replace your antirandom.scar with this

  9. #9
    Join Date
    Oct 2006
    Posts
    334
    Mentioned
    0 Post(s)
    Quoted
    18 Post(s)

    Default

    alright im testing that now.

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

    Default

    nope

    still gets this:
    Code:
    Successfully compiled
    SRL Compiled in 0 msec
    [Runtime Error] : Out Of Range in line 1242 in script C:\Program Files\SCAR 3.13\includes\SRL/SRL/Core/AntiRandoms/AntiRandoms.scar

  11. #11
    Join Date
    Sep 2007
    Location
    Michigan
    Posts
    3,862
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    Make sure your "CurrentPlayer := 0;" and you put in your nick name
    (Scripts outdated until I update for new SRL changes)
    AK Smelter & Crafter [SRL-Stats] - Fast Fighter [TUT] [SRL-Stats]
    If you PM me with a stupid question or one listed in FAQ I will NOT respond. -Narcle
    Summer = me busy, won't be around much.

  12. #12
    Join Date
    Oct 2006
    Posts
    334
    Mentioned
    0 Post(s)
    Quoted
    18 Post(s)

    Default

    i think that was the problem
    the nick was fine but there was the var : startplayer
    i didn't realize it made currentplayer := startplayer, i thought it would be startplayer - 1.

    thanks

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Runtime error antirandoms
    By SirPa in forum OSR Help
    Replies: 4
    Last Post: 11-02-2008, 08:09 PM
  2. TPA error in Antirandoms.
    By malotthouse in forum OSR Help
    Replies: 7
    Last Post: 03-07-2008, 07:07 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
  •