How can i send clicks and keystrokes to minimized game window?

#1

I want to make my own bot for a mmorpg called Perfect World, i already know that i need to know programming, and i was trying to make it with autoit, but there is no way to send clicks and keystrokes to a minimized window(game window), so i was wondering if someone with bot programming experience could help me with that, i will be very thankful :wink:

0 Likes

#2

hello and welcom in project hax forum =) i hop some coder can help you i send to you one link from another forum who talking about Perfect Word
have fun and good luck :stuck_out_tongue:

1 Like

#3

Ryan knows alot more than i do about bots but here are my 2 cents: every client has to communicate with the server, theres no way around it! . If you catch the communication you could attempt analyzing it, though it will take alot of time to do so, especially cause every developer will use his own system to do so.
but once you understood how client/server communication works you can start faking a client which will be the bot in this case. But you will need alot of programming experience cause most games have anticheat software which makes it really hard to create a bot for a game. The rest will be being creative on what you can do with the information you got. Some things will be possible others wont be.

1 Like

#4

You can use SendMessage to send mouse clicks and key strokes to a window. If the game has some kind of anti cheat it will block it.

1 Like

#5

Oh, thanks for the answer Ryan, but is this SendMessage for c++ or other language?

0 Likes

#6

Also, what programming language do you recommend me use for the bot?

0 Likes

#7

It’s part of the Windows API so you should be able to use it with any language. C++ and C# are good choices.

1 Like

#8

Oh, this is great, i was about to start learning c# and this will motivate me even more now, thank you so much Ryan :wink:

0 Likes