Log in

View Full Version : how to remove Alt+tab protection ?


highfly
December 21st, 2003, 05:36
hi

i got a game which has alt+tab key protection,how to remove?

thanks

Kayaker
December 21st, 2003, 06:19
Hi

You'll first need to determine how it's being done. From what I've read this can be done via a keyboard hook, but is also something specific to DirectX programming, Alt-Tab can be disabled apparently using the DX api SetCooperativeMode. There are even a couple of OS-specific hack ways to do it, but likely aren't used in a game.

Examples of a SetWindowsHookEx keyboard hook to disable Alt-Tab are easy to find, compare the pattern of API's and constants used with your code. I'm sure it could be done via a driver as well so check for that, then there's the DX method if your game uses it.

A little googling research on how such a thing can be accomplished in code should give enough background on the kind of things to look for in your own code. Once you've found the method(s) used then you can think about removing it.

Kayaker

Aquatic
December 21st, 2003, 06:21
Try this: http://dlh.net/getfile.php?66:/gamehacking/misctools/mhtv12.zip

Kayaker
December 21st, 2003, 06:34
Don't take this wrong, I find it slightly amusing, but...

Oh, a game hacking tool. Bah, what's the point of trying to figure it out for yourself? Here I am wasting my time thinking people want to learn...

Aquatic
December 21st, 2003, 06:41
Quote:
[Originally Posted by Kayaker]Don't take this wrong, I find it slightly amusing, but...

Oh, a game hacking tool. Bah, what's the point of trying to figure it out for yourself? Here I am wasting my time thinking people want to learn...


We do want to learn, ...but we can't learn it all overnight.

Kayaker
December 21st, 2003, 06:52
True. And sometimes studying a tool *is* a good way to learn, often the best. Some wouldn't bother if there's an easy way out, but hopefully some dig a bit deeper and do learn.

K.