Jump to content

Pixel detection with game guard


 Share

Recommended Posts

Hi

I play a game that I cannot use the function Pixelsearch to get the pixel color of the screen.

Its a game guard protection.

So I have to take a screenshot (using Dllcall) and open the bitmap file to analyze it.

The problem is that it takes TOO long using the library provided by eviltoaster

(http://www.autoitscript.com/forum/index.php?showtopic=27362&hl=bitmap)

It takes more than 30min to open a screenshot of size 1024x768.

Anyone has another library that reads BMP faster ?

Or a direct call from a DLL.

Or any ideias....

Thanks :whistle:

Link to comment
Share on other sites

Hi

I play a game that I cannot use the function Pixelsearch to get the pixel color of the screen.

Its a game guard protection.

So I have to take a screenshot (using Dllcall) and open the bitmap file to analyze it.

The problem is that it takes TOO long using the library provided by eviltoaster

(http://www.autoitscript.com/forum/index.php?showtopic=27362&hl=bitmap)

It takes more than 30min to open a screenshot of size 1024x768.

Anyone has another library that reads BMP faster ?

Or a direct call from a DLL.

Or any ideias....

Thanks :whistle:

30min to open a pic? Efficient LOL

www.itoady.com

A* (A-star) Searching Algorithm - A.I. Artificial Intelligence bot path finding

Link to comment
Share on other sites

Wait... Take a screenshot using a DllCall.

Why not make a screenshot of the pixel you want, and open that? That would take like 200ms in total. :|

Im taking screenshot with DLLCall.

The problem is that I dunno where the pixel is, so I must search it in all the picture image.

Link to comment
Share on other sites

It would be interesting to know how gameguard is blocking the testing of pixel color. Maybe it is device context specific or even specific just to the pixel getter routine your using. So if you used a DC for the desktop window it might work? Or a bitmap capturing routine that only grabs 1 pixel?

These games using "RootKits" to block API calls are just nuts IMO...

Edited by KalInEx
Link to comment
Share on other sites

It would be interesting to know how gameguard is blocking the testing of pixel color. Maybe it is device context specific or even specific just to the pixel getter routine your using. So if you used a DC for the desktop window it might work? Or a bitmap capturing routine that only grabs 1 pixel?

These games using "RootKits" to block API calls are just nuts IMO...

I cannot grab 1 pixel because I dunno where that pixel is, so I must search the entire picture for a certain color.

Im using DllCall to get the screenshoot and save to a bmp file, and its working fine and fast.

The problem is to open it and look inside 1024x768 pixels.

I think I need a DLL function that do that faster, but it seems many people are looking for it and dont find.

Thx

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...