Results 1 to 5 of 5

Thread: CharsNPC

  1. #1
    Join Date
    Mar 2006
    Posts
    549
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default CharsNPC

    I want to use the characters that are in SRL called, CharsNPC. I am using FindText to find this font, but when i call it, it says, CharsNPC is an unknown identifier... how can I use this font for my script?

    btw, what does allow API calls do?

  2. #2
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    PHP Code:
    function FindNpcChatText(txtString): Boolean
    ByKernel Klink or Stupid3000font by Masquerader 
    Description
    Get last chat message.

    function 
    ClickNpcChatText(txtString): Boolean
    ByKernel Klink or Stupid3000font by Masquerader 
    Description
    :
    Get last chat message



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  3. #3
    Join Date
    Mar 2006
    Posts
    549
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    But i want it to return the coordinates of the message into X, Y.

  4. #4
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    PHP Code:
    function FindNpcChatText2(var Tx,Ty:IntegerxtString): Boolean;
    var
      
    s:integer;
    begin
      s 
    := CreateBitmapMaskFromText(txtnpcchars);
      
    result:=FindBitmapMaskTolerance(sFxFy93485234715010);
      
    FreeBitmap(s);
    end;

    function 
    ClickNpcChatText2(var Tx,Ty:IntegertxtString): Boolean;
    var
      
    s:integer;
    begin
      s 
    := CreateBitmapMaskFromText(txtnpcchars);
      if 
    FindBitmapMaskTolerance(stxty93485234715010then
      begin
         Mouse
    (tx 5ty 800True);
         
    Result:=True;
      
    end;
      
    FreeBitmap(s);
    end
    This?



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  5. #5
    Join Date
    May 2006
    Location
    Australia
    Posts
    370
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Allow API calls lets SCAR call windows functions. (I think)
    ------
    Strong Holder
    Kill Goblins and Zombies in (ex) bot free zones. Loot & Bank. Stable: 1.2b

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
  •