Help please

Posts 15 of 5 · Page 1 of 1
Help please
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.
Code:
PushToConsole("SkelModelStencil -1" );
I had this same problem..that fixed it.
Either wrong address for ltclient or wrong section...
BTW you private hack looks pretty nice, is there chams in that one/
I can see that you got your private hook working but NOT a simple auto on hack ..
Posts 15 of 5 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?