Results 1 to 4 of 4
  1. #1
    PashaAmd's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    1,008
    Reputation
    58
    Thanks
    224

    [Hacks] Help Please :)

    Hi I am having a problem with my hacks. I am using Whit's base. I open up the menu, it doesn't d/c. I go in game and I turn on the hacks but they don't work, I'm not sure what I am doing wrong... I'll show you my IsIngame() and PTC function..

    PTC:
    Code:
    void __cdecl pRunConsoleCommand(char* szVal)
    {
            void* vSetVar = (void*)0x4F9E00;
            _asm
            {
                    push szVal
                    call vSetVar
                    add esp, 4
            }
    }
    IsIngame
    Code:
    typedef bool (*IsConnected_t)(void);
    
    bool IsIngame()
    {
    	DWORD* LTBase = (DWORD*)0x3781BE50; // LTCLIENT
    	IsConnected_t pConnected = *(IsConnected_t*)(*LTBase + 0x8C);
     
    return pConnected();
    }
    Code:
    HRESULT WINAPI Present(LPDIRECT3DDEVICE9 Device, CONST RECT *pSourceRect, CONST RECT *pDestRect, HWND hDestWindowOverride, CONST RGNDATA *pDirtyRegion)
    {
    	//Draws our menu and renders our hacks
    	_asm pushad;
    	DrawBox(95, 145, 200, frame, D3DCOLOR_ARGB(150, 0, 0, 0), Blue, Device);
    	Hackz.RenderHacks(Device);
    	Menu.Render(Device);
    	if(IsIngame())
    	{
    	if ( Hack.NX_Chams) {
    		pRunConsoleCommand("SkelModelStencil 1");
    	}
    	else {
    		pRunConsoleCommand("SkelModelStencil 0");
    	}
    	if ( Hack.No_Fog) {
    		pRunConsoleCommand("FogEnable 1");
    	}
    	else {
    		pRunConsoleCommand("FogEnable 0");
    	}
    	if ( Hack.No_Spread) {
    		pRunConsoleCommand("PerturbRotationEffect  0.000000");
    		pRunConsoleCommand("PerturbIncreaseSpeed 0.000000");
    		pRunConsoleCommand("PerturbWalkPercent 0.000000");
    		pRunConsoleCommand("PerturbFiringIncreaseSpeed 0.000000");
    		pRunConsoleCommand("PerturbRecoil 0.000000");
    		pRunConsoleCommand("FireMovePerturb 0.000000");
    		pRunConsoleCommand("ZoomedFireMoveDuckPerturb 0.000000");
    		pRunConsoleCommand("ZoomedFireMovePerturb 0.000000");
    		pRunConsoleCommand("ZoomedFireDuckPerturb 0.000000");
    	}
    }
        _asm popad;
    	return pPresent(Device, pSourceRect, pDestRect, hDestWindowOverride, pDirtyRegion);
    }
    
    DWORD * FindDevice(VOID)//Finds the Device on Injection
    {
        DWORD Base = (DWORD)LoadLibraryW(L"d3d9.dll");
    
        for(DWORD i = 0; i < 0x128000; i++ )
        {
          if ( (*(BYTE *)(Base+i+0x00))==0x00
            && (*(BYTE *)(Base+i+0x00))==0x00
            && (*(BYTE *)(Base+i+0x00))==0x00
            && (*(BYTE *)(Base+i+0x00))==0x00
            && (*(BYTE *)(Base+i+0x00))==0x00
            && (*(BYTE *)(Base+i+0x00))==0x00 )
            return (DWORD *)(Base + i + 2);
        }
        return NULL;
    }
    nub proofed

    Please Help!
    Last edited by PashaAmd; 03-18-2011 at 03:08 AM.

  2. #2
    PashaAmd's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    1,008
    Reputation
    58
    Thanks
    224
    anyone?

  3. #3
    Grim's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    5,359
    Reputation
    112
    Thanks
    3,786
    My Mood
    Cynical
    dont double post, even if to bump your own thread, and you need to post the actual hack loop in order to get any help.. what you posted is fine.
    Want to see my programs?
    \/ CLICK IT BITCHES \/

  4. #4
    PashaAmd's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    1,008
    Reputation
    58
    Thanks
    224
    ok sorry iupdated