1) Try making you bitmaps simple maybe 5X5 pixel maximum
2) To see what a bitmap looks like,
Copy the pink characters,
Click Tools>String to picture
Paste the pink chracters at bottom
and enter the width and legth
Example:
'feb', 'fwb': TheCounter := BitmapFromString(1, 10, '6C583296897A948779948779736' +
'C63A59E968C7F6F9686749B8A7685663E');
copy paste this:
'6C583296897A948779948779736' +
'C63A59E968C7F6F9686749B8A7685663E'
Length is 1, width is 10
As for what it does, it bascilly just looks for the bitmap, adding tolerance, and spiraling out from different areas of the screen so it searches all over.
3)
Well hers a line from openbankquiet:
SCAR Code:
FindDeformedBitmapToleranceIn(TheCounter, dx, dy, MSX1 + 50, MSY1 + 50, MSX2- 50, MSY2 - 50, tol, 4, True, acc);
The Counter=Bitmap Name
Dx,DY=x,y (the cords where it is found)
MSX1 + 50, MSY1 + 50, MSX2- 50, MSY2 - 50= Seraching box
Tol=Tolerance
4= Range as the scar manual says
If range is 0, it checks pixels at positions that match bitmap we are looking for; if Range ir 1, it checks neighbor pixels as well, if range is bigger, it checks further
True= Partial Acuracy (leave it at tue)
Acc= You just need it, make it an extended variable at the top of your script.
Tell us if you need more info =)