Results 1 to 6 of 6

Thread: Is that all?

  1. #1
    Join Date
    Aug 2009
    Posts
    242
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Is that all?

    Well i can't find anymore in tuts unless im looking in the wonrg place for antirandoms and all they say is all you need to do it call this
    SCAR Code:
    procedure AntiRandoms;
    begin
      FindNormalRandoms;//Everytime this is called, SCAR will search to see if your character is inside a random event room.
      LampSkill := 'woodcutting';//If you set the script to choose an experience lamp from a random event box, it will use the exp on the woddcutting skill.
    end;
    is that realy all you have to do
    I see Now, says the blind man

  2. #2
    Join Date
    Dec 2007
    Posts
    2,766
    Mentioned
    2 Post(s)
    Quoted
    37 Post(s)

    Default

    Quote Originally Posted by rya View Post
    Well i can't find anymore in tuts unless im looking in the wonrg place for antirandoms and all they say is all you need to do it call this
    SCAR Code:
    procedure AntiRandoms;
    begin
      FindNormalRandoms;//Everytime this is called, SCAR will search to see if your character is inside a random event room.
      LampSkill := 'woodcutting';//If you set the script to choose an experience lamp from a random event box, it will use the exp on the woddcutting skill.
    end;
    is that realy all you have to do
    The difficulty is only to know about when to use it , and yes thats pretty much it ?

  3. #3
    Join Date
    Jan 2008
    Location
    Houston, Texas, USA
    Posts
    770
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    That will find normal randoms (calls a normal random check) Know I don't know what that normal is. Its probably checking music tab to find if you are in a random ( I could be wrong). I suggest you look at antirandoms.scar in the SRL manual for other random checks.

  4. #4
    Join Date
    Dec 2006
    Location
    Houston, TX USA
    Posts
    4,791
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Most randoms interupt actions like mining ect.. where the script would need to call MineRock or whatever after the random, also a lot of functions in SCAR use timers and a lot of people at this community don't account for that and the timer expires which equals a failed function which is why you should mark time before the random finding process begins so you can add that to your start time to keep your timers from expiring. I know it sounds confusing, but there is more to using random detection correctly that just typing those words.

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

    Default

    I have replaced all Wait(1000); 's with

    SCAR Code:
    for x := 1 to 10 do
    begin
       Wait(80);
       FindNormalRandoms;
    end;

    or you could you my old FTWait (FindTalkWait) which was removed from SRL.

    SCAR Code:
    procedure FTWait(time:Integer);
    var x:integer;
    begin
         for x := 0 to time do
         begin
         Wait(100 + Random(100));
         FindNormalRandoms;
         end;
    end;

    This simple yet very effective function gives scripts the necessary "swing" meanwhile at least 5 times a second checking for randoms, making you players them a very responsive.

    Due to logical limitations there aren't many functions and procedures packed with FindNormalRandoms; in SRL, so you are own your own here. I figured since runescape is such a repetitive sloooow game, might as well do something usefull with this idletime.

    You can do all sorts other things with a FTWait. You could put your own responder in there, you could set switches, check on the MinMap what and where, analyse the mainscreen....

    It's a core function in all my scripts.
    SRL is a Library of routines made by the SRL community written for the Program Simba.
    We produce Scripts for the game Runescape.

  6. #6
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by WT-Fakawi View Post
    It's a core function in all my scripts.
    Got any planned for release? It's been a while since theres been a Fawki style script
    Quote Originally Posted by irc
    [00:55:29] < Guest3097> I lol at how BenLand100 has become noidea
    [01:07:40] <@BenLand100> i'm not noidea i'm
    [01:07:44] -!- BenLand100 is now known as BenLand42-
    [01:07:46] <@BenLand42-> shit
    [01:07:49] -!- BenLand42- is now known as BenLand420
    [01:07:50] <@BenLand420> YEA

Thread Information

Users Browsing this Thread

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •