Jump to content
Sign in to follow this  
Drchubby

Logging keys after certain combinations...

Recommended Posts

Drchubby

Hi, im trying to make a program that will run completely in the background.

It checks packets sent from a game to the server. Normal users shouldn't be allowed to see the output of the programme thus i want it to run in background.

The only problem is getting this programme to maximize. I dont want to use normal hotkeys.

I want the user ( me ) to press for example the dot button ( . ) and that the programme then starts to log keystrokes. Then u have to type a password.

and press the dot again. This would then be verified to see whether or not it is the pass and the program will appear...

however, im confused as what to do about logging. Because the keys still have to go to the game, i cant use hotkeys since it blocks the key inputs. Send also doesnt work ( the game blocks it ).

Does anyone have an idea?

Btw i know u guys hate loggers, if anyone could just give me an idea where to start, i wont involve this community any further in this project. And besides im not trying to make a mainstream logger, just a pass verifier. If anyone has any other ideas to bring up the program, tell me. Im up for any other alternatives....

Share this post


Link to post
Share on other sites
TehWhale

_IsPressed() Checks if the key is pressed, BUT it still sends it to the focused window. :)

Share this post


Link to post
Share on other sites
Drchubby

does it send the keystroke to the window by using send or doesnt it interfere in any way?

edit:

thnx, this works great :)

Edited by Drchubby

Share this post


Link to post
Share on other sites
TehWhale

does it send the keystroke to the window by using send or doesnt it interfere in any way?

Nope, it just tells you if it was pressed but keeps doing it as normal as if you typed it.

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.