Results 1 to 5 of 5
  1. #1
    TheWillyX's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Posts
    10
    Reputation
    10
    Thanks
    0
    My Mood
    Aggressive

    Question Source Code Help?

    So I have these old source codes dating back from 8/10/13. ( Don't know how i even got these)
    And they are either patched or detected. (Mostly Patched haha )
    Can anyone help me with coding or how to Update the classes Etc.?
    Either via videos , posts , just anything that'll help me?
    Please? I'm starting to learn how to make these hacks (Combat arms only though)
    And would like to bring a smile to the hacking community and for the one in needs of hacks!
    Free Of course! No payment

  2. #2
    Skaterforeva1's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Up your ass
    Posts
    917
    Reputation
    32
    Thanks
    476
    My Mood
    Psychedelic
    Disable all hacks and update the detours with these,
    Updated Detours: Credits We11ington
     

    Code:
    LPVOID DetourCreateType( PBYTE pbTargetFunction, PBYTE pbDetourFunction, INT intSize, INT intType )
    {
        #define Detour1        1    // Undetected by BlackCipher II
        #define Detour2        2    // Undetected by BlackCipher II
        #define Detour3        3    // Undetected by BlackCipher II
        #define Detour4        4    // Undetected by BlackCipher II
        #define Detour5        5    // Undetected by BlackCipher II
    
        DWORD dwProtect;
        PBYTE pbDetour = ( PBYTE  )malloc( intSize + 5 );
        INT i;
    
        VirtualProtect( pbTargetFunction, intSize, PAGE_EXECUTE_READWRITE, &dwProtect );
        memcpy( pbDetour, pbTargetFunction, intSize );
        pbDetour += intSize;
    
        *( BYTE * ) ( pbDetour + 0 ) = 0xE9;
        *( DWORD * )( pbDetour + 1 ) = ( DWORD )( pbTargetFunction + intSize - pbDetour ) - 5;
    
        switch( intType )
        {
        case 1:
            *( BYTE * ) ( pbTargetFunction + 0 ) = 0xB8;
            *( DWORD * )( pbTargetFunction + 1 ) = ( DWORD )( pbDetourFunction );
            *( WORD * ) ( pbTargetFunction + 5 ) = 0xE0FF;
            i = 7;
            break;
    
        case 2:
            *( WORD * ) ( pbTargetFunction + 0 ) = 0xC033;
            *( WORD * ) ( pbTargetFunction + 2 ) = 0xC085;
            *( WORD * ) ( pbTargetFunction + 4 ) = 0x840F;
            *( DWORD * )( pbTargetFunction + 6 ) = ( DWORD )( pbDetourFunction - pbTargetFunction ) - 10;
            i = 10;
            break;
    
        case 3:
            *( WORD * ) ( pbTargetFunction + 0 ) = 0xDB33;
            *( WORD * ) ( pbTargetFunction + 2 ) = 0xDB85;
            *( WORD * ) ( pbTargetFunction + 4 ) = 0x840F;
            *( DWORD * )( pbTargetFunction + 6 ) = ( DWORD )( pbDetourFunction - pbTargetFunction ) - 10;
            i = 10;
            break;
    
        case 4:
            *( WORD * ) ( pbTargetFunction + 0 ) = 0xC933;
            *( WORD * ) ( pbTargetFunction + 2 ) = 0xC985;
            *( WORD * ) ( pbTargetFunction + 4 ) = 0x840F;
            *( DWORD * )( pbTargetFunction + 6 ) = ( DWORD )( pbDetourFunction - pbTargetFunction ) - 10;
            i = 10;
            break;
    
        case 5:
            *( WORD * ) ( pbTargetFunction + 0 ) = 0xD233;
            *( WORD * ) ( pbTargetFunction + 2 ) = 0xD285;
            *( WORD * ) ( pbTargetFunction + 4 ) = 0x840F;
            *( DWORD * )( pbTargetFunction + 6 ) = ( DWORD )( pbDetourFunction - pbTargetFunction ) - 10;
            i = 10;
            break;
        }
    
        for( ; i < intSize; i++ )
            *( BYTE * )( pbTargetFunction + i ) = 0x90;
    
        VirtualProtect( pbTargetFunction, intSize, dwProtect, &dwProtect );
    
        return ( pbDetour - intSize );
    }
    
    //usage
    
    rhkReset   = ( tReset )   DetourCreateType( ( PBYTE )Device[16], ( PBYTE )&hkReset,   16, Detour1 );
    rhkPresent = ( tPresent ) DetourCreateType( ( PBYTE )Device[17], ( PBYTE )&hkPresent, 10, Detour1 );

    ^Suck it!


  3. The Following User Says Thank You to Skaterforeva1 For This Useful Post:

    TheWillyX (12-20-2013)

  4. #3
    TheWillyX's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Posts
    10
    Reputation
    10
    Thanks
    0
    My Mood
    Aggressive
    Thanks for the help m8

  5. #4
    Skaterforeva1's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Up your ass
    Posts
    917
    Reputation
    32
    Thanks
    476
    My Mood
    Psychedelic
    Quote Originally Posted by TheWillyX View Post
    Thanks for the help m8
    There is a button, no need to say it.

    ^Suck it!


  6. #5
    Abiseklamazes7's Avatar
    Join Date
    Mar 2013
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    9
    My Mood
    Amazed
    how to make a hack with a d3d menu ?

Similar Threads

  1. [Help] Source Code Help !
    By **HACKER** in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 5
    Last Post: 03-04-2011, 04:03 PM
  2. source code help!
    By conman1136 in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 7
    Last Post: 08-13-2010, 04:48 AM
  3. [HELP] Source Code Help
    By jonnyboy9985 in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 10
    Last Post: 08-12-2010, 07:14 PM
  4. Source Code help
    By nicklus in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 8
    Last Post: 07-27-2010, 09:19 PM
  5. [Help] Source code +Help+Release
    By maxius12 in forum CrossFire Hacks & Cheats
    Replies: 33
    Last Post: 02-26-2010, 10:22 PM