
Originally Posted by
xxthehulkxx
try this
#include <windows.h>
#define LtClient 0x377CC790 //LTClient Address
#define NR1 0x3741B720 //No Recoil Addresses
#define NR2 0x3741B737
#define NR3 0x3741B734
#define NR4 0x3741B740
int Src = 8000000;
const int* pSrc = &Src;
bool NoRecoil( void * pDest, char * szPatch, size_t sSize ){
DWORD dwOrgProtect = NULL;
if( !VirtualProtect ( pDest, sSize, PAGE_EXECUTE_READWRITE, &dwOrgProtect ))
return FALSE;
memcpy( pDest, szPatch, sSize );
VirtualProtect( pDest, sSize, dwOrgProtect, NULL );
return TRUE;
NoRecoil((LPVOID)NR1, "\xD8\x66\x54", 3);
NoRecoil((LPVOID)NR2, "\xD9\x5E\x54", 3);
NoRecoil((LPVOID)NR3, "\xD9\x5E\x54\xD9\x46\x48", 6);
NoRecoil((LPVOID)NR4, "\xD9\x5E\x48", 3);
}
and pls thank me if i helped
Okay That's Okay code OF course work but it's a same Code but here in this Code add Off for no Recoil
And The Problem You Are Close the While(true) Before the NoRecoil...
So you have To Remove One From this (}) they has been added Before the Norecoil and Put it After the Norecoil
Look like
[php]
void main()
{
while(true)
{
PushToConsole("ShowFps 1");
PushToConsole("SkelModelStencil 1");
PushToConsole("DrawParticles 0");
PushToConsole("PerturbRotationEffect 0.000000");
PushToConsole("PerturbIncreaseSpeed 0.000000");
PushToConsole("PerturbWalkPercent 0.000000");
PushToConsole("PerturbFiringIncreaseSpeed 0.000000");
PushToConsole("PerturbRecoil 0.000000");
PushToConsole("FireMovePerturb 0.000000");
PushToConsole("ZoomedFireMoveDuckPerturb 0.000000");
PushToConsole("ZoomedFireMovePerturb 0.000000");
PushToConsole("ZoomedFireDuckPerturb 0.000000");
char* pushCmd;
pushCmd=("PlayerGravity -800");
PushToConsole( pushCmd );
if( GetAsyncKeyState( 30 ) < 0 ){
pushCmd=("PlayerGravity 800");
PushToConsole( pushCmd );
}else{
pushCmd=("PlayerGravity -800");
PushToConsole( pushCmd );
}
memcpy((LPVOID)0x3741B720, "\x90\x90\x90", 3);
memcpy((LPVOID)0x3741B734, "\x90\x90\x90", 3);
memcpy((LPVOID)0x3741B737, "\x90\x90\x90\x90\x90\x90", 3);
memcpy((LPVOID)0x3741B740, "\x90\x90\x90", 3);
}
Sleep(iRenderSpeed);
}
[/php]
i think now it's Okay Code
Press thank if i helped