Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > C/C++
You last visited: Today at 03:15

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



can SendMessage be fixed by a game?

Discussion on can SendMessage be fixed by a game? within the C/C++ forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2007
Posts: 856
Received Thanks: 35
can SendMessage be fixed by a game?

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 **** happens, is there any way they could fix that? :S or any tipps how i can get it to work?
Slade100 is offline  
Old 11/16/2014, 20:44   #2
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
Did you try to run the code with elevated rights? Admin for example.
alpines is offline  
Old 11/19/2014, 02:23   #3
 
elite*gold: 0
Join Date: Oct 2007
Posts: 856
Received Thanks: 35
the code what do u mean, the injector or the game? or something different?^^ anyways ive stoped that server xD
Slade100 is offline  
Old 11/21/2014, 13:03   #4


 
MrSm!th's Avatar
 
elite*gold: 7110
Join Date: Jun 2009
Posts: 28,909
Received Thanks: 25,409
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.
MrSm!th is offline  
Old 11/22/2014, 15:47   #5
 
elite*gold: 0
Join Date: Oct 2007
Posts: 856
Received Thanks: 35
but the problem was that i needed to send keys to a window which is not in the foreground or is it possible to do that with sendinput, cause as far as i know its not
Slade100 is offline  
Old 11/22/2014, 17:18   #6


 
MrSm!th's Avatar
 
elite*gold: 7110
Join Date: Jun 2009
Posts: 28,909
Received Thanks: 25,409
No, it isn't. The only option left would be a DirectInput hook then (or directly calling the ingame functions instead of simulating input).
MrSm!th is offline  
Old 11/22/2014, 21:35   #7
 
elite*gold: 0
Join Date: Oct 2007
Posts: 856
Received Thanks: 35
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
Slade100 is offline  
Old 11/23/2014, 02:53   #8


 
MrSm!th's Avatar
 
elite*gold: 7110
Join Date: Jun 2009
Posts: 28,909
Received Thanks: 25,409
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.
MrSm!th is offline  
Old 11/23/2014, 21:45   #9
 
elite*gold: 0
Join Date: Oct 2007
Posts: 856
Received Thanks: 35
as ive told u, im playing on private servers of a game, and sendmessage just didnt work on 1 server
Slade100 is offline  
Old 11/23/2014, 23:32   #10


 
MrSm!th's Avatar
 
elite*gold: 7110
Join Date: Jun 2009
Posts: 28,909
Received Thanks: 25,409
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.
MrSm!th is offline  
Old 11/24/2014, 21:06   #11
 
elite*gold: 0
Join Date: Oct 2007
Posts: 856
Received Thanks: 35
that one server had a better protection probably
Slade100 is offline  
Old 11/26/2014, 12:26   #12


 
MrSm!th's Avatar
 
elite*gold: 7110
Join Date: Jun 2009
Posts: 28,909
Received Thanks: 25,409
It's not a server issue. The protection is client sided.
MrSm!th is offline  
Old 12/01/2014, 18:27   #13
 
Crossside's Avatar
 
elite*gold: 0
Join Date: Dec 2013
Posts: 2,095
Received Thanks: 506
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.
Crossside is offline  
Reply


Similar Threads Similar Threads
[Share] Shaiya 5.4 with game.exe fixed
10/13/2025 - Shaiya PServer Guides & Releases - 137 Replies
Include: + Skill fix - Enable to learn skill level 9 without cheat engine, skill ep5 full working. + Enermy bar fix - Skill buff/debuff can see on enermy HP bar + Union buff fixed. + HP fixed (pass 65k) + Skill buff fixed: Dane of Death, etain soul,... + Gold bar hack fix: cant buy more than 10 gold bar. + Trade button disconect fixed. - Bug: Item mall bug (Use webshop to sell your donation item).
[Selling] Fixed Nether Game Key
12/19/2013 - Trading - 0 Replies
pm or skype: dansilent
[RELEASE]Game 34083 Fixed
08/07/2013 - Metin2 PServer Guides & Strategies - 50 Replies
#Deleted!



All times are GMT +1. The time now is 03:15.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.