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 › CrossFire Hacks & Cheats › CrossFire Hack Coding / Programming / Source Code › Check my Code pls!

ExclamationCheck my Code pls!

Posts 1–3 of 3 · Page 1 of 1
ST
stewie997
Check my Code pls!
herer is my source code! someone pls correct end give me! my first one

#include <windows.h>
#include <iostream>

using namespace std;

void __cdecl PushToConsole(char* szVal ) {
DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll");
if( dwCShell != NULL )
{
DWORD *LTClient = ( DWORD* )( (dwCShell + 0x2AAE80) );
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x1F8 );
_asm
{
push szVal;
call CONoff;
add esp, 4;
}
}
}
DWORD WINAPI Main(LPVOID) {
while(GetModuleHandleA("CShell.dll") == NULL ) {
Sleep(150);
}

bool PlayerGlow = true;
bool FogEnable = true;
bool Nosmoke = true;
bool Whitewalls = false;
bool playerframe = true;
bool worldframe = false;
bool nosky = true;
bool nogun = true;


for(; {
__asm pushad;
if(GetAsyncKeyState(VK_NUMPAD1)&1) {
PlayerGlow = !PlayerGlow;
}
if(GetAsyncKeyState(VK_NUMPAD2)&1) {
FogEnable = !FogEnable;
}
if(GetAsyncKeyState(VK_NUMPAD3)&1) {
Nosmoke = !Nosmoke;
}
if(GetAsyncKeyState(VK_NUMPAD4)&1) {
Whitewalls = !Whitewalls;
}
if(GetAsyncKeyState(VK_NUMPAD5)&1) {
playerframe = !playerframe;
}
if(GetAsyncKeyState(VK_NUMPAD6)&1) {
worldframe = !worldframe;
}
if(GetAsyncKeyState(VK_NUMPAD7)&1) {
nosky = !nosky;
}
if(GetAsyncKeyState(VK_NUMPAD8)&1) {
nogun = !nogun;
}

if (Nosmoke) {
PushToConsole("DrawParticles 1");
}
else {
PushToConsole("DrawParticles 0");
}

if (FogEnable) {
PushToConsole("FogEnable 1");
}
else {
PushToConsole("FogEnable 0");

}
if (PlayerGlow) {
PushToConsole("ScreenGlowEnable 1");
}
else {
PushToConsole("ScreenGlowEnable 0");

}
if (Whitewalls) {
PushToConsole("DrawFlat 0");
}
else {
PushToConsole("DrawFlat 1");

}
if (playerframe) {
PushToConsole("WireFrameModels 1");
}
else {
PushToConsole("WireFrameModels 0");

}
if (nogun) {
PushToConsole("DrawGuns 0");
}
else {
PushToConsole("DrawGuns 1");

}
if (nosky) {
PushToConsole("DrawSky 0");
}
else {
PushToConsole("DrawSky 1");

}
if (worldframe) {
PushToConsole("WireFrame 1");
}
else {
PushToConsole("WireFrame 0");
}
Sleep(100);
__asm popad;
}
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
MessageBoxA(0, "Stewie! By MPGH! ", "Hack is gonna Kick ASS WORK!!", 0);
system("start mpgh.net");
CreateThread(NULL, NULL,Main, NULL, NULL, NULL);
}
return TRUE;
}
#1 · edited 15y ago · 15y ago
empty130400
empty130400
Quote Originally Posted by stewie997 View Post
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
MessageBoxA(0, "Stewie! By MPGH! ", "Hack is gonna Kick ASS WORK!!", 0);
system("start crossfire-hacks.*********");
CreateThread(NULL, NULL,Main, NULL, NULL, NULL);
}
return TRUE;
}
This is your code ? For mpgh ? check out the last line
#2 · 15y ago
ST
stewie997
ups sry about that!
#3 · 15y ago
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

  • Ckeck this code plsBy Lukas59 in C++/C Programming
    18Last post 16y ago
  • Check my code please.By Web-Designer in Visual Basic Programming
    11Last post 15y ago
  • Can someone check my code plz!By kip3300 in WarRock Hack Source Code
    2Last post 15y ago
  • CODES PLSBy okaccll in C++/C Programming
    5Last post 15y ago
  • Perx Injector Source Code pls?By CheatCreatorzz in CrossFire Spammers, Injectors and Multi Tools
    14Last post 15y ago

Tags for this Thread

None