Brandon
2011-12-26 18:34:25
When searching for objects on the minimap such as a ladder, there is a huge problem…
It will find the brown colour.. but it will not find it "On the minimap" instead.. it finds such an object in this SQUARE:

Thus it will sometimes click North on the compass or click the brown area AROUND what I would consider the mini"Map".. which is actually this:

Now see the difference? It will now find objects Inside this area.. which is exactly 152px in diameter.. where as the latter is a 165 px sq.
Why isn't the second used when searching in minimaps..
For example:
FindBitmapToleranceIn(Bmp, X, Y, MMX1, MMX2, MMY1, MMY2, tol) will actually search within a square for the bitmap rather than in that circle :S
It will find the brown colour.. but it will not find it "On the minimap" instead.. it finds such an object in this SQUARE:

Thus it will sometimes click North on the compass or click the brown area AROUND what I would consider the mini"Map".. which is actually this:

Now see the difference? It will now find objects Inside this area.. which is exactly 152px in diameter.. where as the latter is a 165 px sq.
Why isn't the second used when searching in minimaps..
For example:
FindBitmapToleranceIn(Bmp, X, Y, MMX1, MMX2, MMY1, MMY2, tol) will actually search within a square for the bitmap rather than in that circle :S