PostHelp with Walk through wall

Posts 1–6 of 6 · Page 1 of 1
Help with Walk through wall
https://imgur.com/a/59TL98sⓘ
Help me I think 56 and 56 is the value for Walking through walls but if I try to change this value then it doesn't work (

I thought that these are the values that are needed because I saw them in the Model Editor , M-Motion.ltbi use -1 for replace 56
Code:
for (int i = 0x500; i < 0x2130; i += 4)
{
	if (*(float*)(m_pGamePlayer + i) == 56)
		*(float*)(m_pGamePlayer + i) = -56;
}
Quote Originally Posted by Anger5K View Post
Code:
for (int i = 0x500; i < 0x2130; i += 4)
{
	if (*(float*)(m_pGamePlayer + i) == 56)
		*(float*)(m_pGamePlayer + i) = -56;
}
Thanks ))
Not work i got crash client 😞
CFPH Pattern x64:

Code:
NetVars::get()->Offset.m_ModelDimension = NetVarManager::get()->GetOffset(xorstr_(_T("m_ModelDimension")), eCShell, (BYTE*)"\xF2\x0F\x10\x81\x00\x00\x00\x00\x48\x8B\xDA\x8B\x81\x00\x00\x00\x00", "xxxx????xxxxx????", 4, true);
Code:
// CPlayerClntBase Class:
void ICPlayerClntBase::GetWalkThroughWalls(float fDimsValueX, float fDimsValueY, float fDimsValueZ)
{
	this->SetValue<float>(NetVars::get()->Offset.m_ModelDimension, fDimsValueX);
	//this->SetValue<float>((NetVars::get()->Offset.m_ModelDimension + 0x4), fDimsValueY); // not needed you only need is x and z
	this->SetValue<float>((NetVars::get()->Offset.m_ModelDimension + 0x8), fDimsValueZ);
}

// Call:
if (CAPIHelper::vGetAsyncKeyState('V') < 0)
{
	P::get()->GetCPlayerClntBase()->GetWalkThroughWalls(-56.0f, 120.0f, -56.0f);
}
Quote Originally Posted by MemoryThePast View Post
CFPH Pattern x64:

Code:
NetVars::get()->Offset.m_ModelDimension = NetVarManager::get()->GetOffset(xorstr_(_T("m_ModelDimension")), eCShell, (BYTE*)"\xF2\x0F\x10\x81\x00\x00\x00\x00\x48\x8B\xDA\x8B\x81\x00\x00\x00\x00", "xxxx????xxxxx????", 4, true);
Code:
// CPlayerClntBase Class:
void ICPlayerClntBase::GetWalkThroughWalls(float fDimsValueX, float fDimsValueY, float fDimsValueZ)
{
	this->SetValue<float>(NetVars::get()->Offset.m_ModelDimension, fDimsValueX);
	//this->SetValue<float>((NetVars::get()->Offset.m_ModelDimension + 0x4), fDimsValueY); // not needed you only need is x and z
	this->SetValue<float>((NetVars::get()->Offset.m_ModelDimension + 0x8), fDimsValueZ);
}

// Call:
if (CAPIHelper::vGetAsyncKeyState('V') < 0)
{
	P::get()->GetCPlayerClntBase()->GetWalkThroughWalls(-56.0f, 120.0f, -56.0f);
}
i did it thanks
Posts 1–6 of 6 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us