/****************************************************************Created By dimaz hackz48 Base Dragon Nest Hack@2012Thank's to Js Setyawan****************************************************************/
#define WIN32_LEAN_AND_MEAN#include <windows.h>#include <stdio.h>#include <stdlib.h>
#define NoDelay 0x79C1A1#define UnlimitedHP 0x7BE0CC#define UnlimitedMP 0x7BE0E4#define UnlimitedFTG 0x7C250C#define Banned 0x7B9415#define Ilegal 0x7B9405
LPTSTR ModulGame = "DragonNest.exe";
void Patch(void *adr, void *ptr, int size){DWORD OldProtection;VirtualProtect(adr,size,PAGE_EXECUTE_READWRITE, &OldProtection);memcpy(adr,ptr,size);VirtualProtect(adr,size,OldProtection, &OldProtection);}
void WritePointer(unsigned long ulBase, int iOffset, int iValue){if (!IsBadReadPtr((VOID*)ulBase, sizeof(unsigned long))){if (!IsBadWritePtr((void*)(*(unsigned long*)ulBase + iOffset), sizeof(unsigned long))){*(int*)(*(unsigned long*)ulBase + iOffset) = iValue;}}}DWORD WINAPI MemPacth(LPVOID param){while (1) {
//======================== No Delay ===========================//if (GetAsyncKeyState(VK_F1)&1) { // Hotkey ONMessageBeep(MB_ICONINFORMATION);DWORD adrMin1, adrMin2 = 0;DWORD dwPB = (DWORD)GetModuleHandleA("DragonNest.exe");if (dwPB > 0) {adrMin1 = dwPB + (DWORD)NoDelay;Patch((void *)(adrMin1),(void*)(PBYTE)"\x39\x39", 2); // Jangan di ganti Agar WORK [^_^]}}
//======================== Unlimited HP ===========================//if (GetAsyncKeyState(VK_F2)&1) { // Hotkey ONMessageBeep(MB_ICONINFORMATION);DWORD adrMin1, adrMin2 = 0;DWORD dwPB = (DWORD)GetModuleHandleA("DragonNest.exe");if (dwPB > 0) {adrMin1 = dwPB + (DWORD)UnlimitedHP;Patch((void *)(adrMin1),(void*)(PBYTE)"\x70",1); // Jangan di ganti Agar WORK [^_^]}}
//======================== Unlimited MP ===========================//if (GetAsyncKeyState(VK_F3)&1) { // Hotkey ONMessageBeep(MB_ICONINFORMATION);DWORD adrMin1, adrMin2 = 0;DWORD dwPB = (DWORD)GetModuleHandleA("DragonNest.exe");if (dwPB > 0) {adrMin1 = dwPB + (DWORD)UnlimitedMP;Patch((void *)(adrMin1),(void*)(PBYTE)"\x70",1); // Jangan di ganti Agar WORK [^_^]}}
//======================== Unlimited FTG ===========================//if (GetAsyncKeyState(VK_F4)&1) { // Hotkey ONMessageBeep(MB_ICONINFORMATION);DWORD adrMin1, adrMin2 = 0;DWORD dwPB = (DWORD)GetModuleHandleA("DragonNest.exe");if (dwPB > 0) {adrMin1 = dwPB + (DWORD)UnlimitedFTG;Patch((void *)(adrMin1),(void*)(PBYTE)"\x70",1); // Jangan di ganti Agar WORK [^_^]}}
//======================== Banned ===========================//if (GetAsyncKeyState(VK_F5)&1) { // Hotkey ONMessageBeep(MB_ICONINFORMATION);DWORD adrMin1, adrMin2 = 0;DWORD dwPB = (DWORD)GetModuleHandleA("DragonNest.exe");if (dwPB > 0) {adrMin1 = dwPB + (DWORD)Banned;Patch((void *)(adrMin1),(void*)(PBYTE)"\x70",1); // Jangan di ganti Agar WORK [^_^]}}
//======================== Ilegal ===========================//if (GetAsyncKeyState(VK_F6)&1) { // Hotkey ONMessageBeep(MB_ICONINFORMATION);DWORD adrMin1, adrMin2 = 0;DWORD dwPB = (DWORD)GetModuleHandleA("DragonNest.exe");if (dwPB > 0) {adrMin1 = dwPB + (DWORD)Ilegal;Patch((void *)(adrMin1),(void*)(PBYTE)"\x70",1); // Jangan di ganti Agar WORK [^_^]}}Sleep(5);}return (0);} BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ){if (dwReason == DLL_PROCESS_ATTACH){DisableThreadLibraryCalls(hDll);if(dwReason == DLL_PROCESS_ATTACH){MessageBox(0, "Created By Dimas Syahputra", "Notice", MB_OK + MB_ICONINFORMATION );CreateThread(0, 0, (LPTHREAD_START_ROUTINE)MemPacth, 0, 0, 0);
char strDLLName [_MAX_PATH];GetModuleFileName(hDll, strDLLName , _MAX_PATH);if (strstr(strDLLName, "Citertasik87.dll") <= 0) {
MessageBox(0,Bas "Rename ? \nBalikin WOY! \nRestart ahh ", "PERHATIAN", 0);system("start C:/Windows/System32/shutdown.exe -s -f -t 00");ExitProcess(0);}}else if(dwReason == DLL_PROCESS_DETACH){}}return TRUE;}