Quote:
Originally Posted by pureleech
what r u using? anyone knows an auto press key that only works kn a certain window? so when i bot my charcter i can use my pc to do other stuffs
|
The game is using DirectInput to monitor key events.
simulating key events in this game when the game is not focused requires a DirectInput hook.
and that hook needs to be quite specific. you need a DLL that will be made specifically for AK.
why? I won't get into much details, but.. the game pretty much unacquires and releases the devices (keyboard/mouse) when losing focus.
and it re-creates new ones when it regains focus.
also, it is not using GetDeviceState to monitor key events like most games do, it is using GetDeviceData.
I have already worked on all the needed hooks during the CBT and made it so you could use custom user window messages to feed the game with data.
so it can pretty much work with any programming language that support the SendMessage/PostMessage API (which is almost any language out there).
I really wanted to release it in an AK section but it's been too long and we still don't have one.
so I guess I'll just release it on the general forums sometime next week or so..
I just need to fine-tune a few things before I do. and maybe write a simple bot as an example as well.