help with my hack

Posts 115 of 21 · Page 1 of 2
help with my hack
are you allowed to post your code cuz i just removed mine cuz i thought i would get banned




#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* )( 0x007d9200 );
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;
}
Quote Originally Posted by yomo710 View Post
are you allowed to post your code cuz i just removed mine cuz i thought i would get banned
Yes your allowed to post code
Yeah I think that's why they call this Coding/Source "Codes"
ohh ok heres the 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* )( 0x007d9200 );
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;
}
Your problem is your using the wrong address with that method. What you are looking for is the "Lt Client" and no other external address type.
so you got the lt version
it doesnt seem to work
If LTclient and it doesnt work, your PushToConsole method is patched.
Your adding offset 208 when you shouldnt unless your using the LTClient.
ok so how do i fix my push to console method or my lt cleint meathod
Quote Originally Posted by yomo710 View Post
ok so how do i fix my push to console method or my lt cleint meathod
You learn C++
i mean do it quick lol
i have an idea dont c+p my source you found it and decided to use it it is a simple hack
Quote Originally Posted by speedforyou View Post
i have an idea dont c+p my source you found it and decided to use it it is a simple hack
Your source?? LOL.
Posts 115 of 21 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?