Sending fake key events to MMORPG GAME
Hello guys i have recently ran into some problem about sending key events to a game without it being focused...
i have Googled and found lots of ways to send key input however in my case it didn't work.
however i have found a way to send the keys to the window with it being focused using
AC TOOL(which is written in Delphi) but i want to send the key event during me being out of the window and playing another game.
some bookmarks of the digging i done in Google. and many more i have checked at least up to page 4 or 5 which all turned out to not working. The language of my choice is c/c++/c# because i learn these at languages at uni mostly.
Code:
http://www.elitepvpers.com/forum/c-c/1649391-how-send-keystrokes-game.html
http://forum.gpwiki.org/viewtopic.php?t=3847
http://social.msdn.microsoft.com/Forums/en/vbgeneral/thread/ed2358fe-e6f8-4a28-b0ef-0549af609f72
http://www.codeproject.com/Articles/6819/SendKeys-in-C
edit if any of them is counted as advertisement mods thanks..
The game that im trying target is Hero Online. the reason i want this is to make a AFK pet train bot. while
im playing League of legends. the other reason for this is because if you don;t feed your pet after some time
it would run away as in the pet will be gone forever.
Any kind of useful help would be appreciated.
Quote:
Thanks and stay tuned for my Adobe Flash Game Development tutorials...
im just cropping images and its all going to be in PDF format.
Sending fake key eventos to MMORPG GAME
English google translate:
Good day, try to get a pointer 1 = focused window, 0 = no window focused, example:
let the focused window to pause, look for one in the EC, take the pause take the window focus and search for 0, go doing until a few leftovers address, and then make the pointer, and his trainer type that the pointer value 1 before send key events.
---------------------------------------------------------------------------------------------------------------------
Bom dia, tente pegar um pointer 1 = janela focada, 0 = janela nao focada, exemplo:
deixe a janela focada pause, procure por 1 no CE, tire o pause tire o foco da janela e procure por 0, va fazendo ate sobrar poucos address, e depois fassa o pointer, e no seu trainner escreva nesse pointer o valor 1 antes de enviar os key events.