Results 1 to 4 of 4

Thread: Lumbridge Stair Climber

  1. #1
    Join Date
    Nov 2007
    Posts
    437
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Lumbridge Stair Climber

    I have been seeing people needing this lately so I made a function for it. Tell me if it works or not and feel free to edit it at will, etc. Have fun .

    SCAR Code:
    function FindStairs(Direction : String) : Boolean;
    //Direction: up or down
    var
      q : Integer;
      StairLocs: TPointArray;
      StairLoc : TPoint;
    begin
      if not LoggedIn then Exit;
      MakeCompass('135');
      SetAngle(True);
      Direction := Lowercase(Direction);
      x := MSCx;
      y := MSCy - 75;
      FindColorsSpiralTolerance(x, y, StairLocs, 2961456, MSX1, MSY1, MSX2, MSY2, 10);
      if Length(StairLocs) = 0 then FindColorsSpiralTolerance(x, y, StairLocs, 8160390, MSX1, MSY1, MSX2, MSY2, 10);
      if Length(StairLocs) = 0 then FindColorsSpiralTolerance(x, y, StairLocs, 3556689, MSX1, MSY1, MSX2, MSY2, 10);
      if Length(StairLocs) = 0 then Exit;
      for q:= 0 to High(StairLocs)do
      begin
        StairLoc := StairLocs[q];
        x := StairLoc.x;
        y := StairLoc.y;
        MMouse (x, y, 3, 3);
        if (IsUpTextMultiCustom(['tair', 'case'])) then
        begin
          GetMousePos(x, y);
          Mouse(x, y, 0, 0, False);
          ChooseOption(Direction);
          Result := True;
          Exit;
        end;
      Wait(350+random(350));
      end;
      Result := False;
    end;

  2. #2
    Join Date
    Mar 2008
    Location
    The Netherlands
    Posts
    1,395
    Mentioned
    1 Post(s)
    Quoted
    1 Post(s)

    Default

    Thanks! I will use this in my Lumby Flax Spinner (with credits off course)


  3. #3
    Join Date
    Mar 2007
    Posts
    3,116
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by laurenssie0 View Post
    Thanks! I will use this in my Lumby Flax Spinner (with credits off course)
    RAWR, this is like the third person making one...

  4. #4
    Join Date
    Jun 2008
    Posts
    37
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    AWESOME!

    needed one of these for tut runner...(will credit you) (altered to only go up...i'll tele back down ) (yes the new one...it's SO LONG!)(yes, I know...that's what she said.)

    aaaanyway, back on topic, AWESOME!!!!
    yes, I know my profile name is stupid =P

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Lumbridge...
    By Nadeem in forum OSR Help
    Replies: 12
    Last Post: 03-04-2009, 01:01 AM
  2. [REQUEST] Lumbridge Stair Handler
    By benjaa in forum Research & Development Lounge
    Replies: 9
    Last Post: 05-07-2008, 01:00 PM
  3. 6 stair talker!
    By sk8terbitu in forum First Scripts
    Replies: 8
    Last Post: 05-03-2008, 11:28 PM
  4. stair/ladder and door and gate finding help plz???
    By RudeBoiAlex in forum OSR Help
    Replies: 2
    Last Post: 06-13-2007, 04:57 PM
  5. Lumbridge
    By Boreas in forum RS3 Outdated / Broken Scripts
    Replies: 66
    Last Post: 04-30-2007, 08:25 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
  •