Blue Eye Macro
http://blueeye-macro.com/

Pixel pattern a bit off
http://blueeye-macro.com/viewtopic.php?f=122&t=2434
Page 1 of 1

Author:  Thedragonfiend [ Sun Oct 23, 2011 1:11 am ]
Post subject:  Pixel pattern a bit off

Ok now basically in EE i make a pixel pattern for the revive window made out of all the black puxels in the words revive here it get the coords wrong though if i leave it as is it clicks towards the top left of the window and if i calculatebit to absolute coordonates it clicks above revive here i dont have the cide on me so will have to post later but anywho.

Author:  Gigus [ Sun Oct 23, 2011 1:44 am ]
Post subject:  Re: Pixel pattern a bit off

When searching for pixel patterns you can specify whether you want BE to return the location of the first pixel in the pattern, or the average (center) of all pixels in the pattern.

If its still off, try disabling DirectX capturing inside BE settings.

Author:  Thedragonfiend [ Sun Oct 23, 2011 2:40 am ]
Post subject:  Re: Pixel pattern a bit off

Just a question whatwould disabling directx capturing do to help? Just a bit curious. Anyhoo ive made a bypass for now by adding 20 pixels to the y variable to bring it down to the correct location.

Author:  Gigus [ Sun Oct 23, 2011 2:57 am ]
Post subject:  Re: Pixel pattern a bit off

if its 20 pixels off im almost 100% certain the problem will go away if you disable DirectX capturing.

And this is why.

BE monitors the screen by accessing screen data through the windows API's. However some games cannot be screen dumped using these API's.

These games can only be "screen dumped" by grabbing a copy of what is currently in the DirectX backbuffer.
The main difference between these two screen dumps though is that the title bar of the window wont be present in the DirectX screen dump (which is roughly 22 pixels in height), since its not stored in the DirectX backbuffer.

By disabling DirectX capturing, you force BE to rely only on the windows API's, in some games this will give you a black screen back, but for most, it will work just fine.

Whenever BE needs to know whats on your screen, it first checks if the window currently top most has the directX dll's loaded, if it has it attempts to retrieve a screen dump from the directX backbuffer, if it fails it tries the windows API's.

I hope that made at least a bit of sense.

Author:  Thedragonfiend [ Sun Oct 23, 2011 3:04 am ]
Post subject:  Re: Pixel pattern a bit off

Ty i will try just that then you are as helpfullbas ever.

Author:  Thedragonfiend [ Sun Oct 23, 2011 3:51 am ]
Post subject:  Re: Pixel pattern a bit off

Thx it worked like a dream. The only way to make it better would be if someone completed that ocr plugin making it flexible like most of the code.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/