Results 1 to 4 of 4
  1. #1
    panda9510's Avatar
    Join Date
    Dec 2019
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0

    Thumbs up Wall Hook [CFWEST]

    I wanna SRC Wall Hook

  2. #2
    [Snake]'s Avatar
    Join Date
    Jul 2019
    Gender
    male
    Location
    C:\Users\Snake
    Posts
    7
    Reputation
    10
    Thanks
    6
    My Mood
    Lurking
    Code:
    DWORD ADDR_DIPENGINE_1 = 0x4DA516; //Crossfire.exe = 8b 80 48 01 00 00 57 51 55 52 6a 00 6a 04 53 ff d0 85 c0 7c ??
    DWORD ADDR_DIPENGINE_2 = 0x4E6634; //Crossfire.exe = 8b 88 48 01 00 00 55 6a 00 53 6a 00 6a 00 6a 04 57 ff d1 85 c0 7c ??
    
    
    __declspec(naked) HRESULT WINAPI DrawIndexedPrimitive_1(void)
    {
    	static LPDIRECT3DDEVICE9 pDevice;
    	static D3DPRIMITIVETYPE Type;
    	static INT BaseVertexIndex;
    	static UINT MinVertexIndex, NumVertices, startIndex, primCount;
    
    	__asm
    	{
    		mov eax, [eax + 0x148]
    		mov[primCount], edi
    		push edi
    		mov[startIndex], ecx
    		push ecx
    		mov[NumVertices], ebp
    		push ebp
    		mov[MinVertexIndex], edx
    		push edx
    		push 0
    		push 4
    		mov[pDevice], ebx
    		push ebx
    		pushad
    	}
    
    
    
    	__asm
    	{
    		popad
    		mov edx, ADDR_DIPENGINE_1
    		add edx, 0x0F
    		jmp edx
    	}
    }
    
    __declspec(naked) HRESULT WINAPI DrawIndexedPrimitive_2(void)
    {
    	static LPDIRECT3DDEVICE9 pDevice;
    	static UINT NumVertices, primCount;
    
    	__asm
    	{
    		mov ecx, [eax + 0x148]
    		mov[primCount], ebp
    		push ebp
    		push 0
    		mov[NumVertices], ebx
    		push ebx
    		push 0
    		push 0
    		push 4
    		mov[pDevice], edi
    		push edi
    		pushad
    	}
    
    
    	if (menu.items[3].value == 1) // WallHack
    	{
    		pDevice->SetRenderState(D3DRS_ZFUNC, D3DCMP_NEVER);
    		pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
    	}
    
    	__asm
    	{
    		popad
    		mov eax, ADDR_DIPENGINE_2
    		add eax, 0x11
    		jmp eax
    	}
    }
    
    DWORD WINAPI dwStartHook(void*)
    {
    
    	while ((memcmp((void*)ADDR_DIPENGINE_1, "\x8B", 1) &&
    		(memcmp((void*)ADDR_DIPENGINE_2, "\x8B", 1))))
    
    		Sleep(10);
    
    	*(BYTE*)(ADDR_DIPENGINE_1 + 0x00) = 0xE9;
    	*(DWORD*)(ADDR_DIPENGINE_1 + 0x01) = ((DWORD)DrawIndexedPrimitive_1 - ADDR_DIPENGINE_1) - 5;
    	*(BYTE*)(ADDR_DIPENGINE_1 + 0x05) = 0x90;
    
    	*(BYTE*)(ADDR_DIPENGINE_2 + 0x00) = 0xE9;
    	*(DWORD*)(ADDR_DIPENGINE_2 + 0x01) = ((DWORD)DrawIndexedPrimitive_2 - ADDR_DIPENGINE_2) - 5;
    	*(BYTE*)(ADDR_DIPENGINE_2 + 0x05) = 0x90;
    
    	return 0;
    }
    Credits: @luizimloko

  3. The Following 2 Users Say Thank You to [Snake] For This Useful Post:

    aliwela (4 Weeks Ago),panda9510 (4 Weeks Ago)

  4. #3
    aliwela's Avatar
    Join Date
    Dec 2019
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    My Mood
    Blah
    Thanks working


  5. #4
    Janitor's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Location
    MPGH Reports
    Posts
    16,056
    Reputation
    3117
    Thanks
    6,985
    We don't usually allow soliciting. But it's gone through.
    Thanks [Snake].
    Click to add Noxey to Chat & Buy! Use Discount code: "Janitor" for discounts!

    The Best Accounts Store on MPGH - #1
    Top Quality Accounts & Service

    ♕ Most Active Seller with Lowest Prices Ever!
    ⫸ ⫸ Netflix / Spotify / NordVPN / ExpressVPN / Brazzers / PornHub / HBO / Hulu... ⫷ ⫷ More than 100 Products! ✨

Similar Threads

  1. WarRock NFV1 Edition - "Easy Wall Hack"
    By Unavailable in forum WarRock - International Hacks
    Replies: 19
    Last Post: 07-21-2007, 03:36 AM
  2. New Hacks Announced & Warrock DX Hook Update
    By Dave84311 in forum Hack/Release News
    Replies: 17
    Last Post: 03-02-2007, 04:54 PM
  3. Hack with rapid fire mp7k and wall hack
    By traggone in forum WarRock - International Hacks
    Replies: 4
    Last Post: 02-21-2007, 08:39 PM
  4. Is there a hack to see enemies through walls?
    By sorrow13 in forum WarRock - International Hacks
    Replies: 14
    Last Post: 10-09-2006, 07:51 PM
  5. No Gun On There Wall
    By SimpleAs in forum WarRock - International Hacks
    Replies: 14
    Last Post: 01-18-2006, 10:03 AM