Results 1 to 2 of 2

Thread: Tolerance for Bitmaps and EnableNavBar?

  1. #1
    Join Date
    Dec 2011
    Location
    U.S.A.
    Posts
    635
    Mentioned
    5 Post(s)
    Quoted
    249 Post(s)

    Default Tolerance for Bitmaps and EnableNavBar?

    I just have a few quick questions. Firstly, how much of a tolerance should I use for bitmaps? Secondly, is there an EnableNavBar function that has to do with the game bar that offsets all of the y coords? I have heard talk of one but never actually found it.

  2. #2
    Join Date
    Mar 2007
    Location
    Mars, I thought all men were from Mars.
    Posts
    513
    Mentioned
    7 Post(s)
    Quoted
    124 Post(s)

    Default

    you have to find the tol your self most of the time. A great way to find the tol is to loop threw each one till it finds it

    example
    Simba Code:
    program new;
    var
      bmp, Tol: integer;

    begin
    bmp : 'Your bmp';
    Tol := 0;
    repeat
      inc(Tol)
    until FindBitmapToleranceIn(bmp, x, y, x1, y1, x2, y2, Tol)
    Writeln('Bmp found at Tol ' + IntToStr(Tol));
    end.
    Not scripting for RS anymore, sorry. Banned too many times.
    MY SCRIPTS

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
  •