Cham hack

Posts 1–9 of 9 · Page 1 of 1
Cham hack
I really want to make a cham hack so can someone help me with?
do you have works dip or bypass?
so i have but me too don't work..
and i have bypass...
Code:
HRESULT WINAPI  myDrawIndexedPrimitive(LPDIRECT3DDEVICE9 pDevice, D3DPRIMITIVETYPE pType D3DparamX,UINT nMinIndex, UINT nNumVertices, UINT nStartIndex, UINT nPrimitiveCount )
{
	_asm pushad;
	LPDIRECT3DVERTEXBUFFER9 Stream;
	UINT Offset = 0;
	UINT Stride = 0;
	        if(pDevice->GetStreamSource(0,&Stream,&Offset,&Stride) == D3D_OK) 
        {
                Stream->Release();
        }
			if (CH_cross==1)
{
int x = ( GetSystemMetrics( 0 ) / 2);
int y = ( GetSystemMetrics( 1 ) / 2);
D3DRECT rec = { x - 10, y, x + 10, y + 1};
D3DRECT rec2 = { x, y - 10, x + 1, y + 10};
pDevice->Clear(1, &rec, D3DCLEAR_TARGET, D3DCOLOR_ARGB(255, 255, 0, 0), 0, 0); //Red
pDevice->Clear(1, &rec2, D3DCLEAR_TARGET, D3DCOLOR_ARGB(255, 255, 0, 0), 0, 0); //Red
} 

#define Stride1 36
#define Stride2 32

if(WallHack==1)
{
if(Stride == Stride1 && Stride2 )
{
pDevice->SetRenderState( D3DRS_SRCBLEND, 3 );
pDevice->SetRenderState( D3DRS_DESTBLEND, 4 );
pDevice->SetRenderState( D3DRS_ALPHABLENDENABLE, true );
pDevice->SetRenderState( D3DRS_ZENABLE,false);
}
} 
	{
if(fCHUMS == 1){
if(Stride == 32){pDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255,255,0,0));pDevice->SetRenderState(D3DRS_ZENABLE,false);}}
if(fCHUMS == 2){
if(Stride == 32){pDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255,0,50,0));pDevice->SetRenderState(D3DRS_ZENABLE,false);}}// "Orange","Blue","Green","White","Black",Yellow"
if(fCHUMS == 3){
if(Stride == 32){pDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255,0,0,255));pDevice->SetRenderState(D3DRS_ZENABLE,false);}}
if(fCHUMS == 4){
if(Stride == 32){pDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255,0,0,0));pDevice->SetRenderState(D3DRS_ZENABLE,false);}}
if(fCHUMS == 5){
if(Stride == 32){pDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255,0,100,100));pDevice->SetRenderState(D3DRS_ZENABLE,false);}}
if(fCHUMS == 6){
if(Stride == 32){pDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(0,255,255,0));pDevice->SetRenderState(D3DRS_ZENABLE,false);}}
if(fCHUMS1 == 1){
if(Stride == 36 ){pDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255,255,0,0));pDevice->SetRenderState(D3DRS_ZENABLE,false);}}
if(fCHUMS1 == 2){
if(Stride == 36 ){pDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255,0,50,0));pDevice->SetRenderState(D3DRS_ZENABLE,false);}}
if(fCHUMS1 == 3){
if(Stride == 36 ){pDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255,0,0,255));pDevice->SetRenderState(D3DRS_ZENABLE,false);}}
if(fCHUMS1 == 4){
if(Stride == 36 ){pDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255,0,0,0));pDevice->SetRenderState(D3DRS_ZENABLE,false);}}
if(fCHUMS1 == 5){
if(Stride == 36 ){pDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255,0,100,100));pDevice->SetRenderState(D3DRS_ZENABLE,false);}}
if(fCHUMS1 == 6){
if(Stride == 36 ){pDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(0,255,0,255));pDevice->SetRenderState(D3DRS_ZENABLE,false);}}}
	_asm popad;
   return pDrawIndexedPrimitive(pDevice,pType D3DparamvalX,nMinIndex,nNumVertices,nStartIndex,nPrimitiveCount);
}
help pls...
Quote Originally Posted by futbolcuadem View Post
so i have but me too don't work..
and i have bypass...
Code:
HRESULT WINAPI  myDrawIndexedPrimitive(LPDIRECT3DDEVICE9 pDevice, D3DPRIMITIVETYPE pType D3DparamX,UINT nMinIndex, UINT nNumVertices, UINT nStartIndex, UINT nPrimitiveCount )
{
	_asm pushad;
	LPDIRECT3DVERTEXBUFFER9 Stream;
	UINT Offset = 0;
	UINT Stride = 0;
	        if(pDevice->GetStreamSource(0,&Stream,&Offset,&Stride) == D3D_OK) 
        {
                Stream->Release();
        }
			if (CH_cross==1)
{
int x = ( GetSystemMetrics( 0 ) / 2);
int y = ( GetSystemMetrics( 1 ) / 2);
D3DRECT rec = { x - 10, y, x + 10, y + 1};
D3DRECT rec2 = { x, y - 10, x + 1, y + 10};
pDevice->Clear(1, &rec, D3DCLEAR_TARGET, D3DCOLOR_ARGB(255, 255, 0, 0), 0, 0); //Red
pDevice->Clear(1, &rec2, D3DCLEAR_TARGET, D3DCOLOR_ARGB(255, 255, 0, 0), 0, 0); //Red
} 

#define Stride1 36
#define Stride2 32

if(WallHack==1)
{
if(Stride == Stride1 && Stride2 )
{
pDevice->SetRenderState( D3DRS_SRCBLEND, 3 );
pDevice->SetRenderState( D3DRS_DESTBLEND, 4 );
pDevice->SetRenderState( D3DRS_ALPHABLENDENABLE, true );
pDevice->SetRenderState( D3DRS_ZENABLE,false);
}
} 
	{
if(fCHUMS == 1){
if(Stride == 32){pDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255,255,0,0));pDevice->SetRenderState(D3DRS_ZENABLE,false);}}
if(fCHUMS == 2){
if(Stride == 32){pDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255,0,50,0));pDevice->SetRenderState(D3DRS_ZENABLE,false);}}// "Orange","Blue","Green","White","Black",Yellow"
if(fCHUMS == 3){
if(Stride == 32){pDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255,0,0,255));pDevice->SetRenderState(D3DRS_ZENABLE,false);}}
if(fCHUMS == 4){
if(Stride == 32){pDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255,0,0,0));pDevice->SetRenderState(D3DRS_ZENABLE,false);}}
if(fCHUMS == 5){
if(Stride == 32){pDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255,0,100,100));pDevice->SetRenderState(D3DRS_ZENABLE,false);}}
if(fCHUMS == 6){
if(Stride == 32){pDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(0,255,255,0));pDevice->SetRenderState(D3DRS_ZENABLE,false);}}
if(fCHUMS1 == 1){
if(Stride == 36 ){pDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255,255,0,0));pDevice->SetRenderState(D3DRS_ZENABLE,false);}}
if(fCHUMS1 == 2){
if(Stride == 36 ){pDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255,0,50,0));pDevice->SetRenderState(D3DRS_ZENABLE,false);}}
if(fCHUMS1 == 3){
if(Stride == 36 ){pDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255,0,0,255));pDevice->SetRenderState(D3DRS_ZENABLE,false);}}
if(fCHUMS1 == 4){
if(Stride == 36 ){pDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255,0,0,0));pDevice->SetRenderState(D3DRS_ZENABLE,false);}}
if(fCHUMS1 == 5){
if(Stride == 36 ){pDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255,0,100,100));pDevice->SetRenderState(D3DRS_ZENABLE,false);}}
if(fCHUMS1 == 6){
if(Stride == 36 ){pDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(0,255,0,255));pDevice->SetRenderState(D3DRS_ZENABLE,false);}}}
	_asm popad;
   return pDrawIndexedPrimitive(pDevice,pType D3DparamvalX,nMinIndex,nNumVertices,nStartIndex,nPrimitiveCount);
}
help pls...
This function should be protected by a DIP
Learn nomenu first!
Quote Originally Posted by zerohead View Post
Learn nomenu first!
show respect for ppl you bitch :P
Quote Originally Posted by Ikke0148 View Post
show respect for ppl you bitch :P
I do :O, he's just asking the same thing over and over again, and gains the same answer over and over again -.-
Aahhahahaa my chams source!
Maybe just took ΣLΣXTrO NoMenu Chams Base
Posts 1–9 of 9 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

Talk with us