Hey there MPGH, this is my little TUT for those 'new' coders who don't yet know how to NOP Memory hacks.
Alright lets begin.
1) If you are using Gellins base put the following before void cBase::Update (void)
If you are using your own base, then put it before you put and of the Hack sources.Code:bool Memoria( 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; Memoria((LPVOID) (Addies), "\bytes\bytes\bytes\", 3); Memoria((LPVOID) (Addies), "\bytes\bytes\bytes", 3); Memoria((LPVOID) (Addies), "\bytes\bytes\bytes\bytes\bytes\bytes\", 6); Memoria((LPVOID) (Addies), "\bytes\bytes\bytes\", 3); Memoria((LPVOID) (Addies), "\bytes\bytes\bytes\bytes\bytes\bytes", 6); }
*Where it says Addies, replace that text with what ever addies you are using.*
**Where it says Bytes, add your bytes**
2) Adding the Memory Hacks to;
A Menu Hack
A Hotkey HackCode:if( Menu.mOpt[25].nopt > 0 ){ //No Recoil Memoria((LPVOID) (Addies), "\bytes\bytes\bytes", 3); Memoria((LPVOID) (Addies), "\bytes\bytes\bytes", 3); Memoria((LPVOID) (Addies), "\bytes\bytes\bytes\bytes\bytes\bytes", 6); Memoria((LPVOID) (Addies), "\bytes\bytes\bytes", 3); }else{ Memoria((LPVOID) (Addies), "\bytes\bytes\bytes", 3); Memoria((LPVOID) (Addies), "\bytes\bytes\bytes", 3); Memoria((LPVOID) (Addies), "\bytes\bytes\bytes\bytes\bytes\bytes", 6); Memoria((LPVOID) (Addies), "\bytes\bytes\bytes", 3);
3)ENJOYCode:Sleep(50); if(GetAsyncKeyState(VK_NUMPAD8)<0) //No Recoil { Memoria((LPVOID) (Addies), "\bytes\bytes\bytes", 3); Memoria((LPVOID) (Addies), "\bytes\bytes\bytes", 3); Memoria((LPVOID) (Addies), "\bytes\bytes\bytes\bytes\bytes\bytes", 6); Memoria((LPVOID) (Addies), "\bytes\bytes\bytes", 3); }else{ Memoria((LPVOID) (Addies), "\bytes\bytes\bytes", 3); Memoria((LPVOID) (Addies), "\bytes\bytes\bytes", 3); Memoria((LPVOID) (Addies), "\bytes\bytes\bytes\bytes\bytes\bytes", 6); Memoria((LPVOID) (Addies), "\bytes\bytes\bytes", 3); }
CREDIT PLUS THANK ME