can SendMessage be fixed by a game?

11/15/2014 21:22 Slade100#1
hi guys, im playing private server of game, and today i started one, now ive tried to use sendmessage, for somelike of a bot, but its not working, the code i use is for sure right, cause ive used that on other servers also... also i did try PostMessage, but same shit happens, is there any way they could fix that? :S or any tipps how i can get it to work?
11/16/2014 20:44 alpines#2
Did you try to run the code with elevated rights? Admin for example.
11/19/2014 02:23 Slade100#3
the code what do u mean, the injector or the game? or something different?^^ anyways ive stoped that server xD
11/21/2014 13:03 MrSm!th#4
Most games use DirectInput instead of Windows messages, hence SendMessage() doesn't achieve anything. Try SendInput(), this function places the input information directly into the system input buffer - no messages are used here.
11/22/2014 15:47 Slade100#5
but the problem was that i needed to send keys to a window which is not in the foreground :D or is it possible to do that with sendinput, cause as far as i know its not
11/22/2014 17:18 MrSm!th#6
No, it isn't. The only option left would be a DirectInput hook then (or directly calling the ingame functions instead of simulating input).
11/22/2014 21:35 Slade100#7
calling the game function wont work cause i need to bypass the hackshield for that, i will inform myself about directintput, lets see how that works , thx
11/23/2014 02:53 MrSm!th#8
You would need to bypass HS for a DirectInput hook as well.
By the way, even if the game used windows messages for input handling, that wouldn't matter anyway, because HS blocks input simulation.

You will need a HS bypass in any case.
11/23/2014 21:45 Slade100#9
as ive told u, im playing on private servers of a game, and sendmessage just didnt work on 1 server
11/23/2014 23:32 MrSm!th#10
The server is not related to the input handling in any way. As long as you use the same client with the same level of protection for both servers, SendMessage() works equally bad or well.
11/24/2014 21:06 Slade100#11
that one server had a better protection probably
11/26/2014 12:26 MrSm!th#12
It's not a server issue. The protection is client sided.
12/01/2014 18:27 Crossside#13
Quote:
Originally Posted by erfan100 View Post
that one server had a better protection probably
it doesnt have to do anything with the server.
This Stuff is Clientside - that means if you dont use another Client, it should work for both server or none of both servers.