Page 1 of 2 12 LastLast
Results 1 to 15 of 18
  1. #1
    BadBlood's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    470
    Reputation
    11
    Thanks
    182
    My Mood
    Chatty

    [TUT]How To Making a basic Combat Arms NA Hack!

    Step 1: Create your basic DllMain function.
    Code:

    [php] BOOL WINAPI DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)
    {
    DisableThreadLibraryCalls(hModule);
    if (ul_reason_for_call == DLL_PROCESS_ATTACH)
    {
    MessageBoxA(0, "WOOO!! Vengeance!!", "Yup", 0);
    CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)&Hack, NULL, NULL, NULL);
    }
    }[/php]

    Step 2A: Create the basic function to manipulate unauthorized Console commands.
    Code:

    [php]void __cdecl PushToConsole(const char* szCommand)
    {
    DWORD *LTClient = (DWORD*)(0x3778BFB0);
    void* CONoff = (void*)*(DWORD*)(*LTClient + 0x208);
    __asm
    {
    push szCommand;
    call CONoff;
    add esp, 4;
    }
    }
    [/php]
    Step 2B: The line:
    Code:
    [php]
    DWORD *LTClient = (DWORD*)(0x3778BFB0);[/php]


    Step 3: Now you can use your "PushToConsole" function to use commands, and bind them to hotkeys via GetASyncKeyState or some other form of keyboard hooking.

    Code:

    [php]for(;; )
    {
    if (GetASyncKeyState(VK_ADD) & 0x8000)
    PushToConsole("windowed 1");
    }
    [/php]
    And if you can't understand the last bit, you shouldn't be reading this anyways but that watches for you to hit a particular key, and executes a Console command that will put the game into Windowed Mode.


    Happy hacking!

    P.S. Current L.T.Client address at the time of this post is:
    Code:

    0x3778BFB0
    I did not discover any of this, I took this from several threads on MPGH, and de-dumbified it, and put it all in one place for people who understand the C/C++ language and just want to get a quick view/tutorial on how to make a Combat Arms hack.

  2. #2
    whatup777's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    CA Source Code Section
    Posts
    4,030
    Reputation
    147
    Thanks
    351
    My Mood
    Dead
    So many errors at first glance.
    And not one of these threads again.
    Quotes I live by.


    A foolish person learns from his mistakes, I wise person learns from others.
    Quote Originally Posted by AVGN View Post



    mhm

    i live in texas

    i was at the grocery store with my son. He saw a mexican guy, and he said "Look daddy! a mower man!"

    he's 4 yrs old

  3. #3
    Spook's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    4,649
    Reputation
    26
    Thanks
    568
    So the whole code would be
    I'm back.

  4. #4
    scimmyboy's Avatar
    Join Date
    Jan 2008
    Gender
    male
    Location
    http://mpgh.net MPGHCash: $442,596,199
    Posts
    5,649
    Reputation
    26
    Thanks
    894
    My Mood
    Happy
    u gotta wait for cshell to be loaded first...

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

    GodHack2 (10-09-2010),Solify (10-09-2010)

  6. #5
    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 scimmyboy View Post
    u gotta wait for cshell to be loaded first...
    i dont wait for it with my hotkeys /

  7. #6
    Solify's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    Frankfurt, Germany
    Posts
    2,291
    Reputation
    143
    Thanks
    2,473
    My Mood
    Aggressive
    lol there is missing alot ^^

  8. #7
    skiiiz's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    119
    Reputation
    10
    Thanks
    11
    All the tutorials are for auto-on/hotkey hax
    I want to create a menu-hack

    anyways thx for posting

  9. #8
    dllbase's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    IN YOUR %#$
    Posts
    117
    Reputation
    10
    Thanks
    19
    My Mood
    Cool
    Quote Originally Posted by skiiiz View Post
    All the tutorials are for auto-on/hotkey hax
    I want to create a menu-hack

    anyways thx for posting

    i too

  10. #9
    d00ms33k3r's Avatar
    Join Date
    Oct 2008
    Gender
    male
    Location
    at a party
    Posts
    225
    Reputation
    10
    Thanks
    35
    My Mood
    Buzzed
    Quote Originally Posted by skiiiz View Post
    All the tutorials are for auto-on/hotkey hax
    I want to create a menu-hack

    anyways thx for posting
    Quote Originally Posted by dllbase View Post
    i too
    then learn how to code a box with a border and then just make it so instead of a hotkey, it looks for a true/false (0/1, off/on). or in so cases like chams, you can put a color or number (off/black/white/blue/red/green/pink or 0 for off and 1/2/3/4/5/6 for the different colors)








  11. #10
    NOOB's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    3,863
    Reputation
    425
    Thanks
    8,598
    Quote Originally Posted by skiiiz View Post
    All the tutorials are for auto-on/hotkey hax
    I want to create a menu-hack

    anyways thx for posting
    There are plenty of menu bases here. Pick your favorite.

  12. #11
    eXaLtIc™'s Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    203
    Reputation
    10
    Thanks
    142
    It's like a puzzle. But I already found the pieces.

  13. #12
    deathninjak0's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Posts
    1,512
    Reputation
    12
    Thanks
    294
    My Mood
    Cool
    Quote Originally Posted by BadBlood View Post


    P.S. Current L.T.Client address at the time of this post is:
    Actually...the new LTClient is: 0x377ED7A4

  14. #13
    momo7's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    My Mood
    Angelic
    how come you cant download hacks for combat arms even if you are a member?

  15. #14
    skiiiz's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    119
    Reputation
    10
    Thanks
    11
    Quote Originally Posted by ᴺᴼᴼᴮ View Post


    There are plenty of menu bases here. Pick your favorite.
    kayy. I want your menu base :P
    my favourite ^^


  16. #15
    Crash's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    JAville
    Posts
    2,889
    Reputation
    163
    Thanks
    3,289
    My Mood
    Sleepy
    Quote Originally Posted by skiiiz View Post
    kayy. I want your menu base :P
    my favourite ^^

    Sure, then I'll give you my chams source and enemy player pointer.

Page 1 of 2 12 LastLast

Similar Threads

  1. How to make a Combat Arms Hotkey hack
    By LawlFaceXD in forum Combat Arms Coding Help & Discussion
    Replies: 9
    Last Post: 10-11-2011, 09:07 PM
  2. [Help]How to make Program overlay Combat Arms[solved]
    By Boomdocks in forum Visual Basic Programming
    Replies: 6
    Last Post: 01-06-2011, 09:42 AM
  3. [REQ] How to make your own Combat Arms Launcher...
    By creationsbrodcast in forum Visual Basic Programming
    Replies: 17
    Last Post: 01-09-2010, 11:35 PM
  4. [TUT]How To Make Your Own Combat Arms Launcher Skin[TUT]
    By Corndog in forum Combat Arms Hacks & Cheats
    Replies: 46
    Last Post: 08-12-2009, 04:40 PM
  5. Need help making a basic Combat Arms WALLHACK!
    By JakDG in forum C++/C Programming
    Replies: 5
    Last Post: 01-21-2009, 04:33 AM