View previous topic :: View next topic |
Author |
Message |
PriestproFye Cheater
Reputation: 0
Joined: 13 Jul 2006 Posts: 29 Location: Singapore
|
Posted: Mon Mar 02, 2009 3:23 am Post subject: Sending keystrokes to gunbound |
|
|
I tried using Postmessage or sendinput and many others functions but i cannot send keystorkes to gb to make gb shoot.
|
|
Back to top |
|
 |
&Vage Grandmaster Cheater Supreme
Reputation: 0
Joined: 25 Jul 2008 Posts: 1053
|
Posted: Mon Mar 02, 2009 5:22 pm Post subject: |
|
|
Maybe because GameGuard hooked all those functions?
|
|
Back to top |
|
 |
PriestproFye Cheater
Reputation: 0
Joined: 13 Jul 2006 Posts: 29 Location: Singapore
|
Posted: Tue Mar 03, 2009 2:45 am Post subject: |
|
|
I use the edited dll postmessage which is for maple bot, but does not work too.
|
|
Back to top |
|
 |
manc Grandmaster Cheater
Reputation: 1
Joined: 16 Jun 2006 Posts: 551
|
Posted: Tue Mar 03, 2009 8:47 am Post subject: |
|
|
post the functions your using
_________________
|
|
Back to top |
|
 |
Slugsnack Grandmaster Cheater Supreme
Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
Posted: Tue Mar 03, 2009 1:52 pm Post subject: |
|
|
gb uses directinput not windows message queue
|
|
Back to top |
|
 |
PriestproFye Cheater
Reputation: 0
Joined: 13 Jul 2006 Posts: 29 Location: Singapore
|
Posted: Wed Mar 04, 2009 2:12 am Post subject: |
|
|
So is there a way to like invade the directinput?
|
|
Back to top |
|
 |
123qwe Newbie cheater
Reputation: 0
Joined: 26 Dec 2006 Posts: 21
|
Posted: Wed Mar 04, 2009 5:20 am Post subject: |
|
|
Code: | void TypeStr(char *lpszString)
{
char cChar;
while((cChar=*lpszString++)) // loops through chars
{
short vk=VkKeyScan(cChar); // keycode of char
if((vk>>8)&1){keybd_event(VK_LSHIFT,0,0,0);} // hold shift if necessary
keybd_event((unsigned char)vk,0,0,0); // key in
keybd_event((unsigned char)vk,0,KEYEVENTF_KEYUP,0); // key out
if((vk>>8)&1){keybd_event(VK_LSHIFT,0,KEYEVENTF_KEYUP,0);} // release shift if necessary
}
} |
TypeStr("hiii");
|
|
Back to top |
|
 |
Slugsnack Grandmaster Cheater Supreme
Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
Posted: Wed Mar 04, 2009 5:30 am Post subject: |
|
|
keybd_event is a wrapper to sendinput
|
|
Back to top |
|
 |
PriestproFye Cheater
Reputation: 0
Joined: 13 Jul 2006 Posts: 29 Location: Singapore
|
Posted: Thu Mar 05, 2009 12:58 am Post subject: |
|
|
I tried
keybd_event(VK_SPACE, 0, 0, 0);
keybd_event(VK_SPACE, 0, KEYEVENTF_KEYUP, 0);
but it not working...
|
|
Back to top |
|
 |
|