Question@Jhem @Helpers

Posts 1–8 of 8 · Page 1 of 1
@Jhem @Helpers
HELP ME PLEASE WHATS THE WRONG IN MY CODE ??


Code:
#include <windows.h>
#include <stdio.h>

#define ADR_PlayerPointer 0xA9579*
#define ADR_ServerPointer 0xA9473*
#define ADR_GlassWalls 0xA938C*
#define ADR_FastAmmo 0xA9C6E*
#define ADR_FastRepair 0xA9C70*
#define ADR_Speed             0x8BC98*
#define OFS_Speed            0x1010*
#define OFS_NoRecoil1 0x00C44*
#define OFS_NoRecoil2 0x00C44*
#define OFS_NoRecoil3 0x00C44*
#define ADR_FARFOG                               0xA9C63*
#define ADR_NEARFOG                             0xA9C62*
#define ADR_NoBounds1 0xB1FE5*
#define ADR_NoBounds2 0xB1FE5*
#define ADR_NoBounds3 0xB1FE6*

DWORD *ingame= (DWORD*) ADR_PlayerPointer;
DWORD *outgame= (DWORD*)ADR_ServerPointer;

//Player Hacks
void PlayerHacks()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PlayerPointer;
if(dwPlayerPtr != 0)
{
}
}
//-------------------------------------------------
void GlassWall()
{
if(GetKeyState(VK_MBUTTON))
*(int*)ADR_GlassWalls = 1;
else
{
*(int**)ADR_GlassWalls = 0;
}
}
void Fastall()
{
*(float*)ADR_FastAmmo = 5000000;
*(float*)ADR_FastRepair = 5000000;
}
void speedhack()
{
if(GetAsyncKeyState(VK_NUMPAD2) &1)
{
*(float*)(dwPlayerPtr+OFS_Speed) = 500;
}
}
void speed()
{
}
if(GetKeyState(VK_NUMPAD1))
*(float*)(dwPlayerPtr+OFS_Speed) = -200;
}
}
void speedoff()
{
if(GetAsyncKeyState(VK_NUMPAD0) &1)
{
*(float*)(dwPlayerPtr+OFS_Speed) = 97.0f;
}
}

void All()
{
*(float*)ADR_FARFOG  = 0;
*(float*)ADR_NEARFOG = 0;
*(int*)ADR_NoBounds1 = 0;
*(int*)ADR_NoBounds2 = 0;
*(int*)ADR_NoBounds3 = 0;
}
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 HackThread()
{
for(;; )
{
if(*ingame)
{
All ();
Fastall();
PlayerHacks();
GlassWall();
speedhack();
}
if(*outgame)
{
}
Sleep(20); //prevent for overloading the cpu
}
}
//--------------------------End HackThread--------------------------//

//--------------------------End--------------------------//
BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpvReserved)
{
if(dwReason == DLL_PROCESS_ATTACH)
{
MessageBoxA(NULL,"Made By :ÏÐðl Ed'z Jham'z ","HACK",MB_OK);
MessageBoxA(NULL,"Credits","jPagz!",MB_OK);
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread , 0, 0, 0);
}
return TRUE;
}
Please bro stop spamming shits


Here I fixed your shits:
Code:
#include <windows.h>
#include <stdio.h>

#define ADR_PlayerPointer 0xA9579
#define ADR_ServerPointer 0xA9473
#define ADR_GlassWalls 0xA938C
#define ADR_FastAmmo 0xA9C6E
#define ADR_FastRepair 0xA9C70
#define ADR_Speed             0x8BC98
#define OFS_Speed            0x1010
#define OFS_NoRecoil1 0x00C44
#define OFS_NoRecoil2 0x00C44
#define OFS_NoRecoil3 0x00C44
#define ADR_FARFOG                               0xA9C63
#define ADR_NEARFOG                             0xA9C62
#define ADR_NoBounds1 0xB1FE5
#define ADR_NoBounds2 0xB1FE5
#define ADR_NoBounds3 0xB1FE6

DWORD *ingame= (DWORD*) ADR_PlayerPointer;
DWORD *outgame= (DWORD*)ADR_ServerPointer;

//-----------Functions-----------------// 

void GlassWall()
{
if(GetKeyState(VK_MBUTTON))
*(int*)ADR_GlassWalls = 1;
else
{
*(int**)ADR_GlassWalls = 0;
}
}

void FastAll()
{
*(float*)ADR_FastAmmo = 5000000;
*(float*)ADR_FastRepair = 5000000;
}

void All()
{
*(float*)ADR_FARFOG  = 0;
*(float*)ADR_NEARFOG = 0;
*(int*)ADR_NoBounds1 = 0;
*(int*)ADR_NoBounds2 = 0;
*(int*)ADR_NoBounds3 = 0;
}

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 HackThread()
{
for(;; )
{
if(*ingame)
{
All();
FastAll();
GlassWall();
{
if(*outgame)
{
}
}
Sleep(200);
}

//----------------------------------------------------//

//--------------------------End--------------------------//
BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpvReserved)
{
if(dwReason == DLL_PROCESS_ATTACH)
{
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread , 0, 0, 0);
MessageBoxA(NULL,"Made By :ÏÐðl Ed'z Jham'z ","HACK",MB_OK);
MessageBoxA(NULL,"DaneCoder","Credits:",MB_OK);
}
return TRUE;
}
dlltool dlltool C:\Documents and Settings\Lil Pain\My Documents\dlltool Job.dll: No such file or directory.
C:\Documents and Settings\Lil Pain\My Documents\Makefile.win [Build Error] ["Hacking] Error 1 (if this is the only error: please check your library includes)
Anu ba mali d2?? >.<
Quote Originally Posted by killallbosz View Post
dlltool dlltool C:\Documents and Settings\Lil Pain\My Documents\dlltool Job.dll: No such file or directory.
C:\Documents and Settings\Lil Pain\My Documents\Makefile.win [Build Error] ["Hacking] Error 1 (if this is the only error: please check your library includes)
Anu ba mali d2?? >.<
Create a new project.
But my Speed hack ?
BTW, Thanks
same as jem says..
Code:
*(float*)ADR_FARFOG  = 0;
*(float*)ADR_NEARFOG = 0;
both need to be changed to a greater value, or you won't see anything ingame.
Posts 1–8 of 8 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us