Habe gerade meine eigene Source erstellt aber keine Funktion geht ô.Ô.
Ich Poste mal die Source falls Addys falsch oder alt sind bitte Korigieren.
Oder andere Fehler bitte Korigieren... Danke
Code:
#include <Windows.h>
#include <stdio.h>
#define ADR_PLAYERPOINTER 0xC62388
#define ADR_SERVERPOINTER 0xB5D0F8
#define OFS_5SLOT 0x1021A4
#define OFS_NFD 0x103A4
#define OFS_X 0x102D4
#define OFS_Y 0x102DC
#define OFS_Z 0x102D8
#define OFS_SPEED 0xA4B8D4
#define ADR_NOSPREAD 0xAE330C
#define OFS_NORECOIL1 0x1C
#define OFS_NORECOIL2 0x20
#define OFS_NORECOIL3 0x24
#define OFS_STAMINA 0x02a4
#define ADR_NOSPAWNWAIT1 0xB165C0
#define ADR_NOSPAWNWAIT2 0xB165C4
#define OFS_SUPERMASTER 0xFCD30
#define OFS_PREMIUM2 0x580
#define ADR_GLASSWALLS 0x000AE9104
float CoordX;
float CoordY;
float CoordZ;
DWORD dwPlayer = *(DWORD*)ADR_PLAYERPOINTER;
DWORD dwServer = *(DWORD*)ADR_SERVERPOINTER;
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
DWORD dwServerPtr = *(DWORD*)ADR_SERVERPOINTER;
float posiZ;
void jump ()
{
if(GetAsyncKeyState(VK_CONTROL) &1)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+OFS_Z) = 2500;
}
}
}
void glasswalls ()
{
if(GetAsyncKeyState(VK_NUMPAD8) &1)
{
*(int*)ADR_GLASSWALLS = 4;
}
if(GetAsyncKeyState(VK_NUMPAD9) &1)
{
*(int*)ADR_GLASSWALLS = 0;
}
}
void teleport ()
{
if(GetAsyncKeyState(VK_F2))
{
CoordX = *(float*)(dwPlayerPtr+OFS_X);
CoordY = *(float*)(dwPlayerPtr+OFS_Y);
CoordZ = *(float*)(dwPlayerPtr+OFS_Z);
}
if (GetAsyncKeyState(VK_F3))
{
*(float*)(dwPlayerPtr + OFS_X) = CoordX;
*(float*)(dwPlayerPtr + OFS_Y) = CoordY;
*(float*)(dwPlayerPtr + OFS_Z) = CoordZ;
}
}
void Slots5 ()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_SERVERPOINTER;
if(dwPlayerPtr != 0)
{
*(long*)(dwPlayerPtr+OFS_5SLOT) = 1;
}
}
void norecoil ()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+OFS_NORECOIL1) = 0;
*(float*)(dwPlayerPtr+OFS_NORECOIL2) = 0;
*(float*)(dwPlayerPtr+OFS_NORECOIL3) = 0;
}
}
void spread ()
{
*(float*) ADR_NOSPREAD = 0;
}
void stamina ()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+OFS_STAMINA) = 100;
}
}
void Spawn ()
{
long t=0;
unsigned long Protection;
VirtualProtect((void*)ADR_NOSPAWNWAIT1, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_NOSPAWNWAIT1, &t , sizeof(t));
VirtualProtect((void*)ADR_NOSPAWNWAIT1, sizeof(t), Protection, 0);
VirtualProtect((void*)ADR_NOSPAWNWAIT2, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_NOSPAWNWAIT2, &t , sizeof(t));
VirtualProtect((void*)ADR_NOSPAWNWAIT2, sizeof(t), Protection, 0);
}
void Supermaster ()
{
DWORD dwSrvrPtr = *(DWORD*)ADR_SERVERPOINTER;
if(dwSrvrPtr != 0){
*(int*)(dwSrvrPtr+OFS_SUPERMASTER) = 1;
}
}
void Platinum ()
{
DWORD dwSrvrPtr = *(DWORD*)ADR_SERVERPOINTER;
if(dwSrvrPtr != 0)
{
*(long*)(dwSrvrPtr+OFS_PREMIUM2) = 4, 10;
{
*(float*)(dwSrvrPtr+OFS_PREMIUM2) = 1, 1;
}}}
void nfd ()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+OFS_NFD) = -20000;
}
}
void HackThread()
{
for (;;)
{
Platinum();
Supermaster();
Spawn();
stamina();
norecoil();
Slots5();
spread();
jump();
nfd();
Sleep(200);
}
}
BOOL WINAPI DllMain(HINSTANCE mod, DWORD DWORD_GRUND, LPVOID res)
{
switch(DWORD_GRUND)
{
case 1:
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread , 0, 0, 0);
break;
case 2:
break;
}
return TRUE;
}