nih all karena gue baek
gue udah capek2 nyari offset'a
jngan d sbar yy
nih Soucre Codenya:
/*
Name: Dimas Syahputra
Copyright: MIKAZU@C2
Author: Gambler007, Iki Scream@N2
Date: 01/05/2011 22:30.34
*/
#include "dll.h"
#include
#include
#include
LPTSTR TheBrother = "PointBlank.i3exec";
DWORD ofsMNZ1, ofsMNZ2, dwBase, adrBaretOn, adrBaretOff, adrMISIOn, adrMISIOff, NextProtection;
BYTE SGOFF[]= {0x2C};
BYTE SGON[] = {0xFF};
//========================================================================================================================
void LChangeTheWorld(void *adr, void *ptr, int size)
{
VirtualProtect(adr,size,PAGE_EXECUTE_READWRITE, &NextProtection);
RtlMoveMemory(adr,ptr,size);
VirtualProtect(adr,size,NextProtection, &NextProtection);
}
int TukangTusbol = 0;
int __fastcall ByLstars(void)
{
return 0;
}
DWORD WINAPI ThreadStarter(LPVOID param)
{
while (1) {
ByLstars();
ByLstars();
ByLstars();
ByLstars();
ByLstars();
ByLstars();
ByLstars();
ByLstars();
ByLstars();
ByLstars();
//============================================SG Gosong 1 HIT==============================================================
//Hotkey ON
if (GetAsyncKeyState(VK_LBUTTON)&1) {
dwBase =(DWORD)GetModuleHandleA(TheBrother)+BASEWEAPON;
DWORD Ptr1 = *(PDWORD)((DWORD)(dwBase))+SGGosong1;
DWORD Ptr2 = *(PDWORD)((DWORD)(Ptr1))+SGGosongDamage;
DWORD Ptr3 = *(PDWORD)((DWORD)(Ptr2))+SGGosong2;
LChangeTheWorld((BYTE*)(Ptr3),(SGON),1);
}
//Hotkey OFF
if (GetAsyncKeyState(VK_RBUTTON)&1) {
dwBase =(DWORD)GetModuleHandleA(TheBrother)+BASEWEAPON;
DWORD Ptr1 = *(PDWORD)((DWORD)(dwBase))+SGGosong1;
DWORD Ptr2 = *(PDWORD)((DWORD)(Ptr1))+SGGosongDamage;
DWORD Ptr3 = *(PDWORD)((DWORD)(Ptr2))+SGGosong2;
LChangeTheWorld((BYTE*)(Ptr3),(SGOFF),1);
}
Sleep(0);
}
return (0);
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if (dwReason == DLL_PROCESS_ATTACH) {
Beep(100,1000);
MessageBox(0,"Credit by Dimas Syahputra","Dimas Syahputra", MB_OK + MB_ICONWARNING );
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)ThreadStarter,0, 0, 0);
}
return TRUE;
}