Ghost Wallhack :D C++ coders only

08/26/2010 15:58 Ovenran#1
hey guys :)

i just swap the DIP of ghost chams by blood of **** forum :D
and edit some codes

So C++ coders only can do this
you wanna try it? Try to Ask me how! :D

So the Code will be :
Code:
#include "stdafx.h"
#include <detours.h>
#include <d3d8.h>
#include <d3d9.h> // we will need this if the special force updated in d3d9
#include <windows.h>
bool GhostChams = true; // this is auto on if you want to make it in a hotkey > Just edit true to false and add the hotkey
#define Forces (nNumVertices == 100 && nPrimitiveCount == 121 || nNumVertices == 105 && nPrimitiveCount == 168) ||  nNumVertices == 132 && nPrimitiveCount == 180) || nNumVertices == 159 && nPrimitiveCount == 200) ||  nNumVertices == 338 && nPrimitiveCount == 534) || nNumVertices == 448 && nPrimitiveCount == 776) ||  nNumVertices == 804 && nPrimitiveCount == 1016)|| nNumVertices == 109 && nPrimitiveCount == 110) || nNumVertices == 336 && nPrimitiveCount == 532) // i just swap the defines by soreback and ive edit this > i took minutes to edit this code :D > by ovenran
// ============================================== // Ghost Chams // =========================================== //
	if (GhostChams)
	{
		if (Forces)
		{
	pDevice->SetRenderState(D3DRS_ALPHABLENDENABLE,true);
        pDevice->SetRenderState(D3DRS_DESTBLEND,D3DBLEND_INVDESTCOLOR);
        pDevice->SetRenderState(D3DRS_SRCBLEND,D3DBLEND_INVSRCCOLOR);
        //ZBUFFER OFF
		}
	}
// ============================================= .. endingg .. ================================================//
if we dont want auto on > we will add hotkeys and edit bool GhostChams = true; to false
Code:
if (GetAsyncKeyState (VK_NUMPAD1)&1)
{
GhostChams = !GhostChams;
}
Credits:
Blood : GhostChams DIP
Define players / edited DIP / posted : Ovenran or me :)
08/26/2010 17:09 Match*Star.#2
`Nice post. :)
`This will help other members don't know how to create a wallahck.
08/27/2010 01:05 [NP]RedTorch#3
†Thanks for this..
†Helps me alot for my C++ learning...
08/27/2010 13:28 Ovenran#4
thanks for using this code :) im happy :D Sorry for the some codes :D because im not yet a C++ PRO coder :D > im just a C++ CODER :D
08/27/2010 14:24 lalameng#5
nice bro...
it will help for me...
keep it up....
08/27/2010 15:21 Match*Star.#6
Quote:
Originally Posted by Ovenran View Post
thanks for using this code :) im happy :D Sorry for the some codes :D because im not yet a C++ PRO coder :D > im just a C++ CODER :D
`Yeah some codes reports an error but I can rid out of it.
`Thanks for releasing this.
08/28/2010 03:32 virgildomalaoco#7
` What Software i use to make this.?
i want to learn C+++ XD
08/28/2010 04:32 Match*Star.#8
Quote:
Originally Posted by virgildomalaoco View Post
` What Software i use to make this.?
i want to learn C+++ XD

`You must use Visual C++ 2008 is used to code this. [Only registered and activated users can see links. Click Here To Register...]
08/29/2010 07:25 worthless013#9
Quote:
Originally Posted by Match*Star. View Post

`You must use Visual C++ 2008 is used to code this. [Only registered and activated users can see links. Click Here To Register...]
working po ba sa C++ 2010 express?


"oops i already have 2008 :D thnks anyway
08/29/2010 09:32 Ovenran#10
old? this is a new > i just see the DIP code in **** and posted August 02 2010
> you don't know this... don't comment here if you don't like this

> don't spam here your #Reported
08/29/2010 09:36 worthless013#11
how to make?
09/03/2010 06:38 no0ne1#12
i want 2 use that but i dont know 2 CODE help me plzz...
09/03/2010 07:23 bulbulnipatrick#13
i want to make a hack
09/03/2010 07:23 bulbulnipatrick#14
i am currently installing the Microsoft Visual C++2008
09/03/2010 16:21 Match*Star.#15
Quote:
Originally Posted by worthless013 View Post
how to make?
`Download [Only registered and activated users can see links. Click Here To Register...]