u need to hook a D3D function of the game and call the ptc there
it builds without any error but when i inject it and goo in game i dont get the chams any ideas plz!!
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* )( 0x377A0198 ); 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; }
u need to hook a D3D function of the game and call the ptc there
List Of My Public Releases
Wallhack and NoFog - Detected (https://www.mpgh.net/forum/164-combat...ml#post1391299)
BOSCHACK CA EU v1.0 - Detected (https://www.mpgh.net/forum/172-combat...eu-v1-0-a.html)
BOSCHACK CA EU v1.1 - Detected (https://www.mpgh.net/forum/172-combat...ml#post2371767)
BOSCHACK Returned - Detected (https://www.mpgh.net/forum/172-combat...eturn-pub.html)
Make Hacks In 5min in 3 Steps
can i um pm u and u tell me were i put tht?
u need a D3D hook >.> nothing more
List Of My Public Releases
Wallhack and NoFog - Detected (https://www.mpgh.net/forum/164-combat...ml#post1391299)
BOSCHACK CA EU v1.0 - Detected (https://www.mpgh.net/forum/172-combat...eu-v1-0-a.html)
BOSCHACK CA EU v1.1 - Detected (https://www.mpgh.net/forum/172-combat...ml#post2371767)
BOSCHACK Returned - Detected (https://www.mpgh.net/forum/172-combat...eturn-pub.html)
Make Hacks In 5min in 3 Steps
can i add u on msn?
No he doesn't. Its not a D3D Menu. PTC Function is detected.
Don't listen to this guy.
God, don't act like you know how to code. Enjoy.Code:#include <windows.h> bool IsGameReadyForHook() { if( GetModuleHandleA( "d3d9.dll" ) != NULL ) return true; return false; } void __cdecl RunConsoleCommand( const char* cCommand ) { void* address = ( void* )0x00485FA0; __asm { Push cCommand call address add esp, 0x4 } } void main() { if ( GetAsyncKeyState( VK_NUMPAD1 ) & 1 ) { RunConsoleCommand("SkelModelStencil 1"); } } DWORD WINAPI dwHackThread( LPVOID ) { while( !IsGameReadyForHook() ) Sleep( 25 ); main(); return EXIT_SUCCESS; } 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; }
Last edited by -Dimensions-; 08-03-2011 at 06:09 PM.
ty so much XD
Demensions were in tht is the ner LTC adress to be place XD sorry kind of a noob to it im getting the hang tho
void* address = ( void* )0x00485FA0; <====is tht were the LTC adress is placed?
Last edited by racardo; 08-03-2011 at 06:12 PM.
im confused a bit to be honest were does my ltc adress go? and i tried the code u posted it runs without a error but no chams in game
You guys are really helping this guy
You have an incorrect PTC function(keep it simple you dont need all that dword crap), You also need a hook or nexon will detect it
Last edited by Soccorman1; 08-03-2011 at 07:59 PM.
um if i wanted someone to bash me i woulda asked for a bashing i asked for help as i recalled this is a help section