Thread: My Cham source

Results 1 to 13 of 13
  1. #1
    Andyklk2009's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Location
    Red Dots
    Posts
    178
    Reputation
    10
    Thanks
    38

    Cool My Cham source

    yo i have a question any exprect or any one who knows much about Chams tell me if this is right
    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;
    }

    HRESULT CD3DManager::Initialize()
    {
    /*
    initialize Resources such as textures
    (managed and unmanaged [D3DPOOL]),
    vertex buffers, and other D3D rendering resources
    ...
    m_pD3Ddev->CreateTexture(..., ..., &m_pD3Dtexture);
    */


    GenerateTexture(m_pD3Ddev, &texRed,D3DCOLOR_ARGB(255,255,0,0));
    GenerateTexture(m_pD3Ddev, &texPurple,D3DCOLOR_ARGB(255,160,32,240));
    GenerateTexture(m_pD3Ddev, &texGreen,D3DCOLOR_ARGB(255,0,255,0));
    GenerateTexture(m_pD3Ddev, &texYellow,D3DCOLOR_ARGB(255,255,255,0));
    GenerateTexture(m_pD3Ddev, &texOrange,D3DCOLOR_ARGB(255,255,140,0));
    GenerateTexture(m_pD3Ddev, &texPink,D3DCOLOR_ARGB(255,255,192,203));
    GenerateTexture(m_pD3Ddev, &texBlue,D3DCOLOR_ARGB(255,0,0,255));
    GenerateTexture(m_pD3Ddev, &texViolet,D3DCOLOR_ARGB(208,32,144,0));
    GenerateTexture(m_pD3Ddev, &texSea,D3DCOLOR_XRGB( 32, 178, 170 ));
    GenerateTexture(m_pD3Ddev, &texBlack,D3DCOLOR_XRGB( 0, 0, 0 ));
    GenerateTexture(m_pD3Ddev, &texSlate,D3DCOLOR_XRGB( 47, 79, 79 ));
    GenerateTexture(m_pD3Ddev, &texCoral,D3DCOLOR_XRGB( 255, 127, 80 ));
    GenerateTexture(m_pD3Ddev, &texDOrange,D3DCOLOR_XRGB( 255, 140, 0 ));
    GenerateTexture(m_pD3Ddev, &texGrey,D3DCOLOR_XRGB( 190, 190, 190 ));

    return S_OK;
    }

  2. #2
    peanut1's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Posts
    43
    Reputation
    10
    Thanks
    9
    Dont double post.
    MPGH Goals
    [X]10 posts
    []50 posts
    []150 posts
    [] 300 posts
    [] 500 posts
    [X] Make a Private Hack
    [] Make a Public Hack
    Epic Quotes:
    Quote Originally Posted by NateC View Post
    Where is my fucking hack. I'm never coming back to MPGH again. And I was going to buy the VIP hack...
    Bitch me a river choob. :3
    Quote Originally Posted by shanalove View Post
    effffff yew kup shutan et shut owt ampti ballit wun hart nu bady
    lolwut?
    Quote Originally Posted by Ekko View Post
    There IS a wall hack
    Just take your knife to the wall and hope you cut a hole in it
    LOL

  3. #3
    Andyklk2009's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Location
    Red Dots
    Posts
    178
    Reputation
    10
    Thanks
    38
    i know i edited

  4. #4
    Iwin's Avatar
    Join Date
    Aug 2008
    Posts
    2,401
    Reputation
    26
    Thanks
    339
    Did you write this?

    This is just some old source code for taking a player X and Y and turning them into a certain color. I am not sure if this script is still works.

    If you were to execute this code you'd probably just end up with D3D errors.

  5. #5
    kirbythepuff's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Posts
    305
    Reputation
    10
    Thanks
    24
    man this thing is complicated
    Destroy Nexon!

  6. #6
    xobbfly's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Posts
    95
    Reputation
    10
    Thanks
    6
    im not sure, but atm, im looking for a way, to get the cham source [c=19]\ if i got the right one, the one i have looks different from the one you have / [/c] to work with iwin's bypass. and trying to modify the application.

  7. #7
    kingpop91770's Avatar
    Join Date
    Jul 2007
    Gender
    male
    Location
    The Other Dimension! >:D
    Posts
    264
    Reputation
    20
    Thanks
    98
    Anyway to re-hook this onto Combat Arms?

  8. #8
    Andyklk2009's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Location
    Red Dots
    Posts
    178
    Reputation
    10
    Thanks
    38
    omg this is hard im working on a chams but i get 1 failed is that an error what???

  9. #9
    skool's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Location
    Up in MPGH looking for hacks .OMG _______________________
    Posts
    720
    Reputation
    11
    Thanks
    401
    My Mood
    Cool
    Wow andy you have so much kills. :l
    and it is complicated

  10. #10
    iMajorPwnage's Avatar
    Join Date
    Aug 2008
    Location
    Pimp Land
    Posts
    10
    Reputation
    10
    Thanks
    0
    this guy is a fuckin dum ass he has kryticals stats on his sig! wtf take dat crap off. stupid ass noob

  11. #11
    MesoPlz's Avatar
    Join Date
    Aug 2008
    Posts
    93
    Reputation
    10
    Thanks
    5
    Says the choob.

    Anyway, isn't this method patched? I thought the chams use a different address now.

  12. #12
    CyberStriker's Avatar
    Join Date
    May 2008
    Gender
    male
    Posts
    149
    Reputation
    10
    Thanks
    12
    You need to check for stride.



    Quote Originally Posted by MesoPlz View Post
    Says the choob.

    Anyway, isn't this method patched? I thought the chams use a different address now.
    Chams don't use addresses you idiot. It's hooking DirectX.

  13. #13
    lolfunny's Avatar
    Join Date
    Aug 2008
    Posts
    20
    Reputation
    10
    Thanks
    1
    GenerateTexture(m_pD3Ddev, &texRed,D3DCOLOR_ARGB(255,255,0,0));
    GenerateTexture(m_pD3Ddev, &texPurple,D3DCOLOR_ARGB(255,160,32,240));
    GenerateTexture(m_pD3Ddev, &texGreen,D3DCOLOR_ARGB(255,0,255,0));
    GenerateTexture(m_pD3Ddev, &texYellow,D3DCOLOR_ARGB(255,255,255,0));
    GenerateTexture(m_pD3Ddev, &texOrange,D3DCOLOR_ARGB(255,255,140,0));
    GenerateTexture(m_pD3Ddev, &texPink,D3DCOLOR_ARGB(255,255,192,203));
    GenerateTexture(m_pD3Ddev, &texBlue,D3DCOLOR_ARGB(255,0,0,255));
    GenerateTexture(m_pD3Ddev, &texViolet,D3DCOLOR_ARGB(208,32,144,0));
    GenerateTexture(m_pD3Ddev, &texSea,D3DCOLOR_XRGB( 32, 178, 170 ));
    GenerateTexture(m_pD3Ddev, &texBlack,D3DCOLOR_XRGB( 0, 0, 0 ));
    GenerateTexture(m_pD3Ddev, &texSlate,D3DCOLOR_XRGB( 47, 79, 79 ));
    GenerateTexture(m_pD3Ddev, &texCoral,D3DCOLOR_XRGB( 255, 127, 80 ));
    GenerateTexture(m_pD3Ddev, &texDOrange,D3DCOLOR_XRGB( 255, 140, 0 ));
    GenerateTexture(m_pD3Ddev, &texGrey,D3DCOLOR_XRGB( 190, 190, 190 ));

    Use only 2 of the textures, unless you put a hokey on all 2 of the each.

Similar Threads

  1. [Release] Chams Source Code
    By D3t0N4t3 in forum WarRock Hack Source Code
    Replies: 10
    Last Post: 03-10-2011, 05:29 AM
  2. [Kinda Release]AVA Chams Source Code
    By noleash in forum Alliance of Valiant Arms (AVA) Coding / Source Code
    Replies: 14
    Last Post: 11-30-2010, 02:14 PM
  3. [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
  4. [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
  5. Source for Combat Arms chams(wallhack)
    By bannedshow in forum C++/C Programming
    Replies: 62
    Last Post: 10-08-2009, 08:50 AM

Tags for this Thread