Results 1 to 6 of 6

Thread: How to detect randoms and what to do about them?

  1. #1
    Join Date
    Jul 2008
    Posts
    21
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default How to detect randoms and what to do about them?

    Hi,

    I'm trying to make an auto essenceminer, but how do I detect randoms that may occur? And how to handle them?

    Thanks,
    Stash.

  2. #2
    Join Date
    May 2007
    Location
    Netherlands, Amersfoort
    Posts
    2,701
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    SRL has some anti random stuff all build in one function, just call:

    SCAR Code:
    FindNormalRandoms;

    It finds randoms and solves them (in most cases).

    Good luck

  3. #3
    Join Date
    Jul 2008
    Posts
    21
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Wow, thats easier then expected

    Thanks,
    Stash.

  4. #4
    Join Date
    Jul 2008
    Posts
    31
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    umm i tried that but i keep getting erroes with the overwrite thin in the core!

  5. #5
    Join Date
    Dec 2007
    Location
    Canada
    Posts
    187
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Heres the my randoms procedure I include in all of my scripts

    SCAR Code:
    const
    LampLevel= 'runecrafting'; //Set the skill you want a lamp to do.

    Procedure AntiRandoms;
    begin
      If(FindFight)then
      RunAway('N', True,1,15000);
      FindNormalRandoms;
      FindLamp((LampLevel));
      SolveNonTalkingRandoms;
    end;

    EDIT: NP stash happy to help
    I'm baaaack

  6. #6
    Join Date
    Jul 2008
    Posts
    21
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks insanomano, that's a very usefull procedure! I'm going to add it to my default.

    Stash

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to detect a virus
    By kingarabian in forum Computer Help and Tutorials
    Replies: 15
    Last Post: 09-27-2009, 06:50 AM
  2. detect health?
    By Mistagnerd in forum OSR Help
    Replies: 11
    Last Post: 11-12-2007, 07:46 PM
  3. How to detect text?
    By I Karma I in forum OSR Help
    Replies: 14
    Last Post: 12-02-2006, 09:45 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
  •