Page 1 of 3 123 LastLast
Results 1 to 15 of 36
  1. #1
    Spook's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    4,649
    Reputation
    26
    Thanks
    568

    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 - http://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 Spook 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,035
    Reputation
    340
    Thanks
    2,784
    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
    789
    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,406
    Reputation
    157
    Thanks
    3,991
    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
    Spook's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    4,649
    Reputation
    26
    Thanks
    568
    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.

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

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

  9. #6
    ac1d_buRn's Avatar
    Join Date
    Aug 2009
    Gender
    female
    Location
    CA Source Section
    Posts
    3,406
    Reputation
    157
    Thanks
    3,991
    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.

  10. #7
    Spook's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    4,649
    Reputation
    26
    Thanks
    568
    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.

  11. The Following User Says Thank You to Spook For This Useful Post:

    mierda87 (10-05-2010)

  12. #8
    ac1d_buRn's Avatar
    Join Date
    Aug 2009
    Gender
    female
    Location
    CA Source Section
    Posts
    3,406
    Reputation
    157
    Thanks
    3,991
    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.

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

    NOOB (10-05-2010)

  14. #9
    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

  15. #10
    Spook's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    4,649
    Reputation
    26
    Thanks
    568
    No problem Mierda.
    I'm back.

  16. #11
    |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)

  17. #12
    flameswor10's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    12,528
    Reputation
    981
    Thanks
    10,404
    My Mood
    In Love
    Rofl.. With this turorial, you made it soo easy to understand.. Even my little sister in year 4 can probaby make an alright auto on hack + thanked when i get on my pc

  18. #13
    Spook's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    4,649
    Reputation
    26
    Thanks
    568
    That's what I was aiming for; Easy to understand, Easy to read as in Not jumbled up.

    I also have to give credit to DeadLinez for his PTC thread.
    I'm back.

  19. #14
    NOOBJr's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in NOOB
    Posts
    1,426
    Reputation
    112
    Thanks
    693
    Nice job ToxinJr, CA Public Hack Support make's sense! But if anyone actually need's this tutorial they shouldn't be here!

  20. #15
    Stephen's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    Engine.exe
    Posts
    4,690
    Reputation
    184
    Thanks
    1,147
    My Mood
    Aggressive
    Cool .


    /

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, 08: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, 06: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, 02: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, 02:59 PM
  5. how to add the flash on your profile
    By dk173 in forum General
    Replies: 4
    Last Post: 07-08-2009, 12:51 AM