More XML changes
This commit is contained in:
parent
6c923d1607
commit
fae048a38d
@ -26,7 +26,7 @@ static settings::Float fov{ "aimbot.fov", "0" };
|
|||||||
static settings::Int priority_mode{ "aimbot.priority-mode", "0" };
|
static settings::Int priority_mode{ "aimbot.priority-mode", "0" };
|
||||||
static settings::Bool wait_for_charge{ "aimbot.wait-for-charge", "0" };
|
static settings::Bool wait_for_charge{ "aimbot.wait-for-charge", "0" };
|
||||||
|
|
||||||
static settings::Bool silent{ "aimbot.silent", "0" };
|
static settings::Bool silent{ "aimbot.silent", "1" };
|
||||||
static settings::Bool target_lock{ "aimbot.lock-target", "0" };
|
static settings::Bool target_lock{ "aimbot.lock-target", "0" };
|
||||||
static settings::Int hitbox{ "aimbot.hitbox", "0" };
|
static settings::Int hitbox{ "aimbot.hitbox", "0" };
|
||||||
static settings::Bool zoomed_only{ "aimbot.zoomed-only", "1" };
|
static settings::Bool zoomed_only{ "aimbot.zoomed-only", "1" };
|
||||||
@ -60,7 +60,7 @@ static settings::Bool buildings_sentry{ "aimbot.target.sentry", "1" };
|
|||||||
static settings::Bool buildings_other{ "aimbot.target.other-buildings", "1" };
|
static settings::Bool buildings_other{ "aimbot.target.other-buildings", "1" };
|
||||||
static settings::Bool stickybot{ "aimbot.target.stickybomb", "0" };
|
static settings::Bool stickybot{ "aimbot.target.stickybomb", "0" };
|
||||||
static settings::Bool rageonly{ "aimbot.target.ignore-non-rage", "0" };
|
static settings::Bool rageonly{ "aimbot.target.ignore-non-rage", "0" };
|
||||||
static settings::Bool teammates{ "aimbot.target.teammates", "0" };
|
static settings::Int teammates{ "aimbot.target.teammates", "0" };
|
||||||
|
|
||||||
#if ENABLE_VISUALS
|
#if ENABLE_VISUALS
|
||||||
static settings::Bool fov_draw{ "aimbot.fov-circle.enable", "0" };
|
static settings::Bool fov_draw{ "aimbot.fov-circle.enable", "0" };
|
||||||
|
@ -12,9 +12,7 @@
|
|||||||
|
|
||||||
#include "common.hpp"
|
#include "common.hpp"
|
||||||
|
|
||||||
static settings::Bool communicate{ "antiaim.identify", "0" };
|
|
||||||
static settings::Bool enable{ "antiaim.enable", "0" };
|
static settings::Bool enable{ "antiaim.enable", "0" };
|
||||||
static settings::Bool crouch{ "antiaim.fake-crouch", "0" };
|
|
||||||
|
|
||||||
static settings::Float yaw{ "antiaim.yaw.static", "0" };
|
static settings::Float yaw{ "antiaim.yaw.static", "0" };
|
||||||
static settings::Int yaw_mode{ "antiaim.yaw.mode", "0" };
|
static settings::Int yaw_mode{ "antiaim.yaw.mode", "0" };
|
||||||
@ -33,11 +31,6 @@ static settings::Float aaaa_interval_random_low{ "antiaim.aaaa.interval.random-l
|
|||||||
static settings::Int aaaa_mode{ "antiaim.aaaa.mode", "0" };
|
static settings::Int aaaa_mode{ "antiaim.aaaa.mode", "0" };
|
||||||
static settings::Button aaaa_flip_key{ "antiaim.aaaa.flip-key", "<null>" };
|
static settings::Button aaaa_flip_key{ "antiaim.aaaa.flip-key", "<null>" };
|
||||||
|
|
||||||
static settings::Bool test{ "antiaim.debug", "0" };
|
|
||||||
|
|
||||||
#if ENABLE_VISUALS
|
|
||||||
static settings::Bool draw_fakes{ "antiaim.draw-fakes", "1" };
|
|
||||||
#endif
|
|
||||||
|
|
||||||
namespace hacks::shared::antiaim
|
namespace hacks::shared::antiaim
|
||||||
{
|
{
|
||||||
@ -373,7 +366,7 @@ float useEdge(float edgeViewAngle)
|
|||||||
Timer delay{};
|
Timer delay{};
|
||||||
int val = 0;
|
int val = 0;
|
||||||
int value[32] = { 0 };
|
int value[32] = { 0 };
|
||||||
void FakeCrouch(CUserCmd *cmd)
|
/*void FakeCrouch(CUserCmd *cmd)
|
||||||
{
|
{
|
||||||
if (!crouch)
|
if (!crouch)
|
||||||
return;
|
return;
|
||||||
@ -404,7 +397,7 @@ void FakeCrouch(CUserCmd *cmd)
|
|||||||
cmd->buttons &= ~IN_DUCK;
|
cmd->buttons &= ~IN_DUCK;
|
||||||
*bSendPackets = true;
|
*bSendPackets = true;
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
void ProcessUserCmd(CUserCmd *cmd)
|
void ProcessUserCmd(CUserCmd *cmd)
|
||||||
{
|
{
|
||||||
if (!enable)
|
if (!enable)
|
||||||
@ -421,13 +414,6 @@ void ProcessUserCmd(CUserCmd *cmd)
|
|||||||
static bool flip = false;
|
static bool flip = false;
|
||||||
static bool bsendflip = true;
|
static bool bsendflip = true;
|
||||||
bool clamp = !no_clamping;
|
bool clamp = !no_clamping;
|
||||||
if (test)
|
|
||||||
{
|
|
||||||
cmd->viewangles.x = FLT_MAX;
|
|
||||||
cmd->viewangles.y = FLT_MAX;
|
|
||||||
g_pLocalPlayer->bUseSilentAngles = true;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
switch ((int) yaw_mode)
|
switch ((int) yaw_mode)
|
||||||
{
|
{
|
||||||
case 1: // FIXED
|
case 1: // FIXED
|
||||||
@ -449,9 +435,9 @@ void ProcessUserCmd(CUserCmd *cmd)
|
|||||||
case 5: // SPIN
|
case 5: // SPIN
|
||||||
cur_yaw += (float) spin;
|
cur_yaw += (float) spin;
|
||||||
if (cur_yaw > 180)
|
if (cur_yaw > 180)
|
||||||
cur_yaw = -180;
|
cur_yaw -= -180;
|
||||||
if (cur_yaw < -180)
|
if (cur_yaw < -180)
|
||||||
cur_yaw = 180;
|
cur_yaw += 180;
|
||||||
y = cur_yaw;
|
y = cur_yaw;
|
||||||
break;
|
break;
|
||||||
case 6: // OFFSETKEEP
|
case 6: // OFFSETKEEP
|
||||||
@ -616,7 +602,7 @@ void ProcessUserCmd(CUserCmd *cmd)
|
|||||||
p = GetAAAAPitch();
|
p = GetAAAAPitch();
|
||||||
}
|
}
|
||||||
g_pLocalPlayer->bUseSilentAngles = true;
|
g_pLocalPlayer->bUseSilentAngles = true;
|
||||||
FakeCrouch(cmd);
|
//FakeCrouch(cmd);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool isEnabled()
|
bool isEnabled()
|
||||||
|
Reference in New Issue
Block a user