Results 1 to 10 of 10

Thread: clicking on a NPC

  1. #1
    Join Date
    Sep 2006
    Location
    West U.S.
    Posts
    2,172
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default clicking on a NPC

    ive been having this big problem...

    i dont know what to use to get the script to click on the shop keeper at karamja.

    ive tried findobj and findobjmulti but neither worked..

    what would be the best way to find the shop keeper and his assistant???

    They are sisters...
    Runescape Classic

  2. #2
    Join Date
    Sep 2006
    Posts
    916
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Make a dtm of his head, then make it right click on him. I'm going on MSN now, I'll add you and see if your on.

  3. #3
    Join Date
    Sep 2006
    Location
    West U.S.
    Posts
    2,172
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    DTM of his head ey???

    never thought of that was possible...

    gee DTMs can be used for anything now huh?

    They are sisters...
    Runescape Classic

  4. #4
    Join Date
    Dec 2006
    Location
    Third rock from the sun.
    Posts
    2,510
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    That is smart, a DTM of his head...

    Plus, DTMs are all too easy to make and operate.

    I used to have a hard time with DTMs and Bitmaps... Not anymore

    I guess that shows ya how far you've gotten, right?

    I used to have trouble with finding and clicking on a color

    Not anymore.

  5. #5
    Join Date
    Feb 2007
    Posts
    3,616
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i didn't think you could make DTM's of things on the screen, because the angle of everything changes doesen't it? i thought you could only do things like in your inventory or bank because they don't change? that idea sounds great, i just didn't know/still don't know it will/would work :P

  6. #6
    Join Date
    Dec 2006
    Location
    Third rock from the sun.
    Posts
    2,510
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    Edit: Nevermind lol

    Got two posts mixed up

  7. #7
    Join Date
    Sep 2006
    Location
    West U.S.
    Posts
    2,172
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Quote Originally Posted by JAD View Post
    i didn't think you could make DTM's of things on the screen, because the angle of everything changes doesen't it? i thought you could only do things like in your inventory or bank because they don't change? that idea sounds great, i just didn't know/still don't know it will/would work :P
    thats what i thought too...

    and its true...

    i couldnt make a working DTM of the shop keepers head...

    if someone can do it can they post it here...

    im having trouble with this...

    They are sisters...
    Runescape Classic

  8. #8
    Join Date
    Feb 2007
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    {.include srl/srl.scar }

    function SpotShopKeeper: Boolean;  
    var
      iX, iY, C, Color: Integer;

    begin
      if not LoggedIn then
        Exit;
      Color := 3038087;
      repeat
        Wait(50);
        iX := MSCX;
        iY := MSCY;
        if FindColorSpiralTolerance(iX, iY, Color, MSX1, MSY1, MSX2, MSY2, 4) then
        begin
          MMouse(iX, iY, 0, 0);
          Wait(10);
          if IsupTextMulti('Talk', 'llis', 'alk-to') then
          begin
            Mouse(iX, iY, 0, 0, False);
            if not FindText(Ix, Iy, 'Fo', upchars, msx1, msy1, msx2, msy2) then
            begin
              Result := ChooseOption(iX, iY, 'Trade');
              if Result then
                Exit;
            end;
          end;
        end;
        C := C + 1;
      until C > 5;
      Wait(4000);
      if not LoggedIn then
        Exit;
    end;

    function FindShopkeeper: boolean;
    var
      I, Z, Ix, Iy: integer;
    begin
      if not LoggedIn then
        Exit;
      for I := 0 to 7 do
      begin
        Result := SpotShopkeeper

        if Result = True then
        begin
          Flag;
          exit;
        end
        else
        begin
          ChooseOption(iX, iY, 'ancel');
          wait(100);
          Z := Random(4) + 1;
          case (Z) of
            1: MakeCompass('E')
              2: MakeCompass('S')
              3: MakeCompass('W')
              4: MakeCompass('N')
          end;
        end;
      end;
      Writeln(' ShopKeeper not found ')
        Logout;
      Nextplayer(true)
        exit;
    end;

    begin
     SetUpsrl
     FindShopkeeper
    end.


    SpotShopKeeper stoled from Wizzups ess miner + My noobishing function FindShopkeeper
    Dont forget to add my and zups name when you public it

  9. #9
    Join Date
    Feb 2007
    Posts
    215
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    in my draynor willow chopper script i made a DTM of the bank booth. It finds the booth in 1 click every time. As long as you arent placed like in the corner (which never happens because I'm a banker finding genius) it finds it provided the compass is west. DTM's are extremely useful.
    A common mistake people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.
    -Douglas Adams

  10. #10
    Join Date
    Sep 2006
    Location
    West U.S.
    Posts
    2,172
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Quote Originally Posted by ReyMen View Post

    SpotShopKeeper stoled from Wizzups ess miner + My noobishing function FindShopkeeper
    Dont forget to add my and zups name when you public it
    ok thanks and i hope it works!

    They are sisters...
    Runescape Classic

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Help with clicking?
    By Kyle Undefined in forum OSR Help
    Replies: 20
    Last Post: 11-12-2008, 07:17 AM
  2. clicking on an npc
    By patman16 in forum OSR Help
    Replies: 3
    Last Post: 07-29-2008, 03:19 PM
  3. Dmt clicking help
    By MetalancA in forum OSR Help
    Replies: 7
    Last Post: 06-11-2008, 04:06 AM
  4. Not Clicking :(
    By skilld u in forum OSR Help
    Replies: 23
    Last Post: 06-09-2008, 10:20 PM
  5. Clicking
    By axel23 in forum OSR Help
    Replies: 3
    Last Post: 04-17-2007, 06:58 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
  •