Dragonest codes stuff

Posts 31–45 of 47 · Page 3 of 4
I cant PM two of the winners =='
Who are the winners hahaha
thank you^^
BASE hack DragonNest

#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>

#define OFFSET1 0x00000

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) {
// ==========+++ OFSSET +++==========//
DWORD adrMin1, adrMin2 = 0;
DWORD dwPB = (DWORD)GetModuleHandleA(ModulGame);
if (dwPB > 0) {
adrMin1 = dwPB + (DWORD)OFFSET;
Patch((void *)(adrMin1),(void*)(PBYTE)"\xA0", 1);
adrMin1 = dwPB + (DWORD)OFFSET1;
Patch((void *)(adrMin1),(void*)(PBYTE)"\x35\x00", 2);

DWORD adrMin1, adrMin2 = 0;
DWORD dwPB = (DWORD)GetModuleHandleA(ModulGame);
if (dwPB > 0) {
adrMin1 = dwPB + (DWORD)OFFSET;
Patch((void *)(adrMin1),(void*)(PBYTE)"\x00\x00\x00", 3);

}

Sleep(150);

}

return (1);

}

BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )

{

if (dwReason == DLL_PROCESS_ATTACH)


{


DisableThreadLibraryCalls(hDll);
if(dwReason == DLL_PROCESS_ATTACH){
MessageBox(0, "Credit : Andre Sastriawan", " =Indonesia = ", MB_OKCANCEL + MB_ICONWARNING );
MessageBox (0,"Happy Cheating", "Notice", MB_OKCANCEL + MB_ICONINFORMATION);
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)MemPacth, 0, 0, 0);
char strDLLName [_MAX_PATH];
GetModuleFileName(hDll, strDLLName , _MAX_PATH);

if (strstr(strDLLName, "andre.dll") <= 0) {


}


}


else if(dwReason == DLL_PROCESS_DETACH)


{


}


}


return TRUE;


}


if useful do not forget to like
199 is my number, is this still ongoing?
201 is my number thanks
101 lucky to pick me ^_^
Posts 31–45 of 47 · Page 3 of 4
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us