Print Screen Detector

Need Help With an Existing Feature in Memory Hacking Software? Ask Here

Moderators: g3nuin3, SpeedWing, WhiteHat, mezzo

Print Screen Detector

Postby trialusert » Sat Aug 15, 2009 3:16 am

Is there a way to detect whether a screenshot from your computer is being taken? The game I'm playing takes a screenshot from each player and reveals wallhacks. I want to "catch" the printscreen action and disable all visuals (such as wallhacks) when the screenshot it taken...
User avatar
trialusert
NULL
 
Posts: 155
Joined: Tue May 20, 2008 6:19 pm

Postby L. Spiro » Sat Aug 15, 2009 6:14 am

Since the screenshit feature is part of the game you will need to find the function and hook it.


L. Spiro
Our songs remind you of songs you’ve never heard.
User avatar
L. Spiro
L. Spiro
 
Posts: 3129
Joined: Mon Jul 17, 2006 10:14 pm
Location: Tokyo, Japan

Postby trialusert » Sat Aug 15, 2009 7:25 am

Can you give me some direction on how to fins that function? I can't think of anything...
User avatar
trialusert
NULL
 
Posts: 155
Joined: Tue May 20, 2008 6:19 pm

Postby L. Spiro » Sat Aug 15, 2009 7:45 am

At the end of the game loop it will present the screen every frame. The function for doing this varies per graphics API (IDirect3DDevice9::Present() or ::SwapBuffers()).

When printing a screen, there will most likely be a flag that it checks immediately after presenting the backbuffer.
If the flag is set, it will copy the backbuffer from this point and send it over the network.


L. Spiro
Our songs remind you of songs you’ve never heard.
User avatar
L. Spiro
L. Spiro
 
Posts: 3129
Joined: Mon Jul 17, 2006 10:14 pm
Location: Tokyo, Japan

Postby trialusert » Sat Aug 15, 2009 8:16 am

Great, I love you.
User avatar
trialusert
NULL
 
Posts: 155
Joined: Tue May 20, 2008 6:19 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 0 guests