Shoot function for DLLs :-)

Posts 1–8 of 8 · Page 1 of 1
Shoot function for DLLs :-)
Hey!

Maybe this helps you for Autoshoot or so C:

Code:
void Shoot()
{

	char *On = "+attack";
	char *Off = "-attack";

	__asm
		{
			push	On
			push	0
			push	0
			mov	esi, 0x004F9AB0
			call	esi
			add	esp, 0x0C
		}

		Sleep(5);

		__asm
		{
			push	Off
			push	0
			push	0
			mov	esi, 0x004F9AB0
			call	esi
			add	esp, 0x0C
		}

}
Where do you put it the source code ?
Quote Originally Posted by Nameless2b View Post
Where do you put it the source code ?
create a base
But I do not know how to do, and where to put it. I can do it and give me a download link please ?
Why are you using assembly for such a simple task? ( Do you wanna appear 1337? )

Code:
inline void Toggle( bool fire = false ){
    ( ( void ( __cdecl* )( int, int, char* ) )0x4F9AB0 )( 0, 0, fire ? "+attack" : "-attack" );
}
Quote Originally Posted by Hitokiri~ View Post
Why are you using assembly for such a simple task? ( Do you wanna appear 1337? )

Code:
inline void Toggle( bool fire = false ){
    ( ( void ( __cdecl* )( int, int, char* ) )0x4F9AB0 )( 0, 0, fire ? "+attack" : "-attack" );
}
Also possible, im not that experienced in that, more with inline assembler etc.
(this my new account tho, forgot my email)
I do not know at all where to enter this code for Autoshot cod4, can you guide me?
Nameless it is not a full cheat it is a code you can implement in a hack, search for a full hack if you want one
Posts 1–8 of 8 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us