Simple Memory Base (Source)
//=====================================|| SIMPLE MEMORY BASE ||=================================//
// Contens : Simple Memory Base Crossfire
// Author : Darma Jaya
// Date Create : 25 Januari 2013
// Site : www.indo-crossfire.blogspot.com
// Forum : www.mpgh.net
// Credits : Dicky87smd, Kareem111, MagirWar7, and other member mpgh
// Message : Base bisa di publikasikan dengan syarat jangan merubah author!
//=====================================|| System include ||=====================================//
#include <windows.h>
#include <process.h>
#include <stdio.h>
#include <fstream>
using namespace std;
//=====================================|| Pointer dan Offset ||=================================//
#define MgrWeapon 0xD99014
#define PlayerMgr 0xD31EE0
#define PlayorMgr 0xD98FF4
#define WallManag 0xD98FFC
#define ClientShe 0x49C960
#define NoRecoil1 0x3528
#define NoRecoil2 0x3538
#define NoRecoil3 0x3708
#define NoRecoil4 0x1060
#define NoRecoil5 0x11C8
#define NoRecoil6 0xEF8
#define NoRecoil7 0x53C
#define NoRecoil8 0x6A4
#define NoReload 0xC38
#define NoChange 0xC3C
#define wallhack 0x6DCD54
//=====================================|| Isi Base ||==========================================//
UINT WINAPI INDO_CROSSFIRE( LPVOID )
{
while(1)
{
if(GetModuleHandleA("CShell.dll") != NULL && GetModuleHandleA("ClientFx.fxd")!= NULL)
{
Sleep(100); //Berikan sleep agar tidak lag
bool Noreload = false ; //False artinya Off
bool Nochange = false ; //False artinya Off
bool Norecoil = false ; //False artinya Off
bool Wallhack = true ; //True artinya On
if(GetAsyncKeyState(VK_F1)&1) {Noreload=true ;Beep (1000,200);} //Hotkey untuk Noreload
if(GetAsyncKeyState(VK_F2)&1) {Norecoil=true ;Beep (1000,200);} //Hotkey untuk Norecoil
if(GetAsyncKeyState(VK_F3)&1) {Nochange=true ;Beep (1000,200);} //Hotkey untuk Nochange
DWORD BClienShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD WeaponManager = *(DWORD*)((DWORD)GetModuleHandleA("CShell.dll") + MgrWeapon);
DWORD PlayerManager = *(DWORD*)((DWORD)GetModuleHandleA("CShell.dll") + PlayerMgr);
DWORD FallManager = *(DWORD*)((DWORD)GetModuleHandleA("CShell.dll") + PlayorMgr);
DWORD WallerManager = *(DWORD*)((DWORD)GetModuleHandleA("CShell.dll") + WallManag);
DWORD ClientShellOp = *(DWORD*)((DWORD)GetModuleHandleA("CShell.dll") + ClientShe);
DWORD ClientPointer = *(DWORD*)(ClientShellOp+0x54);
if (WeaponManager){
for(int i=0; i<677; i++){
for(int y = 0; y<10; y++){
DWORD IndexWeaponManager = (*(unsigned long*)(WeaponManager + (4*i)));
if(IndexWeaponManager != NULL ){
//Source Noreload
if(Noreload){
*(float*)(IndexWeaponManager + (NoReload + (4*y))) = (float)100.0;
}
//Source NoRecoil
if(Norecoil){
*(float*)(IndexWeaponManager + (NoRecoil1 + (4*y))) = (float)0.0;
*(float*)(IndexWeaponManager + (NoRecoil2 + (4*y))) = (float)0.0;
*(float*)(IndexWeaponManager + (NoRecoil3 + (4*y))) = (float)0.0;
*(float*)(IndexWeaponManager + (NoRecoil4 + (4*y))) = (float)0.0;
*(float*)(IndexWeaponManager + (NoRecoil5 + (4*y))) = (float)0.0;
*(float*)(IndexWeaponManager + (NoRecoil6 + (4*y))) = (float)0.0;
*(float*)(IndexWeaponManager + (NoRecoil7 + (4*y))) = (float)0.0;
}
//Source NoChange
if(Nochange){
*(float*)(IndexWeaponManager + (NoChange + (4*y))) = (float)100.0;
}
//source Wallhack
if(Wallhack){
memcpy((VOID*)wallhack, "\x00\x00\x00\x68\x00\x00", 6);
}
}
}
}
}
}
}
}
//=====================================|| DLL Main ||=====================================//
BOOL WINAPI DllMain( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls( hDll );
if( dwReason == DLL_PROCESS_ATTACH )
{
MessageBox( 0, "Simple Memory Base", "INDO-CROSSFIRE", 0 ); //Pesan setelah DLL terInject
_beginthreadex(0, 0, INDO_CROSSFIRE, 0, 0, 0);
char strDLLName [_MAX_PATH];
GetModuleFileName(hDll, strDLLName , _MAX_PATH);
if (strstr(strDLLName,"INDO-CROSSFIRE") <= 0) {//Tuliskan sesuai nama DLL kamu!
MessageBoxA(0, "Mohon untuk mengembalikan sesuai nama aslinya! \n \n Terima Kasih : INDO-CROSSFIRE","PERINGATAN!", MB_OK + MB_ICONSTOP );
Beep (5000,500);
ExitProcess(1); //Exit Crossfire
}
}
return TRUE;
}
//=====================================|| TAMAT! ||=======================================//
apaan nih -_-
ReplyDeletecit yg update kamis ga bisa tuh -_-
cit yg baru ada kah
kk buat DLLnya pake DEV CC ato yg lain?
ReplyDeletekk waktu ku inject pake perX kok ke detect ma X-Trap ? mohon bantuannya
ReplyDeletegan nyari offset nya gimana? gaada source nya?
ReplyDeletedarma klo mau set cit bug ma shoot wall gimana
ReplyDeleteMasih Work Nih Base ?
ReplyDeleteKalo Masih nanti Ane Follow Deh (y)
data base apa
ReplyDelete