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 › X-Trap detected

X-Trap detected

Posts 1–4 of 4 · Page 1 of 1
LU
Luminescentz
X-Trap detected
Code:
#include <Windows.h>

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

BOOL WINAPI Main (LPVOID)
{
	bool boxes = false;
	bool nosky = false;
	bool worldframe = false;
	bool playerframe = false;
	bool nogun = false;
	while(1)
	{
		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_NUMPAD5)&1)
		{
			nogun = !nogun;
		}

		if  (boxes)
			PushToConsole("ModelDebug_DrawBoxes 1");
		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");


		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 )
	{
		CreateThread(NULL, NULL, dwMainThread, NULL, NULL, NULL);
	}
	return TRUE;
}
Does anybody see any problems with this? If so what is x-trap detecting? (I think it might be the DllMain)
#1 · edited 14y ago · 14y ago
Ryuzaki™
Ryuzaki™
Yeah your dllmain is detected. And that is old it's swiftdude`s base I think
#2 · 14y ago
LU
Luminescentz
Quote Originally Posted by xmen View Post
Yeah your dllmain is detected. And that is old it's swiftdude`s base I think
Yea it is his I believe. And alright is their a public way on how to fix it? I'm used to Combat Arms and I don't fully understand the DllMain although it looks like the IsGameReady Hook in Combat Arms.
#3 · 14y ago
BL
BlackLite
This isn't Swiftdude ,i remmember'd that lauway " Brimir " Posted that a long time ago .
X-Trap detecton is normal here , Update PushToConsole Adr , make a sleep for 10 scnds .

And Don't use CreateThread use like this
Code:
Hacks();
#4 · 14y ago
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

  • TrollerCoaster's Cross Fire Multi-Hack v1By TrollerCoaster in CrossFire Hacks & Cheats
    64Last post 15y ago
  • TrollerCoaster's Cross Fire Multi-Hack v1.2By TrollerCoaster in CrossFire Hacks & Cheats
    342Last post 15y ago
  • AUTOMATON HAD BE DETECTEDBy shinygold in Mission Against Terror Discussions
    3Last post 15y ago
  • M.A.T Automaton detected !!!By amirraj123 in Mission Against Terror Discussions
    21Last post 15y ago
  • Black Ops Zombies Trainer (Rapid Fire)+(Menu)By Pwnage31 in Call of Duty 7 - Black Ops Hacks & Cheats
    6Last post 15y ago

Tags for this Thread

None