typedef int (__cdecl* RunConsoleCommand_t)(char* cmd);
RunConsoleCommand_t RunConsoleCommand;//Send Commands to the Console
RunConsoleCommand = (RunConsoleCommand_t)0x4A4750;
I am newer to making my own hacks, but i would like to know how to update a Combat Arms Hook. i have one that someone i knew showed me how to do and i believe it is outdated, if hooks even get outdated.
Code:void __cdecl PushToConsole(const char* szCommand ) { DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll"); if( dwCShell != NULL ) { DWORD *LTClient = ( DWORD* )( 0x4A4750 ); void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 ); __asm { push szCommand; call CONoff; add esp, 4; } } } bool IsGameReadyForHook() { if( GetModuleHandleA( "d3d9.dll" ) != NULL && GetModuleHandleA( "ClientFX.fxd" ) != NULL && GetModuleHandleA( "CShell.dll" ) != NULL ) return true; return false;
typedef int (__cdecl* RunConsoleCommand_t)(char* cmd);
RunConsoleCommand_t RunConsoleCommand;//Send Commands to the Console
RunConsoleCommand = (RunConsoleCommand_t)0x4A4750;
The Internet SHOULD Be Illegal
When you say
"Java is a great programming language because it works on all platforms"
it is just like
"anal sex is great because it works on all genders"
Are YOU a Troll?
retmock (02-06-2011)
The Internet SHOULD Be Illegal
When you say
"Java is a great programming language because it works on all platforms"
it is just like
"anal sex is great because it works on all genders"
Are YOU a Troll?
The Internet SHOULD Be Illegal
When you say
"Java is a great programming language because it works on all platforms"
it is just like
"anal sex is great because it works on all genders"
Are YOU a Troll?
Where iss thee hoooook? nice though
xChocolatex supporter
Perx inject works best for chocolate hacks.
Put the .dll files you need so that your hack will work inside your combat arms folder and your ready to go! Run Perx as administrator along with Combat Arms_Direct.
Making friends can be hard. especially if your a chocolate hater!
[YOUTUBE]SViSXmt9w6g[/YOUTUBE]
Ok, thank you all for your help, I do not wish to take up anymore of your time. So I will continue to do research on my own. If i have anymore questions I will be sure to come here and ask because you are all so helpful. Sorry for my inexperience with coding.
Thank You,
Retmock
That's not a Hook, that's declaring the PushToConsole function and checking if the Game is ready for the Hook which you're missing.
[IMG]https://i714.photobucke*****m/albums/ww144/sandro911/ProXtremeSignature.png[/IMG]
[IMG]https://i714.photobucke*****m/albums/ww144/sandro911/Signature.png[/IMG]