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

Posts 1–15 of 18 · Page 1 of 2
[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.
So many errors at first glance.
And not one of these threads again.
So the whole code would be
u gotta wait for cshell to be loaded first...
Quote Originally Posted by scimmyboy View Post
u gotta wait for cshell to be loaded first...
i dont wait for it with my hotkeys /
lol there is missing alot ^^
All the tutorials are for auto-on/hotkey hax
I want to create a menu-hack

anyways thx for posting
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
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)
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.
Quote Originally Posted by NOOB View Post


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

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.
It's like a puzzle. But I already found the pieces.
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
how come you cant download hacks for combat arms even if you are a member?
Posts 1–15 of 18 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us