CoolWHAT SHOULD I PUT THERE?

Posts 1–5 of 5 · Page 1 of 1
WHAT SHOULD I PUT THERE?
HELP ME TO FIX THIS PLEASE?





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


#define ADR_Playerpointer 0x00AC0554
#define ADR_Serverpointer 0x009BA3E8
#define ADR_Glasswall 0x00947cA4
#define OFS_NoRecoil1 0x000C444
#define OFS_NoRecoil2 0x000C448
#define OFS_NoRecoil3 0x000C44C

DWORD *ingame= (DWORD*)ADR_Playerpointer;
DWORD *outgame= (DWORD*)ADR_Serverpointer

void glasswall();
{
if(GetKeyState(VK_MBUTTON))
*(int*)ADR_Glasswall = 1;

else
{
*(int**)ADR_Glasswall = 0;
}
}
void All()
{
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)
{
glasswall();
nr();
}
if(*outgame)
{
}
Sleep(50);
}
}
BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpvReserved)
(
if(dwReason == DLL_PROCESS_ATTACH)
{
MessageBoxA(NULL,"Kenshi Coder,Tyler Andrew Coderz","Credits",MB_OK);
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread , 0, 0, 0);
}
return TRUE;
}
Simply put, no.
Learn what you are doing instead of just copy/pasting.
Learn to Code C++ first, then know what you writing and fix it, dont C&P....
There are a lot of good eBook to teach you C++
Leeching is not learning
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?