Help about flyhack

Posts 1–2 of 2 · Page 1 of 1
Help about flyhack
someone help me about this ??
fly hack doesn't work :|

Code:
        if (inGame())
	{
		DWORD CShell = (DWORD)GetModuleHandleA(eCShell);
		if (FLYHack == NULL)
		{
			FLYHack = FindPattern2(CShell, 0xFFFFFF, (PBYTE)"\x8B\x8C\x24\x00\x00\x00\x00\x85\xC9\x0F\x86\x00\x00\x00\x00", "000????0000????");
			FLYHack = *(DWORD*)(FLYHack + 0x3);
			Writelog("#define FlyHack             0x%X", (DWORD)(FLYHack)); //always return 0x5F0
		}

		if (FLYHack != NULL)
		{
			if (fly_hack) 
			{
				//addy for CFPH
				
				dw_pCLTPlayerClient = 0x1089738; <-- is this correct ?? or it should be 0x10614CC
				CLTPlayerClientOffset = 0x70;	 <-- is this correct ?? or it should be 0x54
				
				DWORD pCLTPlayerClient = *(DWORD*)(CShell + dw_pCLTPlayerClient + CLTPlayerClientOffset);
				if (pCLTPlayerClient != NULL)
				{
					if (GetAsyncKeyState(VK_SPACE))
						*(float*)(pCLTPlayerClient + FLYHack) = -2.125f;
					else
						*(float*)(pCLTPlayerClient + FLYHack) = 1;
				}
			}
		}
		
	}
	else
	{
		FLYHack = NULL;
	}
use the Velocity in the LTOBject class inside playerclient...
Posts 1–2 of 2 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?