Thread: [Source] Chams

Page 1 of 2 12 LastLast
Results 1 to 15 of 27
  1. #1
    Yepikiyay's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    320
    Reputation
    10
    Thanks
    35
    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
    35
    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 02:25 AM.

    I Hate You
    Current Status: Online Playing MineCraft

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

  5. #5
    Crash's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    JAville
    Posts
    2,889
    Reputation
    163
    Thanks
    3,289
    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.

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

    Yepikiyay (06-30-2010)

  7. #6
    zmansquared's Avatar
    Join Date
    Oct 2008
    Gender
    male
    Location
    Kickin it at Microsoft
    Posts
    2,088
    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
    35
    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,889
    Reputation
    163
    Thanks
    3,289
    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
    RageKnight's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    96
    Reputation
    10
    Thanks
    43
    My Mood
    Sleepy
    ^^ Wow, you fail, you don't even know what you said. You asked him what it was, you did not on any occasion tell him what DIP meant, so shut up and leave

  14. #12
    Yepikiyay's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    320
    Reputation
    10
    Thanks
    35
    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

  15. #13
    Crash's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    JAville
    Posts
    2,889
    Reputation
    163
    Thanks
    3,289
    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 03:03 AM.

  16. #14
    anger83's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Posts
    21
    Reputation
    10
    Thanks
    0
    My Mood
    Aggressive
    the whole idea of this was
    1. if you don't know what the actual code does do not release it.
    2. you are a human so when somebody tell you that you are shit you shouldnt thank him.

    And I’m not definitely envy you Sealionone

  17. #15
    Zoom's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    Your going on my 24/7 DDoS hit list.
    Posts
    8,561
    Reputation
    127
    Thanks
    5,912
    My Mood
    Happy
    Give credits or you will get punished.
    -Rest in peace leechers-

    Your PM box is 100% full.

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, 06: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, 05: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, 06:00 PM
  4. Source for Combat Arms chams(wallhack)
    By bannedshow in forum C++/C Programming
    Replies: 62
    Last Post: 10-08-2009, 09:50 AM
  5. My Cham source
    By Andyklk2009 in forum Combat Arms Hacks & Cheats
    Replies: 12
    Last Post: 08-28-2008, 08:22 PM