Results 1 to 3 of 3

Thread: Botcheck

  1. #1
    Join Date
    May 2008
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Botcheck

    Hello,

    Could someone revise this script and tell me what's wrong with it please?

    It compiles but it does nothing

    Anyaways, here it is:

    SCAR Code:
    program New;
    {.include SRL/SRL.scar}
     var
      x, y, font, mask: integer;
      Green: string;
     begin
      font:=LoadCharsFromFont2('calibri', 11, true, false, false, false);
      Mask:=CreateBitmapMaskFromText(Green, font)// Green text
      If(FindBitmapMaskTolerance(Mask, x, y, 820, 282, 857, 297, 0, 10))then
       begin
        WriteLn('found');
         FindColor(x, y, 974878,737,310,943,366)// Green Color
       wait(100)
        mouse(x,y,5,5, true);
       end;
    end.

    Here is the botcheck it is associated with:
    http://img153.imageshack.us/img153/7...uredonevx1.jpg


    Thanks in advance,
    Noobmaster

  2. #2
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

  3. #3
    Join Date
    Jan 2008
    Location
    Stanford, CA
    Posts
    329
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    You should probably say what you are trying to do with this function. If you are trying to find Text somewhere you should probably use (IsUpText) if its an uptext or a FindText or FindTextTPA function to find the certain text you want.

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
  •