Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › MultiPlayer Game Hacks & Cheats › Combat Arms Hacks & Cheats › Combat Arms Hack Coding / Programming / Source Code › *Future*CA hacker needing help

Smile*Future*CA hacker needing help

Posts 1–15 of 34 · Page 1 of 3
Joemommahitme
Joemommahitme
*Future*CA hacker needing help
I am willing to help out the MPGH CA community,and I am in need of some help here,and this is where I am going wrong in my first simple hack.
What am I doing wrong here?I am also trying to make this just a hotkey hack,just so you know.

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("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" );
while(true)
	{
PushToConsole("FogEnable 1" );Numpad 2
while(true)
	{
PushToConsole("WeaponSway 0.000000" );Numpad 3
while)true
	{
PushToConsole("WhiteBlood 1" );Numpad 4
{
}

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;
}
#1 · 16y ago
CR
Crash
You need to learn the programming language to be able to make hacks.

You wouldn't put while loops inside while loops, use GetAsyncKeyState instead.
#2 · 16y ago
supercarz1991
supercarz1991
your code is all messed up and its gonna lag to hell n back...here i'll try n help a bit. i added glass walls to your code too btw (its my fav hack lol)

i didn't do the whole code, but you should get it from what i did...i'm too lazy to do all the work for you

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()
{
                bool recoil = false, walls = false, fog = false, sway = false, blood = false;

while(true)
{
if(GetAsyncKeyState(VK_NUMPAD0)<0){     
			walls = !walls;  
			if(walls){ 
				memcpy((LPVOID)0x57207A, "\x6A\x01", 2);
			} else { 
				memcpy((LPVOID)0x57207A, "\x6A\x00", 2);
				
			}
Sleep(150)
}
if(GetAsyncKeyState(VK_NUMPAD1)<0){
recoil = !recoil;
if(recoil){
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" );
} else {
Put Normal Values for Recoil in PTC format HERE! (idk the original Values
}
Sleep(150)
}
if(GetAsyncKeyState(VK_NUMPAD1)<0){
fog = !fog;
if(fog){
PushToConsole("FogEnable 0");
} else {
PushToConsole("FogEnable 1");
}
Sleep(150)
}
if(GetAsyncKeyState(VK_NUMPAD2)<0){
sway = !sway;
if(sway){
PushToConsole("WeaponSway 0.000000" )
} else {
NORMAL WeaponSway In PTC Format Goes here
}
Sleep(150)
}
PushToConsole("WhiteBlood 1" );Numpad 4
{
}

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;
}
#3 · 16y ago
GridMaster
GridMaster
Is the way he addressed the numpads correct though?
#4 · 16y ago
supercarz1991
supercarz1991
Quote Originally Posted by trevmmeister View Post
Is the way he addressed the numpads correct though?
no where near

address a hot key like this

Code:
if(GetAsyncKeyState(VK_NUMPAD0)<0){     
			walls = !walls;  
			if(walls){ 
				memcpy((LPVOID)0x57207A, "\x6A\x01", 2);
			} else { 
				memcpy((LPVOID)0x57207A, "\x6A\x00", 2);
				
			}
Sleep(150)
}
#5 · 16y ago
GridMaster
GridMaster
i seeee thanks.
#6 · 16y ago
CO
CodeDemon
You forgot a bracket after
Code:
while(true)
supposed to be
Code:
while(true){
also you are adressing your hotkeys incorrectly, see Supercarz post and Virtual-Key Codes

Good Luck!
#7 · 16y ago
supercarz1991
supercarz1991
yay! i actually feel like i know a lil bit of what i'm doing XD i just started C++ last week >.>

although my hack isn't work putting out cuz its a bunch of test ptc commands, like bouncing bullets ! ! !
#8 · 16y ago
Joemommahitme
Joemommahitme
What if I could auto inject all of them?And not have to use hotkeys.Is it possible?
#9 · 16y ago
CO
CodeDemon
Yep its possible. Just put all your PushToConsole commands after While(True).

Something Like:

Code:
//helped by CodeDemon
#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("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" );
PushToConsole("FogEnable 1");
sleep(200); //to be safe
}
}

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;
}
#10 · 16y ago
EDWINSEE
EDWINSEE
this part of u hack is detected:
void __cdecl PushToConsole( const char* szCommand )
{
DWORD *LTClient = ( DWORD* )( 0x3778BFB0 );
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
__asm
{

try this it is not detected:
Credit: CoderNever

void PushToConsole(const char* Command) {
DWORD CNADDIE = 0x007d9200;
void* Send = ( void* )*( DWORD* )(CNADDIE);
__asm
{
push Command;
call Send;
add esp, -3-1+2+6;
}
#11 · 16y ago
WH
whit
Dude What WTF....
Why do you got loops inside of loops...Wow
I never seen no one do that before....
#12 · 16y ago
o-o
o-o
Quote Originally Posted by supercarz1991 View Post
your code is all messed up and its gonna lag to hell n back...here i'll try n help a bit. i added glass walls to your code too btw (its my fav hack lol)

i didn't do the whole code, but you should get it from what i did...i'm too lazy to do all the work for you

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()
{
                bool recoil = false, walls = false, fog = false, sway = false, blood = false;

while(true)
{
if(GetAsyncKeyState(VK_NUMPAD0)<0){     
			walls = !walls;  
			if(walls){ 
				memcpy((LPVOID)0x57207A, "\x6A\x01", 2);
			} else { 
				memcpy((LPVOID)0x57207A, "\x6A\x00", 2);
				
			}
Sleep(150)
}
if(GetAsyncKeyState(VK_NUMPAD1)<0){
recoil = !recoil;
if(recoil){
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" );
} else {
Put Normal Values for Recoil in PTC format HERE! (idk the original Values
}
Sleep(150)
}
if(GetAsyncKeyState(VK_NUMPAD1)<0){
fog = !fog;
if(fog){
PushToConsole("FogEnable 0");
} else {
PushToConsole("FogEnable 1");
}
Sleep(150)
}
if(GetAsyncKeyState(VK_NUMPAD2)<0){
sway = !sway;
if(sway){
PushToConsole("WeaponSway 0.000000" )
} else {
NORMAL WeaponSway In PTC Format Goes here
}
Sleep(150)
}
PushToConsole("WhiteBlood 1" );Numpad 4
{
}

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;
}
Lol The code is fail... 33 errors!
#13 · 16y ago
~Liberty~
~Liberty~
This is the first ca hack i made.

[php]
#include "stdafx.h"
#include <windows.h>


void MyHack()
{
int Src2 = 12;
const int* pSrc2 =&Src2;
while(true)
{

if(GetAsyncKeyState(VK_NUMPAD2)) // Spectator mode
{
*(int*)0x37768C3C = 12;
memcpy((void *)0x37768C3C,pSrc2,sizeof(int));

}





Sleep(20);
}
}

BOOL APIENTRY DllMain( HMODULE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
MessageBox (0, TEXT("Happy Hacking\n"), TEXT("~Liberty~"), MB_ICONINFORMATION);
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)MyHack, 0, 0, 0);
break;
case DLL_PROCESS_DETACH:
break;
}
return true;
}

[/php]
#14 · 16y ago
dugindog
dugindog
you copied that from me
#15 · 16y ago
Posts 1–15 of 34 · Page 1 of 3

Post a Reply

Similar Threads

  • adress... help even a hacker needs help u kno!By ~claw~ in WarRock - International Hacks
    2Last post 19y ago
  • Swat 4 hacker Need Help fastBy punjabi in General
    23Last post 17y ago
  • i need some hacker's help.By Weed Farmer™ in General
    3Last post 17y ago
  • I'm a new hacker and i need helpBy StrifeOwns in Combat Arms Hacks & Cheats
    20Last post 18y ago
  • Sum hacker pro or comp pro look here i need helpBy sniper5god in WarRock - International Hacks
    11Last post 19y ago

Tags for this Thread

None