Results 1 to 8 of 8
  1. #1
    JoEyHaX's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Posts
    4
    Reputation
    10
    Thanks
    6

    CoD4 Chams Source Code

    Here is MY version of CoD4 Chams...Enjoy!

    Code:
       // Globally defined
    DWORD * _ESP;
    char * ModelName;
    
    // Inside DrawIndexedPrimitive
        if( (DWORD)_ReturnAddress( ) == ChamsReturnAddress )
        {
            __asm mov _ESP, esp
    
            if( !IsBadReadPtr( (void *)( _ESP + 0x18 ), 8 ) && *( _ESP + 0x18 ) )
            {
                if( !IsBadReadPtr( (void *)( *( _ESP + 0x18 ) + 0xB8 ), 8 ) &&
                    !IsBadReadPtr( (void *)*(DWORD *)( *( _ESP + 0x18 ) + 0xB8 ), 8 ) &&
                    !IsBadReadPtr( (void *)**(DWORD **)( *( _ESP + 0x18 ) + 0xB8 ), 8 ) )
                {
                    ModelName = (char *)**(DWORD **)( *( _ESP + 0x18 ) + 0xB8 );
    
                    if( ModelName )
                    {
                        if( !strstr( ModelName, "mi24p" ) && !strstr( ModelName, "cobra" ) )
                        {
                            if( strstr( ModelName, "opforce" ) || strstr( ModelName, "op_force" ) || strstr( ModelName, "head_suren" ) || strstr( ModelName, "arab" ) )
                                ChamsTeam = 2;
                            else if( strstr( ModelName, "sas" ) || strstr( ModelName, "usmc" ) || strstr( ModelName, "marine" ) )
                                ChamsTeam = 1;
    
                            // Do the chams drawing here
    
                            ChamsTeam = 0; // Don't forget this!
                        }
                    }
                }
            }
        }

    here's the pattern for ChamsReturnAddress:


    Code:
       "\x5F\x5E\x5D\x5B\x83\xC4\x0C\xC3\xCC\xCC\xCC\xCC\xCC\xCC\xCC\xCC\xCC\xCC\xCC\xCC\x83\xEC\x0C\x53", "xxxxxxxxxxxxxxxxxxxxxxxx"
    Save to your hack or a .dll file i dont care what do with it!

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

    selim321 (06-06-2012),xjonasxv (10-17-2012)

  3. #2
    Activeproandrey's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Location
    Belarus
    Posts
    35
    Reputation
    10
    Thanks
    23
    My Mood
    Fine
    Fine =)
    Works well !

  4. #3
    panatha13's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    Greece
    Posts
    33
    Reputation
    10
    Thanks
    1
    My Mood
    Cool
    where i putting these codes !!?!?!??

  5. #4
    caralhoxd's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    I give my codehook in exchange a key of cod4 original

  6. #5
    Chelsea1996's Avatar
    Join Date
    May 2012
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    I ll give u one!But i want thecodehook!

  7. #6
    selim321's Avatar
    Join Date
    Jan 2012
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0
    What do we do in this code?

  8. #7
    SkinnerEdits's Avatar
    Join Date
    Mar 2012
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    what am i supposed to do with this -.-

  9. #8
    R3Dx666†'s Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Steam: MrTricklez
    Posts
    1,723
    Reputation
    141
    Thanks
    2,913
    My Mood
    Devilish
    Quote Originally Posted by SkinnerEdits View Post
    what am i supposed to do with this -.-
    for cpp and nice post joe

Similar Threads

  1. [Request] D3D Chams Source Code C++ 2010
    By enverheckir in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 6
    Last Post: 12-14-2011, 07:17 AM
  2. [Release] Chams Source Code
    By D3t0N4t3 in forum WarRock Hack Source Code
    Replies: 10
    Last Post: 03-10-2011, 05:29 AM
  3. [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
  4. Need source code for chams hack
    By TheCamels8 in forum WarRock Hack Source Code
    Replies: 5
    Last Post: 06-11-2010, 09:00 PM
  5. [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