STEAM GROUP
pEnt->GetLowerBodyYaw LBY 転
STEAM GROUP
pEnt->GetLowerBodyYaw LBY 転
0
IN-GAME
0
ONLINE
Founded
1 December, 2019
ABOUT pEnt->GetLowerBodyYaw

int GetEstimatedServerTickCount(float latency)
{
return (int)floorf(float((float)((float)(latency) / (float)((uintptr_t)&g_Globals->interval_per_tick)) + 0.5) + 1 + (int)((uintptr_t)&g_Globals->tickcount));
}

float NormalizeYaw(float value)
{
while (value > 180)
value -= 360.f;

while (value < -180)
value += 360.f;
return value;
}

namespace Globals
{
int Shots;
int missedshots;
float RealAngle;
float FakeAngle;
Vector AimPoint;
bool shouldflip;
bool ySwitch;
float NextTime;
int resolvemode = 1;
float fakeAngle;
float OldSimulationTime[65];
bool error;
}

/*void Resolver3()
{
C_BaseEntity *pLocal = g_EntityList->GetClientEntity(g_Engine->GetLocalPlayer());
for (auto i = 0; i < g_EntityList->GetHighestEntityIndex(); i++)
{
C_BaseEntity* pEnt = g_EntityList->GetClientEntity(i);
if (!pEnt) continue;
if ((pEnt == pLocal)) continue;
if (pEnt->IsDormant()) continue;
player_info_t pTemp;
if (!g_Engine->GetPlayerInfo(i, &pTemp))
continue;
auto FYaw = pEnt->GetLowerBodyYaw();
auto pitch = pEnt->GetEyeAngles()->x;
if (menu.Ragebot.Resolver)
{
pEnt->GetEyeAngles()->y = FYaw;
float PlayerIsMoving = abs(pEnt->GetVelocity().Length2D());
bool bLowerBodyUpdated = false;
bool IsUsingFakeAngles = false;
if (oldlowerbodyyaw != FYaw)
{
bLowerBodyUpdated = true;
}
float bodyeyedelta = fabs(pEnt->GetEyeAngles()->y - pEnt->GetLowerBodyYaw());
if (PlayerIsMoving || bLowerBodyUpdated)// || LastUpdatedNetVars->eyeangles.x != CurrentNetVars->eyeangles.x || LastUpdatedNetVars->eyeyaw != CurrentNetVars->eyeangles.y)
{
pEnt->GetEyeAngles()->y = FYaw;
oldlowerbodyyaw = pEnt->GetEyeAngles()->y;
IsUsingFakeAngles = false;
}
else
{
if (bodyeyedelta > 35.0f)
{
pEnt->GetEyeAngles()->y = oldlowerbodyyaw;
IsUsingFakeAngles = true;
}
else
{
IsUsingFakeAngles = false;
}
}
if (IsUsingFakeAngles)
{
pEnt->GetEyeAngles()->y += 45;
}
}
}
}*/
inline float ClampYaw(float yaw) {
while (yaw > 180.f)
yaw -= 360.f;
while (yaw < -180.f)
yaw += 360.f;
return yaw;
}

void Resolver3()
{



if (g_Options.Ragebot.Resolver)
{
C_BaseEntity *pLocal = g_EntityList->GetClientEntity(g_Engine->GetLocalPlayer());
{
for (auto i = 0; i < g_EntityList->GetHighestEntityIndex(); i++)
{
C_BaseEntity* pEnt = g_EntityList->GetClientEntity(i);

if (!pEnt) continue;

if (pEnt == pLocal) continue;

if (pEnt->IsDormant()) continue;

player_info_t pTemp;

if (!g_Engine->GetPlayerInfo(i, &pTemp))
continue;
POPULAR DISCUSSIONS
VIEW ALL (5)
GROUP MEMBERS
Administrators
Members
0
IN-GAME
0
ONLINE
0 IN CHAT
Enter chat room
Founded
1 December, 2019