Thread: D3D Hacks

Page 1 of 4 123 ... LastLast
Results 1 to 15 of 57
  1. #1
    joered's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Netherlands
    Posts
    345
    Reputation
    17
    Thanks
    332

    D3D Hacks

    For the people who doesnt have it.
    Chams/Wallhack/Fullbirght/SemiWireframe/Wireframe/Nofog/Wallchams/AsusWallhack/Xray


    Put in globals
    Code:
    LPDIRECT3DTEXTURE9 Red,Yellow,Green,Blue,Purple,Pink,Orange,White,Bla  ck;
    Put the colours in your endscene
    Code:
    GenerateTexture(pDevice, &Red, D3DCOLOR_ARGB (255,255,0 ,0 ));
    GenerateTexture(pDevice, &Yellow, D3DCOLOR_ARGB (255,255,255,0 ));
    GenerateTexture(pDevice, &Green, D3DCOLOR_ARGB (255,0 ,255,0 ));
    GenerateTexture(pDevice, &Blue, D3DCOLOR_ARGB (255,0 ,0 ,255));
    GenerateTexture(pDevice, &Purple, D3DCOLOR_ARGB (255,102,0 ,153));
    GenerateTexture(pDevice, &Pink, D3DCOLOR_ARGB (255,255,20 ,147));
    GenerateTexture(pDevice, &Orange, D3DCOLOR_ARGB (255,255,165,0 ));
    GenerateTexture(pDevice, &Black, D3DCOLOR_ARGB (255,0 ,0 ,0 ));
    GenerateTexture(pDevice, &White, D3DCOLOR_ARGB (255,255,255,255));
    Add generate texture function
    Code:
    HRESULT GenerateTexture(IDirect3DDevice9 *pD3Ddev, IDirect3DTexture9 **ppD3Dtex, DWORD colour32)
    {
    	if( FAILED(pD3Ddev->CreateTexture(8, 8, 1, 0, D3DFMT_A4R4G4B4, D3DPOOL_MANAGED, ppD3Dtex, NULL)) )
    		return E_FAIL;
    	
    	WORD colour16 =	((WORD)((colour32>>28)&0xF)<<12)
    			|(WORD)(((colour32>>20)&0xF)<<8)
    			|(WORD)(((colour32>>12)&0xF)<<4)
    			|(WORD)(((colour32>>4)&0xF)<<0);
    
    	D3DLOCKED_RECT d3dlr;    
    	(*ppD3Dtex)->LockRect(0, &d3dlr, 0, 0);
    	WORD *pDst16 = (WORD*)d3dlr.pBits;
    
    	for(int xy=0; xy < 8*8; xy++)
    		*pDst16++ = colour16;
    
    	(*ppD3Dtex)->UnlockRect(0);
    
    	return S_OK;
    }
    d3d hacks in dip
    Code:
    //================================DIP Functions=========================================  =
    HRESULT WINAPI myDrawIndexedPrimitive(LPDIRECT3DDEVICE9 pDevice, D3DPRIMITIVETYPE Type, INT BaseIndex, 
    UINT MinIndex, UINT NumVertices, UINT StartIndex, UINT PrimitiveCount)
    {
    
    LPDIRECT3DVERTEXBUFFER9 Stream_Data;
    UINT Offset,iStride;
    
    if(pDevice->GetStreamSource(0, &Stream_Data, &Offset, &iStride) == D3D_OK)
    Stream_Data->Release();
        
    
    ////////////////Chams Start////////////////////////////////////////////////////////
    
    if (chams)
    {
    	if (iStride == 40)
    {
    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
    pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_NEVER);
    pDevice->SetTexture(0, Red);
    pDrawIndexedPrimitive(pDevice, Type, BaseIndex, MinIndex, NumVertices, StartIndex, PrimitiveCount);
    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
    pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_LESSEQUAL);
    pDevice->SetTexture(0, Blue );
    }
    if (iStride == 32)
    {
    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
    pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_NEVER);
    pDevice->SetTexture(0, Red);
    pDrawIndexedPrimitive(pDevice, Type, BaseIndex, MinIndex, NumVertices, StartIndex, PrimitiveCount);
    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
    pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_LESSEQUAL);
    pDevice->SetTexture(0, Blue );
    }
    if (iStride == 44)
    {
    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
    pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_NEVER);
    pDevice->SetTexture(0, Red);
    pDrawIndexedPrimitive(pDevice, Type, BaseIndex, MinIndex, NumVertices, StartIndex, PrimitiveCount);
    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
    pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_LESSEQUAL);
    pDevice->SetTexture(0, Blue );
    }
    }
    
    //-------------------  Naked Chams Start------------------------------------------
    {
    if(naked)
    {
    if(iStride==44) 
    {
    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
    pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_NEVER);
    }
    if(iStride==40) 
    {
    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
    pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_NEVER);
    }
    if(iStride==32) 
    {
    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
    pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_NEVER);
    }
    }
    
    //-------------------Semi- wireframe Start------------------------------------
    
    if (swire)
    {
    if (iStride==44) 
    {
    pDevice->SetRenderState( D3DRS_FILLMODE, D3DFILL_WIREFRAME );  
    }
    if (iStride==40) 
    {
    pDevice->SetRenderState( D3DRS_FILLMODE, D3DFILL_WIREFRAME );  
    }
    if (iStride==32) 
    {
    pDevice->SetRenderState( D3DRS_FILLMODE, D3DFILL_WIREFRAME );  
    }
    }
    
    //-------------------World- wireframe Start------------------------------------
    if (fullwire)
    {
    if (iStride==44) 
    {
    pDevice->SetRenderState( D3DRS_FILLMODE, D3DFILL_WIREFRAME );  
    }
    if (iStride==40) 
    {
    pDevice->SetRenderState( D3DRS_FILLMODE, D3DFILL_WIREFRAME );  
    }
    if (iStride==32) 
    {
    pDevice->SetRenderState( D3DRS_FILLMODE, D3DFILL_WIREFRAME );  
    }
    if (iStride==28) 
    {
    pDevice->SetRenderState( D3DRS_FILLMODE, D3DFILL_WIREFRAME );  
    }
    if (iStride==16) 
    {
    pDevice->SetRenderState( D3DRS_FILLMODE, D3DFILL_WIREFRAME );  
    }
    }
    }
    /////////////////////////////////////////////////
    if(fbright)
    {
    if(iStride==44)
    {
    pDevice->SetRenderState(D3DRS_LIGHTING, false);
    pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255,255  ,255,255));
    }
    if(iStride==40)
    {
    pDevice->SetRenderState(D3DRS_LIGHTING, false); 
    pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255,255  ,255,255)); 
    }
    if(iStride==32)
    {
    pDevice->SetRenderState(D3DRS_LIGHTING, false); 
    pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255,255  ,255,255)); 
    }
    }
    
    if(asus)
    {
    if(iStride==28)
    {
    pDevice->SetRenderState( D3DRS_SRCBLEND, 3 );
    pDevice->SetRenderState( D3DRS_DESTBLEND, 4 );
    pDevice->SetRenderState( D3DRS_ALPHABLENDENABLE, true );
    }
    if(iStride==44)
    {
    pDevice->SetRenderState( D3DRS_ALPHABLENDENABLE, true );
    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
    pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_NEVER);
    }
    if(iStride==40)
    {
    pDevice->SetRenderState( D3DRS_ALPHABLENDENABLE, true );
    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
    pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_NEVER);
    }
    if(iStride==32)
    {
    pDevice->SetRenderState( D3DRS_ALPHABLENDENABLE, true );
    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
    pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_NEVER);
    }
    }
    
    if(xray)
    {
    if(iStride==28)     
    {
    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);   
    }
    }
    
    if(nofog) 
    { 
    pDevice->SetRenderState(D3DRS_FOGENABLE, false); 
    }
    
    
      return pDrawIndexedPrimitive(pDevice, Type, BaseIndex, MinIndex, NumVertices, StartIndex, PrimitiveCount);
    
    }
    I think this will start you.


    What could be done with this:



    Mhmm credit me if u want or don't





    .
    Last edited by Thunder; 08-18-2011 at 12:50 PM.


    “Imagination, devotion, perseverance, together with divine grace, will assure your success.”

    ―Haile Selassie





    Work from back in the days:

    Soldierfront Public d3d - Detected since 2011

    Crossfire VIP:

  2. The Following 18 Users Say Thank You to joered For This Useful Post:

    AliBaza95 (08-29-2011),Assassin's Creed (03-03-2012),crazybone96 (08-31-2011),Dark Side (09-24-2011),Delko DJ (08-17-2011),emadadel11 (09-04-2011),frenci8 (08-18-2011),giniyat101 (09-05-2011),GunBoy120 (11-22-2011),HLBOT (09-26-2011),liaopalla (09-14-2011),llvllrkey (08-21-2011),lolhacka (08-31-2011),ramirezxdd (08-18-2011),rscaerzx (05-21-2012),Snoopys (08-23-2011),SteamAss (11-26-2011),{Banned}**HACKER** (08-30-2011)

  3. #2
    HLBOT's Avatar
    Join Date
    May 2011
    Gender
    male
    Location
    HCM City
    Posts
    533
    Reputation
    36
    Thanks
    1,355
    My Mood
    Amazed
    Worked...but it's give me FULL RAMMMMMM [ OH MY SHITTTT ] ...
    It's finally Over!

  4. #3
    zjenjaz's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    watching you behind your window..
    Posts
    1,076
    Reputation
    7
    Thanks
    56
    My Mood
    Sneaky
    mooi
    /msg2gay
    Need Help? I Help With Everything..( Everything i can)

  5. The Following 2 Users Say Thank You to zjenjaz For This Useful Post:

    liaopalla (09-14-2011),stelioss (08-29-2011)

  6. #4
    Skrillex's Avatar
    Join Date
    May 2011
    Gender
    male
    Posts
    701
    Reputation
    103
    Thanks
    4,749
    My Mood
    Fine
    why u post this now it comes the big leechers....

  7. #5
    No-Life's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    44
    Reputation
    10
    Thanks
    9
    lol --' joered, epic release of ur codes but why? you wont get many reputation with that, and i can help you in your menu with memory hacks
    come online



    Hate guys who say: Leechers.
    Hate guys who think they are the Best.(SelfFish)
    You know who i mean. But im not going to post them names on my signature.

  8. The Following 2 Users Say Thank You to No-Life For This Useful Post:

    joered (12-12-2014),stelioss (08-29-2011)

  9. #6
    Skrillex's Avatar
    Join Date
    May 2011
    Gender
    male
    Posts
    701
    Reputation
    103
    Thanks
    4,749
    My Mood
    Fine
    it works my friend tested it but he say its really bugy not use it example the wallchams

  10. #7
    joered's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Netherlands
    Posts
    345
    Reputation
    17
    Thanks
    332
    Quote Originally Posted by No-Life View Post
    lol --' joered, epic release of ur codes but why? you wont get many reputation with that, and i can help you in your menu with memory hacks
    come online
    I have you on msn? :O

    Quote Originally Posted by OoSiMpSoNsoO View Post
    it works my friend tested it but he say its really bugy not use it example the wallchams
    Mhmm not buggy for me
    Last edited by joered; 08-17-2011 at 05:31 AM.


    “Imagination, devotion, perseverance, together with divine grace, will assure your success.”

    ―Haile Selassie





    Work from back in the days:

    Soldierfront Public d3d - Detected since 2011

    Crossfire VIP:

  11. #8
    Skrillex's Avatar
    Join Date
    May 2011
    Gender
    male
    Posts
    701
    Reputation
    103
    Thanks
    4,749
    My Mood
    Fine
    mh wait i add u on msn

  12. #9
    Delko DJ's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Location
    trolololol
    Posts
    5,162
    Reputation
    224
    Thanks
    324
    My Mood
    Sleepy
    i get this error:
    error C3861: 'pDrawIndexedPrimitive': identifier not found

    do i need a pointer to fix that problem?


    nvm, fixed, had forget this line of code:

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

  13. #10
    joered's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Netherlands
    Posts
    345
    Reputation
    17
    Thanks
    332
    Quote Originally Posted by dumdumi View Post
    i get this error:
    error C3861: 'pDrawIndexedPrimitive': identifier not found

    do i need a pointer to fix that problem?


    nvm, fixed, had forget this line of code:

    typedef HRESULT(WINAPI* DrawIndexedPrimitive_)(LPDIRECT3DDEVICE9 pDevice, D3DPRIMITIVETYPE Type, INT BaseVertexIndex, UINT MinIndex, UINT NumVertices, UINT StartIndex, UINT PrimitiveCount);
    DrawIndexedPrimitive_ pDrawIndexedPrimitive;
    Glad u fixed it sorry for late response i was pretty busy


    “Imagination, devotion, perseverance, together with divine grace, will assure your success.”

    ―Haile Selassie





    Work from back in the days:

    Soldierfront Public d3d - Detected since 2011

    Crossfire VIP:

  14. #11
    [R]us[C]oder's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    23
    Reputation
    10
    Thanks
    35
    My Mood
    Happy

    Russia

    I need help i have try this code but its dont work on Crossfire russia Why?

  15. #12
    OKyTKJ's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0

    Arrow

    Quote Originally Posted by joered View Post
    For the people who doesnt have it.
    Chams/Wallhack/Fullbirght/SemiWireframe/Wireframe/Nofog/Wallchams/AsusWallhack/Xray


    Put in globals
    Code:
    LPDIRECT3DTEXTURE9 Red,Yellow,Green,Blue,Purple,Pink,Orange,White,Black;
    Put the colours in your endscene
    Code:
    GenerateTexture(pDevice, &Red, D3DCOLOR_ARGB (255,255,0 ,0 ));
    GenerateTexture(pDevice, &Yellow, D3DCOLOR_ARGB (255,255,255,0 ));
    GenerateTexture(pDevice, &Green, D3DCOLOR_ARGB (255,0 ,255,0 ));
    GenerateTexture(pDevice, &Blue, D3DCOLOR_ARGB (255,0 ,0 ,255));
    GenerateTexture(pDevice, &Purple, D3DCOLOR_ARGB (255,102,0 ,153));
    GenerateTexture(pDevice, &Pink, D3DCOLOR_ARGB (255,255,20 ,147));
    GenerateTexture(pDevice, &Orange, D3DCOLOR_ARGB (255,255,165,0 ));
    GenerateTexture(pDevice, &Black, D3DCOLOR_ARGB (255,0 ,0 ,0 ));
    GenerateTexture(pDevice, &White, D3DCOLOR_ARGB (255,255,255,255));
    Add generate texture function
    Code:
    HRESULT GenerateTexture(IDirect3DDevice9 *pD3Ddev, IDirect3DTexture9 **ppD3Dtex, DWORD colour32)
    {
    	if( FAILED(pD3Ddev->CreateTexture(8, 8, 1, 0, D3DFMT_A4R4G4B4, D3DPOOL_MANAGED, ppD3Dtex, NULL)) )
    		return E_FAIL;
    	
    	WORD colour16 =	((WORD)((colour32>>28)&0xF)<<12)
    			|(WORD)(((colour32>>20)&0xF)<<8)
    			|(WORD)(((colour32>>12)&0xF)<<4)
    			|(WORD)(((colour32>>4)&0xF)<<0);
    
    	D3DLOCKED_RECT d3dlr;    
    	(*ppD3Dtex)->LockRect(0, &d3dlr, 0, 0);
    	WORD *pDst16 = (WORD*)d3dlr.pBits;
    
    	for(int xy=0; xy < 8*8; xy++)
    		*pDst16++ = colour16;
    
    	(*ppD3Dtex)->UnlockRect(0);
    
    	return S_OK;
    }
    d3d hacks in dip
    Code:
    //================================DIP Functions==========================================
    HRESULT WINAPI myDrawIndexedPrimitive(LPDIRECT3DDEVICE9 pDevice, D3DPRIMITIVETYPE Type, INT BaseIndex, 
    UINT MinIndex, UINT NumVertices, UINT StartIndex, UINT PrimitiveCount)
    {
    
    LPDIRECT3DVERTEXBUFFER9 Stream_Data;
    UINT Offset,iStride;
    
    if(pDevice->GetStreamSource(0, &Stream_Data, &Offset, &iStride) == D3D_OK)
    Stream_Data->Release();
        
    
    ////////////////Chams Start////////////////////////////////////////////////////////
    
    if (chams)
    {
    	if (iStride == 40)
    {
    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
    pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_NEVER);
    pDevice->SetTexture(0, Red);
    pDrawIndexedPrimitive(pDevice, Type, BaseIndex, MinIndex, NumVertices, StartIndex, PrimitiveCount);
    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
    pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_LESSEQUAL);
    pDevice->SetTexture(0, Blue );
    }
    if (iStride == 32)
    {
    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
    pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_NEVER);
    pDevice->SetTexture(0, Red);
    pDrawIndexedPrimitive(pDevice, Type, BaseIndex, MinIndex, NumVertices, StartIndex, PrimitiveCount);
    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
    pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_LESSEQUAL);
    pDevice->SetTexture(0, Blue );
    }
    if (iStride == 44)
    {
    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
    pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_NEVER);
    pDevice->SetTexture(0, Red);
    pDrawIndexedPrimitive(pDevice, Type, BaseIndex, MinIndex, NumVertices, StartIndex, PrimitiveCount);
    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
    pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_LESSEQUAL);
    pDevice->SetTexture(0, Blue );
    }
    }
    
    //-------------------  Naked Chams Start------------------------------------------
    {
    if(naked)
    {
    if(iStride==44) 
    {
    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
    pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_NEVER);
    }
    if(iStride==40) 
    {
    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
    pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_NEVER);
    }
    if(iStride==32) 
    {
    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
    pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_NEVER);
    }
    }
    
    //-------------------Semi- wireframe Start------------------------------------
    
    if (swire)
    {
    if (iStride==44) 
    {
    pDevice->SetRenderState( D3DRS_FILLMODE, D3DFILL_WIREFRAME );  
    }
    if (iStride==40) 
    {
    pDevice->SetRenderState( D3DRS_FILLMODE, D3DFILL_WIREFRAME );  
    }
    if (iStride==32) 
    {
    pDevice->SetRenderState( D3DRS_FILLMODE, D3DFILL_WIREFRAME );  
    }
    }
    
    //-------------------World- wireframe Start------------------------------------
    if (fullwire)
    {
    if (iStride==44) 
    {
    pDevice->SetRenderState( D3DRS_FILLMODE, D3DFILL_WIREFRAME );  
    }
    if (iStride==40) 
    {
    pDevice->SetRenderState( D3DRS_FILLMODE, D3DFILL_WIREFRAME );  
    }
    if (iStride==32) 
    {
    pDevice->SetRenderState( D3DRS_FILLMODE, D3DFILL_WIREFRAME );  
    }
    if (iStride==28) 
    {
    pDevice->SetRenderState( D3DRS_FILLMODE, D3DFILL_WIREFRAME );  
    }
    if (iStride==16) 
    {
    pDevice->SetRenderState( D3DRS_FILLMODE, D3DFILL_WIREFRAME );  
    }
    }
    }
    /////////////////////////////////////////////////
    if(fbright)
    {
    if(iStride==44)
    {
    pDevice->SetRenderState(D3DRS_LIGHTING, false);
    pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255,255,255,255));
    }
    if(iStride==40)
    {
    pDevice->SetRenderState(D3DRS_LIGHTING, false); 
    pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255,255,255,255)); 
    }
    if(iStride==32)
    {
    pDevice->SetRenderState(D3DRS_LIGHTING, false); 
    pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255,255,255,255)); 
    }
    }
    
    if(asus)
    {
    if(iStride==28)
    {
    pDevice->SetRenderState( D3DRS_SRCBLEND, 3 );
    pDevice->SetRenderState( D3DRS_DESTBLEND, 4 );
    pDevice->SetRenderState( D3DRS_ALPHABLENDENABLE, true );
    }
    if(iStride==44)
    {
    pDevice->SetRenderState( D3DRS_ALPHABLENDENABLE, true );
    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
    pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_NEVER);
    }
    if(iStride==40)
    {
    pDevice->SetRenderState( D3DRS_ALPHABLENDENABLE, true );
    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
    pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_NEVER);
    }
    if(iStride==32)
    {
    pDevice->SetRenderState( D3DRS_ALPHABLENDENABLE, true );
    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
    pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_NEVER);
    }
    }
    
    if(xray)
    {
    if(iStride==28)     
    {
    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);   
    }
    }
    
    if(nofog) 
    { 
    pDevice->SetRenderState(D3DRS_FOGENABLE, false); 
    }
    
    
      return pDrawIndexedPrimitive(pDevice, Type, BaseIndex, MinIndex, NumVertices, StartIndex, PrimitiveCount);
    
    }
    I think this will start you.


    What could be done with this:
    MPGH Public v1.2 - YouTube


    Mhmm credit me if u want or don't





    .


    Can you teach me how to make the injector CrossFire Indonesia
    along with video
    after tired I ask with all the people
    but all no one cares about it


    than that I wanted to ask with all of you

  16. #13
    [Fetty]Alex's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Location
    C:\Matrix\Users
    Posts
    68
    Reputation
    10
    Thanks
    7
    My Mood
    Sneaky
    Quote Originally Posted by OKyTKJ View Post
    Can you teach me how to make the injector CrossFire Indonesia
    along with video
    after tired I ask with all the people
    but all no one cares about it


    than that I wanted to ask with all of you
    Youtube + Google are Your Teachers

  17. #14
    {Banned}**HACKER**'s Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    843
    Reputation
    8
    Thanks
    719
    My Mood
    Cheerful
    Very Kind I Guess To Forum Well Done My Friend Lol Full RAM Tho :l But Good

  18. #15
    Dark Side's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Location
    West London
    Posts
    670
    Reputation
    99
    Thanks
    1,372
    My Mood
    Asleep
    Don't Post Anything To Public Because There a FAGS Group Called

    ---->"G.M The Big Leecher's<----

Page 1 of 4 123 ... LastLast

Similar Threads

  1. New D3D Hack has been released!
    By Dave84311 in forum Hack/Release News
    Replies: 23
    Last Post: 05-29-2009, 08:02 AM
  2. D3D hacks? Or fix OpenGL?
    By Cataldo in forum CounterStrike (CS) 1.6 Hacks / Counter Strike: Source (CSS) Hacks
    Replies: 5
    Last Post: 02-08-2009, 05:27 AM
  3. d3d hack
    By wieter20 in forum WarRock - International Hacks
    Replies: 41
    Last Post: 12-27-2007, 07:16 PM
  4. ::.Undetected D3D Hack.::
    By WHX in forum Trade Accounts/Keys/Items
    Replies: 2
    Last Post: 11-30-2007, 02:39 PM
  5. D3D Hack (Old)
    By PBFUCKER in forum WarRock - International Hacks
    Replies: 10
    Last Post: 06-09-2007, 09:00 AM