| SC CODE ShutGun Pabrik 1 Hit: | SC CODE SG PABRIK 1 HIT: | CODE: | Code: | |
/* Name:GameShark™ Copyright: ArmaX@N3 Author: ArmaX, RidhoTheRock Date: **/**/** */ #include "AnkastaOFFSET1HIT.h" #include LPTSTR TheBrother = "PointBlank.i3exec"; DWORD ofsMNZ1, ofsMNZ2, dwBase, adrBaretOn, adrBaretOff, adrMISIOn, adrMISIOff, NextProtection; BYTE SGOFF[]= {0x2C}; BYTE SGON[] = {0xFF}; //======================================================================================================================== void LChangeTheWorld(void *adr, void *ptr, int size) { DWORD CheckProtection; VirtualProtect(adr,size,PAGE_EXECUTE_READWRITE, &NextProtection); RtlMoveMemory(adr,ptr,size); VirtualProtect(adr,size,NextProtection, &NextProtection); } int TukangTusbol = 0; int __fastcall ByLstars(void) { return 0; } DWORD WINAPI ThreadStarter(LPVOID param) { while (1) { ByLstars(); ByLstars(); ByLstars(); ByLstars(); ByLstars(); ByLstars(); ByLstars(); ByLstars(); ByLstars(); ByLstars(); //============================================SG Gosong 1 HIT============================================================== //Hotkey ON if (GetAsyncKeyState(VK_LBUTTON)&1) { dwBase =(DWORD)GetModuleHandleA(TheBrother)+BASEWEAPON; DWORD Ptr1 = *(PDWORD)((DWORD)(dwBase))+SGGosong1; DWORD Ptr2 = *(PDWORD)((DWORD)(Ptr1))+SGGosongDamage; DWORD Ptr3 = *(PDWORD)((DWORD)(Ptr2))+SGGosong2; LChangeTheWorld((BYTE*)(Ptr3),(SGON),1); } //Hotkey OFF if (GetAsyncKeyState(0x51)&1) { dwBase =(DWORD)GetModuleHandleA(TheBrother)+BASEWEAPON; DWORD Ptr1 = *(PDWORD)((DWORD)(dwBase))+SGGosong1; DWORD Ptr2 = *(PDWORD)((DWORD)(Ptr1))+SGGosongDamage; DWORD Ptr3 = *(PDWORD)((DWORD)(Ptr2))+SGGosong2; LChangeTheWorld((BYTE*)(Ptr3),(SGOFF),1); } Sleep(0); } return (0); } BOOL _stdcall DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ) { DisableThreadLibraryCalls(hDll); // meringankan kerja dll if (dwReason == DLL_PROCESS_ATTACH) { CreateThread(0, 0, (LPTHREAD_START_ROUTINE)ThreadStarter,0, 0, 0); } TCHAR strDLLName [GameShark™]; // ambil nama dll kita, simpan di variabel strDLLName GetModuleFileName(hDll, strDLLName , GameShark™); if (strstr(strDLLName, "GameShark™") <= 0) { // tampilkan pesan, kalo dll nya sdh bukan asli / sudah di rename MessageBox(0, "Kalo mau maling lihat lihat dolo !!!", "WARNING", MB_OK + MB_ICONSTOP ); MessageBox(0, "Balikin tuh nama Dll nya,..?", "WARNING", MB_OK + MB_ICONSTOP ); ExitProcess(0); } } |
Rabu, 08 Juni 2011
Langganan:
Posting Komentar (Atom)





0 komentar:
Posting Komentar