[Help] Asus Wallhack + d3d CHams

Posts 1–15 of 31 · Page 1 of 3
[Help] Asus Wallhack + d3d CHams
Code:
unsigned int uiStride;
bool bTex = false, bCham = false;

LPDIRECT3DTEXTURE9 pTexture[2];

const BYTE bRed[60] = { 0x42, 0x4D, 0x3C, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x36, 0x00, 0x00, 
0x00, 0x28, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 
0x01,0x00, 0x00, 0x00, 0x01, 0x00, 0x20, 0x00, 0x00, 
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x12, 0x0B, 
0x00, 0x00, 0x12, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x00, 
0x00, 0x01 };

const BYTE bYellow[60] = { 0x42, 0x4D, 0x3C, 0x00, 
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x36, 0x00, 0x00, 
0x00, 0x28, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 
0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x20, 0x00, 0x00, 
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x12, 0x0B, 
0x00, 0x00, 0x12, 0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x00, 
0x00, 0x01 };


HRESULT APIENTRY pIDirect3DDevice9::BeginScene() 
{

  if(bTex == false)
  {

    D3DXCreateTextureFromFileInMemory(pDevice, (LPCVOID)&bRed, sizeof(bRed), 
    &pTexture[0]);
    D3DXCreateTextureFromFileInMemory(pDevice, (LPCVOID)&bYellow, sizeof(bYellow), 
    &pTexture[1]);

    bTex = true;

  }

  return pDevice->BeginScene();

}


HRESULT APIENTRY pIDirect3DDevice9::DrawIndexedPrimitive(D3DPRIMITIVETYPE PrimitiveType,
INT BaseVertexIndex, UINT MinVertexIndex, UINT NumVertices, UINT startIndex, 
UINT primCount)
{

  if(GetAsyncKeyState(VK_F1)&1)
  bCham = !bCham;

  if(bCham == true && uiStride == 52)
  {

        pDevice->SetRenderState(D3DRS_ZENABLE, false);      
    
    pDevice->SetTexture(0, pTexture[0]);

    pDevice->DrawIndexedPrimitive(PrimitiveType, BaseVertexIndex,
        MinVertexIndex, NumVertices, startIndex, primCount); 

    pDevice->SetRenderState(D3DRS_ZENABLE, true);

        pDevice->SetTexture(0, pTexture[1]);

        return pDevice->DrawIndexedPrimitive(PrimitiveType, BaseVertexIndex,
        MinVertexIndex, NumVertices, startIndex, primCount);

  }

  return pDevice->DrawIndexedPrimitive(PrimitiveType, BaseVertexIndex,
  MinVertexIndex, NumVertices, startIndex, primCount);

}


HRESULT APIENTRY pIDirect3DDevice9::SetStreamSource(UINT StreamNumber,
IDirect3DVertexBuffer9* pStreamData, UINT OffsetInBytes, UINT Stride) 
{

  if(StreamNumber == 0)
  uiStride = Stride;
    
  return pDevice->SetStreamSource(StreamNumber, pStreamData, OffsetInBytes, 
  Stride);

}
what am i doing wrong in this?
This is a stride logger to make chams. (I think)
To make chams you need:

Code:
if (m_Stride == 44 || m_Stride == 36 || m_Stride == 32)
{
    device->SetRenderState(D3DRS_ZENABLE,false);
    device->SetTexture(&Red); //forgot the parameters
                    
    CallRealDIP(Params);
                    
    device->SetRenderState(D3DRS_ZENABLE,true);
    device->SetTexture(&Blue);

}

I have made a C&Per breeding ground.
Quote Originally Posted by whatup777 View Post
I have made a C&Per breeding ground.
lol ummm YES...
Quote Originally Posted by whatup777 View Post
This is a stride logger to make chams. (I think)
To make chams you need:

Code:
if (m_Stride == 44 || m_Stride == 36 || m_Stride == 32)
{
    device->SetRenderState(D3DRS_ZENABLE,false);
    device->SetTexture(&Red); //forgot the parameters
 
    CallRealDIP(Params);
 
    device->SetRenderState(D3DRS_ZENABLE,true);
    device->SetTexture(&Blue);
 
}

I have made a C&Per breeding ground.
way to go,
btw the chams code is a total leech, just sayin

EDIT:
Quote Originally Posted by zmansquared View Post
you need addies for asus wallhack

not nessasarly, when i used to code in CF i never had to get addys for asus wall hack
where do you enter these codes? im new here
No thanks ^...,^ ?


Quote Originally Posted by ^...,^ View Post
lol ummm YES...
Quote Originally Posted by bostonboy7 View Post
where do you enter these codes? im new here
told you!!!!! whatsup777

Quote Originally Posted by whatup777 View Post
No thanks ^...,^ ?


lol proof above
Maybe you should actually learn how to make chams instead of having others fix the problems in your C+Ped and leeched code.
Yea, I know im a noob at hacking.. I get all the download parts, but idk how to code...quick tutorial? plz? ty
Quote Originally Posted by Pr0tegee View Post
Yea, I know im a noob at hacking.. I get all the download parts, but idk how to code...quick tutorial? plz? ty
There is no "quick tutorial" go learn C++ and then come back.
Quote Originally Posted by Crash View Post
There is no "quick tutorial" go learn C++ and then come back.
K, bout u calm down and be nice for once
you need addies for asus wallhack
well u do here :P One of my friends gave me the addies ( credits in my hack )
Quote Originally Posted by CAFlames View Post
well u do here :P One of my friends gave me the addies ( credits in my hack )
mmmk i stand corrected
ye a friend gave me the addies also. it works great.
Posts 1–15 of 31 · Page 1 of 3
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us