i now have this
but it does nothing no errors no opk.
Code:
#include <windows.h>
#define charposoffset 0x66F34 //player pointer
#define otherplyrptr 0x3782E260 //random pointer
#define posyoffset 0xCC
#define posxoffset 0xC8
#define yoffset 0xCC
DWORD posptr;
DWORD posy;
DWORD playertarget;
bool IsGameReadyForHook()
{
if( GetModuleHandleA( "d3d9.dll" ) != NULL
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL
&& GetModuleHandleA( "CShell.dll" ) != NULL )
return true;
return false;
}
void __cdecl PushToConsle( const char* szCommand )
{
DWORD *LTClient = ( DWORD* )( 0x3778BFB0 );
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
__asm
{
push szCommand;
call CONoff;
add esp, 4;
}
}
void main()
{
posptr=NULL;
posptr = (DWORD)GetModuleHandleA("ClientFX.fxd");
posptr += charposoffset;
memcpy(&posy,(void *)(posptr),4);
posy += posyoffset;
memcpy(&playertarget,(void *)(otherplyrptr),4);
playertarget += yoffset;
while(true)
{
if(posy > posyoffset && playertarget > yoffset)
{
*(float*)playertarget = *(float*)posy;
*(float*)(playertarget+0x4) = *(float*)(posy+0x4);
*(float*)(playertarget-0x4) = *(float*)(posy-0x4);
}
}
}
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;
}

( ive bean trying this for day's
