Results 1 to 7 of 7

Thread: Random Events - dismiss option.

  1. #1
    Join Date
    Aug 2007
    Location
    Hawaii
    Posts
    3,880
    Mentioned
    7 Post(s)
    Quoted
    152 Post(s)

    Default Random Events - dismiss option.

    Has this been included? All you have to do is right click and choose the dismiss option.

    Something like this:

    Simba Code:
    function R_DismissSandwichLady : Boolean;
    var
      SandwichLadyNPC: TNPC;
      Points: tPoint;
      Options : TStringArray;
    begin
      Options := ['ismis'];
      result := false;
      repeat
      R_FindNPC('Sandwich Lady', SandwichLadyNPC);
      Points := R_TileToMSHeight(SandwichLadyNPC.tile, 50);
      GetMousePos(Points.x, Points.y);
      ClickMouse2(MOUSE_RIGHT);
      if (OptionsExist(options, false)) then
      ChooseOption('ismis');
      until(not(R_DetectSandwichLady));
      result := true;
    end;
    Last edited by kingarabian; 01-11-2015 at 12:09 PM.
    Faith is an oasis in the heart which will never be reached by the caravan of thinking.

  2. #2
    Join Date
    Sep 2012
    Location
    Netherlands
    Posts
    2,752
    Mentioned
    193 Post(s)
    Quoted
    1468 Post(s)

    Default

    Quote Originally Posted by kingarabian View Post
    Has this been included? All you have to do is right click and choose the dismiss option.

    Something like this:

    Simba Code:
    function R_DismissSandwichLady : Boolean;
    var
      SandwhichLadyNPC: TNPC;
      Point: tPoint;
      Options : TStringArray;
    begin
      Options := ['ismis'];
      result := false;
      repeat
      R_FindNPC('Sandwich Lady', SandwichLadyNPC);
      Point := R_TileToMSHeight = (SandwhichLadyNPC.tile, 50);
      MMouse(Point.x, Point.y);
      ClickMouse2(MOUSE_RIGHT);
      if (OptionsExist(options, false) then
      ChooseOption('ismis');
      until(not(R_DetectMime));
      result := true;
    end;
    i believe a saw a snippet in the reflection include thread by ineedbot

    edit: https://villavu.com/forum/showthread...97#post1323097

  3. #3
    Join Date
    Aug 2007
    Location
    Hawaii
    Posts
    3,880
    Mentioned
    7 Post(s)
    Quoted
    152 Post(s)

    Default

    Quote Originally Posted by hoodz View Post
    i believe a saw a snippet in the reflection include thread by ineedbot

    edit: https://villavu.com/forum/showthread...97#post1323097
    Yeah that looks great. I was thinking about adding all the randoms in one array, but I was afraid Jagex would toggle this option off if they detect a real auto. Then whatever solvers we currently have could be put in use.
    Faith is an oasis in the heart which will never be reached by the caravan of thinking.

  4. #4
    Join Date
    Feb 2013
    Location
    Rimmington
    Posts
    319
    Mentioned
    33 Post(s)
    Quoted
    183 Post(s)

    Default

    Quote Originally Posted by kingarabian View Post
    Yeah that looks great. I was thinking about adding all the randoms in one array, but I was afraid Jagex would toggle this option off if they detect a real auto. Then whatever solvers we currently have could be put in use.
    Be aware! there's more than randoms npc that result in "null" for names.





  5. #5
    Join Date
    Aug 2007
    Location
    Hawaii
    Posts
    3,880
    Mentioned
    7 Post(s)
    Quoted
    152 Post(s)

    Default

    Quote Originally Posted by Fitta View Post
    Be aware! there's more than randoms npc that result in "null" for names.
    So do you suggest we do each random separately?
    Faith is an oasis in the heart which will never be reached by the caravan of thinking.

  6. #6
    Join Date
    Feb 2013
    Location
    Rimmington
    Posts
    319
    Mentioned
    33 Post(s)
    Quoted
    183 Post(s)

    Default

    Quote Originally Posted by kingarabian View Post
    So do you suggest we do each random separately?
    If you're not doing a combat script you should be fine!
    If you are, you're screwed, give or take.





  7. #7
    Join Date
    Aug 2007
    Location
    Hawaii
    Posts
    3,880
    Mentioned
    7 Post(s)
    Quoted
    152 Post(s)

    Default

    Fitta you think it would work to keep color detection in case the names of the random are null?
    Faith is an oasis in the heart which will never be reached by the caravan of thinking.

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
  •