Are your addresses correct? /:
I need some help i get no error's but chams dont show up.,
Code:#include <windows.h> bool IsGameReadyForHook() { if( GetModuleHandleA( "d3d9.dll" ) != NULL && GetModuleHandleA( "ClientFX.fxd" ) != NULL && GetModuleHandleA( "CShell.dll" ) != NULL ) return true; return false; } class cILTClient { public: char offset[520]; int ( *RunConsoleCommand ) ( char* szCommand ); }; cILTClient *ILTClient = *(cILTClient**)0x37768BD0; void main() { while(true) { ILTClient->RunConsoleCommand("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; }
Are your addresses correct? /:
Use this instead of the 1 your using..I got this from Deadlinez PTC commands topic.
I had this same problem..that fixed it.Code:PushToConsole("SkelModelStencil -1" );
I can see that you got your private hook working but NOT a simple auto on hack ..
No I do not make game hacks anymore, please stop asking.
Either wrong address for ltclient or wrong section...
BTW you private hack looks pretty nice, is there chams in that one/
Dont ban me