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

    [Tutorial] Maintaining your auto on hack - Beginner's Guide

    First you will need to read this guide by CoderNever - http://www.mpgh.net/forum/207-combat...arms-hack.html

    You'll end up with a source code like this

    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;
    }
    As you can see it won't work as it's got an old LTC

    A hack won't run without the LTC

    The most current one is - 0x377ED910

    With ever patch the LTC and other addresses will be changed.

    You'll have to wait or ask another coder for the newly updated address

    To update the LTClient you have to change this part of the code

    Code:
    DWORD *LTClient = ( DWORD* )( 0x3778BFB0 );
    With the newly updated LTC it will be

    Code:
    DWORD *LTClient = ( DWORD* )( 0x377ED910 );
    The whole source will then end up like this

    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* )( 0x377ED910 );
    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;
    }
    After you've released your first hack or used for personal interest you'll want to add more features.

    The full tutorial is here - http://www.mpgh.net/forum/207-combat...auto-hack.html

    After you've read that you should get this.

    If I wanted to add these features

    - FPS
    - No Fog
    - Weapon Activation
    - No Spread

    I would have to change this in our first source

    Code:
    {
    PushToConsole("SkelModelStencil 1");
    }
    }
    And add the PushToConsole sources

    Which are
    - FPS
    Code:
     PushToConsole("ShowFps 1");
    - No Fog
    Code:
     PushToConsole("FogEnable 1" );
    - Weapon Activation
    Code:
     PushToConsole("ActivationDistance 999999" );
    - No Spread
    Code:
     PushToConsole("PerturbRotationEffect  0.000000" );
    PushToConsole("PerturbIncreaseSpeed 0.000000" );
    PushToConsole("PerturbWalkPercent 0.000000" );
    PushToConsole("PerturbFiringIncreaseSpeed 0.000000" );
    PushToConsole("PerturbRecoil 0.000000" );
    PushToConsole("FireMovePerturb 0.000000" );
    PushToConsole("ZoomedFireMoveDuckPerturb 0.000000" );
    PushToConsole("ZoomedFireMovePerturb 0.000000" );
    PushToConsole("ZoomedFireDuckPerturb 0.000000" );
    So in final our PushToConsole code's will end up like this

    Code:
    {
    PushToConsole("SkelModelStencil 1");
    PushToConsole("ShowFps 1");
    PushToConsole("FogEnable 1" );
    PushToConsole("ActivationDistance 999999" )
    PushToConsole("PerturbRotationEffect  0.000000" );
    PushToConsole("PerturbIncreaseSpeed 0.000000" );
    PushToConsole("PerturbWalkPercent 0.000000" );
    PushToConsole("PerturbFiringIncreaseSpeed 0.000000" );
    PushToConsole("PerturbRecoil 0.000000" );
    PushToConsole("FireMovePerturb 0.000000" );
    PushToConsole("ZoomedFireMoveDuckPerturb 0.000000" );
    PushToConsole("ZoomedFireMovePerturb 0.000000" );
    PushToConsole("ZoomedFireDuckPerturb 0.000000" );
    }
    }
    And in finally our whole source will end up like this

    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* )( 0x377ED910 );
    void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
    __asm
    {
    push szCommand;
    call CONoff;
    add esp, 4;
    }
    }	
    void main()
    {
    while(true)
    {
    PushToConsole("SkelModelStencil 1");
    PushToConsole("ShowFps 1");
    PushToConsole("FogEnable 1" );
    PushToConsole("ActivationDistance 999999" )
    PushToConsole("PerturbRotationEffect  0.000000" );
    PushToConsole("PerturbIncreaseSpeed 0.000000" );
    PushToConsole("PerturbWalkPercent 0.000000" );
    PushToConsole("PerturbFiringIncreaseSpeed 0.000000" );
    PushToConsole("PerturbRecoil 0.000000" );
    PushToConsole("FireMovePerturb 0.000000" );
    PushToConsole("ZoomedFireMoveDuckPerturb 0.000000" );
    PushToConsole("ZoomedFireMovePerturb 0.000000" );
    PushToConsole("ZoomedFireDuckPerturb 0.000000" );
    }
    }
    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;
    }
    So in total all you need to do to update your hack is to update the latest LTC

    Code:
    DWORD *LTClient = ( DWORD* )( 0x377ED910 );
    Credit's
    - Topblast
    - Spook
    - CoderNever
    - DeadLinez
    - CodeDemon
    I'm back.

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

    leoisso (11-07-2010),NOOB (10-12-2010),zanny1 (10-11-2010)

  3. #2
    Tawksin's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    584
    Reputation
    239
    Thanks
    73
    Nicely done son. I'm proud of you.

  4. #3
    Spook's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    4,649
    Reputation
    26
    Thanks
    568
    Quote Originally Posted by Tawksin View Post
    Nicely done son. I'm proud of you.
    - faints - .
    I'm back.

  5. #4
    Amatowarrior's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Posts
    629
    Reputation
    14
    Thanks
    102
    My Mood
    Inspired
    Lots of C&P nubs are gonna see this /

    EDIT: I thought this PTC Method was out of date, you might need to change the whole method
    Tools UNDETECTED - PATCHED [I will only have recent versions up!]
    Tapper V1.15: http://www.mpgh.net/forum/164-combat...r-v1-15-a.html
    Amato Inject V1.15: http://www.mpgh.net/forum/292-combat...t-v1-15-a.html

    Mods
    L96A1 - Arctic Wolf
    Super M416 CQB
    Super M16A3
    MW2 M92FS (M9)
    Starcraft 2 L96A1

    PVT VIP
    Aimbot: 65% (Have full source code)
    OPK: 100% (Uses Enemy Class)
    Telekill: 100% (Uses Enemy Class)
    Ghost Mode: 80% (In Semi-Stages)
    Super Bullets: 100% (Thanks Deadlinez/hahaz!)
    Menu Sprite: 100% (Thanks whit!)



  6. #5
    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
    Thank-You, Helpful alot..
    I've learnt this, now i need a "Menu-Hack tutorial" ??
    And were do you find the Newest, LTC??

    Uhm.. Also, saying my code failed ;X ? i got exact same stuff down as you?

  7. #6
    inliner's Avatar
    Join Date
    Jun 2008
    Gender
    male
    Location
    d
    Posts
    64
    Reputation
    10
    Thanks
    11
    look into the updated addies thread or look into cshell.....

  8. #7
    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
    Get You, but.. How do i check inside the dll. ?

  9. #8
    Capevaldo's Avatar
    Join Date
    Mar 2009
    Gender
    male
    Location
    CWBeats
    Posts
    5,518
    Reputation
    242
    Thanks
    1,145
    My Mood
    Drunk
    Goob, but, how i find the LTC?

  10. #9
    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 CaPeVaLdO View Post
    Goob, but, how i find the LTC?
    In the cshell file, i just dont understand how to get into it ;X

  11. #10
    Capevaldo's Avatar
    Join Date
    Mar 2009
    Gender
    male
    Location
    CWBeats
    Posts
    5,518
    Reputation
    242
    Thanks
    1,145
    My Mood
    Drunk
    Quote Originally Posted by QQiswhyihack View Post
    In the cshell file, i just dont understand how to get into it ;X
    Damn it! I don't know how to get into a dll file ._. I'll try to use a DLL decompiler, if exists.

  12. #11
    koolwrench's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    California
    Posts
    174
    Reputation
    10
    Thanks
    48
    My Mood
    Amused
    this layout is patched isnt it?
    DONT FORGET TO PRESS THE THANKS BUTTON

    accomplishment list:
    post 5 times []
    post 10 times []
    post 50 times[]
    post 100 times[]
    begin to learn coding[]
    code first program []
    code second program[]
    code first hack []
    code a awsome hack[]
    become a member[]
    become a well known[]
    get a unbeliavable[]
    get an unbeliavble+[]
    get called a haxor without hacking[]
    hack without being called a hacker[]






    RESPECT LIST:
    [MPGH]Dave84311
    [Mpgh]Liz

  13. #12
    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 koolwrench View Post
    this layout is patched isnt it?
    i think so, all of a sudden.. i had it working, now i dc.. How can i fix this to make new method of working?
    RespectsList
    MrSkaFighter
    Spook
    CoderNever

    Thank You for This sig, Peter/Vengeance.

    Uploaded with ImageShack.us
    Respect Aint Easy to earn, helpful people are always loyal.
    Goals
    Get 50 post []
    get 100 post []
    get 150 post []
    get 200 post []
    Make a Auto-On Hack []
    Release My first hack []
    Make a hotKey hack []
    Make a menu-hack []
    Hack, not get called a hacker []
    Hack, get QQed at and lol []
    Be known on MPGH [] -Unknown.
    Yes i have a long goal list, but a long goal list is someone who wants to accomplish alot of things..

  14. #13
    koolwrench's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    California
    Posts
    174
    Reputation
    10
    Thanks
    48
    My Mood
    Amused
    find a diffrent method to get them in.

    ask one of the greatter coders like flameswor10s, or codedemon and some others
    DONT FORGET TO PRESS THE THANKS BUTTON

    accomplishment list:
    post 5 times []
    post 10 times []
    post 50 times[]
    post 100 times[]
    begin to learn coding[]
    code first program []
    code second program[]
    code first hack []
    code a awsome hack[]
    become a member[]
    become a well known[]
    get a unbeliavable[]
    get an unbeliavble+[]
    get called a haxor without hacking[]
    hack without being called a hacker[]






    RESPECT LIST:
    [MPGH]Dave84311
    [Mpgh]Liz

  15. #14
    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 koolwrench View Post
    find a diffrent method to get them in.

    ask one of the greatter coders like flameswor10s, or codedemon and some others
    To get what in though, Here is my WHOLE auto-On Pub.
    #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* )( 0x377ED910 );
    void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
    __asm
    {
    push szCommand;
    call CONoff;
    add esp, 4;
    }
    }
    void main()
    {
    while(true)
    {
    PushToConsole("SkelModelStencil -1"); // Nx Chams
    PushToConsole("ShowFps 1"); // Shows Frames Per Second
    PushToConsole("FogEnable 1" ); // No Fog
    PushToConsole("ActivationDistance 999999" ); // No idea
    PushToConsole("WeaponSway 0.000000" ); // No Bullet/Weapon Sway
    PushToConsole("ModelDebug_DrawBoxes 1" ); // ESP Boxes
    PushToConsole("WireframeModels 1" ); // Wireframed
    PushToConsole("DisableCrosshair 0" ); // Crosshair
    PushToConsole("PerturbRotationEffect 0.000000" ); // start of no spread.
    PushToConsole("PerturbIncreaseSpeed 0.000000" );
    PushToConsole("PerturbWalkPercent 0.000000" );
    PushToConsole("PerturbFiringIncreaseSpeed 0.000000" );
    PushToConsole("PerturbRecoil 0.000000" );
    PushToConsole("FireMovePerturb 0.000000" );
    PushToConsole("ZoomedFireMoveDuckPerturb 0.000000" );
    PushToConsole("ZoomedFireMovePerturb 0.000000" );
    PushToConsole("ZoomedFireDuckPerturb 0.000000" ); // End of no spread code
    }
    }
    DWORD WINAPI dwHackThread(LPVOID)
    {
    while( !IsGameReadyForHook() )
    Sleep(200);
    main();
    return 0;
    RespectsList
    MrSkaFighter
    Spook
    CoderNever

    Thank You for This sig, Peter/Vengeance.

    Uploaded with ImageShack.us
    Respect Aint Easy to earn, helpful people are always loyal.
    Goals
    Get 50 post []
    get 100 post []
    get 150 post []
    get 200 post []
    Make a Auto-On Hack []
    Release My first hack []
    Make a hotKey hack []
    Make a menu-hack []
    Hack, not get called a hacker []
    Hack, get QQed at and lol []
    Be known on MPGH [] -Unknown.
    Yes i have a long goal list, but a long goal list is someone who wants to accomplish alot of things..

  16. #15
    Khalifa's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    In gods hands Post:5,421
    Posts
    2,591
    Reputation
    44
    Thanks
    136
    My Mood
    Blah
    Nice code dude

Page 1 of 3 123 LastLast

Similar Threads

  1. [Tutorial] Change your IP to unban yourself
    By Super-Man in forum Game Hacking Tutorials
    Replies: 22
    Last Post: 10-01-2016, 07:16 PM
  2. How to add multiple functions to your auto-on hack!
    By Spook in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 35
    Last Post: 10-10-2010, 07:32 PM
  3. [RELEASE/INFO] CN Tutorial - Making your first CA Hack!
    By CoderNever in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 170
    Last Post: 07-26-2010, 10:11 AM
  4. [[TUTORIAL]] How to make your OWN warrock hacks
    By th9end in forum WarRock Discussions
    Replies: 15
    Last Post: 08-19-2009, 03:16 AM
  5. Replies: 28
    Last Post: 03-02-2009, 08:44 AM