Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    nIlluminati's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    9
    Reputation
    10
    Thanks
    1
    That code is not complete for making chams, if you really want a complete one you need to find a source and learn it. That code is only for people that can implement the snippets into a fully working DLL that works for chams.

    Code:
    UINT Stride;
    UINT NumVertices;
    UINT PrimitiveCount;
    #define Player (Stride == 44 || Stride == 20 || NumVertices == 200 || PrimitiveCount == 30);
    //NOTE, these are Fake Strides.
    //You will have to use the Game Specific ones for the game  you are planning to 'hack'
    bool chams = false;
    
     LPDIRECT3DVERTEXBUFFER8 Stream_Data;
      UINT Stride = 0;
    
      if (m_pD3DDev->GetStreamSource(0, &Stream_Data, &Stride) == D3D_OK)
      Stream_Data->Release();
    
    if (GetAsyncKeyState (VK_INSERT)&1)
    {
    Chams = !Chams
    }
    
    if(Chams)
          if(Player)
          {
              {
    //If the player stride is active.
        DrawIndexedPrimitive(Device, Type, MinIndex,  NumVertices, StartIndex, PrimitiveCount);
    //If it's behind the wall, then fill it with Green
        Device->SetRenderState( D3DRS_ZENABLE,false );
        Device->SetTexture( 0, texGreen );
    //and then disable the Z Axis buffer, and bring them to the front.
        DrawIndexedPrimitive(Device, Type, MinIndex, NumVertices, StartIndex,  PrimitiveCount);
    //if the player is in front of the wall
        Device->SetRenderState( D3DRS_ZENABLE, true );
    //turn the Z Buffer back on, and then fill the playermodel with blue
        Device->SetTexture( 0, texBlue);
        DrawIndexedPrimitive(Device, Type,  MinIndex,  NumVertices, StartIndex, PrimitiveCount);
              }
          }
    Press insert to toggle on and off. Please note the strides and the player definition is fake, so you must find the real Player definitions.
    Last edited by nIlluminati; 02-10-2010 at 05:06 PM.

  2. #17
    tibble's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Location
    Texas
    Posts
    55
    Reputation
    9
    Thanks
    7
    To find strides we just use something like cheat engine or w/e its called to find the definitions?

  3. #18
    matthewwhite's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Posts
    4
    Reputation
    10
    Thanks
    1
    i am dude wat you need

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Basic Chams (unpatchable)
    By tabbyowns in forum Combat Arms Hacks & Cheats
    Replies: 14
    Last Post: 04-17-2009, 10:34 PM
  2. [V]Chams Tut, Now stop these effin threads.
    By Evilipod in forum Combat Arms Hacks & Cheats
    Replies: 29
    Last Post: 09-14-2008, 06:56 PM
  3. Post ure anything about Strife's chams, tuts, complains etc,,...
    By jekai15 in forum Combat Arms Hacks & Cheats
    Replies: 30
    Last Post: 09-14-2008, 12:20 AM
  4. Stife Chams Tut And Hidden AIMBOT!
    By ModaFoca in forum Combat Arms Hacks & Cheats
    Replies: 28
    Last Post: 09-13-2008, 04:23 AM
  5. [EXCLUSIVE!!] Basic Wall Hack/Chams TuT
    By warrockk1ngs in forum WarRock - International Hacks
    Replies: 33
    Last Post: 08-28-2007, 10:59 PM