Results 1 to 3 of 3

Thread: How can I find this text?

  1. #1
    Join Date
    Apr 2007
    Location
    Finland
    Posts
    938
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default How can I find this text?

    Well the topic says it all

    How could I make Scar find that? (When banking, withdraw X)
    I tried FindText, FindChatText, FindNpcChatText (all I knew )

    Or do I need to do my own BMP of that?

    I would really appreciate help

  2. #2
    Join Date
    Jun 2006
    Location
    USA
    Posts
    1,828
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Alright here:
    SCAR Code:
    program New;
    {.include srl/srl.scar}
    var
     DaMutherfuckingText:Integer;
    begin
    SetUpSRL;
    DaMutherfuckingText:=CreatebitMapMaskFromText('Enter amount',UpChars)
    if(FindBitMapMaskTolerance(DaMutherfuckingText,x,y,0,0,MSX2,MSY2,40,45))then
     Mouse(x,y,15,5,True)
    end.
    Tried it on your picture and it worked fine.
    CreatebitMapMaskFromText('Enter amount',UpChars) Creates the text for bitmapmask using upchars(=font for that text).

    also, change the coords (0,0,MSX2,MSY2) in FindBitMapMaskTolerance(DaMutherfuckingText,x,y,0,0,MSX2,MSY2,40,45))
    To make it find it faster.

  3. #3
    Join Date
    Apr 2007
    Location
    Finland
    Posts
    938
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. find text
    By elobire in forum OSR Help
    Replies: 8
    Last Post: 12-13-2008, 04:28 PM
  2. How do I find text?
    By Dudenow12 in forum OSR Help
    Replies: 6
    Last Post: 11-13-2007, 12:44 AM
  3. what is the best way to find chat text
    By jhildy in forum OSR Help
    Replies: 7
    Last Post: 05-20-2007, 09:57 PM
  4. until find text
    By macromacro123 in forum OSR Help
    Replies: 3
    Last Post: 03-17-2007, 09:52 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
  •