Results 1 to 6 of 6
  1. #1
    ytfagg's Avatar
    Join Date
    Mar 2022
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    0
    My Mood
    Amazed

    Post 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
    Last edited by ytfagg; 04-14-2022 at 07:46 AM.

  2. #2
    Anger5K's Avatar
    Join Date
    May 2020
    Gender
    male
    Posts
    151
    Reputation
    10
    Thanks
    70
    My Mood
    Lurking
    Code:
    for (int i = 0x500; i < 0x2130; i += 4)
    {
    	if (*(float*)(m_pGamePlayer + i) == 56)
    		*(float*)(m_pGamePlayer + i) = -56;
    }
    My Own Hack!!!



  3. The Following User Says Thank You to Anger5K For This Useful Post:

    ytfagg (04-17-2022)

  4. #3
    ytfagg's Avatar
    Join Date
    Mar 2022
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    0
    My Mood
    Amazed
    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 ))

  5. #4
    Formula23's Avatar
    Join Date
    Dec 2021
    Gender
    male
    Posts
    15
    Reputation
    10
    Thanks
    0
    Not work i got crash client 😞

  6. #5
    MemoryThePast's Avatar
    Join Date
    Sep 2018
    Gender
    male
    Posts
    148
    Reputation
    10
    Thanks
    35
    My Mood
    Stressed
    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);
    }

  7. The Following 2 Users Say Thank You to MemoryThePast For This Useful Post:

    qq963485005 (10-29-2023),ytfagg (04-19-2022)

  8. #6
    ytfagg's Avatar
    Join Date
    Mar 2022
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    0
    My Mood
    Amazed
    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

Similar Threads

  1. Walk through wall in velruf
    By VIP-Member in forum WarRock - International Hacks
    Replies: 16
    Last Post: 04-23-2007, 08:35 AM