Results 1 to 9 of 9

Thread: Lumbridge Castle stiars?

  1. #1
    Join Date
    May 2008
    Location
    127.0.0.1
    Posts
    705
    Mentioned
    1 Post(s)
    Quoted
    6 Post(s)

    Default Lumbridge Castle stiars?

    Hello, im making a script that involved going down the lumbridge castle stairs (south) to the second story, and then later on going back up to the bank. Me and WADDO have been trying for like 30 minutes, and I can't seem to get it to find the stairs. any ideas?
    <Wizzup> And he's a Christian
    <Wizzup> So he MUST be trusted
    ___________________________________________
    <Wizzup> she sounds like a dumb bitch

  2. #2
    Join Date
    Dec 2006
    Posts
    908
    Mentioned
    1 Post(s)
    Quoted
    17 Post(s)

    Default

    FindObjTPA
    TPA

    if not, try testing DDTMS

  3. #3
    Join Date
    May 2008
    Location
    127.0.0.1
    Posts
    705
    Mentioned
    1 Post(s)
    Quoted
    6 Post(s)

    Default

    i dont know TPA's and TPA tuts are confusing. so ill probably have to do DDTM
    <Wizzup> And he's a Christian
    <Wizzup> So he MUST be trusted
    ___________________________________________
    <Wizzup> she sounds like a dumb bitch

  4. #4
    Join Date
    Dec 2006
    Posts
    908
    Mentioned
    1 Post(s)
    Quoted
    17 Post(s)

    Default

    FindObjTPA(x, y, StairColor, 15{Tol}, -1, 15, 15, 3, ['tair', 'Stai', 'air']);
    Mouse(x, y, 5, 5, True);

    Thats all to it.

  5. #5
    Join Date
    Apr 2007
    Posts
    994
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    x:=156;
      y:=251;
      if findcolorspiraltolerance(x,y,1936096,MSX1,MSY1,MSX2,MSY2,30) then   //Mind rune
      begin
        Mouse(x - 50, y + 10, 5 , 5,false);
        wait(1000+random(500));
        fflag(0);
        if chooseoptionex('limb-up',false) then
        begin
          players[currentplayer].loc:='Up one flight of stairs';
          getmousepos(x,y);
          if findcolortolerance(xx,yy,602955,x-110,y-110,x,y + 110,30) then
          begin
            stairwoodcol:=getcolor(xx,yy);
            gotwoodcol:=true;
          end;
          Mouse(x,y,0,0,false);
          chooseoptionex('limb-up',true);
        end else goto backup;
      end else
      begin
        backup:
        if FindObjTPA( x, y,602955,25, -1, 10, 10, 50, ['aircase']) then
        begin
          Mouse(x,y,5,5,false);
          stairwoodcol:=getcolor(x,y);
          if chooseoption('limb-up') then
          begin
            players[currentplayer].loc:='Up one flight of stairs using FindObjTPA';
            gotwoodcol:=true;
          end else goto secondfail;
        end else
        begin
          secondfail:               //EXPERMENTAL: Never knew if this works. Should in theory
          Makecompass('284.036243467926');
          Setangle(false);
          setarraylength(BarrelTbox,5);
          BarrelTbox[0].x1:=0;
          BarrelTbox[0].y1:=0;           //Kitchen and a few of the torches
          BarrelTbox[0].x2:=184;
          BarrelTbox[0].y2:=211;
          inc(i);
          setarraylength(barreltbox,5);
          repeat
            if FindColorSkipBoxArrayTolerance(x, y, 803168, msx1, msy1, msx2, msy2, 40, BarrelTBox) then
            begin
              Mouse(x,y,0,0,false);
              if chooseoption('limb-up') then
              begin
                players[currentplayer].loc:='Used last failsafe color to climb stairs';
                break;
              end else
              begin
                try
                  BarrelTbox[i].x1:= x - 50;
                  BarrelTbox[i].y1:= y - 50;
                  BarrelTbox[i].x2:= x + 50;
                  BarrelTbox[i].y2:= y + 50;
                except
                  players[currentplayer].loc:='Failed climbing stairs error';
                  logout;
                  exit;
                end;
                inc(i);
              end;
            end else
              inc(i);
            if i>5 then
            begin
              Logout;
              players[currentplayer].loc:='Lost at first stairs';
              Exit;
            end;
         until(i > 5 )
        end;
      end;

    I made that for my RM solver. Only works on the south stairs, but this was before the update. I don't know if it still works, but it should give you a couple of Ideas. chooseoptionex is just chooseoption without the clicking if false.
    [QUOTE]<GoF`> oh no its Raymooond
    <Raymooond> Heya
    <GoF`> is it ray or some other ray?
    <LeeLokHin> No idea
    <LeeLokHin> Raymond, what's the game you like the most?
    <Raymooond> Runescape
    <-- LeeLokHin has kicked Raymooond from #srl (Faker.)[/QUOTE]

  6. #6
    Join Date
    Apr 2007
    Posts
    994
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Sorry, lagged and double posted.
    [QUOTE]<GoF`> oh no its Raymooond
    <Raymooond> Heya
    <GoF`> is it ray or some other ray?
    <LeeLokHin> No idea
    <LeeLokHin> Raymond, what's the game you like the most?
    <Raymooond> Runescape
    <-- LeeLokHin has kicked Raymooond from #srl (Faker.)[/QUOTE]

  7. #7
    Join Date
    Dec 2006
    Posts
    908
    Mentioned
    1 Post(s)
    Quoted
    17 Post(s)

    Default

    I told you to do FindObjTPA =p

  8. #8
    Join Date
    May 2008
    Location
    127.0.0.1
    Posts
    705
    Mentioned
    1 Post(s)
    Quoted
    6 Post(s)

    Default

    Quote Originally Posted by deathscytex View Post
    I told you to do FindObjTPA =p
    and i told you, i dont know TPA's yet

    Edit: i guess i could use cords w/ randoms for the entire area of the stairs
    <Wizzup> And he's a Christian
    <Wizzup> So he MUST be trusted
    ___________________________________________
    <Wizzup> she sounds like a dumb bitch

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

    Default

    Has been working quite nicely for me. Let me know if you have problems.

    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;

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Lumbridge Castle Flax Spinner
    By vilon in forum RS3 Outdated / Broken Scripts
    Replies: 183
    Last Post: 11-02-2010, 07:20 AM
  2. Lumbridge Castle Flax Spinner
    By Sir_Oober in forum RS3 Outdated / Broken Scripts
    Replies: 7
    Last Post: 05-03-2009, 01:52 PM
  3. Lumbridge Castle Stairs
    By HairyDuncan2 in forum OSR Help
    Replies: 3
    Last Post: 10-14-2007, 09:00 PM
  4. Lumbridge castle Man thiever.
    By igotgrapes in forum RS3 Outdated / Broken Scripts
    Replies: 5
    Last Post: 05-18-2007, 11:16 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
  •