Results 1 to 8 of 8

Thread: SRL antirandom error

  1. #1
    Join Date
    Jun 2006
    Posts
    250
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default SRL antirandom error

    When I got the random that takes you to the graveyard, the script stopped and gave this error:
    Code:
    [Runtime Error] : Out Of Range in line 2214 in script C:\Program Files\programs\rs\auto\SCAR 2.03\includes\srl\srl\core\AntiRandoms.scar
    What do I do?

  2. #2
    Join Date
    Feb 2006
    Location
    L.A, USA
    Posts
    1,632
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Did you have a Nick?

  3. #3
    Join Date
    Feb 2006
    Location
    New Zealand
    Posts
    485
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Did you add your nick name to the players.nick in the player array?
    Sorry had to clarify Whte.

  4. #4
    Join Date
    Feb 2006
    Location
    L.A, USA
    Posts
    1,632
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    No problem Prince. I assumed people would know that.

  5. #5
    Join Date
    Jun 2006
    Location
    NZ
    Posts
    86
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Isn't the Leo random currently un solved?
    "I get bored." - Chino Moreno of Deftones

  6. #6
    Join Date
    Jun 2006
    Posts
    250
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I didn't. Do I need a player array for every SRL script? I thought thats for only when you want them to switch accounts...

  7. #7
    Join Date
    Feb 2006
    Location
    L.A, USA
    Posts
    1,632
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by m0u53m4t
    I didn't. Do I need a player array for every SRL script? I thought thats for only when you want them to switch accounts...
    Some randoms in SRL are solved by looking for a portion of your name in it's main screen which is the "Nick". So you have to have a "Nick" bitmapmask created. There are 2 ways to do so.

    First type is for players already logged in or one player scripts.
    Code:
    const
      Nick = '';//3 -4 letters of a username
    
    begin
      NickNameBMP  := CreateBitmapMaskFromText(.Nick, UpChars);
    end.
    2nd Type
    Code:
    procedure DeclarePlayers;
    begin
         HowManyPlayers  := 8;              // Set Number of Players here.
         NumberOfPlayers(HowManyPlayers);
         CurrentPlayer:= 0;
    
         Players[0].Name :='username'; //UserName
         Players[0].Pass :='passsss'; //Password
         Players[0].Nick :='erna'; //Nick [3 - 4]letters
         Players[0].Active:=True; //True or False, Activity.
    end;
    
    begin
      DeclarePlayers;
      LoginPlayer;
    end.
    LoginPlayer creates a bitmap mask of Players[CurrentPlayer].Nick. Player must start logged out. This is used with multi user compatibility.

  8. #8
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    6,136
    Mentioned
    28 Post(s)
    Quoted
    17 Post(s)

    Default

    Quote Originally Posted by Eludis
    Isn't the Leo random currently un solved?
    Leo or any other non-talking random that changes the state of the GameTab, will safely log you out. We are working on a system that will allow you to detect which Gametab random we encountered.

    Just make sure that you call NoGameTab (which is a part of FindNormalRandoms) once and a while.
    SRL is a Library of routines made by the SRL community written for the Program Simba.
    We produce Scripts for the game Runescape.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. AntiBan and AntiRandom Help?
    By 1337N3SS in forum OSR Help
    Replies: 13
    Last Post: 10-19-2008, 09:39 PM
  2. AntiRandom Question
    By spamthis in forum OSR Help
    Replies: 7
    Last Post: 09-12-2008, 07:06 AM
  3. Replies: 8
    Last Post: 09-09-2007, 05:57 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
  •