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 


[Help] How to loop a key such as in ferris auto injector!

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Hieroglyphics
I post too much
Reputation: 0

Joined: 06 Dec 2007
Posts: 2007
Location: Your bedroom

PostPosted: Sat Mar 29, 2008 2:20 pm    Post subject: [Help] How to loop a key such as in ferris auto injector! Reply with quote

I was messing with spawnfestis's source and I would like to learn how to make the ....keep going every second so can you give me a code to use instead of

Code:
cout << "..."  << endl;

_________________

Back to top
View user's profile Send private message AIM Address MSN Messenger
lurc
Grandmaster Cheater Supreme
Reputation: 2

Joined: 13 Nov 2006
Posts: 1900

PostPosted: Sat Mar 29, 2008 2:32 pm    Post subject: Reply with quote

simple loop will do, in Ferris's injector its most likely that he makes a while loop there checks whether the handles for MapleStory and GG are null
I made my own injector and it worked like that at first, until i just removed the .'s all together and make a little console graphic.

so it would like like this (make sure you create a new thread for it)

Code:
while ( some_argument_or_check ) {
    wprintf(_T("."));
    Sleep( 1000 );
}

_________________
Back to top
View user's profile Send private message
lurc
Grandmaster Cheater Supreme
Reputation: 2

Joined: 13 Nov 2006
Posts: 1900

PostPosted: Sat Mar 29, 2008 5:44 pm    Post subject: Reply with quote

x0r wrote:
lurc wrote:
simple loop will do, in Ferris's injector its most likely that he makes a while loop there checks whether the handles for MapleStory and GG are null
I made my own injector and it worked like that at first, until i just removed the .'s all together and make a little console graphic.

so it would like like this (make sure you create a new thread for it)

Code:
while ( some_argument_or_check ) {
    wprintf(_T("."));
    Sleep( 1000 );
}

Why aren't you using _tprintf?

Code:
for (; lolwat; Sleep(1000)) _tprintf(_T("."));


Code:
#define _tprintf        wprintf


it's the same thing, thats why.

_________________
Back to top
View user's profile Send private message
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1887
Location: Canada

PostPosted: Sat Mar 29, 2008 6:34 pm    Post subject: Reply with quote

lurc wrote:
Code:
#define _tprintf        wprintf


it's the same thing, thats why.


Don't be ignorant, _T is a macro for L if it is a Unicode application. If you are going to use one macro for compatibility, you should use the other one.

What if I defined the application as non-unicode? You would be passing a simple ascii string to a Unicode function. Failure.
Back to top
View user's profile Send private message
lurc
Grandmaster Cheater Supreme
Reputation: 2

Joined: 13 Nov 2006
Posts: 1900

PostPosted: Sat Mar 29, 2008 6:38 pm    Post subject: Reply with quote

wtf... i wasn't being ignorant at all, i just saw it being defined the same so i used the other one. My bad Rolling Eyes
_________________
Back to top
View user's profile Send private message
Hieroglyphics
I post too much
Reputation: 0

Joined: 06 Dec 2007
Posts: 2007
Location: Your bedroom

PostPosted: Sat Mar 29, 2008 9:33 pm    Post subject: Reply with quote

Can you post just the part that I would put in code please..And this is C++ btw
_________________

Back to top
View user's profile Send private message AIM Address MSN Messenger
Snootae
Grandmaster Cheater
Reputation: 0

Joined: 16 Dec 2006
Posts: 969
Location: --->

PostPosted: Sat Mar 29, 2008 9:46 pm    Post subject: Reply with quote

they have, what the hell do you think xor was talking about
_________________
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
Page 1 of 1

 
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