CrossFire Simple WallHack Source

Posts 1–15 of 35 · Page 1 of 3
CrossFire Simple WallHack Source
Hello...This is my Source Code for CrossFire WallHack.
I'm so bored and publicshed. If you want to learn?...take it...
Now it's Full Code. Wall.CPP and copy all files detours to your project

Created by SharkVN Group
Notes: CrossFire WallHack Source - Detected
Virus Scan by TotalViru's: detours.rar - Clean
Code:
#include "stdafx.h"
#include <Windows.h>
#include "d3d9.h"
#include "detours.h"
#include "stdio.h"
#pragma comment (lib, "d3d9.lib")
#pragma comment (lib, "detours.lib") 
bool hlWall=1;
bool hlSTART=1;

typedef HRESULT(WINAPI* DrawIndexedPrimitive_)(LPDIRECT3DDEVICE9 pDevice, D3DPRIMITIVETYPE Type, INT BaseVertexIndex, UINT MinIndex, UINT NumVertices, UINT StartIndex, UINT PrimitiveCount);
DrawIndexedPrimitive_ pDrawIndexedPrimitive;

HRESULT WINAPI nDrawIndexedPrimitive(LPDIRECT3DDEVICE9 pDevice, D3DPRIMITIVETYPE Type, INT BaseVertexIndex, UINT MinIndex,UINT NumVertices, UINT StartIndex, UINT PrimitiveCount)
{  

  IDirect3DVertexBuffer9* pStreamData = NULL; 
  UINT iOffsetInBytes,iStride;  
  pDevice->GetStreamSource(0,&pStreamData,&iOffsetInBytes,&iStride); 

  if (  iStride == 40 &&hlSTART==1)
  {
		pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
		pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_NEVER);
  }
    		
   return pDrawIndexedPrimitive(pDevice, Type, BaseVertexIndex, MinIndex, NumVertices, StartIndex, PrimitiveCount);
}

int hlMAIN ();

BOOL APIENTRY DllMain( HANDLE hModule,DWORD  ul_reason_for_call, LPVOID lpReserved )
{
    if (hlWall)
	{
		hlWall=0;
		 CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)hlMAIN, NULL, NULL, NULL);                
	}
	return TRUE;
}
int hlMAIN()
{
	char s[1000];
	DWORD ******OffS=0x4FE571A0;
	for(;; Sleep(100)) 
        {
               ******OffS=(DWORD)GetModuleHandle ("d3d9.dll");
			   if (******OffS)			   
				   break;			   
        }

	DWORD a[2];
	a[0]=******OffS+0x88830; // Offset: 88830 for Sp2 if not Sp2 use 88840
	OutputDebugString (s);
	pDrawIndexedPrimitive = (DrawIndexedPrimitive_)DetourFunction((PBYTE)a[0],(PBYTE)nDrawIndexedPrimitive);

	for (;;Sleep (500))
	{
		if (GetAsyncKeyState (VK_F9)!=0) 
		{
			Beep (2000,200);
			hlSTART=1; // Turn ON
		}
		if (GetAsyncKeyState (VK_F10)!=0) 
		{
			Beep (3000,200);
			hlSTART=0; // Turn OFF
		}
	}
	return 1;
}
detours.rarattachment deleted · 869 downloads before removal
what address & offset are those?
Thank You For Sharing.
seriously there is nothing new about it except those addy & offset which i dont know what are those for.
Quote Originally Posted by Ore0 View Post
seriously there is nothing new about it except those addy & offset which i dont know what are those for.
That's D3D Dude
i want undetected source
Quote Originally Posted by Venommmm1 View Post
i want undetected source
Well Why Dont You Try And Make It Undetected Then ?

OT: Very Nice ***** Your Very Generous To This Forum
Nice
/approve it ^^

EDIT:
Pleas make a vid
i you tell me how to make it undetected

ill make it
Quote Originally Posted by Jabuuty671 View Post
Approved .
Thank You Jabuuty.
i have a problem with ur code
|
|
v
1>------ Build started: Project: Khaled3, Configuration: Debug Win32 ------
1>Compiling...
1>main.cpp
1>c:\users\khaled\documents\visual studio 2008\projects\khaled3\khaled3\main.cpp(1) : fatal error C1083: Cannot open include file: 'stdafx.h': No such file or directory
1>Build log was saved at "file://c:\Users\Khaled\Documents\Visual Studio 2008\Projects\Khaled3\Khaled3\Debug\BuildLog.htm"
1>Khaled3 - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Quote Originally Posted by khzein View Post
i have a problem with ur code
|
|
v
1>------ Build started: Project: Khaled3, Configuration: Debug Win32 ------
1>Compiling...
1>main.cpp
1>c:\users\khaled\documents\visual studio 2008\projects\khaled3\khaled3\main.cpp(1) : fatal error C1083: Cannot open include file: 'stdafx.h': No such file or directory
1>Build log was saved at "file://c:\Users\Khaled\Documents\Visual Studio 2008\Projects\Khaled3\Khaled3\Debug\BuildLog.htm"
1>Khaled3 - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Did you include your Stdafx.h in your header folder?
This source is detected.Use d3d device or mid function hook is undetected.
I cant find d3d device because i cant set breakpoint in crossfire.Crossfire detected hardware breakpoint.But i can use midfunction hook and it is undetected.
Posts 1–15 of 35 · Page 1 of 3
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?