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 › Help!!! (Hack In-Game)

Help!!! (Hack In-Game)

Posts 1–15 of 30 · Page 1 of 2
o-o
o-o
Help!!! (Hack In-Game)
Hello I understand how to do hotkeys to my hack and only with hotkeys that hack detected after 30-40 sec ingame D: /yea Help Me PLSS /yea

Ty, o-o .
#1 · 16y ago
BL
BloodSkin
ok, quick question. do you understand how the while function works? be honest man, im not going to bash.
#2 · 16y ago
CA
carterv
To wait 30 or 40 seconds, you would put in sleep(30000); or sleep(40000); in your main function before the while function. You can find tutorials on hotkeys everywhere, so I won't explain it. Use the search function.
#3 · 16y ago
o-o
o-o
In my code that's Sleep(100); 0-0

what i need to change??
#4 · 16y ago
BL
BloodSkin
Quote Originally Posted by o-o View Post
In my code that's Sleep(100); 0-0

what i need to change??
read what i said dude. it looks like you just copied and pasted, and forgot to include the very last line of your c/p.

go read like the first 2 or 3 chapters of a c++ book at least. it shouldnt take but a few hours, and its most rewarding.
#5 · 16y ago
o-o
o-o
Lolz That FUCKING NOT COPY AND PASTE !!! AND THAT IS THE MY CODE 0-0



Code:
#include <windows.h>
bool IsGameReadyForHook()
{
if( GetModuleHandleA( "d3d9.dll"     ) != NULL 
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL 
&& GetModuleHandleA( "CShell.dll"   ) != NULL )
return true;
return false;
}
void PushToConsole(const char* Command) {
DWORD CNADDIE = 0x007d9200;
void* Send = ( void* )*( DWORD* )(CNADDIE);
__asm
{
/* CREDITS TO CN */
push Command;
call Send; 
add esp, -3-1+2+6;
}
}   
void main()
{
while(true)
{
if(GetAsyncKeyState(VK_NUMPAD1))
{
PushToConsole("SkelModelStencil 0");
}
else{
PushToConsole("SkelModelStencil 1");
}
if(GetAsyncKeyState(VK_INSERT))
{
PushToConsole("ShowFps 0");
}
else{
PushToConsole("ShowFps 1");
}
if(GetAsyncKeyState(VK_DELETE))
{
PushToConsole("FogEnable 0");
}
else{
PushToConsole("FogEnable 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;
}
#6 · 16y ago
BL
BloodSkin
Quote Originally Posted by o-o View Post
Lolz That FUCKING NOT COPY AND PASTE !!! AND THAT IS THE MY CODE 0-0



Code:
#include <windows.h>
bool IsGameReadyForHook()
{
if( GetModuleHandleA( "d3d9.dll"     ) != NULL 
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL 
&& GetModuleHandleA( "CShell.dll"   ) != NULL )
return true;
return false;
}
void PushToConsole(const char* Command) {
DWORD CNADDIE = 0x007d9200;
void* Send = ( void* )*( DWORD* )(CNADDIE);
__asm
{
/* CREDITS TO CN */
push Command;
call Send; 
add esp, -3-1+2+6;
}
}   
void main()
{
while(true)
{
if(GetAsyncKeyState(VK_NUMPAD1))
{
PushToConsole("SkelModelStencil 0");
}
else{
PushToConsole("SkelModelStencil 1");
}
if(GetAsyncKeyState(VK_INSERT))
{
PushToConsole("ShowFps 0");
}
else{
PushToConsole("ShowFps 1");
}
if(GetAsyncKeyState(VK_DELETE))
{
PushToConsole("FogEnable 0");
}
else{
PushToConsole("FogEnable 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;
}
that SHOULD fix the problem that i saw. im no pro though, so let me know if you get any more errors.

EDIT: my bad man, thought i was posting a reply to someone else in a different thread. how the fawk did i get back here???
#7 · edited 16y ago · 16y ago
o-o
o-o
After I did build soultion that do without errors but after 20-40 secs when i'm playing or not that close the ca 0-0 HELP ME WHAT I DIDN'T GOOD !!
#8 · 16y ago
whatup777
whatup777
Um if((blablablah) < 0)
#9 · 16y ago
GrimReap3r
GrimReap3r
Lol. Ok, pack your hack with UPX, inject it into CA, and it should work no problems.
#10 · 16y ago
BL
BloodSkin
Quote Originally Posted by o-o View Post
After I did build soultion that do without errors but after 20-40 secs when i'm playing or not that close the ca 0-0 HELP ME WHAT I DIDN'T GOOD !!
main();
return 0;

i dont understand why you have that in there. return isnt needed because you are using while(true), and i have no clue why you are trying to run main within itsself.

you may want to look at these 2 tid bits. i may be reading what you have wrong because theres no indents, but im pretty sure that may be what is causing your troubles.
#11 · 16y ago
MA
mastermods
Dude don't copy from what I told you!
Dude don't copy from what I told you!

Quote Originally Posted by BloodSkin View Post
ok, quick question. do you understand how the while function works? be honest man, im not going to bash.
#12 · 16y ago
GrimReap3r
GrimReap3r
Your making this guy work harder lol.
@o-o,
You used CoderNever Hotkey Hack tut right?
If you did, remember to give credits, and also, instead of doing all this shit, just try packing your hacking instead, and then injecting. it might work
#13 · 16y ago
o-o
o-o
Only With The Main And Return That Didn't Failed
HELP ME AND I'M NEW CODER SRY IF I WAS IDIOT
#14 · 16y ago
BL
BloodSkin
Quote Originally Posted by mastermods View Post
Dude don't copy from what I told you!
huh? you didnt tell me anything lol (that was accurate anyways).

Quote Originally Posted by o-o View Post
Only With The Main And Return That Didn't Failed
HELP ME AND I'M NEW CODER SRY IF I WAS IDIOT
i do not understand what you are saying here. did removing those 2 lines fix your problem or not?
#15 · 16y ago
Posts 1–15 of 30 · Page 1 of 2

Post a Reply

Similar Threads

  • Need help hacking flash gamesBy ilovepie21 in General Game Hacking
    0Last post 19y ago
  • Ned help hacking this game(Fantasy tennis)By lilandyngo in General Game Hacking
    4Last post 15y ago
  • need some help hacking a gameBy endri123 in General Hacking
    2Last post 18y ago
  • HELP HACK RYL2 GAME GUARBy keat99 in Anti-Cheat
    4Last post 17y ago
  • [Help]hacking a site game.By tomer12 in C++/C Programming
    13Last post 17y ago

Tags for this Thread

None