Page 1 of 3 123 LastLast
Results 1 to 15 of 36

Hybrid View

  1. #1
    Spookerzz's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    4,647
    Reputation
    26
    Thanks
    572

    How to add multiple functions to your auto-on hack!

    This is basically a tutorial from CoderNever's tutorial on adding more functions.

    The guide is here - https://www.mpgh.net/forum/207-combat...arms-hack.html

    Here is your source if you've just C & P'ed (Not recommended)

    Code:
    #include <windows.h>
    bool IsGameReadyForHook()
    {
    if( GetModuleHandleA( "d3d9.dll"     ) != NULL 
    && GetModuleHandleA( "ClientFX.fxd" ) != NULL 
    && GetModuleHandleA( "CShell.dll"   ) != NULL )
    return true;
    return false;
    }
    void __cdecl PushToConsole( const char* szCommand )
    {
    DWORD *LTClient = ( DWORD* )( 0x3778BFB0 );
    void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
    __asm
    {
    push szCommand;
    call CONoff;
    add esp, 4;
    }
    }	
    void main()
    {
    while(true)
    {
    PushToConsole("SkelModelStencil 1");
    }
    }
    DWORD WINAPI dwHackThread(LPVOID)
    {
    while( !IsGameReadyForHook() )
    Sleep(100);
    main();
    return 0;
    }
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    DisableThreadLibraryCalls(hDll);
    if ( dwReason == DLL_PROCESS_ATTACH )
    {
    CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
    }
    return TRUE;
    }
    Now the bit we will be changing is this bit

    Code:
    {
    PushToConsole("SkelModelStencil 1");
    }
    }
    To add another function such as No Fog, all you need to do it press enter to go down a line and add the next function

    For example

    Code:
    {
    PushToConsole("SkelModelStencil 1");
    PushToConsole("FogEnable 1" );
    }
    }
    And for a third feature

    Code:
    {
    PushToConsole("SkelModelStencil 1");
    PushToConsole("FogEnable 1" );
    PushToConsole("WeaponSway 0.000000" );
    }
    }
    And so on

    Credits
    - ExileD
    - Topblast
    - CoderNever

    Have fun coding!

    - ToxinJR
    I'm back.

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

    -ExileD- (10-07-2010),mierda87 (10-05-2010),NOOB (10-05-2010),wassup40 (10-05-2010)

  3. #2
    freedompeace's Avatar
    Join Date
    Jul 2010
    Gender
    female
    Posts
    3,033
    Reputation
    340
    Thanks
    2,792
    My Mood
    Sad
    Oh hey ! A useful contribution for once that makes some sense

    (well, a lot of sense)

  4. #3
    wassup40's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    I dont know help me
    Posts
    2,238
    Reputation
    28
    Thanks
    790
    My Mood
    Lurking
    Good job,
    use full for people starting out

  5. #4
    ac1d_buRn's Avatar
    Join Date
    Aug 2009
    Gender
    female
    Location
    CA Source Section
    Posts
    3,404
    Reputation
    157
    Thanks
    4,003
    My Mood
    Flirty
    You must be one dumbshit if you cant figure that out for yourself /

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

    sam1 (10-08-2010)

  7. #5
    sam1's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    32
    Reputation
    10
    Thanks
    6
    My Mood
    Dead
    ha ha i no how you fell

  8. #6
    NOOB's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    3,843
    Reputation
    425
    Thanks
    8,616
    Quote Originally Posted by budman821 View Post
    Isn't this base patched? /
    Never!

  9. #7
    Spookerzz's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    4,647
    Reputation
    26
    Thanks
    572
    Well acid it depends on your level of understanding on this subject.

    I for one think I'm rather smart building the hack while you think I'm a dumbshit

    I have not intended any flame in this sentence because I respect you to much :/
    I'm back.

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

    ac1d_buRn (10-08-2010),mierda87 (10-05-2010)

  11. #8
    ac1d_buRn's Avatar
    Join Date
    Aug 2009
    Gender
    female
    Location
    CA Source Section
    Posts
    3,404
    Reputation
    157
    Thanks
    4,003
    My Mood
    Flirty
    Quote Originally Posted by ToxinJr View Post
    Well acid it depends on your level of understanding on this subject.

    I for one think I'm rather smart building the hack while you think I'm a dumbshit

    I have not intended any flame in this sentence because I respect you to much :/
    I didnt mean you as a dumbshit, Im refering the people that will actually need this tutorial.
    Sorry if you thought it was aimed at you bro.

  12. #9
    Spookerzz's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    4,647
    Reputation
    26
    Thanks
    572
    Quote Originally Posted by ac1d_buRn View Post


    I didnt mean you as a dumbshit, Im refering the people that will actually need this tutorial.
    Sorry if you thought it was aimed at you bro.
    No problem.

    I probably am a dumb shit in the eyes or renowned hackers such as yourself, ExileD, Freedompeace and the other excellent hack makers which work there butts of to make hacks and to receive flame in return.

    Keep up your good work Acid
    I'm back.

  13. The Following User Says Thank You to Spookerzz For This Useful Post:

    mierda87 (10-05-2010)

  14. #10
    ac1d_buRn's Avatar
    Join Date
    Aug 2009
    Gender
    female
    Location
    CA Source Section
    Posts
    3,404
    Reputation
    157
    Thanks
    4,003
    My Mood
    Flirty
    Quote Originally Posted by ToxinJr View Post


    No problem.

    I probably am a dumb shit in the eyes or renowned hackers such as yourself, ExileD, Freedompeace and the other excellent hack makers which work there butts of to make hacks and to receive flame in return.

    Keep up your good work Acid
    Thanks. I dont code myself much anymore because noone appreciates the hacks. Just about anyone can code for CA now and my hacks are nothing like what other peoples are.
    I put the basic hacks you need. No useless shit.
    But in peoples eyes, Thats shit becuase it doesnt have 100 features.
    I also dont add semi-hacks to my hacks, bcuase thats the reason it laggs it. Noone complains about lag with my hacks.

  15. The Following User Says Thank You to ac1d_buRn For This Useful Post:

    NOOB (10-05-2010)

  16. #11
    QQiswhyihack's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    If i told you, i'd have to kill you :)
    Posts
    134
    Reputation
    10
    Thanks
    61
    My Mood
    Asleep
    Quote Originally Posted by ac1d_buRn View Post


    I didnt mean you as a dumbshit, Im refering the people that will actually need this tutorial.
    Sorry if you thought it was aimed at you bro.
    Your obviously a way better hacker then i am, I'm just starting out how to try learn to code.
    But i dont like the "dumbshit" quote? Gives me alot of confidence ?
    Anyways is there a Menu Hack Tut Like NeverCoderz tut?
    Would be muchly appreciated.
    Thanks.

  17. #12
    Spookerzz's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    4,647
    Reputation
    26
    Thanks
    572
    Quote Originally Posted by QQiswhyihack View Post
    Your obviously a way better hacker then i am, I'm just starting out how to try learn to code.
    But i dont like the "dumbshit" quote? Gives me alot of confidence ?
    Anyways is there a Menu Hack Tut Like NeverCoderz tut?
    Would be muchly appreciated.
    Thanks.
    When I learn I will make one if needed.
    I'm back.

  18. #13
    mierda87's Avatar
    Join Date
    Oct 2008
    Gender
    female
    Location
    Texas
    Posts
    82
    Reputation
    10
    Thanks
    11
    My Mood
    Relaxed
    thank you so fucking much

  19. #14
    Spookerzz's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    4,647
    Reputation
    26
    Thanks
    572
    No problem Mierda.
    I'm back.

  20. #15
    |Drake™|'s Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    365
    Reputation
    10
    Thanks
    84
    Ahaha nice job

    I hope the people appreciate this if they use it :P

    (Referring to beginners)

Page 1 of 3 123 LastLast

Similar Threads

  1. Request: How to add a song to your Injector in VB
    By ryski123 in forum Programming Tutorial Requests
    Replies: 1
    Last Post: 10-11-2010, 07:11 AM
  2. [Tut]How to add Quiet Inject into your injector
    By Samueldo in forum Visual Basic Programming
    Replies: 3
    Last Post: 08-03-2010, 05:28 AM
  3. [QUESTION]How to add custom skins to your cross-mod?
    By Viper 85626 in forum Combat Arms Mod Discussion
    Replies: 4
    Last Post: 05-07-2010, 01:26 PM
  4. [Info] How To Add An Attachment To Your Thread
    By Jimmy in forum Combat Arms Hacks & Cheats
    Replies: 0
    Last Post: 11-14-2009, 01:59 PM
  5. how to add the flash on your profile
    By dk173 in forum General
    Replies: 4
    Last Post: 07-07-2009, 11:51 PM