Add real fakes (cat_aa_truefakes)
This commit is contained in:
parent
eb06a7f4f8
commit
fccc857242
@ -5,7 +5,7 @@
|
||||
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
|
||||
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
|
||||
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
|
||||
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="1065247340671127562" id="org.eclipse.cdt.managedbuilder.core.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD "${INPUTS}"" prefer-non-shared="true">
|
||||
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="-400639936787841133" id="org.eclipse.cdt.managedbuilder.core.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD "${INPUTS}"" prefer-non-shared="true">
|
||||
<language-scope id="org.eclipse.cdt.core.gcc"/>
|
||||
<language-scope id="org.eclipse.cdt.core.g++"/>
|
||||
</provider>
|
||||
|
@ -18,6 +18,8 @@ CatVar communicate(CV_SWITCH, "identify", "1",
|
||||
"Auto identify for other cathook users");
|
||||
CatVar enabled(CV_SWITCH, "aa_enabled", "0", "Anti-Aim",
|
||||
"Master AntiAim switch");
|
||||
CatVar trueang(CV_SWITCH, "aa_truefakes", "1",
|
||||
"Do true fakeangles (Unresolveable)");
|
||||
CatVar yaw(CV_FLOAT, "aa_yaw", "0.0", "Yaw", "Static yaw (left/right)", 360.0);
|
||||
CatVar pitch(CV_FLOAT, "aa_pitch", "-89.0", "Pitch", "Static pitch (up/down)",
|
||||
-89.0, 89.0);
|
||||
@ -25,7 +27,7 @@ CatEnum yaw_mode_enum({ "KEEP", "STATIC", "JITTER", "BIGRANDOM", "RANDOM",
|
||||
"SPIN", "OFFSETKEEP", "EDGE", "HECK" });
|
||||
CatEnum pitch_mode_enum({ "KEEP", "STATIC", "JITTER", "RANDOM", "FLIP",
|
||||
"FAKEFLIP", "FAKEUP", "FAKEDOWN", "FAKECENTER", "UP",
|
||||
"DOWN", "HECK" });
|
||||
"DOWN", "HECK", "FAKESIDEWAYS" });
|
||||
CatVar yaw_mode(yaw_mode_enum, "aa_yaw_mode", "0", "Yaw mode", "Yaw mode");
|
||||
CatVar pitch_mode(pitch_mode_enum, "aa_pitch_mode", "0", "Pitch mode",
|
||||
"Pitch mode");
|
||||
@ -61,6 +63,8 @@ int aaaa_stage = 0;
|
||||
bool aaaa_key_pressed = false;
|
||||
|
||||
float GetAAAAPitch()
|
||||
{
|
||||
if (!trueang)
|
||||
{
|
||||
switch ((int) aaaa_mode)
|
||||
{
|
||||
@ -73,6 +77,23 @@ float GetAAAAPitch()
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (*bSendPackets == true)
|
||||
switch ((int) aaaa_mode)
|
||||
{
|
||||
case 0:
|
||||
return aaaa_stage ? -271 : -89;
|
||||
case 1:
|
||||
return aaaa_stage ? 271 : 89;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
else if (*bSendPackets == false)
|
||||
return g_pUserCmd->viewangles.x;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
float GetAAAATimerLength()
|
||||
{
|
||||
@ -382,6 +403,7 @@ float useEdge(float edgeViewAngle)
|
||||
|
||||
Timer delay{};
|
||||
int val = 0;
|
||||
int value[32] = { 0 };
|
||||
void ProcessUserCmd(CUserCmd *cmd)
|
||||
{
|
||||
if (communicate && CE_GOOD(LOCAL_E))
|
||||
@ -391,7 +413,7 @@ void ProcessUserCmd(CUserCmd *cmd)
|
||||
CachedEntity *ent = ENTITY(i);
|
||||
if (CE_GOOD(ent))
|
||||
{
|
||||
if ((int) (CE_FLOAT(ent, netvar.angEyeAngles)) == 53 &&
|
||||
if ((int) (CE_FLOAT(ent, netvar.angEyeAngles)) == 33 &&
|
||||
(int) (CE_FLOAT(ent, netvar.angEyeAngles + 4)) == 33)
|
||||
{
|
||||
player_info_s info;
|
||||
@ -399,20 +421,23 @@ void ProcessUserCmd(CUserCmd *cmd)
|
||||
playerlist::AccessData(info.friendsID).state !=
|
||||
playerlist::k_EState::CAT)
|
||||
{
|
||||
|
||||
value[ent->m_IDX]++;
|
||||
if (value[ent->m_IDX] > 5)
|
||||
{
|
||||
playerlist::AccessData(info.friendsID).state =
|
||||
playerlist::k_EState::CAT;
|
||||
cmd->viewangles.y = 53;
|
||||
cmd->viewangles.x = 33;
|
||||
g_pLocalPlayer->bUseSilentAngles = true;
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (delay.test_and_set(180000) || val)
|
||||
{
|
||||
cmd->viewangles.y = 53;
|
||||
cmd->viewangles.y = 33;
|
||||
cmd->viewangles.x = 33;
|
||||
g_pLocalPlayer->bUseSilentAngles = true;
|
||||
val++;
|
||||
@ -423,10 +448,17 @@ void ProcessUserCmd(CUserCmd *cmd)
|
||||
}
|
||||
if (!ShouldAA(cmd))
|
||||
return;
|
||||
if (trueang)
|
||||
*bSendPackets = !*bSendPackets;
|
||||
float &p = cmd->viewangles.x;
|
||||
float &y = cmd->viewangles.y;
|
||||
static bool flip = false;
|
||||
bool clamp = !no_clamping;
|
||||
if (!*bSendPackets)
|
||||
{
|
||||
y = RandFloatRange(-65536.0f, 65536.0f);
|
||||
}
|
||||
if (*bSendPackets)
|
||||
switch ((int) yaw_mode)
|
||||
{
|
||||
case 1: // FIXED
|
||||
@ -464,10 +496,17 @@ void ProcessUserCmd(CUserCmd *cmd)
|
||||
case 8:
|
||||
FuckYaw(y);
|
||||
clamp = false;
|
||||
break;
|
||||
/*case 9:
|
||||
y += *bSendPackets ? 90.0f : -90.0f;*/
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
if (yaw_mode == 9 )
|
||||
y += *bSendPackets ? 90.0f : -90.0f;
|
||||
if (!*bSendPackets)
|
||||
p = RandFloatRange(-65536.0f, 65536.0f);
|
||||
if (*bSendPackets)
|
||||
switch (int(pitch_mode))
|
||||
{
|
||||
case 1:
|
||||
|
Reference in New Issue
Block a user