Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Struggling with _PixelSearch
#5
(02-11-2015, 12:10 AM)Henk500 Wrote:  I had some issues to... the x coordinate was not the coordinate i expected.
in my screenshot, $x=1 was the 3rd pixel.. I expected $x=1 to be the 2nd pixel ( and $x=0) the first pixel

I can understand that. There is a bit of an offset with the coordinates. But I gave it a decent sized search area with the pixel I am looking for just about in the middle of the box.

Code:
Local $TrainPos = _PixelSearch(625, 457, 686, 520, Hex(0x885733, 6), 5)

Here is my top left coordinates:
[Image: rZmnySe.png]

And here is my bottom right:
[Image: s0klVtR.png]

Do I have the coordinates wrong in the function call?
Reply
 


Messages In This Thread
Struggling with _PixelSearch - by Snarg - 02-10-2015, 01:56 PM
RE: Struggling with _PixelSearch - by Henk500 - 02-10-2015, 04:47 PM
RE: Struggling with _PixelSearch - by Snarg - 02-10-2015, 11:32 PM
RE: Struggling with _PixelSearch - by Henk500 - 02-11-2015, 12:10 AM
RE: Struggling with _PixelSearch - by Snarg - 02-11-2015, 12:21 AM
RE: Struggling with _PixelSearch - by safar46 - 02-11-2015, 02:31 AM
RE: Struggling with _PixelSearch - by Snarg - 02-11-2015, 03:33 AM
RE: Struggling with _PixelSearch - by Snarg - 02-11-2015, 03:52 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)

About The Bytecode Club

We're a community forum focused on Reverse Engineering, we try to target Java/Android but we also include other langauges/platforms. We pride ourselves in supporting and free and open sourced applications.

Website