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 › pls help me to make my source code work pls

Postpls help me to make my source code work pls

Posts 1–13 of 13 · Page 1 of 1
JE
jeavy
pls help me to make my source code work pls
#include <windows.h>
#include <iostream>

using namespace std;

void __cdecl PushToConsole(char* szVal )
{
DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll");
if( dwCShell.dll != NULL )// why it dident works pls help me alltimes i get thos os wrong so pro can help??
{
DWORD *LTClient = ( DWORD* )( (dwCShell + 0x299D40) );
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x1F8 );
_asm
{
push szVal;
call CONoff;
add esp, 4;
}
}
}

BOOL WINAPI Main (LPVOID)
{
bool boxes = true;
bool nosky = false;
bool worldframe = false;
bool playerframe = false;
bool nogun = false;
bool Skeleton = false;
bool FogEnable = false;
bool CursorCenter = false;
bool Nosmoke = true;
while(1)
{
__asm pushad;
if(GetAsyncKeyState(VK_NUMPAD1)&1)
{
boxes = !boxes;
}
if(GetAsyncKeyState(VK_NUMPAD2)&1)
{
nosky = !nosky;
}
if(GetAsyncKeyState(VK_NUMPAD3)&1)
{
worldframe = !worldframe;
}
if(GetAsyncKeyState(VK_NUMPAD4)&1)
{
playerframe = !playerframe;
}
if(GetAsyncKeyState(VK_NUMPAD6)&1)
{
Skeleton = !Skeleton;
}
if(GetAsyncKeyState(VK_NUMPAD7)&1)
{
FogEnable = !FogEnable;
}
if(GetAsyncKeyState(VK_NUMPAD8)&1)
{
CursorCenter = !CursorCenter;
}
if(GetAsyncKeyStade(VK_Numped3)&1)
{
NoSmoke = !NoSmoke;
}
if (NoSmoke)
("DrawParticles 1");// alltimes on
else
("DrawParticles 1");
if (CursorCenter)
PushToConsole("CursorCenter 1");
else
PushToConsole("CursorCenter 0");

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

if (Skeleton) {
PushToConsole("ModelDebug_DrawSkeleton 1");
}
else {
PushToConsole("ModelDebug_DrawSkeleton 0");
}
if (boxes)
PushToConsole("ModelDebug_DrawBoxes 1");// it shout be alltimes on so i put 1 and 1
else
PushToConsole("ModelDebug_DrawBoxes 1");

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

if (worldframe)
PushToConsole("WireFrame 1");
else
PushToConsole("WireFrame 0");

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

if (nogun)
PushToConsole("DrawGuns 0");
else
PushToConsole("DrawGuns 1");
__asm popad;

Sleep(100);
}
}

bool Ready(void)
{
if( GetModuleHandleA("CShell.dll")!= NULL)
return true;
return false;
}

DWORD WINAPI dwMainThread(LPVOID)
{
while (!Ready())
Sleep(200);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Main, NULL, NULL, NULL);
return 0;
}

BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
MessageBoxA(0, "jany", "Injected", 0);
CreateThread(NULL, NULL, dwMainThread, NULL, NULL, NULL);
}



wahts wrong i dont know helpü my this is my first try
#1 · 16y ago
TH
TheFallenOwns
ok i see more than one but
dwCShell.dll
should just be
dwCShell

also
("DrawParticles 1"); would make it so it shows smoke
("DrawParticles 0"); would make no smoke
pretty much your telling the console to turn off particle drawing
smoke dust ect is a particle
#2 · edited 16y ago · 16y ago
lauwy
lauwy
Or do you mean that you have an error?
#3 · 16y ago
JE
jeavy
i over ride evrything and its bee right but my old pc is down can someone change it to the hack?? and post it???
:
#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 + 0x299D40) );
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x1F8 );
_asm
{
push szVal;
call CONoff;
add esp, 4;
}
}
}

BOOL WINAPI Main (LPVOID)
{
bool boxes = true;
bool nosky = false;
bool worldframe = false;
bool playerframe = false;
bool nogun = false;
bool Skeleton = false;
bool FogEnable = false;
bool CursorCenter = false;
bool Nosmoke = true;
while(1)
{
__asm pushad;
if(GetAsyncKeyState(VK_K)&1) // work this as hotkey or is numped better
{
boxes = !boxes;
}
if(GetAsyncKeyState(VK_NUMPAD2)&1)
{
nosky = !nosky;
}
if(GetAsyncKeyState(VK_NUMPAD3)&1)
{
worldframe = !worldframe;
}
if(GetAsyncKeyState(VK_NUMPAD4)&1)
{
playerframe = !playerframe;
}
if(GetAsyncKeyState(VK_NUMPAD6)&1)
{
Skeleton = !Skeleton;
}
if(GetAsyncKeyState(VK_NUMPAD7)&1)
{
FogEnable = !FogEnable;
}
if(GetAsyncKeyState(VK_NUMPAD8)&1)
{
CursorCenter = !CursorCenter;
}
if(GetAsyncKeyStade(VK_J)&1)
{
NoSmoke = !NoSmoke;
}
if (NoSmoke)
PushToConsole("DrawParticles 0");// alltimes on
else
PushToConsole("DrawParticles 1");
if (CursorCenter)
PushToConsole("CursorCenter 1");
else
PushToConsole("CursorCenter 0");

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

if (Skeleton) {
PushToConsole("ModelDebug_DrawSkeleton 1");
}
else {
PushToConsole("ModelDebug_DrawSkeleton 0");
}
if (boxes)
PushToConsole("ModelDebug_DrawBoxes 1");// it shout be on wehn is start and i want too can turn off that works??
else
PushToConsole("ModelDebug_DrawBoxes 0");

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

if (worldframe)
PushToConsole("WireFrame 1");
else
PushToConsole("WireFrame 0");

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

if (nogun)
PushToConsole("DrawGuns 0");
else
PushToConsole("DrawGuns 1");
__asm popad;

Sleep(100);
}
}

bool Ready(void)
{
if( GetModuleHandleA("CShell.dll")!= NULL)
return true;
return false;
}

DWORD WINAPI dwMainThread(LPVOID)
{
while (!Ready())
Sleep(200);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Main, NULL, NULL, NULL);
return 0;
}

BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
MessageBoxA(0, "codet by jany,boxes no smoke altimes on", "injekted and aktiv", 0);
#4 · 16y ago
SI
sirwinalot00
You just gave out a Good hack that choobs can steal, Nice.. But i wont steal.. I dont even know how to do this crap xD Please teach meh xD
#5 · 16y ago
lauwy
lauwy
You mis the last part :S

And you misstyped a lot..
Ans VK_J - VK_K is nothing.

Code:
#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 + 0x299D40) );
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x1F8 );
_asm
{
push szVal;
call CONoff;
add esp, 4;
}
}
}

BOOL WINAPI Main (LPVOID)
{
bool boxes = true;
bool nosky = false;
bool worldframe = false;
bool playerframe = false;
bool nogun = false;
bool Skeleton = false;
bool FogEnable = false;
bool CursorCenter = false;
bool NoSmoke = true;
while(1)
{
__asm pushad;
if(GetAsyncKeyState(VK_NUMPAD1)&1) // work this as hotkey or is numped better
{
boxes = !boxes;
}
if(GetAsyncKeyState(VK_NUMPAD2)&1)
{
nosky = !nosky;
}
if(GetAsyncKeyState(VK_NUMPAD3)&1)
{
worldframe = !worldframe;
}
if(GetAsyncKeyState(VK_NUMPAD4)&1)
{
playerframe = !playerframe;
}
if(GetAsyncKeyState(VK_NUMPAD6)&1)
{
Skeleton = !Skeleton;
}
if(GetAsyncKeyState(VK_NUMPAD7)&1)
{
FogEnable = !FogEnable;
}
if(GetAsyncKeyState(VK_NUMPAD8)&1)
{
CursorCenter = !CursorCenter;
}
if(GetAsyncKeyState(VK_NUMPAD9)&1)
{
NoSmoke = !NoSmoke;
}
if (NoSmoke)
PushToConsole("DrawParticles 0");// alltimes on
else
PushToConsole("DrawParticles 1");
if (CursorCenter)
PushToConsole("CursorCenter 1");
else
PushToConsole("CursorCenter 0");

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

if (Skeleton) {
PushToConsole("ModelDebug_DrawSkeleton 1");
}
else {
PushToConsole("ModelDebug_DrawSkeleton 0");
}
if (boxes)
PushToConsole("ModelDebug_DrawBoxes 1");// it shout be on wehn is start and i want too can turn off that works?? 
else
PushToConsole("ModelDebug_DrawBoxes 0");

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

if (worldframe)
PushToConsole("WireFrame 1");
else
PushToConsole("WireFrame 0");

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

if (nogun)
PushToConsole("DrawGuns 0");
else
PushToConsole("DrawGuns 1");
__asm popad;

Sleep(100);
}
}

bool Ready(void)
{
if( GetModuleHandleA("CShell.dll")!= NULL)
return true;
return false;
}

DWORD WINAPI dwMainThread(LPVOID)
{
while (!Ready())
Sleep(200);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Main, NULL, NULL, NULL);
return 0;
}

BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
MessageBoxA(0, "codet by jany,boxes no smoke altimes on", "injekted and aktiv", 0);
}
}

@sir, why not (a) and it is not so hard :P
#6 · edited 16y ago · 16y ago
JE
jeavy
halp me with source code
#include <windows.h>
#include <iostream>

using namespace std;

void __cdecl PushToConsole(char* szVal )
{
DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll");
if( dwCShell != NULL )// why it dident works pls help me alltimes i get thos os wrong so pro can help??
{
DWORD *LTClient = ( DWORD* )( (dwCShell + 0x299D40) );
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x1F8 );
_asm
{
push szVal;
call CONoff;
add esp, 4;
}
}
}

BOOL WINAPI Main (LPVOID)
{
bool boxes = true;
bool nosky = false;
bool worldframe = false;
bool playerframe = false;
bool nogun = false;
bool Skeleton = false;
bool FogEnable = false;
bool CursorCenter = false;
bool Nosmoke = true;
while(1)
{
__asm pushad;
if(GetAsyncKeyState(VK_NUMPAD1)&1)
{
boxes = !boxes;
}
if(GetAsyncKeyState(VK_NUMPAD2)&1)
{
nosky = !nosky;
}
if(GetAsyncKeyState(VK_NUMPAD9)&1)
{
worldframe = !worldframe;
}
if(GetAsyncKeyState(VK_NUMPAD4)&1)
{
playerframe = !playerframe;
}
if(GetAsyncKeyState(VK_NUMPAD6)&1)
{
Skeleton = !Skeleton;
}
if(GetAsyncKeyState(VK_NUMPAD7)&1)
{
FogEnable = !FogEnable;
}
if(GetAsyncKeyState(VK_NUMPAD8)&1)
{
CursorCenter = !CursorCenter;
}
if(GetAsyncKeyStade(VK_Numped3)&1)
{
NoSmoke = !NoSmoke;
}
if (NoSmoke)
PushToConsole("DrawParticles 0");// alltimes on
else
PushToConsole("DrawParticles 1");
if (CursorCenter)
PushToConsole("CursorCenter 1");
else
PushToConsole("CursorCenter 0");

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

if (Skeleton) {
PushToConsole("ModelDebug_DrawSkeleton 1");
}
else {
PushToConsole("ModelDebug_DrawSkeleton 0");
}
if (boxes)
PushToConsole("ModelDebug_DrawBoxes 1");// it shout be alltimes on so i put 1 and 1
else
PushToConsole("ModelDebug_DrawBoxes 1");

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

if (worldframe)
PushToConsole("WireFrame 1");
else
PushToConsole("WireFrame 0");

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

if (nogun)
PushToConsole("DrawGuns 0");
else
PushToConsole("DrawGuns 1");
__asm popad;

Sleep(100);
}
}

bool Ready(void)
{
if( GetModuleHandleA("CShell.dll")!= NULL)
return true;
return false;
}

DWORD WINAPI dwMainThread(LPVOID)
{
while (!Ready())
Sleep(200);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Main, NULL, NULL, NULL);
return 0;
}

BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
MessageBoxA(0, "codet by jany(overcf orginal),boxes no smoke altimes on", "Injected", 0);

guys help me to make this machin codes to a working hack
xD i am to .. silly my c++ suks help me berfore i get cracy loud up or send me the hack after finish i wana mack in finish
#7 · 16y ago
TH
TheFallenOwns
learn C++ i wont help you any more
#8 · 16y ago
JE
jeavy
okay xD i am bed some one else
#9 · 16y ago
lauwy
lauwy
Dude, I fixt your hack, xD and then you post it again :S
#10 · 16y ago
knightlvx
knightlvx
yeah can someone teach me where i need to put the source codes in?
#11 · 16y ago
MR
mrkiller2010
Loll hahah lauwy nice helop
#12 · 16y ago
lauwy
lauwy
I'm bored :P haha

@knightlvx I made a video. watch that one.
#13 · 16y ago
Posts 1–13 of 13 · Page 1 of 1

Post a Reply

Similar Threads

  • Can anyone help me get combat arms source codes that arent patched?By nikith988 in General Game Hacking
    2Last post 16y ago
  • help and request i nid source code of the public hack of dave last MAYBy rockerboi in CrossFire Help
    4Last post 16y ago
  • how to make a hack for warrock and how to activate hack in source codeBy mihec16121 in C++/C Programming
    7Last post 16y ago
  • Help with source code! Easy fast scope bot!By Zoom in C++/C Programming
    22Last post 17y ago
  • help to make a promo code generatorBy rebell07 in WarRock - International Hacks
    1Last post 19y ago

Tags for this Thread

None