-
-
Notifications
You must be signed in to change notification settings - Fork 65
check this out #591
Comments
bro hasnt heard of prs |
What is that ?? |
pull requests |
bro hasnt heard of prs |
What is that ?? |
pull requests |
please implement this animfix in ur cheat:
#include "../Memory.h"
#include "../Interfaces.h"
#include "Animations.h"
#include "Backtrack.h"
#include "EnginePrediction.h"
#include "Resolver.h"
#include "../SDK/LocalPlayer.h"
#include "../SDK/Cvar.h"
#include "../SDK/GlobalVars.h"
#include "../SDK/Entity.h"
#include "../SDK/UserCmd.h"
#include "../SDK/ConVar.h"
#include "../SDK/MemAlloc.h"
#include "../SDK/Input.h"
#include "../SDK/Vector.h"
static std::array<Animations::Players, 65> players{};
static std::array<matrix3x4, MAXSTUDIOBONES> fakematrix{};
static std::array<matrix3x4, MAXSTUDIOBONES> fakelagmatrix{};
static std::array<matrix3x4, MAXSTUDIOBONES> realmatrix{};
static Vector localAngle{};
static bool updatingLocal{ true };
static bool updatingEntity{ false };
static bool updatingFake{ false };
static bool sendPacket{ true };
static bool gotMatrix{ false };
static bool gotMatrixFakelag{ false };
static bool gotMatrixReal{ false };
static Vector viewangles{};
static Vector correctAngle{};
static int buildTransformsIndex = -1;
static std::array<AnimationLayer, 13> staticLayers{};
static std::array<AnimationLayer, 13> layers{};
static float primaryCycle{ 0.0f };
static float moveWeight{ 0.0f };
static float footYaw{};
static std::array<float, 24> poseParameters{};
static std::array<AnimationLayer, 13> sendPacketLayers{};
void Animations::init() noexcept
{
static auto threadedBoneSetup = interfaces->cvar->findVar("cl_threaded_bone_setup");
threadedBoneSetup->setValue(1);
}
void Animations::reset() noexcept
{
for (auto& record : players)
record.reset();
fakematrix = {};
fakelagmatrix = {};
localAngle = Vector{};
updatingLocal = true;
updatingEntity = false;
sendPacket = true;
gotMatrix = false;
gotMatrixFakelag = false;
gotMatrixReal = false;
viewangles = Vector{};
correctAngle = Vector{};
buildTransformsIndex = -1;
staticLayers = {};
layers = {};
primaryCycle = 0.0f;
moveWeight = 0.0f;
footYaw = {};
poseParameters = {};
sendPacketLayers = {};
}
// Helper function to avoid repeated calls to getAnimationLayersCount()
int GetAnimationLayersCount(const BasePlayer* player) noexcept
{
return player ? player->getAnimationLayersCount() : 0;
}
void Animations::update(UserCmd* cmd, bool& _sendPacket) noexcept
{
static float spawnTime = 0.f;
}
The text was updated successfully, but these errors were encountered: