| View previous topic :: View next topic |
| Author |
Message |
Hieroglyphics I post too much
Reputation: 0
Joined: 06 Dec 2007 Posts: 2007 Location: Your bedroom
|
Posted: Sat Mar 29, 2008 2:20 pm Post subject: [Help] How to loop a key such as in ferris auto injector! |
|
|
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 |
|
 |
lurc Grandmaster Cheater Supreme
Reputation: 2
Joined: 13 Nov 2006 Posts: 1900
|
Posted: Sat Mar 29, 2008 2:32 pm Post subject: |
|
|
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 |
|
 |
lurc Grandmaster Cheater Supreme
Reputation: 2
Joined: 13 Nov 2006 Posts: 1900
|
Posted: Sat Mar 29, 2008 5:44 pm Post subject: |
|
|
| 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 |
|
 |
Flyte Peanuts!!!!
Reputation: 6
Joined: 19 Apr 2006 Posts: 1887 Location: Canada
|
Posted: Sat Mar 29, 2008 6:34 pm Post subject: |
|
|
| 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 |
|
 |
lurc Grandmaster Cheater Supreme
Reputation: 2
Joined: 13 Nov 2006 Posts: 1900
|
Posted: Sat Mar 29, 2008 6:38 pm Post subject: |
|
|
wtf... i wasn't being ignorant at all, i just saw it being defined the same so i used the other one. My bad
_________________
|
|
| Back to top |
|
 |
Hieroglyphics I post too much
Reputation: 0
Joined: 06 Dec 2007 Posts: 2007 Location: Your bedroom
|
Posted: Sat Mar 29, 2008 9:33 pm Post subject: |
|
|
Can you post just the part that I would put in code please..And this is C++ btw
_________________
|
|
| Back to top |
|
 |
Snootae Grandmaster Cheater
Reputation: 0
Joined: 16 Dec 2006 Posts: 969 Location: --->
|
Posted: Sat Mar 29, 2008 9:46 pm Post subject: |
|
|
they have, what the hell do you think xor was talking about
_________________
|
|
| Back to top |
|
 |
|