Thread: [Source] Chams

Page 1 of 2 12 LastLast
Results 1 to 15 of 27

Hybrid View

  1. #1
    Yepikiyay's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    320
    Reputation
    10
    Thanks
    37
    My Mood
    Drunk

    [Source] Chams

    this is a simple code for CA 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);
    }
    happy hacking!
    ~Yepikiyay

    I Hate You
    Current Status: Online Playing MineCraft

  2. #2
    anger83's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Posts
    21
    Reputation
    10
    Thanks
    0
    My Mood
    Aggressive
    Yepikiyay

    what is "in DIP" <- ?

  3. #3
    Yepikiyay's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    320
    Reputation
    10
    Thanks
    37
    My Mood
    Drunk
    Quote Originally Posted by anger83 View Post
    Yepikiyay

    what is "in DIP" <- ?
    DIP is a function, and it stands for DrawIndexedPrimitive

    thank you sealionone!
    Last edited by Yepikiyay; 06-30-2010 at 01:25 AM.

    I Hate You
    Current Status: Online Playing MineCraft

  4. #4
    Crash's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    JAville
    Posts
    2,881
    Reputation
    163
    Thanks
    3,291
    My Mood
    Sleepy
    Quote Originally Posted by Yepikiyay View Post
    it means Digital Image Processing
    (rendering the colours)
    You sir, are a dumbass. Don't talk about things you don't know.

    DIP is a function, and it stands for DrawIndexedPrimitive. This has already been leeched here anyway.


    EDIT : I also just looked at it. These aren't even chams, this is a stride logger...

    /Close.

  5. The Following User Says Thank You to Crash For This Useful Post:

    Yepikiyay (06-30-2010)

  6. #5
    anger83's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Posts
    21
    Reputation
    10
    Thanks
    0
    My Mood
    Aggressive
    i thought it was drawindexedprimitive no?

  7. #6
    zmansquared's Avatar
    Join Date
    Oct 2008
    Gender
    male
    Location
    Kickin it at Microsoft
    Posts
    2,086
    Reputation
    36
    Thanks
    221
    My Mood
    Cheerful
    and who puts the "define" in the actual hack....only noobs or leechers
    Need Help With Coding or Something??? MSN me
    zmansquared@hotmail.com


    I am the one and only Microsoft Fag!!!

    Quote:
    Originally Posted by Arhk
    All games should be hacked, if we don't do it someone else will. Hackers force the progress, of better programming methods.
    ~


    Take this Pic everyone!



    next-

  8. #7
    anger83's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Posts
    21
    Reputation
    10
    Thanks
    0
    My Mood
    Aggressive
    i wonder why should somebody say thx to someone if they are calling u dumbass

  9. #8
    Yepikiyay's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    320
    Reputation
    10
    Thanks
    37
    My Mood
    Drunk
    Quote Originally Posted by anger83 View Post
    i wonder why should somebody say thx to someone if they are calling u dumbass
    becuase he what correct and i respect that
    so fuck off noob

    I Hate You
    Current Status: Online Playing MineCraft

  10. #9
    Crash's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    JAville
    Posts
    2,881
    Reputation
    163
    Thanks
    3,291
    My Mood
    Sleepy
    Quote Originally Posted by Yepikiyay View Post
    becuase he what correct and i respect that
    so fuck off noob
    I'm glad you understand. Perhaps learning more D3D and you might be able to change this to actual chams.

  11. The Following User Says Thank You to Crash For This Useful Post:

    Yepikiyay (06-30-2010)

  12. #10
    anger83's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Posts
    21
    Reputation
    10
    Thanks
    0
    My Mood
    Aggressive
    ok here is next question for u

    i was the one who first tolled you what dip was
    but u thanked the guys who called you dumbass

  13. #11
    Yepikiyay's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    320
    Reputation
    10
    Thanks
    37
    My Mood
    Drunk
    Quote Originally Posted by anger83 View Post
    ok here is next question for u

    i was the one who first tolled you what dip was
    but u thanked the guys who called you dumbass
    dude no you didnt so fuck off and learn some programming skillz

    I Hate You
    Current Status: Online Playing MineCraft

  14. #12
    Crash's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    JAville
    Posts
    2,881
    Reputation
    163
    Thanks
    3,291
    My Mood
    Sleepy
    Quote Originally Posted by anger83 View Post
    ok here is next question for u

    i was the one who first tolled you what dip was
    but u thanked the guys who called you dumbass


    Wow you're jealous that you didn't get thanks...

    ...
    ...

    ...


    .


    I don't know what to say.

    Last edited by Crash; 06-30-2010 at 02:03 AM.

  15. #13
    whatup777's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    CA Source Code Section
    Posts
    4,025
    Reputation
    147
    Thanks
    351
    My Mood
    Dead
    Would this make it chams:
    Code:
    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);
             }
    }
    I take NO Credit.

    This is Void's posted in April.

    Google to the rescue
    Quotes I live by.


    A foolish person learns from his mistakes, I wise person learns from others.
    Quote Originally Posted by AVGN View Post



    mhm

    i live in texas

    i was at the grocery store with my son. He saw a mexican guy, and he said "Look daddy! a mower man!"

    he's 4 yrs old

  16. #14
    Crash's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    JAville
    Posts
    2,881
    Reputation
    163
    Thanks
    3,291
    My Mood
    Sleepy
    Quote Originally Posted by whatup777 View Post
    Would this make it chams:
    Code:
    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);
             }
    }
    I take NO Credit.

    This is Void's posted in April.

    Google to the rescue
    Lol you can probably find hundreds of results on Google. :P

  17. #15
    whatup777's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    CA Source Code Section
    Posts
    4,025
    Reputation
    147
    Thanks
    351
    My Mood
    Dead
    Quote Originally Posted by Sealionone View Post
    Lol you can probably find hundreds of results on Google. :P
    That is very true
    Quotes I live by.


    A foolish person learns from his mistakes, I wise person learns from others.
    Quote Originally Posted by AVGN View Post



    mhm

    i live in texas

    i was at the grocery store with my son. He saw a mexican guy, and he said "Look daddy! a mower man!"

    he's 4 yrs old

Page 1 of 2 12 LastLast

Similar Threads

  1. [Request] How to make chams from source code [Spoonfed]
    By mutemulti in forum Combat Arms Hacks & Cheats
    Replies: 2
    Last Post: 05-26-2010, 05:10 PM
  2. [Source] Combat Arms Chams
    By scimmyboy in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 54
    Last Post: 05-22-2010, 04:31 AM
  3. [Help] Searching Chams&Wallhack (CS:S,Counter Strike: Source)
    By Freakycrit in forum CounterStrike (CS) 1.6 Hacks / Counter Strike: Source (CSS) Hacks
    Replies: 6
    Last Post: 01-05-2010, 05:00 PM
  4. Source for Combat Arms chams(wallhack)
    By bannedshow in forum C++/C Programming
    Replies: 62
    Last Post: 10-08-2009, 08:50 AM
  5. My Cham source
    By Andyklk2009 in forum Combat Arms Hacks & Cheats
    Replies: 12
    Last Post: 08-28-2008, 07:22 PM