Silicon powers democratized networking

From home Wi-Fi, to hyperscaler, the ability to access information instantly and to interact immediately with people on the other side of the world is remarkable. Life as we know it today would be very different without high-speed n…

August 16, 2023
Read More >>

Attempting to create a bot. Game filters user32.dll messages

Hello, first time posting here.

Recently i’ve been having fun making bots to automate games. I had my share of fun with single player games and i’ve been trying multiplayer games now. For single player games i simply controlled my mouse and keyboard using pythons scripts, but now i want to do something a little more sophisticated.

I’ve been trying to use user32.dll to send messages to the game process directly controlling it, however, despite being able to do this with other programs, the game refuses to listen.
It seems that it filters messages that don’t directly come from hardware. I used Microsoft’s Spy++ software to attempt to read any messages that interacted with the process, but it’s completely silent.

How can that be? Shouldn’t pressing keys have some kind of message? How does it communicate with the process?

I’ve been stuck on this step for a few days. Any advice? Any place where i can ask this kind of questions more regularly?

submitted by /u/Casca2222
[link] [comments]

August 16, 2023
Read More >>