Results 1 to 12 of 12
  1. #1
    Rambo1112's Avatar
    Join Date
    Jul 2012
    Gender
    male
    Posts
    75
    Reputation
    10
    Thanks
    2

    Is this base still working ?

    Code:
    #include <windows.h>
    #include <d3d9.h>
    #pragma comment(lib, "d3d9.lib")
    
    int SeeGhosts,Crosshair,CH_wallhack;
    
    DWORD DIPD3D9, retDIPD3D9;
    
    __declspec( naked ) HRESULT WINAPI DIPMidfunction( )
    {
    	static LPDIRECT3DDEVICE9 pDevice;
    
    	__asm
    	{
    		MOV EDI, EDI
    		PUSH EBP
    		MOV EBP, ESP
    		MOV EAX, DWORD PTR SS:[EBP + 0x8]
    		MOV DWORD PTR DS:[pDevice], EAX
    	}
    	if( GetAsyncKeyState(VK_F2)&1 )//try in game its see ghost and Glass wall  
    			CH_wallhack = !CH_wallhack;
    	if( GetAsyncKeyState(VK_F3)&1 )	   
    			SeeGhosts = !SeeGhosts;
    
    
    //CH_phantomchams,CH_ghostchams,CH_overlaychams
    		if(CH_wallhack)
    		{
    			pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE );
    		}
    
    	if(SeeGhosts)
    	{
           pDevice->SetRenderState(D3DRS_LIGHTING, false);		
    		pDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255,255,255,255));
    		pDevice->SetRenderState(D3DRS_FOGENABLE, false);
    	}
    
    
    	
    
    	__asm
    	{
    		POP EBP
    		JMP retDIPD3D9
    	}
    }
    
    VOID *DetourCreate( BYTE *src, CONST BYTE *dst, CONST INT len )
    {
    	BYTE *jmp =( BYTE * ) malloc( len + 5 );
    	DWORD dwBack;
    
    	VirtualProtect( src, len, PAGE_READWRITE, &dwBack );
    	memcpy( jmp, src, len );    
    	jmp += len;
    	jmp[0] = 0xE9;
    	*( DWORD * )( jmp + 1 ) = ( DWORD )( src + len - jmp ) - 5;
    
    	src[0] = 0xE9;
    	*( DWORD * )( src + 1 ) = ( DWORD )( dst - src ) - 5;
    	for( INT i = 5; i < len; i++ )
    		src[i] = 0x90;
    	VirtualProtect( src, len, dwBack, &dwBack );
    
    	return ( jmp - len );
    }
    
    BOOL bCompare( CONST BYTE *pData, CONST BYTE *bMask, CONST CHAR *szMask )
    {
    	for( ; *szMask; ++szMask, ++pData, ++bMask )
    		if( *szMask == 'x' && *pData != *bMask )   
    		return false;
    	
    	return ( *szMask ) == NULL;
    }
    
    DWORD FindPattern(DWORD dwAddress,DWORD dwLen,BYTE *bMask,char * szMask)
    {
    	for( DWORD i = 0; i < dwLen; i++ )
    		if( bCompare( ( BYTE * )( dwAddress + i ), bMask, szMask ) )  
    		return ( DWORD )( dwAddress + i );
    	
    	return 0;
    }
    
    DWORD WINAPI StartRoutine( LPVOID )
    {
        while( TRUE )
        {
    		DWORD hD3D = ( DWORD )LoadLibraryA("d3d9.dll" );
    
    		if( !DIPD3D9 )
    		{
    			// Windows XP
    			DIPD3D9 = FindPattern( hD3D,
    				0x128000,
    				( PBYTE )"\x8B\xFF\x55\x8B\xEC\x5D\xE9\x00\x00\x00\x00\xCC\xCC\xCC\xCC\xCC\x8B\xFF\x55\x8B\xEC\x51",
    				"xxxxxxx????xxxxxxxxxxx" );
    			if( DIPD3D9 )
    			{
    				retDIPD3D9 = DIPD3D9 + 0x6;
    				DetourCreate( ( PBYTE )DIPD3D9, ( PBYTE )DIPMidfunction, 5 );
    			}
    		}
    
    		if( !DIPD3D9 )
    		{
    			// Windows 7
    			DIPD3D9 = FindPattern( hD3D,
    				0x128000,
    				( PBYTE )"\xC3\x90\x90\x90\x90\x90\x8B\xFF\x55\x8B\xEC\x5D\xEB\x05\x90\x90\x90\x90\x90\x8B\xFF\x55\x8B\xEC\x6A\xFF",
    				"xxxxxxxxxxxxxxxxxxxxxxxxxx" );
    			if( DIPD3D9 )
    			{
    				retDIPD3D9 = ( DIPD3D9 + 0x6 ) + 0x6;
    				DetourCreate( ( PBYTE )( DIPD3D9 + 0x6 ), ( PBYTE )DIPMidfunction, 5 );
    			}
    		}
        	}
     
        	return 0;
    }
    
    BOOL WINAPI DllMain( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    { 
    	if( dwReason == DLL_PROCESS_ATTACH )
    	{
    	
    		DisableThreadLibraryCalls( hDll );
            	CreateThread( 0, 0, (LPTHREAD_START_ROUTINE)StartRoutine, 0, 0, 0 );		
    	}
    
    	return TRUE;
    }
    reply pls
    Last edited by Rambo1112; 06-21-2013 at 12:39 PM.

  2. #2
    6ixth's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Posts
    3,033
    Reputation
    661
    Thanks
    19,904
    More or less..

  3. #3
    CFHackerExtreme's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Location
    Germany
    Posts
    245
    Reputation
    10
    Thanks
    560
    My Mood
    Yeehaw
    DIP is Patched

  4. #4
    -[I]fLuX's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Posts
    342
    Reputation
    112
    Thanks
    3,923
    My Mood
    Bored
    Quote Originally Posted by CFHackerExtreme View Post
    DIP is Patched
    my dip is working ^^
    •Contributor: June, 29th 2013


    My Sources:
    Injector
    Memory Base
    D3D9 Hook
    Hooked Memory Base




  5. #5
    CFHackerExtreme's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Location
    Germany
    Posts
    245
    Reputation
    10
    Thanks
    560
    My Mood
    Yeehaw
    Quote Originally Posted by -[I]fLuX View Post
    my dip is working ^^
    I Mean, the DIP in the Base is patched

  6. #6
    -[I]fLuX's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Posts
    342
    Reputation
    112
    Thanks
    3,923
    My Mood
    Bored
    Quote Originally Posted by CFHackerExtreme View Post
    I Mean, the DIP in the Base is patched
    yea but it's easy to make an new dip or just make this address undetected
    •Contributor: June, 29th 2013


    My Sources:
    Injector
    Memory Base
    D3D9 Hook
    Hooked Memory Base




  7. #7
    Rambo1112's Avatar
    Join Date
    Jul 2012
    Gender
    male
    Posts
    75
    Reputation
    10
    Thanks
    2
    ok can any one fix it to me pls ???
    can you @-[I]fLuX

  8. #8
    Intellectual's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Location
    GDI
    Posts
    5,389
    Reputation
    785
    Thanks
    16,091
    My Mood
    Yeehaw
    Yea the base is still working after the 9 patches .

  9. #9
    Rambo1112's Avatar
    Join Date
    Jul 2012
    Gender
    male
    Posts
    75
    Reputation
    10
    Thanks
    2
    Hey Guys i get x trap eror alwayes can any one fix it to me pls ?

  10. #10
    CFHackerExtreme's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Location
    Germany
    Posts
    245
    Reputation
    10
    Thanks
    560
    My Mood
    Yeehaw
    Use PCeumels UD Methode

  11. #11
    Rambo1112's Avatar
    Join Date
    Jul 2012
    Gender
    male
    Posts
    75
    Reputation
    10
    Thanks
    2
    can someone help me in teamviwer pm me pls ?

  12. #12
    remzkee0903's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    Philippines
    Posts
    294
    Reputation
    11
    Thanks
    368
    My Mood
    Angelic
    Quote Originally Posted by CFHackerExtreme View Post
    Use PCeumels UD Methode
    Even if you used PCeumels UD Method it will still detected. It's the source code outdated instead.
    -SiLent But DeadLy-

Similar Threads

  1. [Release] This hack still works
    By ltmarkie in forum Call of Duty Modern Warfare 2 Private Servers
    Replies: 10
    Last Post: 06-20-2011, 01:24 AM
  2. Will This Mod Still Work?
    By N00B1O2 in forum Combat Arms Mod Help
    Replies: 4
    Last Post: 06-01-2011, 11:40 PM
  3. [Help] Can someone check if this source still works?
    By rillake in forum WarRock Hack Source Code
    Replies: 1
    Last Post: 05-08-2011, 04:17 AM
  4. is this thing still working for vip??
    By Osama_Farooq in forum General
    Replies: 21
    Last Post: 04-18-2011, 10:58 AM
  5. [Help] Does this glitch still work?
    By enjoi skate in forum WarRock Discussions
    Replies: 8
    Last Post: 07-30-2010, 04:26 AM