Results 1 to 8 of 8

Thread: Finding NPCs

  1. #1
    Join Date
    Sep 2006
    Location
    Canada
    Posts
    1,124
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default Finding NPCs

    I only have to find one NPC, but his clothing is bland and nothing sticks out and I was wondering which way was the best way to find this NPC.

  2. #2
    Join Date
    Sep 2008
    Location
    Not here.
    Posts
    5,422
    Mentioned
    13 Post(s)
    Quoted
    242 Post(s)

    Default

    which npc is it... post a picture of it, it helps alot!

  3. #3
    Join Date
    Sep 2006
    Location
    Canada
    Posts
    1,124
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default



    He walks around so sometimes you see a different angle of him.

  4. #4
    Join Date
    Dec 2007
    Posts
    2,112
    Mentioned
    71 Post(s)
    Quoted
    580 Post(s)

    Default

    get his hair color or skin color

  5. #5
    Join Date
    Sep 2006
    Location
    Canada
    Posts
    1,124
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by pur3b100d View Post
    get his hair color or skin color
    His hair and skin doesn't work.

  6. #6
    Join Date
    Mar 2007
    Posts
    1,700
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    You could use reflection

  7. #7
    Join Date
    Sep 2006
    Location
    Canada
    Posts
    1,124
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by lordsaturn View Post
    You could use reflection
    Lol I just tried this. I got nowhere.

  8. #8
    Join Date
    Sep 2006
    Location
    include srl/srl.scar ( aussie)
    Posts
    2,875
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Give this a try:

    SCAR Code:
    program New;
    {.include SRl/SRl.scar}



    function FindGuy(var x,y: integer): Boolean;
    var
      z,cts,I : Integer;
      TPA: TPointArray;  
      TP : TPoint;    
      D2TPA: T2DPointArray;
      TPAA: Array Of TPointArray;

    begin    
      Result:= False;
      SetAngle(True);
      cts := GetColorToleranceSpeed;
      ColorToleranceSpeed(cts);  
      FindColorsSpiralTolerance(628,428, TPAA[I], 4147023, MSX1 , MSY1 , MSX2 , MSY2 , 3);  
      TPA := CombineTPA(TPAA[0], TPAA[1]);
      if not Length(TPA) <> 0 then
        Exit;  
      D2TPA:= TPAtoATPAEx(TPA,8,8);    
      SortATPASize(D2TPA, true);
     
      for z:= 0 to length(D2TPA) - 1 Do  
      begin                        
        TP:= MiddleTPA(D2TPA[Z]);  
        x := TP.x;                
        y := TP.y;                
        MMouse (x, y, 3, 3);        
     
        if IsUpText('alk') then
        begin                      
          GetMousePos(X, Y);        
          Result := True;      
          Exit;    
        end;
     
        Wait(350+random(350));
      end;            
      Result := False;    
    end;



    begin
      SetupSRL;
      if FindGuy(x,y) then
       Writeln('FindGuy Found')
    end.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Talking to Npcs
    By 0lumpy in forum OSR Help
    Replies: 4
    Last Post: 01-17-2009, 04:56 AM
  2. Replies: 3
    Last Post: 09-23-2008, 03:37 AM
  3. Finding a net
    By 3Garrett3 in forum OSR Help
    Replies: 2
    Last Post: 03-25-2007, 03:16 PM
  4. Finding NPCs
    By 3Garrett3 in forum OSR Help
    Replies: 11
    Last Post: 03-14-2007, 04:56 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
  •