0% found this document useful (0 votes)
115 views

Source Code Lost Saga

This document contains code for a Lost Saga cheat DLL that provides various hacks like peso hack, nickname hack, 1 hit crusade, grade hack, and skill hack. It works by patching addresses in the Lost Saga executable at runtime. The DLL displays messages on load notifying the user of the available hacks and their hotkeys. It also contains some hardcoded messages praising the creator.

Uploaded by

dumbledoreaaaa
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
115 views

Source Code Lost Saga

This document contains code for a Lost Saga cheat DLL that provides various hacks like peso hack, nickname hack, 1 hit crusade, grade hack, and skill hack. It works by patching addresses in the Lost Saga executable at runtime. The DLL displays messages on load notifying the user of the available hacks and their hotkeys. It also contains some hardcoded messages praising the creator.

Uploaded by

dumbledoreaaaa
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

//==============================================================

// Created By : Hasan Basri


// Thanks to : Allah(My Tuhan)
// malaslagidot-info.blogspot.com
// songong gw tabok
//==============================================================
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
//============== Logger By Hasan Basri- =======================
#define OFS_AutoDC 0x322FDD
#define OFS_Nickname 0x105D2F
#define OFS_Rareitem 0xC2BB3C
#define OFS_PesoHack 0xAC1145
#define OFS_BomHook 0x44F826
#define OFS_1HitCrussade 0x4A2F31
#define OFS_UnlimitedHp 0x42FA11
#define OFS_Grade 0x108D2F
#define OFS_Skill 0x110D3F
#define OFS_JumpHack 0x2FD444
#define OFS_NoDaily 0x8C351D << Cari Sendiri Pinter X ^ ^ Kalo G Penting / menye
babkan eror hapus
//=============================================================
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 l
ong)))
{
*(int*)(*(unsigned long*)ulBase + iOffset) = iValue;
}
}
}
DWORD WINAPI MemPacth(LPVOID param)
{
while (1) {
//==================== | Peso Hack | =============================//
if (GetAsyncKeyState(VK_HOME)&1) {
MessageBeep(MB_ICONINFORMATION);
DWORD adrAutoDC, adrMin2 = 0;
DWORD dwPB = (DWORD)GetModuleHandleA("lostsaga.exe")+0xAC1145 ;
if (dwPB > 0) {
adrAutoDC = dwPB + (DWORD)0xAC1145 ;
Patch((void *)(adrAutoDC),(void*)(PBYTE)"\x00\x8F", 2);
}
}
Sleep(5);

}
//====================================================================
//==================== Nick Name Hack =================================
if (GetAsyncKeyState(VK_INSERT)&1){
DWORD Nickname = (DWORD)GetModuleHandleA("lostsaga.exe")+0x49B0F8 ;
RiizwandaHack((void*)(Nickname+0x300),(int*)(PBYTE)"\x00\x00\x00\x00\x00\x00\x0F
",7);
Sleep(5);
}
//================= Grade & Skill Hack ==================================
if (GetAsyncKeyState(VK_DELETE)&1){
DWORD GradeSkill = (DWORD)GetModuleHandleA("lostsaga.exe")+0x108D2F+0x110D2F ;
RiizwandaHack((void*)(GradeSkill+0x150),(int*)(PBYTE)"\x00\x00\xFF",3);
Sleep(5);
}
//====================================================================
//============== | 1 Hit Crussade |===================================
DWORD adr1hit, adrMin2 = 0;
DWORD CRUSSADE = (DWORD)GetModuleHandleA("lostsaga.exe")+0x4A2F31 ;
if (CRUSSADE > 0) {
adr1hit = CRUSSADE + (DWORD)0x4A2F31 ;
Patch((void *)(adr1hit),(void*)(PBYTE)"\x00\x00\3F", 3);
}
Sleep(5);
}
//=====================================================================
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
if (dwReason == DLL_PROCESS_ATTACH)
{
DisableThreadLibraryCalls(hDll);
if(dwReason == DLL_PROCESS_ATTACH){
MessageBox(0, " ---->Hasan Basri<----\n Fiture Hack :\n [-] Peso Hack : HOME\n [
-] NickName Hack : INSERT\n [-] 1 Hit Crussade : Auto ON\n [-] Grade Hack : DELE
TE\n [-] Skill Hack : DELETE\n\n Created By :\n [-] Hasan Basri \n\n Thanks to :
\n [-] R.N.B Malas |-TEAM-|", "Hasan Basri", MB_OKCANCEL + MB_ICONINFORMATION );
MessageBox(0, "Hasan Ganteng !!,jangan sombong kalo Work", "Hasan Ganteng", MB_O
KCANCEL + MB_ICONINFORMATION );
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)MemPacth, 0, 0, 0);
char strDLLName [_MAX_PATH];
GetModuleFileName(hDll, strDLLName , _MAX_PATH);
if (strstr(strDLLName, "Hasan-Work1.dll") <= 0) {
MessageBox(0, "Cheat Succes ^^ Tekan Hotkeys saat Loading HS Penuh", "PERHATIAN"
, 0);
ExitProcess(0);
}
}
else if(dwReason == DLL_PROCESS_DETACH)
{
}
}
return TRUE;
}

You might also like