Piszę już tego Hacka z 2 Godziny i dalej nie Robi mi się Dll ;/ Wiecie może co w nim złego??
#include <windows.h>
#define ADR_PLAYERPOINTER 0xD45310
#define ADR_SERVERPOINTER 0xC41938
#define OFS_SLOT5 0x1021A4
#define OFS_NORECOIL1 0x1C
#define OFS_NORECOIL2 0x20
#define OFS_NORECOIL3 0x24
#define ADR_NOSPREAD 0xBC78E8
#define OFS_PREMIUM 0x57C
#define OFS_PREMIUM2 0x580
void Slots5 ()
{
DWORD dwServerPointer = *(DWORD*)ADR_SERVERPOINTER;
if(dwServerPointer != 0) {
*(long*)(dwServerPointer +OFS_SLOT5) = 1;
}
}
void NO_RECOIL ()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+OFS_NORECOIL1) = 0;
*(float*)(dwPlayerPtr+OFS_NORECOIL2) = 0;
*(float*)(dwPlayerPtr+OFS_NORECOIL3) = 0;
}
}
void NO_SPREAD ()
{
long t=0;
unsigned long Protection;
VirtualProtect((void*)NO_SPREAD, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)NO_SPREAD, &t , sizeof(t));
VirtualProtect((void*)NO_SPREAD, sizeof(t), Protection, 0);
}
void PREMIUM ()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_SERVERPOINTER;
if(dwPlayerPtr != 0)
{
*(long*)(dwPlayerPtr+OFS_PREMIUM) = 3, 10; // 1 = bronze 2 = silver 3 = gold
}
}
BOOL WINAPI DllMain(HINSTANCE module, DWORD dwReason, LPVOID lpvReserved)
{
if(dwReason == DLL_PROCESS_ATTACH)
{
}
return true;
}
(if (dwReason == DLL_PROCESS_ATTACH)
{
MessageBoxA(NULL, "Hack Stworzony Przez Cyran z MPC Forum ", "Haczek, Zrobił Go Cyran", MB_OK);
}