How to add multiple functions to your auto-on hack!

Posts 115 of 36 · Page 1 of 3
How to add multiple functions to your auto-on hack!
This is basically a tutorial from CoderNever's tutorial on adding more functions.

The guide is here - http://www.mpgh.net/forum/207-combat...arms-hack.html

Here is your source if you've just C & P'ed (Not recommended)

Code:
#include <windows.h>
bool IsGameReadyForHook()
{
if( GetModuleHandleA( "d3d9.dll"     ) != NULL 
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL 
&& GetModuleHandleA( "CShell.dll"   ) != NULL )
return true;
return false;
}
void __cdecl PushToConsole( const char* szCommand )
{
DWORD *LTClient = ( DWORD* )( 0x3778BFB0 );
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
__asm
{
push szCommand;
call CONoff;
add esp, 4;
}
}	
void main()
{
while(true)
{
PushToConsole("SkelModelStencil 1");
}
}
DWORD WINAPI dwHackThread(LPVOID)
{
while( !IsGameReadyForHook() )
Sleep(100);
main();
return 0;
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
}
return TRUE;
}
Now the bit we will be changing is this bit

Code:
{
PushToConsole("SkelModelStencil 1");
}
}
To add another function such as No Fog, all you need to do it press enter to go down a line and add the next function

For example

Code:
{
PushToConsole("SkelModelStencil 1");
PushToConsole("FogEnable 1" );
}
}
And for a third feature

Code:
{
PushToConsole("SkelModelStencil 1");
PushToConsole("FogEnable 1" );
PushToConsole("WeaponSway 0.000000" );
}
}
And so on

Credits
- ExileD
- Topblast
- CoderNever

Have fun coding!

- ToxinJR
Oh hey ! A useful contribution for once that makes some sense

(well, a lot of sense)
Good job,
use full for people starting out
You must be one dumbshit if you cant figure that out for yourself /
Well acid it depends on your level of understanding on this subject.

I for one think I'm rather smart building the hack while you think I'm a dumbshit

I have not intended any flame in this sentence because I respect you to much :/
Quote Originally Posted by Spookerzz View Post
Well acid it depends on your level of understanding on this subject.

I for one think I'm rather smart building the hack while you think I'm a dumbshit

I have not intended any flame in this sentence because I respect you to much :/
I didnt mean you as a dumbshit, Im refering the people that will actually need this tutorial.
Sorry if you thought it was aimed at you bro.
Quote Originally Posted by ac1d_buRn View Post


I didnt mean you as a dumbshit, Im refering the people that will actually need this tutorial.
Sorry if you thought it was aimed at you bro.
No problem.

I probably am a dumb shit in the eyes or renowned hackers such as yourself, ExileD, Freedompeace and the other excellent hack makers which work there butts of to make hacks and to receive flame in return.

Keep up your good work Acid
Quote Originally Posted by Spookerzz View Post


No problem.

I probably am a dumb shit in the eyes or renowned hackers such as yourself, ExileD, Freedompeace and the other excellent hack makers which work there butts of to make hacks and to receive flame in return.

Keep up your good work Acid
Thanks. I dont code myself much anymore because noone appreciates the hacks. Just about anyone can code for CA now and my hacks are nothing like what other peoples are.
I put the basic hacks you need. No useless shit.
But in peoples eyes, Thats shit becuase it doesnt have 100 features.
I also dont add semi-hacks to my hacks, bcuase thats the reason it laggs it. Noone complains about lag with my hacks.
thank you so fucking much
No problem Mierda.
Ahaha nice job

I hope the people appreciate this if they use it :P

(Referring to beginners)
Rofl.. With this turorial, you made it soo easy to understand.. Even my little sister in year 4 can probaby make an alright auto on hack + thanked when i get on my pc
That's what I was aiming for; Easy to understand, Easy to read as in Not jumbled up.

I also have to give credit to DeadLinez for his PTC thread.
Nice job ToxinJr, CA Public Hack Support make's sense! But if anyone actually need's this tutorial they shouldn't be here!
Cool .


/
Posts 115 of 36 · Page 1 of 3
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?