Results 1 to 3 of 3

Thread: Can't click a npc

  1. #1
    Join Date
    Mar 2015
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default Can't click a npc

    Code:
    program test;
      {$DEFINE SMART}
      {$i reflection/Reflection.simba}
    
    
    
    procedure openShop;
    var
      Lowe: tReflectNpc;
      point: tPoint;
    
    begin
        if Lowe.Find('Lowe') then
        begin
          Point := Lowe.GetMsPoint;
          Reflect.Mouse.Move(Point, 2, 2);
          Reflect.Mouse.Click(MOUSE_LEFT);
        end;
    end;
    
    
    begin
      Reflect.Setup;
      openShop;
    end.

    It always clicks somewhere around the npc, but never clicks it. I tried with other npcs and the same stuff happened (managed to click once out of 20+ tries). Tried with a non moving npc and same results ffs

  2. #2
    Join Date
    Jun 2013
    Location
    Scranton
    Posts
    496
    Mentioned
    5 Post(s)
    Quoted
    220 Post(s)

    Default

    it clicks the tile it is on, so if the npc if always moving then it really won't be accurate unless you make it try again
    also make sure you are on default zoom

  3. #3
    Join Date
    Mar 2015
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by jstemper View Post
    it clicks the tile it is on, so if the npc if always moving then it really won't be accurate unless you make it try again
    also make sure you are on default zoom
    It was the zoom... feeling pretty stupid now lol, thanks very much man! For moving npcs I will use the instant click or speed up the mouse, but it's working now on Lowe.

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
  •