ExclamationSolvedNeed Help For my First Hack !.... Please !...

Posts 13 of 3 · Page 1 of 1
Need Help For my First Hack !.... Please !...
needhelp poh.. please... i build says 1 field ?...
1>2dnd.dll - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Please.. Please.. Please... Help.. Help.. Help...




#include <stdafx.h>
#include <windows.h>
#include <CPatch.h>





#define ADR_PlayerPointer 0x00A86B88
#define ADR_ServerPointer 0x00A85B30
#define ADR_GlassWall 0x00A84CC4
#define OFS_NoDelay 0x0010410


BYTE NOP[8] = { 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90 };






cPatch cNodelay(ADR_NoDelay, NOP, 2);






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




//Player Hacks
void PlayerHacks()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PlayerPointer;
if(dwPlayerPtr != 0)
{
}
}

void GlassWalls()
{
if(GetKeyState(VK_MBUTTON))
*(int*)ADR_GlassWalls = 1;

else
{
*(int**)ADR_GlassWalls = 0;
}
}

void NoDelay()
{
if (GetAsyncKeyState(VK_LBUTTON))
{

cNodelay.Patch();
}
else
{
cNodelay.Restore();
}
}






void HackThread()
{
for (;;)
{
if (*ingame)
{
NoDelay()
Wallhacks()
PlayerHacks()

}
if (*outgame)
{
}
Sleep(200);
}
}


BOOL __stdcall DllMain(HINSTANCE hDll, DWORD dwReason, LPVOID)
{
if (dwReason == DLL_PROCESS_ATTACH)
{
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread, 0, 0, 0);
MessageBoxA(NULL, " baludoy ", "success", MB_OK);
}
return TRUE;
}
Here:
Code:
#include <Windows.h>
#include <stdio.h>

#define ADR_PlayerPointer 0x00A86B88
#define ADR_ServerPointer 0x00A85B30
#define ADR_GlassWalls 0x00A84CC4
#define OFS_NoDelay 0x0010410

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


void GlassWalls()
{
	if(GetKeyState(VK_MBUTTON))
	*(int*)ADR_GlassWalls = 4;
else
	{
		*(int**)ADR_GlassWalls = 0;
	}
}

void NoDelay()
{
	DWORD dwPlayerPtr = *(DWORD*)ADR_PlayerPointer;	
	if(dwPlayerPtr != 0)
	{
		if(GetAsyncKeyState(VK_LBUTTON))
		{
			*(DWORD*)(dwPlayerPtr+OFS_NoDelay) = -1;
		}
	}
}

void HackThread()
{
	for (;;)
	{
		if (*ingame)
		{
			NoDelay();
			GlassWalls();
		}
		if (*outgame)
		{
		}
	Sleep(200);
	}
}


BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpvReserved) {
if(dwReason == DLL_PROCESS_ATTACH)
{
	MessageBoxA(NULL, "Message", "Message", (MB_ICONASTERISK));
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread, 0, 0, 0);

}
return TRUE;
}
NOTE: You need update addys, else, it will not work...
By the way, you are too lazy...
Don't just copy paste codes without analyzing...
Posts 13 of 3 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

Need help?