D3D WallHack Public

Posts 1–15 of 33 · Page 1 of 3
D3D WallHack Public
Hello! I'm so booooooooooooor3d................!!!!!

In Global:
Code:
#define NAKED _declspec(naked) void
int WallCheat,SeeGhost;
DWORD RETDIP,hD3D;
InKey:
Code:
void Sendkey()
{
	if(GetAsyncKeyState(VK_F9))
	{
		WallCheat=!WallCheat;
	}
	if(GetAsyncKeyState(VK_F10))
	{
		SeeGhost=!SeeGhost;
	}
}
WallHack Here:
Code:
void mWallCheat()
{
	IDirect3DVertexBuffer9* pStreamData = NULL; 
	UINT iOffsetInBytes,iStride;  
	pDevice->GetStreamSource(0,&pStreamData,&iOffsetInBytes,&iStride);
	if (WallCheat && iStride == 44)
	{
		pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
	}
	if (SeeGhost && iStride == 44)
	{
		pDevice->SetRenderState(D3DRS_LIGHTING, false);
		pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255,255,255,255));
	}
}
ASM By @lucifereviluser:
Code:
NAKED WIN7_DIP()
{
	_asm MOV EDI,EDI;
	_asm PUSH EBP;
	_asm MOV EBP,ESP;
	_asm MOV pDevice,EDI;
	_asm PUSHAD;
		mWallCheat();
	_asm POPAD;
	_asm JMP RETDIP;
}
Code:
int Hook(void)
{
	do 
	{
		hD3D = (DWORD)LoadLibraryA("d3d9.dll");
	} 
	while(!hD3D);
	DWORD DIPHOOK = FindPattern(hD3D, 0x1C3000, (BYTE*)"\x8B\xFF\x55\x8B\xEC\x83\xEC\x00\x56\x8B\x75\x00\xF6\x86\x00\x00\x00\x00\x00\x57\x8B\xBE\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xF7\x86\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x8B\x8E\x00\x00\x00\x00\xE8","xxxxxxx?xxx?xx?????xxx??????????xx??????????xx????x");
	RETDIP = DIPHOOK + 0x5;
	MakeJMP((BYTE *)DIPHOOK, (DWORD)WIN7_DIP, 0x5);
	SendKey();
	return 0;
}
Dll Main:
Code:
BOOL APIENTRY DllMain(HINSTANCE hinstDLL, DWORD dwReason, LPVOID lpvReserved)
{
	DisableThreadLibraryCalls(hinstDLL);
	if(dwReason == DLL_PROCESS_ATTACH)
	{
		Hook();
	}
	return true;
}
This is D3D WallHack Hook for Windows 7 [32/64Bit System].
GoodLuck!
Thanks For Sharing .
@***** Thanks for sharing it to public bro. Just don't mind those haters! HAHAHA..
Good Job!
Messy codes, and i am sure someone posted this place that you are doing JMP to it before..
/MsgTooShort
thanks for sharing.
R.I.P CF.
Thanks for sharing
Any Body KNOW How TO Rez Code HACK IN CF I Dont KNOW!!!PLS ANY BODY TELL
thank's for sharing
@*****
i dont know much about d3d so how to get byte patterns? do you attach d3d9.dll from system32 to olly?
Posts 1–15 of 33 · Page 1 of 3

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us