DebateFort - Where Warriors Come To Debate
RAGECRY - Funny, Amusing, Interesting, Trending & Viral Videos and Images
GameOrc - Free Flash Games Online

Thread: X-Trap detected

Results 1 to 4 of 4
  1. #1
    Member
    MPGH Member
    Luminescentz's Avatar
    Join Date
    Jan 2012
    Gender
    male
    Location
    Chicago
    Posts
    16
    Reputation
    17
    Thanks
    346

    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)
    Last edited by Luminescentz; 05-07-2012 at 09:31 PM.

  2. #2
    Blackhat Hacker
    MPGH Member
    Ryuzaki™'s Avatar
    Join Date
    Apr 2011
    Gender
    male
    Location
    At my headquarter, catching KIRA
    Posts
    1,554
    Reputation
    24
    Thanks
    5,148
    My Mood
    Aggressive
    Yeah your dllmain is detected. And that is old it's swiftdude`s base I think


  3. The Following User Says Thank You to Ryuzaki™ For This Useful Post:

    Luminescentz (05-08-2012)

  4. #3
    Threadstarter
    Member
    MPGH Member
    Luminescentz's Avatar
    Join Date
    Jan 2012
    Gender
    male
    Location
    Chicago
    Posts
    16
    Reputation
    17
    Thanks
    346
    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.

  5. #4
    Banned
    BANNED!
    BlackLite's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Posts
    548
    Reputation
    58
    Thanks
    935
    My Mood
    Aggressive
    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();

  6. The Following User Says Thank You to BlackLite For This Useful Post:

    Luminescentz (05-08-2012)

Similar Threads

  1. [Detected] M.A.T Automaton detected !!!
    By amirraj123 in forum Mission Against Terror Discussions
    Replies: 21
    Last Post: 02-18-2011, 05:12 PM
  2. [Detected] Black Ops Zombies Trainer (Rapid Fire)+(Menu)
    By Pwnage31 in forum Call of Duty 7 - Black Ops Hacks & Cheats
    Replies: 6
    Last Post: 02-14-2011, 01:13 AM
  3. [Detected] TrollerCoaster's Cross Fire Multi-Hack v1.2
    By TrollerCoaster in forum CrossFire Hacks & Cheats
    Replies: 342
    Last Post: 02-11-2011, 05:50 AM
  4. [Detected] AUTOMATON HAD BE DETECTED
    By shinygold in forum Mission Against Terror Discussions
    Replies: 3
    Last Post: 02-01-2011, 10:06 PM
  5. [Detected] TrollerCoaster's Cross Fire Multi-Hack v1
    By TrollerCoaster in forum CrossFire Hacks & Cheats
    Replies: 64
    Last Post: 01-27-2011, 11:11 AM