/Added code tags.
hay..
My Ca is Closing when i want Deactivate the Glass wall hack...
I can Activate it perfect but not deactivate then its shutting down...
My source...
Thanks...Code:if(GetAsyncKeyState(VK_NUMPAD9)&1){ if(wall){ Sleep(200); { memcpy((LPVOID)0x57207A, "\x6A\x01", 2); } wall = false; }else{ Sleep(200); { memcpy((LPVOID)0x57206A, "\x6A\x00", 2); } wall = true; } }
PS: i added bool wall = false;
Last edited by Zoom; 08-01-2010 at 11:31 PM.
/Added code tags.
-Rest in peace leechers-
Your PM box is 100% full.
Sydney (08-01-2010)
shouldnt it be
Code:bool memcpy( 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; memcpy((LPVOID)GW, "\x6A\x01", 2); }try that ...Code:if(GetAsyncKeyState(VK_NUMPAD9)&1){ if(wall){ Sleep(200); memcpy((LPVOID)0x57207A, "\x6A\x01", 2); wall = false; }else{ Sleep(200); memcpy((LPVOID)0x57206A, "\x6A\x00", 2); wall = true; } }