Wie oft noch probiers!!
Quote:
#include <Windows.h>
#include <stdio.h>
#define ADR_PLAYERPOINTER 0x00C7C738
#define ADR_SERVERPOINTER 0x00B770B0
#define OFS_Z 0x00102EC
#define OFS_FALLDAMAGE 0x00102CC
#define OFS_5SLOT 0x001021A4
#define OFS_6SLOT 0x001021A5
#define OFS_7SLOT 0x001021A6
#define OFS_8SLOT 0x001021A7
DWORD *ingame = (DWORD*)ADR_PLAYERPOINTER;
DWORD *outgame = (DWORD*)ADR_SERVERPOINTER;
void PlayerHacks()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
//Super Jump
{
if(GetAsyncKeyState(VK_CONTROL) &1)
{
*(float*)(dwPlayerPtr + OFS_Z) = 2000;
}
}
//No Fall Damage
{
*(float*)(dwPlayerPtr + OFS_NFD) = -20000;
}
}
}
void ServerHacks()
{
DWORD dwSrvrPtr = *(DWORD*)ADR_SERVERPOINTER;
if(dwSrvrPtr != 0)
{
//Slot Stuff
//5 Slot
{
*(long*)(dwSrvrPtr + OFS_5SLOT) = 1;
}
//6 Slot
{
*(long*)(dwSrvrPtr + OFS_6SLOT) = 1;
}
//7 Slot
{
*(long*)(dwSrvrPtr + OFS_7SLOT) = 1;
}
//8 Slot
{
*(long*)(dwSrvrPtr + OFS_8SLOT) = 1;
}
}
}
void HackThread()
{
for(;; )
{
if(*ingame)
{
PlayerHacks();
}
if(*outgame)
{
ServerHacks();
}
}
Sleep( 30 );
}
BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpvReserved)
{
if(dwReason == DLL_PROCESS_ATTACH)
{
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread, 0, 0, 0);
}
return TRUE;
}
Quote:
#include <windows.h>
#include <stdio.h>
//need new addys
void NFD()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+OFS_NFD) = -2000000;
}
}
void Hacks()
{
for(;; )
{
NFD();
Sleep(20);
}
}
BOOL WINAPI DllMain(HINSTANCE mod, DWORD DWORD_GRUND, LPVOID res)
{
switch(DWORD_GRUND)
{
case 1:
ShellExecuteA(NULL,"Open","http://elitepvpers.com/forum/warrock",NULL,NULL,1);
MessageBoxA(NULL, "Made by BlackLegend", "Injection Succesfull", MB_OK);
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)Hacks , 0, 0, 0);
break;
case 2:
break;
}
return TRUE;
}
so is richtig :DQuote:
//No Fall Damage
{
*(float*)(dwPlayerPtr + OFS_FALLDAMAGE) = -20000;
}
Quote:
Was ist hier dran falsch ? :
//No Fall Damage
{
*(float*)(dwPlayerPtr + [COLOR="red"]OFS_NFD[/COLOR]) = -20000;
}
#define [COLOR="red"]OFS_FALLDAMAGE[/COLOR] 0x00102CC
if(OPK==1)Quote:
Dein OPK -> Ist für CrossFire wenn ich richtig sehe ;)
Für WarRock Sieht das so aus: