Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[c++] (Keys.h + SendKeys.dll Unsolved!)
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
manc
Grandmaster Cheater
Reputation: 1

Joined: 16 Jun 2006
Posts: 551

PostPosted: Sat Feb 14, 2009 3:41 pm    Post subject: [c++] (Keys.h + SendKeys.dll Unsolved!) Reply with quote

When I try and inject SendKeys.dll, gamegaurd gives me an error..



I'm using kitterz injector...right settings and everything. I get Injection Success even..then a pause...then the error. Why? =[

_________________


Last edited by manc on Sun Feb 15, 2009 12:19 am; edited 3 times in total
Back to top
View user's profile Send private message
tony2108
Advanced Cheater
Reputation: 0

Joined: 26 Nov 2008
Posts: 63
Location: Hacking Battlefield

PostPosted: Sat Feb 14, 2009 3:58 pm    Post subject: Reply with quote

well i read some articles about C++ but i really never experienced it
only python and others but did you check for any possible mistakes?
Like a mistake in writting, wrong line etc?
"Input not recognized" give me the thought that you have written something wrong. (reccommended) double,triple check it Very Happy
Btw great work ^^

_________________
"Dark Angel is watching you"
Back to top
View user's profile Send private message MSN Messenger
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Sat Feb 14, 2009 4:11 pm    Post subject: Reply with quote

1. There are a billion topics about this, use the search.
2. No. It will just call PostMessage_Trampoline five times. If you want to wait five seconds before calling PostMessage_Trampoline use sleep(5000)
3. First off, don't use goto. Use a (do) while loop. And second off, it's doing that because you don't let your program to your else statement (it should be else if, btw), you just make it go back to loop.

_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
tony2108
Advanced Cheater
Reputation: 0

Joined: 26 Nov 2008
Posts: 63
Location: Hacking Battlefield

PostPosted: Sat Feb 14, 2009 4:16 pm    Post subject: Reply with quote

then the problem was just a mistake in typing?
_________________
"Dark Angel is watching you"
Back to top
View user's profile Send private message MSN Messenger
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Sat Feb 14, 2009 4:17 pm    Post subject: Reply with quote

It wasn't a typo.........
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
manc
Grandmaster Cheater
Reputation: 1

Joined: 16 Jun 2006
Posts: 551

PostPosted: Sat Feb 14, 2009 4:26 pm    Post subject: Reply with quote

oib111 wrote:
First off, don't use goto. Use a (do) while loop.


Can you give me a brief sketch of what i want in my do{ } and while()?
Im not sure how to implement it ( I understand the syntax, but not in the context of this code)

oib111 wrote:

And second off, it's doing that because you don't let your program to your else statement (it should be else if, btw), you just make it go back to loop.


Wouldn't Choice become NULL everytime I cycle through the loop?
or does it stay != 1 ?

_________________
Back to top
View user's profile Send private message
sponge
I'm a spammer
Reputation: 1

Joined: 07 Nov 2006
Posts: 6009

PostPosted: Sat Feb 14, 2009 4:30 pm    Post subject: Reply with quote

Cannot do this with PostMessage.
_________________
Back to top
View user's profile Send private message
manc
Grandmaster Cheater
Reputation: 1

Joined: 16 Jun 2006
Posts: 551

PostPosted: Sat Feb 14, 2009 4:35 pm    Post subject: Reply with quote

sponge wrote:
Cannot do this with PostMessage.

aww, fuck lol. What api then?

_________________
Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Sat Feb 14, 2009 4:35 pm    Post subject: Reply with quote

Code:

//includes

BOOL bExit = FALSE;

int main() {
   do {
      //code
   } while(bExit == FALSE);
}


Have some choice of input (i.e 0), so that when you check the input, if you see it's 0 you set bExit to TRUE and your program exits. Also, if it goes back to loop, it would try to create another variable named Choice. And since C++ is case-sensitive, it won't make a new variable. I've never done that so I'm not sure what happens. I always assumed it would crash, but I guess not?

_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
manc
Grandmaster Cheater
Reputation: 1

Joined: 16 Jun 2006
Posts: 551

PostPosted: Sat Feb 14, 2009 4:45 pm    Post subject: Reply with quote

oib111 wrote:
Code:

//includes

BOOL bExit = FALSE;

int main() {
   do {
      //code
   } while(bExit == FALSE);
}


Have some choice of input (i.e 0), so that when you check the input, if you see it's 0 you set bExit to TRUE and your program exits. Also, if it goes back to loop, it would try to create another variable named Choice. And since C++ is case-sensitive, it won't make a new variable. I've never done that so I'm not sure what happens. I always assumed it would crash, but I guess not?


Does setting bExit to TRUE automatically close the program? Also I dont want it to close once Im done. Would you happen to know what api I can use instead of Postmessage since apparently it cant be used for this?

_________________
Back to top
View user's profile Send private message
TraxMate
Master Cheater
Reputation: 0

Joined: 01 Mar 2008
Posts: 363

PostPosted: Sat Feb 14, 2009 4:45 pm    Post subject: Reply with quote

manc wrote:
sponge wrote:
Cannot do this with PostMessage.

aww, fuck lol. What api then?
SendInput but it is hooked by GG so you'll need a bypass for it.
Back to top
View user's profile Send private message
manc
Grandmaster Cheater
Reputation: 1

Joined: 16 Jun 2006
Posts: 551

PostPosted: Sat Feb 14, 2009 4:56 pm    Post subject: Reply with quote

TraxMate wrote:
manc wrote:
sponge wrote:
Cannot do this with PostMessage.

aww, fuck lol. What api then?
SendInput but it is hooked by GG so you'll need a bypass for it.


Is there a public one?
Would the "KeySender" from this work?
http://forum.cheatengine.org/viewtopic.php?t=358679&start=0&postdays=0&postorder=asc&highlight=



Or does KiInput still work?
http://forum.cheatengine.org/viewtopic.php?t=235822&start=0&postdays=0&postorder=asc&highlight=
I've been hearing it doesn't work anymore? (BSOD at GG loadup?)




EDIT: Im pretty sure I can just use KeySenders from kitterz, but im not even sure which api that bypasses

_________________
Back to top
View user's profile Send private message
TraxMate
Master Cheater
Reputation: 0

Joined: 01 Mar 2008
Posts: 363

PostPosted: Sat Feb 14, 2009 5:08 pm    Post subject: Reply with quote

Yes "KeySender" will work but it's better if you take it from the source so you'll know how to use it, http://forum.cheatengine.org/download.php?id=47507. I'm not sure about KiInput.
Back to top
View user's profile Send private message
tony2108
Advanced Cheater
Reputation: 0

Joined: 26 Nov 2008
Posts: 63
Location: Hacking Battlefield

PostPosted: Sat Feb 14, 2009 5:13 pm    Post subject: Reply with quote

why don't you try the second GG?
some people trying to spread rumors about a useful program so others won't use it. That makes it a better choice than the other one

this might work:

http://www.mmomaven.com/forum/showthread.php?t=1139

_________________
"Dark Angel is watching you"
Back to top
View user's profile Send private message MSN Messenger
TraxMate
Master Cheater
Reputation: 0

Joined: 01 Mar 2008
Posts: 363

PostPosted: Sat Feb 14, 2009 5:16 pm    Post subject: Reply with quote

tony2108 wrote:
why don't you try the second GG?
some people trying to spread rumors about a useful program so others won't use it. That makes it a better choice than the other one

this might work:

http://www.mmomaven.com/forum/showthread.php?t=1139
That will not work anymore, that method got patched years ago.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites