Page 1 of 4 123 ... LastLast
Results 1 to 15 of 55
  1. #1
    scimmyboy's Avatar
    Join Date
    Jan 2008
    Gender
    male
    Location
    http://mpgh.net MPGHCash: $442,596,199
    Posts
    5,649
    Reputation
    26
    Thanks
    894
    My Mood
    Happy

    [Source] Combat Arms Chams

    Code:
    } #define charbody m==char Stridenum[44];
    unsigned int m_Stride;
    unsigned int NumVertices;
    unsigned int primCount;
    int Stridelogger = false;
    int stri = 0;
    int numvert = 0;
    int primcnt = 0;
    
    
    
    CD3DFont *pD3DFont;
    
    LPDIRECT3DTEXTURE9 texRed;
    LPDIRECT3DTEXTURE9 texBlue;
    LPDIRECT3DTEXTURE9 texYellow;
    LPDIRECT3DTEXTURE9 texGreen;
    LPDIRECT3DTEXTURE9 texWhite;
    LPDIRECT3DTEXTURE9 texAqua;
    //LPDIRECT3DTEXTURE9 texDarkBlue;
    //LPDIRECT3DTEXTURE9 texPink;
    //LPDIRECT3DTEXTURE9 texOrange;
    LPDIRECT3DTEXTURE9 texPurple;
    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, 0x00
    };
    const BYTE bBlue[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,
    0xFF, 0x00, 0x00, 0x00, 0x00, 0x00
    };
    
    const BYTE bGreen[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, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x00,
    0x00, 0x00, 0x12, 0x0B, 0x00, 0x00, 0x12, 0x0B, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x9E, 0x00, 0x00, 0x00, 0x00
    };
    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, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00,
    0x00, 0x00, 0x12, 0x0B, 0x00, 0x00, 0x12, 0x0B, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0xFF, 0xFF, 0x00, 0x00, 0x00
    };
    const BYTE bAqua[58] =
    {
    0x42, 0x4D, 0x3A, 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, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0xFF, 0xFF, 0x00, 0x00
    };
    const BYTE bPurple[58] =
    {
    0x42, 0x4D, 0x3A, 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, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0xFF, 0x00, 0xFF, 0x00
    };
    .r{}
    const BYTE bWhite[58] =
    {
    0x42, 0x4D, 0x3A, 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, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0xFF, 0xFF, 0xFF, 0x00
    };
    
    #define D3DHOOK_TEXTURES
    HRESULT CD3DManager::Initialize()
    {
    D3DXCreateTextureFromFileInMemory(m_pD3Ddev, (LPCVOID)&bRed, 60, &texRed);
    D3DXCreateTextureFromFileInMemory(m_pD3Ddev, (LPCVOID)&bBlue, 60, &texBlue);
    D3DXCreateTextureFromFileInMemory(m_pD3Ddev, (LPCVOID)&bGreen, 60, &texGreen);
    D3DXCreateTextureFromFileInMemory(m_pD3Ddev, (LPCVOID)&bYellow, 60, &texYellow);
    D3DXCreateTextureFromFileInMemory(m_pD3Ddev, (LPCVOID)&bWhite, 60, &texWhite);
    D3DXCreateTextureFromFileInMemory(m_pD3Ddev, (LPCVOID)&bAqua, 60, &texAqua);
    D3DXCreateTextureFromFileInMemory(m_pD3Ddev, (LPCVOID)&bPurple, 60, &texPurple);
    
    pD3DFont = new CD3DFont("Comic Sans MS", 12);
    pD3DFont->InitDeviceObjects(m_pD3Ddev);
    pD3DFont->RestoreDeviceObjects();
    return S_OK;
    }
    
    
    HRESULT CD3DManager::PreReset()
    {
    
    return S_OK;
    }
    
    
    HRESULT CD3DManager::PostReset()
    {
    return S_OK;
    }
    
    HRESULT CD3DManager::Release()
    {
    delete pD3DFont;
    texRed->Release();
    texBlue->Release();
    texGreen->Release();
    texWhite->Release();
    texAqua->Release();
    texYellow->Release();
    texPurple->Release();
    return S_OK;
    }
    
    
    
    
    in DIP
    -------
    
    if(GetAsyncKeyState(VK_F1)&1)
    {
    Stridelogger=!Stridelogger;
    }
    
    if(Stridelogger)
    {
    if(GetAsyncKeyState(VK_NUMPAD7)&1)stri ;
    if(GetAsyncKeyState(VK_NUMPAD1)&1)stri--;
    if(GetAsyncKeyState(VK_NUMPAD8)&1)numvert ;
    if(GetAsyncKeyState(VK_NUMPAD2)&1)numvert--;
    if(GetAsyncKeyState(VK_NUMPAD9)&1)primcnt ;
    if(GetAsyncKeyState(VK_NUMPAD3)&1)primcnt--;
    }
    
    if(m_Stride == stri)
    {
    m_pD3Ddev->SetTexture(0,texRed);
    return m_pD3Ddev->DrawIndexedPrimitive(Type,BaseVertexIndex,
    MinVertexIndex, NumVertices, startIndex, primCount);
    }
    
    if(NumVertices == numvert)
    {
    m_pD3Ddev->SetTexture(0,texBlue);
    return m_pD3Ddev->DrawIndexedPrimitive
    (Type,BaseVertexIndex,MinVertexIndex, NumVertices, startIndex, primCount);
    }
    
    if(primCount == primcnt)
    {
    m_pD3Ddev->SetTexture(0,texGreen);
    return m_pD3Ddev->DrawIndexedPrimitive (Type,BaseVertexIndex,MinVertexIndex, NumVertices, startIndex, primCount);
    }
    
    if(GetAsyncKeyState(VK_NUMPAD0)&1)
    {
    stri=0;
    numvert=0;
    primcnt=0;
    }
    
    if(GetAsyncKeyState(VK_NUMPAD4)&1)
    {
    add_log("Player Stride:%i",stri);
    }
    
    if(GetAsyncKeyState(VK_NUMPAD5)&1)
    {
    add_log("Stride:%i",stri);
    add_log("NumVertices:%i",numvert);
    add_log("primCount:%i",primcnt);
    }

  2. The Following 17 Users Say Thank You to scimmyboy For This Useful Post:

    agent double (04-29-2010),crazygamer53 (04-25-2010),duncan000 (04-21-2010),[MPGH]flameswor10 (05-18-2010),flokotroko (05-01-2010),gareth101 (05-09-2010),Habibster (05-25-2010),heymeme (05-11-2010),IBM113 (04-29-2010),iSkyFinity (05-10-2010),[DIN]Obama[DU] (04-18-2010),Pixipixel_ (04-18-2010),Samueldo (04-18-2010),Trick_ (04-18-2010),Xlilzoosk8rX (04-18-2010),xstyalx (04-27-2010),[E]Я4G3Я (04-18-2010)

  3. #2
    Trick_'s Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    4
    Reputation
    10
    Thanks
    3
    TY ALOT !!!

  4. #3
    [E]Я4G3Я's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    ~YOU_TELL_ME~
    Posts
    1,294
    Reputation
    13
    Thanks
    350
    My Mood
    Flirty
    Nice nice nice.

  5. #4
    Samueldo's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Meh
    Posts
    1,024
    Reputation
    29
    Thanks
    346
    My Mood
    Inspired
    Nice, I'll try this out sometime.
    Quote Originally Posted by Grim View Post
    glad to be an inspiration
    Minions rule. /endof

    InjectPlz Refresh - download v1.0 now!

  6. #5
    mmbob's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    ja
    Posts
    655
    Reputation
    70
    Thanks
    1,156
    My Mood
    Bitchy
    This won't work. Hackshield blocks D3DX functions and you will crash if you use them. Also, with this source, you will only get 1 color chams that don't show through walls. Basically like modded mini-chams.

  7. #6
    Void's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Inline.
    Posts
    3,193
    Reputation
    205
    Thanks
    1,438
    My Mood
    Mellow
    Quote Originally Posted by mmbob View Post
    This won't work. Hackshield blocks D3DX functions and you will crash if you use them. Also, with this source, you will only get 1 color chams that don't show through walls. Basically like modded mini-chams.
    That only applies if you're just going to copy and paste this.

    This is sort of chams, it's a stride logger. You're going to have to fix it up to make it like chams.

    [php]
    HRESULT My_DIP(Params)
    {
    if(stride == yourstride)
    {
    device->SetRenderState(D3DRS_ZENABLE,false);
    device->SetTexture(&Red); //forgot the parameters

    CallRealDIP(Params);

    device->SetRenderState(D3DRS_ZENABLE,true);
    device->SetTexture(&Blue);
    }
    }
    [/php]

    For this to work you also have to hook SetStreamSource. An alternative is to call GetStreamSource in every iteration of DIP but that would slow the crap out of the game.


    Note: I posted a full stride logger source code in the C++ section, if anyone wants full code.

  8. #7
    scimmyboy's Avatar
    Join Date
    Jan 2008
    Gender
    male
    Location
    http://mpgh.net MPGHCash: $442,596,199
    Posts
    5,649
    Reputation
    26
    Thanks
    894
    My Mood
    Happy
    the main problem with chams is the lag. i dont know how to get rid of that.

  9. #8
    Xlilzoosk8rX's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Location
    the-ville, PA
    Posts
    358
    Reputation
    24
    Thanks
    53
    scimmyboy.
    you could possibly use
    DoOnce_loop.
    that way your only drawin the texture as needed,
    and arent adding 12+frames every second

    12 FPS = lagg
    4 FPS + DoOnce_loop = less lagg, more effective chams.

  10. #9
    scimmyboy's Avatar
    Join Date
    Jan 2008
    Gender
    male
    Location
    http://mpgh.net MPGHCash: $442,596,199
    Posts
    5,649
    Reputation
    26
    Thanks
    894
    My Mood
    Happy
    thats true. i wasnt really thinking about the efficiency of the chams when i was writing it. it could reduce the copy and pasters if u know what i mean

  11. #10
    Void's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Inline.
    Posts
    3,193
    Reputation
    205
    Thanks
    1,438
    My Mood
    Mellow
    You wrote that up there?

  12. #11
    scimmyboy's Avatar
    Join Date
    Jan 2008
    Gender
    male
    Location
    http://mpgh.net MPGHCash: $442,596,199
    Posts
    5,649
    Reputation
    26
    Thanks
    894
    My Mood
    Happy
    with the help of some friends and tutorials, yes. most of it is mine

  13. #12
    Void's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Inline.
    Posts
    3,193
    Reputation
    205
    Thanks
    1,438
    My Mood
    Mellow
    Quote Originally Posted by scimmyboy View Post
    with the help of some friends and tutorials, yes. most of it is mine
    http://www.mpgh.net/forum/31-c-c/564...-wallhack.html

    This ^^

    I'm pretty sure bannedshow also copy and pasted that.

  14. #13
    Pixipixel_'s Avatar
    Join Date
    Oct 2009
    Gender
    male
    Location
    VCExpress.exe || France :D
    Posts
    2,088
    Reputation
    27
    Thanks
    741
    My Mood
    Cool
    Good job, thanks got sharing.

  15. #14
    mwb1234's Avatar
    Join Date
    May 2009
    Gender
    male
    Posts
    460
    Reputation
    7
    Thanks
    65
    Quote Originally Posted by Davidm44 View Post
    http://www.mpgh.net/forum/31-c-c/564...-wallhack.html

    This ^^

    I'm pretty sure bannedshow also copy and pasted that.
    W00T, Leeching and claiming ownership FTW. Oh wait. That's a bad thing 0_0

  16. #15
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,324
    Reputation
    382
    Thanks
    3,007
    My Mood
    Amazed
    hmmmm

    Posted in Oct 2009

    [php]
    #define charbody m==char Stridenum[44];
    unsigned int m_Stride;
    unsigned int NumVertices;
    unsigned int primCount;
    int Stridelogger = false;
    int stri = 0;
    int numvert = 0;
    int primcnt = 0;
    CD3DFont *pD3DFont;
    LPDIRECT3DTEXTURE9 texRed;
    LPDIRECT3DTEXTURE9 texBlue;
    LPDIRECT3DTEXTURE9 texYellow;
    LPDIRECT3DTEXTURE9 texGreen;
    LPDIRECT3DTEXTURE9 texWhite;
    LPDIRECT3DTEXTURE9 texAqua;
    //LPDIRECT3DTEXTURE9 texDarkBlue;
    //LPDIRECT3DTEXTURE9 texPink;
    //LPDIRECT3DTEXTURE9 texOrange;
    LPDIRECT3DTEXTURE9 texPurple;
    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, 0x00
    };
    const BYTE bBlue[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,
    0xFF, 0x00, 0x00, 0x00, 0x00, 0x00
    };

    const BYTE bGreen[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, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x00,
    0x00, 0x00, 0x12, 0x0B, 0x00, 0x00, 0x12, 0x0B, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x9E, 0x00, 0x00, 0x00, 0x00
    };
    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, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00,
    0x00, 0x00, 0x12, 0x0B, 0x00, 0x00, 0x12, 0x0B, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0xFF, 0xFF, 0x00, 0x00, 0x00
    };
    const BYTE bAqua[58] =
    {
    0x42, 0x4D, 0x3A, 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, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0xFF, 0xFF, 0x00, 0x00
    };
    const BYTE bPurple[58] =
    {
    0x42, 0x4D, 0x3A, 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, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0xFF, 0x00, 0xFF, 0x00
    };
    .r{}
    const BYTE bWhite[58] =
    {
    0x42, 0x4D, 0x3A, 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, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0xFF, 0xFF, 0xFF, 0x00
    };
    #define D3DHOOK_TEXTURES
    HRESULT CD3DManager::Initialize()
    {
    D3DXCreateTextureFromFileInMemory(m_pD3Ddev, (LPCVOID)&bRed, 60, &texRed);
    D3DXCreateTextureFromFileInMemory(m_pD3Ddev, (LPCVOID)&bBlue, 60, &texBlue);
    D3DXCreateTextureFromFileInMemory(m_pD3Ddev, (LPCVOID)&bGreen, 60, &texGreen);
    D3DXCreateTextureFromFileInMemory(m_pD3Ddev, (LPCVOID)&bYellow, 60, &texYellow);
    D3DXCreateTextureFromFileInMemory(m_pD3Ddev, (LPCVOID)&bWhite, 60, &texWhite);
    D3DXCreateTextureFromFileInMemory(m_pD3Ddev, (LPCVOID)&bAqua, 60, &texAqua);
    D3DXCreateTextureFromFileInMemory(m_pD3Ddev, (LPCVOID)&bPurple, 60, &texPurple);

    pD3DFont = new CD3DFont("Comic Sans MS", 12);
    pD3DFont->InitDeviceObjects(m_pD3Ddev);
    pD3DFont->RestoreDeviceObjects();
    return S_OK;
    }
    HRESULT CD3DManager::PreReset()
    {
    return S_OK;
    }
    HRESULT CD3DManager::PostReset()
    {
    return S_OK;
    }
    HRESULT CD3DManager::Release()
    {
    delete pD3DFont;
    texRed->Release();
    texBlue->Release();
    texGreen->Release();
    texWhite->Release();
    texAqua->Release();
    texYellow->Release();
    texPurple->Release();
    return S_OK;
    }
    in DIP
    -------
    if(GetAsyncKeyState(VK_F1)&1)
    {
    Stridelogger=!Stridelogger;
    }
    if(Stridelogger)
    {
    if(GetAsyncKeyState(VK_NUMPAD7)&1)stri ;
    if(GetAsyncKeyState(VK_NUMPAD1)&1)stri--;
    if(GetAsyncKeyState(VK_NUMPAD8)&1)numvert ;
    if(GetAsyncKeyState(VK_NUMPAD2)&1)numvert--;
    if(GetAsyncKeyState(VK_NUMPAD9)&1)primcnt ;
    if(GetAsyncKeyState(VK_NUMPAD3)&1)primcnt--;
    }
    if(m_Stride == stri)
    {
    m_pD3Ddev->SetTexture(0,texRed);
    return m_pD3Ddev->DrawIndexedPrimitive(Type,BaseVertexIndex,
    MinVertexIndex, NumVertices, startIndex, primCount);
    }
    if(NumVertices == numvert)
    {
    m_pD3Ddev->SetTexture(0,texBlue);
    return m_pD3Ddev->DrawIndexedPrimitive
    (Type,BaseVertexIndex,MinVertexIndex, NumVertices, startIndex, primCount);
    }
    if(primCount == primcnt)
    {
    m_pD3Ddev->SetTexture(0,texGreen);
    return m_pD3Ddev->DrawIndexedPrimitive (Type,BaseVertexIndex,MinVertexIndex, NumVertices, startIndex, primCount);
    }
    if(GetAsyncKeyState(VK_NUMPAD0)&1)
    {
    stri=0;
    numvert=0;
    primcnt=0;
    }
    if(GetAsyncKeyState(VK_NUMPAD4)&1)
    {
    add_log("Player Stride:%i",stri);
    }
    if(GetAsyncKeyState(VK_NUMPAD5)&1)
    {
    add_log("Stride:%i",stri);
    add_log("NumVertices:%i",numvert);
    add_log("primCount:%i",primcnt);
    }
    [/php]

    Credits offered (IMHO)

    If it's yours , good job.


     


     


     



    The Most complete application MPGH will ever offer - 68%




  17. The Following User Says Thank You to NextGen1 For This Useful Post:

    why06 (04-26-2010)

Page 1 of 4 123 ... LastLast

Similar Threads

  1. Source for Combat Arms chams(wallhack)
    By bannedshow in forum C++/C Programming
    Replies: 62
    Last Post: 10-08-2009, 09:50 AM
  2. RE: [ Release] Combat arms:Chams,Nospread and more...
    By eddieg in forum Combat Arms Hacks & Cheats
    Replies: 99
    Last Post: 07-28-2009, 06:49 PM
  3. NA Combat Arms Cham Hack WORKING [11-04-09]
    By wilsonlam97 in forum Combat Arms Hacks & Cheats
    Replies: 23
    Last Post: 05-18-2009, 05:48 PM
  4. combat arms chams
    By yourstruly in forum Combat Arms Hacks & Cheats
    Replies: 2
    Last Post: 10-30-2008, 07:29 AM
  5. Replies: 76
    Last Post: 09-03-2008, 06:32 AM