Results 1 to 4 of 4

Thread: GetTextAtEx help, please :)

  1. #1
    Join Date
    Jan 2007
    Location
    Nomming bits in your RAM
    Posts
    385
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default GetTextAtEx help, please :)

    Well, I know what to do for GetTextAtEx, however I do not know what do to for pre-loaded texts.

    For example, if I wanted to use smallchars for "Chars" in GetText- what would I do? smallchars is pre-loaded in to SCAR (Loaded all chars. (NPCChars, TradeChars, SmallChars, StatChars, UpChars) is showed), so I don't get an integer identifier for smallchars.

    Any help would be appreciated. I can include a code snippet if needed.

    Thanks
    ~Macro~
    Current Project: Catching up. XD. Potentially back for the summer, depending on how things go.

  2. #2
    Join Date
    Dec 2006
    Location
    Banville
    Posts
    3,914
    Mentioned
    12 Post(s)
    Quoted
    98 Post(s)

    Default

    Hmm... Are you trying to create a bitmap mask to search for out of a character set?

    Or are you searching for a word with GetTextAtEx? If thats the case, I'm pretty sure it's automatic.
    The jealous temper of mankind, ever more disposed to censure than
    to praise the work of others, has constantly made the pursuit of new
    methods and systems no less perilous than the search after unknown
    lands and seas.

  3. #3
    Join Date
    Jan 2007
    Location
    Nomming bits in your RAM
    Posts
    385
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by R0b0t1 View Post
    Hmm... Are you trying to create a bitmap mask to search for out of a character set?

    Or are you searching for a word with GetTextAtEx? If thats the case, I'm pretty sure it's automatic.
    I'm trying to find a number on the main RuneScape screen with GetTextAtEx.
    SCAR Code:
    function GetTextAtEx(x, y: Integer; Tolerance: Integer; [COLOR="Red"][B]Chars[/B][/COLOR]: Integer; CheckShadow, CheckOutline: Boolean; MinSpacing, MaxSpacing: Integer; TextColor: Integer; TextLength: Integer; Strict: Boolean; Range: TCharRange): string;

    ^^ That's what it says in the F1 menu of SCAR. I'm curious about the red part. What would I put there if the text is preloaded? 0? 1? 2747321612?

    If no one knows, I'm assuming that SmallChars is an integer that holds the number that is meant to represent the set of small chars.

    Thanks for your help, though!
    Current Project: Catching up. XD. Potentially back for the summer, depending on how things go.

  4. #4
    Join Date
    Dec 2006
    Location
    Banville
    Posts
    3,914
    Mentioned
    12 Post(s)
    Quoted
    98 Post(s)

    Default

    Oh. Shoot me.
    The jealous temper of mankind, ever more disposed to censure than
    to praise the work of others, has constantly made the pursuit of new
    methods and systems no less perilous than the search after unknown
    lands and seas.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. GetTextAtEx
    By batnas in forum OSR Help
    Replies: 4
    Last Post: 02-03-2008, 12:58 PM
  2. Trimming and GetTextAtEx help..
    By itSchRis917 in forum OSR Help
    Replies: 9
    Last Post: 07-30-2007, 05:20 PM
  3. gettextatex?
    By jhildy in forum OSR Help
    Replies: 11
    Last Post: 06-04-2007, 12:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •