ziggie Posted June 5, 2006 Share Posted June 5, 2006 Hi I'm working on small auto-heal bot for "Fly For Fun" mmorpg but the problem is that i cannot check the colour (PixelGetColor) at specified position because i always get 0 (zero). It works fine with other windows apps like firefox but it doesn't work with that game (i run it in windowed mode, it uses directx9). I wonder if it's specific problem of my hardware (acer laptop, intel somethin graphics) or is it general problem for dx9 games? Is there a way to fix it? Many thanks in advance for your help Link to comment Share on other sites More sharing options...
Bert Posted June 5, 2006 Share Posted June 5, 2006 What happens when you use the AutoIt window info tool? Can it get the color of the pixel? The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
ziggie Posted June 5, 2006 Author Share Posted June 5, 2006 What happens when you use the AutoIt window info tool? Can it get the color of the pixel?Nope, it returns 0 Link to comment Share on other sites More sharing options...
Bert Posted June 5, 2006 Share Posted June 5, 2006 hmmmm....It may be something you can't get. What is the name of the game? Fly for Fun? Who makes it? The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
ziggie Posted June 5, 2006 Author Share Posted June 5, 2006 hmmmm....It may be something you can't get. What is the name of the game? Fly for Fun? Who makes it?http://flyff.gpotato.com/They have gameguard but i managed to go around it at least for keystrokes.. Link to comment Share on other sites More sharing options...
Simucal Posted June 5, 2006 Share Posted June 5, 2006 Gameguard blocks the get pixelcolor api. AutoIt Scripts:Aimbot: Proof of Concept - PixelSearching Aimbot with several search/autoshoot/lock-on techniques.Sliding Toolbar - Add a nice Sliding Toolbar to your next script. Click the link to see an animation of it in action!FontInfo UDF - Get list of system fonts, or search to see if a particular font is installed.Get Extended Property UDF - Retrieve a files extended properties (e.g., video/image dimensions, file version, bitrate of song/video, etc) Link to comment Share on other sites More sharing options...
ziggie Posted June 6, 2006 Author Share Posted June 6, 2006 Gameguard blocks the get pixelcolor api.But why I can press PrintScreen (when I have focus on desktop) and it grabs all pixels from the game but AutoIt cannot grab them? Maybe I can somehow access that screenshot from AutoIt? regards,ziggie Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted June 6, 2006 Moderators Share Posted June 6, 2006 But why I can press PrintScreen (when I have focus on desktop) and it grabs all pixels from the game but AutoIt cannot grab them? Maybe I can somehow access that screenshot from AutoIt? regards,ziggieMight take a look at LazyCats Screen Capture Utility if your going to go down that road. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Nomad Posted June 6, 2006 Share Posted June 6, 2006 But why I can press PrintScreen (when I have focus on desktop) and it grabs all pixels from the game but AutoIt cannot grab them? Maybe I can somehow access that screenshot from AutoIt? regards,ziggie Possibly, but with the time it would take to take a screenshot and get the pixelcolor from it, it wouldn't be very effective and you could possibly be dead before you even got a reading. My advice would be to find the memory address that holds the health value and read it directly from the memory. It is a lot faster than doing a PixelGetColor even if u could read the pixels on the screen and it is 100% accurate. I've never played the game, but Cheat Engine might work to get the address you need. If not then maybe this isn't a good idea for you unless you have experience using a debugger. Other than that, I can't think of any other options. Nomad 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