Skull
06-08-2008, 10:45 AM
hey i have a problem with NOPPING.
i can put all hacks ON
but i cant put them OFF!.
Please need help
What i did ?
#define Svp_Addie 0x000000 ( Just the real addie in it )
after that Boold it and added this code
void D3D_NOP( void* pxAddress, int size )
{
unsigned long Protection;
BYTE IWriteNoFunctions[ ] = {0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90};
VirtualProtect((void*)pxAddress, size, PAGE_READWRITE, &Protection);
memcpy((void*)pxAddress, (const void*)IWriteNoFunctions, size);
VirtualProtect((void*)pxAddress, size, Protection, 0);
}
Added all shit that the menu is working...
then i did this :
if( sniper )
{
D3D_NOP( ( void* )svp_Addie, 4);
}
But How do i put them off?
i can put all hacks ON
but i cant put them OFF!.
Please need help
What i did ?
#define Svp_Addie 0x000000 ( Just the real addie in it )
after that Boold it and added this code
void D3D_NOP( void* pxAddress, int size )
{
unsigned long Protection;
BYTE IWriteNoFunctions[ ] = {0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90};
VirtualProtect((void*)pxAddress, size, PAGE_READWRITE, &Protection);
memcpy((void*)pxAddress, (const void*)IWriteNoFunctions, size);
VirtualProtect((void*)pxAddress, size, Protection, 0);
}
Added all shit that the menu is working...
then i did this :
if( sniper )
{
D3D_NOP( ( void* )svp_Addie, 4);
}
But How do i put them off?