Ich hab nen Nomenu hack gemacht mit viele funktionen,es wurden 0 Errors/ 0Warnings Angezeigt.
Doch wenn ich warrock starte komt black-screen.Habe viele Injectors benutzt!und nix.
ich glaub das irgend ein code nicht mehr exisitiert.kann wer helfen?
#include <windows.h>
#include <stdio.h>
//--------------------------Define Hacks--------------------------//
#define ADR_Playerpointer 0x00C40288
#define ADR_Serverpointer 0x000
#define Z_Offset 0x00000128
#define NFD_Offset 0x000002F0
#define OFS_5thslot 0x00D147C
#define ADR_NoSpread 0x000
#define ADR_NOWATER 0x009A386C
#define ADR_NOBOUNDS2 0x00AA79CC
#define NoRecoil_1_OffSet 0x00000000
#define NoRecoil_2_OffSet 0x00000004
#define NoRecoil_3_OffSet 0x00000008
#define Stamina_OffSet 0x0000001C
#define ADR_FASTAMMO 0x00A82260
#define ADR_FASTHEALTH 0x00A82264
#define ADR_FASTREPAIR 0x00A82268
#define ADR_FASTFLAG 0x00A8226C
#define ADR_QuickSpawn1 0x000
#define ADR_QuickSpawn2 0x000
//--------------------------End Define Addies--------------------------//
//--------------------------Define HackThread--------------------------//
DWORD *ingame= (DWORD*)ADR_Playerpointer;
DWORD *outgame= (DWORD*)ADR_Serverpointer;
//--------------------------End Define HackThread--------------------------//
//--------------------------Start Hacks--------------------------//
void SuperJump() //super jump
{
if(GetAsyncKeyState(VK_CONTROL))
{
DWORD PlP = *(DWORD*)ADR_Playerpointer;
if(PlP != 0)
{
*(float*)(PlP+Z_Offset) = 1500;
}
}
}
void nfd()
{
DWORD dwPlP = *(DWORD*)ADR_Playerpointer;
if(dwPlP != 0)
{
*(float*)(dwPlP+NFD_Offset) = -25000;
}
}
void Slots5() //S
{
DWORD dwPlayerPtr = *(DWORD*)ADR_Serverpointer;
if(dwPlayerPtr != 0)
{
*(long*)(dwPlayerPtr+OFS_5thslot) = 1;
}
}
void NoSpread() //no spread
{
*(float*) ADR_NoSpread = 0;
}
void NoWater() //no water
{
long t=0;
unsigned long Protection;
VirtualProtect((void*)ADR_NOWATER, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_NOWATER, &t , sizeof(t));
VirtualProtect((void*)ADR_NOWATER, sizeof(t), Protection, 0);
}
void NoBounds() //nobounds
{
long t=0;
unsigned long Protection;
VirtualProtect((void*)ADR_NOBOUNDS2, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_NOBOUNDS2, &t , sizeof(t));
VirtualProtect((void*)ADR_NOBOUNDS2, sizeof(t), Protection, 0);
VirtualProtect((void*)ADR_NOBOUNDS2, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_NOBOUNDS2, &t , sizeof(t));
VirtualProtect((void*)ADR_NOBOUNDS2, sizeof(t), Protection, 0);
}
void NoRecoil() //norecoil
{
DWORD dwPlayerPtr = *(DWORD*)ADR_Playerpointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+NoRecoil_1_OffSet) = 0;
*(float*)(dwPlayerPtr+NoRecoil_2_OffSet) = 0;
*(float*)(dwPlayerPtr+NoRecoil_3_OffSet) = 0;
}
}
void Stamina() /////Unl.Stamina
{
DWORD dwPlayerPtr = *(DWORD*)ADR_Playerpointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+Stamina_OffSet) = 100;
}
}
void FastAll()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_Playerpointer;
if(dwPlayerPtr != 0)
{
*(float*)ADR_FASTREPAIR = 10.0f;
*(float*)ADR_FASTHEALTH = 5.0f;
*(float*)ADR_FASTFLAG = 10.0f;
*(float*)ADR_FASTAMMO = 5.0f;
}
}
void Spawn()
{
long t=0;
unsigned long Protection;
VirtualProtect((void*)ADR_QuickSpawn1, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_QuickSpawn1, &t , sizeof(t));
VirtualProtect((void*)ADR_QuickSpawn1, sizeof(t), Protection, 0);
VirtualProtect((void*)ADR_QuickSpawn2, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_QuickSpawn2, &t , sizeof(t));
VirtualProtect((void*)ADR_QuickSpawn2, sizeof(t), Protection, 0);
}
void TheHacks()
{
for(;
{
SuperJump();
nfd;
Slots5();
NoSpread();
NoWater();
NoBounds();
NoRecoil();
Stamina();
FastAll();
Spawn();
Sleep(30);
}
}
BOOL WINAPI DllMain(HINSTANCE mod, DWORD DWORD_GRUND, LPVOID res)
{
switch(DWORD_GRUND)
{
case 1:
MessageBoxA(NULL, "Hack erfolgreich gestartet!Starten sie jetzt die Warrock.exe...", "Made by Swinxx", MB_OK);
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)TheHacks , 0, 0, 0);
break;
case 2:
break;
}
return TRUE;
}
//--------------------------End Hacks--------------------------//