hactar Posted April 3, 2008 Share Posted April 3, 2008 I'm trying to determine the color of a pixel via PixelGetColor in a directX window (eve online - trinity edition to be precise). When I try to do so in Vista64 with aero turned on it always returns 0 when the directX window is active. If I turn off aero then PixelGetColor returns whatever is under that directX window (eg the window below or if nothing is below the desktop background) instead of the directX windows color at that pixel. Anyone have any idea of whats going wrong and if there is any way of fixing this? (I tried the latest stable and the latest beta to no avail). Link to comment Share on other sites More sharing options...
bogQ Posted April 3, 2008 Share Posted April 3, 2008 (edited) Anyone have any idea of whats going wrong?Game probably have protection... gameguard, pink buster... or some other anticheat program >_> Edited April 3, 2008 by bogQ TCP server and client - Learning about TCP servers and clients connectionAu3 oIrrlicht - Irrlicht projectAu3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related) There are those that believe that the perfect heist lies in the preparation.Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost. Link to comment Share on other sites More sharing options...
hactar Posted April 4, 2008 Author Share Posted April 4, 2008 I'm afraid thats not it. I tried the exact same script with Windows XP sp2 and it worked fine, there are also scripts for eve online that use pixelgetcolor and work. I've tried running the script as admin, the game as admin, , the script or game in windows xp sp2 compatibility mode, the 64 bit version of autoit, etc and the result is always the same, pixelgetcolor appears not to see the directx window and instead tells me the pixelcolor of what ever is under the directx (eve online) window. Any further ideas? Link to comment Share on other sites More sharing options...
hactar Posted April 4, 2008 Author Share Posted April 4, 2008 To add more information, I've continued testing the vista 64 computer and found that pixelgetcolor does not work with Team Fortress 2 and Eve - Online, it does however work with Warcraft 3, which is also a directX game... Maybe its related to the directX version the game is using? Link to comment Share on other sites More sharing options...
Siflou Posted October 19, 2011 Share Posted October 19, 2011 did you fix your problem ? I got the same problem ! Link to comment Share on other sites More sharing options...
Developers Jos Posted October 19, 2011 Developers Share Posted October 19, 2011 (edited) Youve seen the date on the post before yours? Edited October 19, 2011 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Morthawt Posted October 20, 2011 Share Posted October 20, 2011 You could try taking a screenshot of the screen you want to get a colour from and then display it on the screen and scan that image for the colour? Not sure if it will work but its about the best idea I have. Free and easy Autoit scripting video tutorials (plus more videos always coming!) General video tutorials, especially correct and safe TeamSpeak permissions tutorials. Link to comment Share on other sites More sharing options...
FastFrench Posted October 21, 2011 Share Posted October 21, 2011 (edited) You may also have a look on this : Edited October 21, 2011 by FastFrench Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now