This is basically a tutorial from CoderNever's tutorial on adding more functions.
The guide is here - https://www.mpgh.net/forum/207-combat...arms-hack.html
Here is your source if you've just C & P'ed (Not recommended)
Now the bit we will be changing is this bitCode:#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; }
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 functionCode:{ PushToConsole("SkelModelStencil 1"); } }
For example
And for a third featureCode:{ PushToConsole("SkelModelStencil 1"); PushToConsole("FogEnable 1" ); } }
And so onCode:{ PushToConsole("SkelModelStencil 1"); PushToConsole("FogEnable 1" ); PushToConsole("WeaponSway 0.000000" ); } }
Credits
- ExileD
- Topblast
- CoderNever
Have fun coding!
- ToxinJR
I'm back.
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 /
sam1 (10-08-2010)
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'm back.
mierda87 (10-05-2010)
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.
NOOB (10-05-2010)
thank you so fucking much
No problem Mierda.
I'm back.
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.
I'm back.
Nice job ToxinJr, CA Public Hack Support make's sense! But if anyone actually need's this tutorial they shouldn't be here!