Results 1 to 5 of 5

Thread: I need help with RS Text Bitmap's

  1. #1
    Join Date
    Jul 2008
    Location
    NSW, Australia
    Posts
    881
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default I need help with RS Text Bitmap's

    Grr Ive basically finished my Gnome Agility Course Runner that.. was the easy part..
    Now I'm having a seriously hard time trying to read ChatText,

    For example I want to read this,


    I tried using all the right variables with them
    GetChatBoxText();
    FindChatBoxText();
    etc etc

    So then I tried making a bitmap for it
    a bit map of the ...
    In experience bitmaps have worked for me like when I made my own p server bot's

    So I made a function to read it and everything:
    Simba Code:
    function WaitBitmapInTol(Name, x1, y1, x2, y2, Tol, WaitPerLoop, MaxTime: Integer): Boolean;
    var
      T: Integer;
    begin
      T := GetSystemTime + MaxTime;
      while (GetSystemTime < T) do
      begin
       if(Findbitmaptolerancein(Name,x,y,x1,y1,x2,y2,Tol))then
        begin
          Result := True;
          Exit;
        end;
        Wait(WaitPerLoop);
      end;
    end;


    I need help with this majorly

    Also another question?
    Simba ignores the black when reading the bitmaps right, is making the text white and the back ground black and using it as a bitmapmask sopost to work?

  2. #2
    Join Date
    Jan 2012
    Location
    Calgary, AB, Canada
    Posts
    1,819
    Mentioned
    5 Post(s)
    Quoted
    120 Post(s)

    Default

    If the text is black then just use FindBlackChatMessage();
    Current Project: Retired

  3. #3
    Join Date
    Jul 2008
    Location
    NSW, Australia
    Posts
    881
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

  4. #4
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    If you screenshot what the text is.. or what your trying to get.. I can prob help.
    I am Ggzz..
    Hackintosher

  5. #5
    Join Date
    May 2008
    Location
    ;)
    Posts
    576
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Make a function telling you what findblackchatmessage is resulting, and pick a segment of text that isn't bugged. But it does work, for sure.

    In fact, here's a sample of black text I just grabbed: "you can access the squeal offortune button again by logging out and backin"

    The only thing it got wrong was the spaces

    e: And it IS case sensitive, just so you know.

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
  •