Results 1 to 4 of 4
  1. #1
    CookieKeksKuchen's Avatar
    Join Date
    Aug 2018
    Gender
    male
    Posts
    5
    Reputation
    10
    Thanks
    728
    My Mood
    Bored

    Question Cant get this to work(LBY)

    I have this Code

    Code:
    local->SetLocalViewAngles(LastAngle);
    local->Set_LBY(LastAngle[YAW]);
    local->UpdateClientSideAnimations();
     
    void IClientEntity::SetLocalViewAngles(Vector& Rot) {
     
    	typedef void(__thiscall*SetLocalViewAngles)(void*, Vector&);
    	call_func< SetLocalViewAngles >(this, 349)(this, Rot);
    }
    void IClientEntity::Set_LBY(float LBY)
    {
    	struct AnimSt {
    		char _0x0000[124];
    		float LBY; //0x007C 
    		float LBY2; //0x0080 
    	};
    	auto addr = GetFieldValue< AnimSt* >(0x2BF8);//offset provided by copypaste
    	if (addr) {
    		addr->LBY = LBY;
    		addr->LBY2 = LBY;
    	}
    }
    void IClientEntity::UpdateClientSideAnimations() {
    	typedef int(__thiscall*UpdateClientSideAnimation)(void*);
    	static UpdateClientSideAnimation UpdateClientSideAnimationFN = nullptr;
    	if (!UpdateClientSideAnimationFN) {
    		UpdateClientSideAnimationFN = (UpdateClientSideAnimation)(mTools.FindPattern((PBYTE)cGMOD_hooks.Client.GetStartAddr(), cGMOD_hooks.Client.GetSize(),
    			(const char *)"\x55\x8B\xEC\x51\x56\x8B\xF1\x8B\x96",//xxxxxxxxx
    			0xCC));
    	}
    	UpdateClientSideAnimationFN(this);
    }
    Problem is i dont know why its not working maybe im missing something with GoalFeetYaw
    without this i cant make > 40* rotation


    im trying to implement this into Aqua cheat (its open source) i got Anti Aim working with a fake that legit people and aimbot cant hit(or do damage)

  2. #2
    kingnigger123's Avatar
    Join Date
    May 2018
    Gender
    male
    Posts
    7
    Reputation
    10
    Thanks
    0
    LBY is not networked in gmod afaik

  3. #3
    CookieKeksKuchen's Avatar
    Join Date
    Aug 2018
    Gender
    male
    Posts
    5
    Reputation
    10
    Thanks
    728
    My Mood
    Bored
    i dont need it as a lby breaky like in csgo i need it for

    https://i.imgur.com/U6j83ZB.png

    as someone who provided the code sayd its for overriding it so over 40* rotation are possible

  4. #4
    thejinxer351's Avatar
    Join Date
    Feb 2016
    Gender
    male
    Posts
    12
    Reputation
    10
    Thanks
    0
    My Mood
    Amused
    i need to know how to fic this to

Similar Threads

  1. cant get this to work Q_Q
    By noob555 in forum Minecraft Help
    Replies: 7
    Last Post: 04-08-2011, 06:58 PM
  2. Cant get CA to work
    By visjeboy in forum Combat Arms Europe Hacks
    Replies: 7
    Last Post: 02-26-2009, 10:55 AM
  3. Cant get hack to work?
    By sunshine005 in forum Combat Arms Hacks & Cheats
    Replies: 1
    Last Post: 01-20-2009, 10:48 PM
  4. hey i cant get mine to work
    By smartyface121 in forum Combat Arms Hacks & Cheats
    Replies: 2
    Last Post: 01-04-2009, 12:23 PM
  5. cant get it to work. (public)
    By killorbekilled in forum Combat Arms Hacks & Cheats
    Replies: 7
    Last Post: 12-23-2008, 07:57 PM