Results 1 to 5 of 5

Thread: FindNormalRandoms

  1. #1
    Join Date
    Feb 2007
    Location
    USA
    Posts
    667
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default FindNormalRandoms

    Does anyone know what is not included in the normal randoms?

  2. #2
    Join Date
    Jun 2006
    Location
    Tennessee, USA
    Posts
    2,603
    Mentioned
    1 Post(s)
    Quoted
    46 Post(s)

    Default

    Quote Originally Posted by omgh4x0rz View Post
    Does anyone know what is not included in the normal randoms?
    well i would help you, but it would be very simple for you to look yourself. open up SCAR > Tools > Explore Folder > Includes Folder > SRL > SRL (again) > then you can find it from there

  3. #3
    Join Date
    Feb 2007
    Location
    USA
    Posts
    667
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I did.

    I just figured one of the SRL peeps would be able to give me an answer faster, instead of digging through runescape to find out what all the randoms are, and then matching them up to what is coded into the procedure.

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

    Default

    Here is a short description of FindNormalRandoms;

    PHP Code:
    function FindNormalRandomsBoolean;
    var
      
    iInteger;
    begin
      
    for := 1 to 16 do
      
    begin
        
    case I of
          1
    CloseWindow;
          
    2: if FindTalk then  //<- Finds and handles All Talking Randoms.
              
    Result := True;
          
    3: if FindDead then  //<- looks for text "oh dear, you're dead".
              
    Result := True;
          
    4: if FindMod then  // Searches for modbitmap in chattextheader.
              
    Result := True;
          
    5: if FindMime then // scans for two pixels indicating mime.
              
    Result := True;
          
    6: if FindMaze then // scans for two pixels indicating maze.
              
    Result := True;
          
    7: if FindQuiz then  // scans for two pixels indicating quiz.
              
    Result := True;
          
    8: if FindDemon then  // scans for two pixels indicating demon.
              
    Result := True;
          
    9: if FindScapeRune then //  // scans for text "scaperune".
              
    Result := True;
          
    10: if FindTalk then // Call it twice
              
    Result := True;
          
    11: if FindLamp(LampSkillthen // Maybe we missed it?
              
    Result := True;
          
    12: if (FindNewBoxthen  // box handler.
            
    begin
              Result 
    := True;
              if (
    UseBoxSolverthen
                SolveBox
              
    else
                
    GambleNewBox;
            
    end;
          
    13: if FindTrade then
              Result 
    := True;
          
    14:
            
    begin
              
    if NoGameTab then  // Certain GameTab are missing, indicating we are trapped inside a random.
              
    begin
                Result 
    := True;
                
    Players[CurrentPlayer].loc := 'No GameTab';
                
    Logout;
                Exit;
              
    end;
            
    end;
          
    15SaveToChatLog// saves all chat to ChatLog.txt at /scar root folder.
          
    16: if RC then // Handles Remote Control. See WIKI
              
    Result := True;
        
    end;
        
    Wait(1);
      
    end;
    end
    Usage:

    Call FindNormalRandoms at least once every three seconds. This is really bare minimum. You still miss a lot of Talking Randoms, you will be unlucky, believe me. I have converted all my Wait 's inside a script -since most of the time in runescapespace you are waiting for something to happen- to FTWait; This Procedure waits approx. 250 msec (1/4 second) and performs one FindTalk. FindTalk is the pumping heart of SRL 's Talking Randoms. It handles/solves ALL talking Randoms!
    So FTWait(4); waits approx. 1 second and performs 4 FindTalk's for you.

    Hope this helps.
    SRL is a Library of routines made by the SRL community written for the Program Simba.
    We produce Scripts for the game Runescape.

  5. #5
    Join Date
    Feb 2007
    Location
    USA
    Posts
    667
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks Fakawi! You're my hero!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. FindNormalRandoms
    By travo in forum OSR Help
    Replies: 2
    Last Post: 12-11-2007, 04:33 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
  •