Skip to content

Commit

Permalink
CatVar to CatVar_DEPRECATED
Browse files Browse the repository at this point in the history
  • Loading branch information
nullifiedcat committed Mar 2, 2017
1 parent c7f4987 commit 71628f8
Show file tree
Hide file tree
Showing 42 changed files with 302 additions and 284 deletions.
6 changes: 3 additions & 3 deletions src/cvwrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include "common.h"
#include "sdk.h"

CatVar::CatVar(CatVar_t type, std::string name, std::string value, std::string help, ICatEnum* enum_type, std::string long_description, bool hasminmax, float maxv, float minv) {
CatVar_DEPRECATED::CatVar_DEPRECATED(CatVar_t type, std::string name, std::string value, std::string help, ICatEnum* enum_type, std::string long_description, bool hasminmax, float maxv, float minv) {
m_Type = type;
m_pConVar = CreateConVar(CON_PREFIX + name, value, help);
m_EnumType = enum_type;
Expand Down Expand Up @@ -42,7 +42,7 @@ int CatEnum::Minimum() {
return m_iMin;
}

void CatVar::Increment(int factor) {
void CatVar_DEPRECATED::Increment(int factor) {
if (!m_pConVar) return;
switch (m_Type) {
case CatVar_t::CV_SWITCH: {
Expand All @@ -65,7 +65,7 @@ void CatVar::Increment(int factor) {
}
}

void CatVar::Decrement(int factor) {
void CatVar_DEPRECATED::Decrement(int factor) {
if (!m_pConVar) return;
switch (m_Type) {
case CatVar_t::CV_SWITCH:
Expand Down
12 changes: 8 additions & 4 deletions src/cvwrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,15 @@ class CatEnum : public ICatEnum {
int m_iLength;
};

class CatVar {
template<typename T>
class CVNew {

};

class CatVar_DEPRECATED {
public:
CatVar(CatVar_t type, std::string name, std::string value, std::string help, ICatEnum* enum_type = 0, std::string long_description = "no description", bool hasminmax = false, float max = 1.0f, float min = 0.0f);
//inline CatVar(ConVar* var, CatVar_t type, std::string desc = "") { m_fStep = 1; m_fStep = 0.5f; m_pConVar = var; m_Type = type; SetDescription(desc); }
//inline CatVar(ConVar* var, ICatEnum* catenum, std::string desc = "") { m_pConVar = var; m_Type = CatVar_t::CV_ENUM; m_EnumType = catenum; SetDescription(desc); }
CatVar_DEPRECATED(CatVar_t type, std::string name, std::string value, std::string help, ICatEnum* enum_type = 0, std::string long_description = "no description", bool hasminmax = false, float max = 1.0f, float min = 0.0f);
void Register();
inline CatVar_t GetType() { return m_Type; }
inline ICatEnum* GetEnum() { return m_EnumType; }
inline ConVar* GetConVar() { return m_pConVar; }
Expand Down
34 changes: 17 additions & 17 deletions src/globals.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,27 +23,27 @@ void ThirdpersonCallback(IConVar* var, const char* pOldValue, float flOldValue)
void GlobalSettings::Init() {
EstimateAbsVelocity = (EstimateAbsVelocity_t*)gSignatures.GetClientSignature("55 89 E5 56 53 83 EC 30 8B 5D 08 8B 75 0C E8 4D 2E 01 00 39 D8 74 69 0F B6 05 24 3F 00 02 81 C3 B8 02 00 00 C6 05 24 3F 00 02 01 88 45 F0 A1 20 3F 00 02 89 45 F4 A1 28 3F 00 02 89 45 EC 8D 45 EC A3 28 3F 00 02 A1 14 C8 F6 01 8B 40 0C 89 74 24 04 89 1C 24 89 44 24 08 E8 A2 41 00 00 0F B6 45 F0 A2 24 3F 00 02 8B 45 F4 A3 20 3F 00 02 8B 45 EC A3 28 3F 00 02 83 C4 30 5B 5E 5D C3");

this->sDisconnectMsg = new CatVar(CV_STRING, "disconnect_msg", "", "Disconnect reason", NULL, "A custom disconnect message");
this->bFastVischeck = new CatVar(CV_SWITCH, "fast_vischeck", "1", "Fast VisCheck", NULL, "VisChecks only certain hitboxes");
this->sDisconnectMsg = new CatVar_DEPRECATED(CV_STRING, "disconnect_msg", "", "Disconnect reason", NULL, "A custom disconnect message");
this->bFastVischeck = new CatVar_DEPRECATED(CV_SWITCH, "fast_vischeck", "1", "Fast VisCheck", NULL, "VisChecks only certain hitboxes");
// this->bMaxPerformance = CREATE_CV(CV_SWITCH, "optimize_performance", "0", "deprecated");
this->bHackEnabled = new CatVar(CV_SWITCH, "enabled", "1", "CatHook enabled", NULL, "Master Hack Switch");
this->bIgnoreTaunting = new CatVar(CV_SWITCH, "ignore_taunting", "1", "Ignore taunting", NULL, "Aimbot/Triggerbot won't attack taunting enemies");
this->flForceFOV = new CatVar(CV_FLOAT, "fov", "0", "FOV", NULL, "FOV override (0 - don't change)", true, 360.0f, 0.0f);
this->bHackEnabled = new CatVar_DEPRECATED(CV_SWITCH, "enabled", "1", "CatHook enabled", NULL, "Master Hack Switch");
this->bIgnoreTaunting = new CatVar_DEPRECATED(CV_SWITCH, "ignore_taunting", "1", "Ignore taunting", NULL, "Aimbot/Triggerbot won't attack taunting enemies");
this->flForceFOV = new CatVar_DEPRECATED(CV_FLOAT, "fov", "0", "FOV", NULL, "FOV override (0 - don't change)", true, 360.0f, 0.0f);
// this->bProfiler = CREATE_CV(CV_SWITCH, "profiler", "0", "Profiler");
this->bNoZoom = new CatVar(CV_SWITCH, "nozoom", "0", "No Zoom", NULL, "Disable black scope overlay");
this->flForceFOVZoomed = new CatVar(CV_FLOAT, "fov_zoomed", "0", "FOV when zoomed", NULL, "FOV override (when zoomed)", true, 360.0f, 0.0f);
this->bZoomedFOV = new CatVar(CV_SWITCH, "zoom_keep_fov", "1", "When zoomed, use " CON_PREFIX "fov_zoomed");
this->bNoZoom = new CatVar_DEPRECATED(CV_SWITCH, "nozoom", "0", "No Zoom", NULL, "Disable black scope overlay");
this->flForceFOVZoomed = new CatVar_DEPRECATED(CV_FLOAT, "fov_zoomed", "0", "FOV when zoomed", NULL, "FOV override (when zoomed)", true, 360.0f, 0.0f);
this->bZoomedFOV = new CatVar_DEPRECATED(CV_SWITCH, "zoom_keep_fov", "1", "When zoomed, use " CON_PREFIX "fov_zoomed");
// this->bNoFlinch = CREATE_CV(CV_SWITCH, "noflinch", "0", "No Flinch (broken)");
this->bSendPackets = new CatVar(CV_SWITCH, "sendpackets", "1", "Send packets", NULL, "bSendPackets");
this->bShowLogo = new CatVar(CV_SWITCH, "logo", "1", "Show cathook", NULL, "Show cathook build/version in top left corner");
this->bShowAntiAim = new CatVar(CV_SWITCH, "thirdperson_angles", "1", "Real TP angles", NULL, "You can see your own AA/Aimbot angles in thirdperson");
this->bThirdperson = new CatVar(CV_SWITCH, "thirdperson", "0", "Thirdperson", NULL, "Enable thirdperson view");
this->bNoVisuals = new CatVar(CV_SWITCH, "novisuals", "0", "Disable visuals", NULL, "Disable all visuals");
this->bCleanScreenshots = new CatVar(CV_SWITCH, "clean_screenshot", "1", "Clean screenshots", NULL, "Clean screenshots");
this->bDebugLog = new CatVar(CV_SWITCH, "log", "1", "Debug Log", NULL, "Disable this if you don't need cathook messages in your console");
this->bSendPackets = new CatVar_DEPRECATED(CV_SWITCH, "sendpackets", "1", "Send packets", NULL, "bSendPackets");
this->bShowLogo = new CatVar_DEPRECATED(CV_SWITCH, "logo", "1", "Show cathook", NULL, "Show cathook build/version in top left corner");
this->bShowAntiAim = new CatVar_DEPRECATED(CV_SWITCH, "thirdperson_angles", "1", "Real TP angles", NULL, "You can see your own AA/Aimbot angles in thirdperson");
this->bThirdperson = new CatVar_DEPRECATED(CV_SWITCH, "thirdperson", "0", "Thirdperson", NULL, "Enable thirdperson view");
this->bNoVisuals = new CatVar_DEPRECATED(CV_SWITCH, "novisuals", "0", "Disable visuals", NULL, "Disable all visuals");
this->bCleanScreenshots = new CatVar_DEPRECATED(CV_SWITCH, "clean_screenshot", "1", "Clean screenshots", NULL, "Clean screenshots");
this->bDebugLog = new CatVar_DEPRECATED(CV_SWITCH, "log", "1", "Debug Log", NULL, "Disable this if you don't need cathook messages in your console");
this->bThirdperson->m_pConVar->InstallChangeCallback(ThirdpersonCallback);
this->bFastOutline = new CatVar(CV_SWITCH, "fastoutline", "0", "Low quality outline", NULL, "Might increase performance when there is a lot of ESP text to draw");
this->kRollSpeedhack = new CatVar(CV_KEY, "rollspeedhack", "0", "Roll Speedhack", NULL, "Roll speedhack key");
this->bFastOutline = new CatVar_DEPRECATED(CV_SWITCH, "fastoutline", "0", "Low quality outline", NULL, "Might increase performance when there is a lot of ESP text to draw");
this->kRollSpeedhack = new CatVar_DEPRECATED(CV_KEY, "rollspeedhack", "0", "Roll Speedhack", NULL, "Roll speedhack key");
bInvalid = true;
}

Expand Down
38 changes: 19 additions & 19 deletions src/globals.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class Vector;
class ConVar;
class CatVar;
class CatVar_DEPRECATED;

typedef void(EstimateAbsVelocity_t)(IClientEntity*, Vector&);
extern EstimateAbsVelocity_t* EstimateAbsVelocity;
Expand All @@ -22,27 +22,27 @@ class GlobalSettings {
void Init();
// TODO
// CatVar* bMaxPerformance;
CatVar* flForceFOV;
CatVar* flForceFOVZoomed;
CatVar* bZoomedFOV;
CatVar* bHackEnabled;
CatVar* bIgnoreTaunting;
CatVar_DEPRECATED* flForceFOV;
CatVar_DEPRECATED* flForceFOVZoomed;
CatVar_DEPRECATED* bZoomedFOV;
CatVar_DEPRECATED* bHackEnabled;
CatVar_DEPRECATED* bIgnoreTaunting;
// CatVar* bProfiler;
CatVar* bNoZoom;
CatVar_DEPRECATED* bNoZoom;
// CatVar* bNoFlinch;
CatVar* bSendPackets;
CatVar* bShowLogo;
CatVar* flDrawingOpacity;
CatVar* sDisconnectMsg;
CatVar* bShowAntiAim;
CatVar* bThirdperson;
CatVar* bNoVisuals;
CatVar* bCleanScreenshots;
CatVar* bDebugLog;
CatVar_DEPRECATED* bSendPackets;
CatVar_DEPRECATED* bShowLogo;
CatVar_DEPRECATED* flDrawingOpacity;
CatVar_DEPRECATED* sDisconnectMsg;
CatVar_DEPRECATED* bShowAntiAim;
CatVar_DEPRECATED* bThirdperson;
CatVar_DEPRECATED* bNoVisuals;
CatVar_DEPRECATED* bCleanScreenshots;
CatVar_DEPRECATED* bDebugLog;
Vector last_angles;
CatVar* bFastOutline;
CatVar* kRollSpeedhack;
CatVar* bFastVischeck;
CatVar_DEPRECATED* bFastOutline;
CatVar_DEPRECATED* kRollSpeedhack;
CatVar_DEPRECATED* bFastVischeck;
bool bInvalid;
};

Expand Down
2 changes: 1 addition & 1 deletion src/gui/CCVarContainer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include "../common.h"
#include "../sdk.h"

CCVarContainer::CCVarContainer(IWidget* parent, CatVar* var) : CBaseContainer(("cvc_" + std::string(var->m_pConVar->GetName())), parent) {
CCVarContainer::CCVarContainer(IWidget* parent, CatVar_DEPRECATED* var) : CBaseContainer(("cvc_" + std::string(var->m_pConVar->GetName())), parent) {
m_pVar = var;
m_pInput = 0;
m_pLabel = new CTextLabel(GetName() + "_desc", this, std::string(var->m_pConVar->GetHelpText()));
Expand Down
6 changes: 3 additions & 3 deletions src/gui/CCVarContainer.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@

#include "CBaseContainer.h"

class CatVar;
class CatVar_DEPRECATED;
class CTextInput;
class CTextLabel;

class CCVarContainer : public CBaseContainer {
public:
CCVarContainer(IWidget* parent, CatVar* var);
CCVarContainer(IWidget* parent, CatVar_DEPRECATED* var);

virtual void MoveChildren() override;
virtual void Update() override;
Expand All @@ -25,7 +25,7 @@ class CCVarContainer : public CBaseContainer {
IWidget* m_pControl;
CTextLabel* m_pLabel;

CatVar* m_pVar;
CatVar_DEPRECATED* m_pVar;
};

#endif /* CCVARCONTAINER_H_ */
4 changes: 2 additions & 2 deletions src/gui/GUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ void GUIVisibleCallback(IConVar* var, const char* pOldValue, float flOldValue) {

CatGUI::CatGUI() {
m_pRootWindow = 0;
v_bGUIVisible = new CatVar(CV_SWITCH, "gui_visible", "0", "GUI Active", NULL, "GUI switch (bind it to a key!)");
v_bDrawBounds = new CatVar(CV_SWITCH, "gui_bounds", "0", "Draw Bounds", NULL, "Draw GUI elements' bounding boxes");
v_bGUIVisible = new CatVar_DEPRECATED(CV_SWITCH, "gui_visible", "0", "GUI Active", NULL, "GUI switch (bind it to a key!)");
v_bDrawBounds = new CatVar_DEPRECATED(CV_SWITCH, "gui_bounds", "0", "Draw Bounds", NULL, "Draw GUI elements' bounding boxes");
}

CatGUI::~CatGUI() {
Expand Down
6 changes: 3 additions & 3 deletions src/gui/GUI.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#define GUI_H_

class IWidget;
class CatVar;
class CatVar_DEPRECATED;

#define GUI_ENABLED true

Expand Down Expand Up @@ -37,8 +37,8 @@ class CatGUI {

CTooltip* m_pTooltip;
RootWindow* m_pRootWindow;
CatVar* v_bGUIVisible;
CatVar* v_bDrawBounds;
CatVar_DEPRECATED* v_bGUIVisible;
CatVar_DEPRECATED* v_bDrawBounds;

bool m_bShowTooltip;
bool m_bConsumeKeys;
Expand Down
47 changes: 23 additions & 24 deletions src/hacks/Aimbot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

DEFINE_HACK_SINGLETON(Aimbot);


enum TargetSystem_t {
SMART = 0,
FOV = 1,
Expand All @@ -24,11 +23,11 @@ enum TargetSystem_t {

Aimbot::Aimbot() {
m_bAimKeySwitch = false;
this->v_eAimKeyMode = new CatVar(CV_ENUM, "aimbot_aimkey_mode", "1", "Aimkey mode", new CatEnum({ "DISABLED", "AIMKEY", "REVERSE", "TOGGLE" }),
this->v_eAimKeyMode = new CatVar_DEPRECATED(CV_ENUM, "aimbot_aimkey_mode", "1", "Aimkey mode", new CatEnum({ "DISABLED", "AIMKEY", "REVERSE", "TOGGLE" }),
"DISABLED: aimbot is always active\nAIMKEY: aimbot is active when key is down\nREVERSE: aimbot is disabled when key is down\nTOGGLE: pressing key toggles aimbot", false);
this->v_bEnabled = new CatVar(CV_SWITCH, "aimbot_enabled", "0", "Enable Aimbot", NULL,
this->v_bEnabled = new CatVar_DEPRECATED(CV_SWITCH, "aimbot_enabled", "0", "Enable Aimbot", NULL,
"Main aimbot switch");
this->v_eHitbox = new CatVar(CV_ENUM, "aimbot_hitbox", "0", "Hitbox", new CatEnum({
this->v_eHitbox = new CatVar_DEPRECATED(CV_ENUM, "aimbot_hitbox", "0", "Hitbox", new CatEnum({
"HEAD", "PELVIS", "SPINE 0", "SPINE 1", "SPINE 2", "SPINE 3", "UPPER ARM L", "LOWER ARM L",
"HAND L", "UPPER ARM R", "LOWER ARM R", "HAND R", "HIP L", "KNEE L", "FOOT L", "HIP R",
"KNEE R", "FOOT R" }),
Expand All @@ -38,65 +37,65 @@ Aimbot::Aimbot() {
"For example: Sniper rifles and Ambassador always aim at head, "
"rocket launchers aim at feet if enemy is standing and at body "
"if enemy is midair for easy airshots");*/
this->v_eHitboxMode = new CatVar(CV_ENUM, "aimbot_hitboxmode", "0", "Hitbox Mode", new CatEnum({
this->v_eHitboxMode = new CatVar_DEPRECATED(CV_ENUM, "aimbot_hitboxmode", "0", "Hitbox Mode", new CatEnum({
"AUTO-HEAD", "AUTO-CLOSEST", "STATIC"
}), "Defines hitbox selection mode");
this->v_bInterpolation = new CatVar(CV_SWITCH, "aimbot_interp", "1", "Latency interpolation", NULL,
this->v_bInterpolation = new CatVar_DEPRECATED(CV_SWITCH, "aimbot_interp", "1", "Latency interpolation", NULL,
"Enable basic latency interpolation");
this->v_bAutoShoot = new CatVar(CV_SWITCH, "aimbot_autoshoot", "1", "Autoshoot", NULL,
this->v_bAutoShoot = new CatVar_DEPRECATED(CV_SWITCH, "aimbot_autoshoot", "1", "Autoshoot", NULL,
"Shoot automatically when the target is locked, isn't compatible with 'Enable when attacking'");
this->v_bSilent = new CatVar(CV_SWITCH, "aimbot_silent", "1", "Silent", NULL,
this->v_bSilent = new CatVar_DEPRECATED(CV_SWITCH, "aimbot_silent", "1", "Silent", NULL,
"Your screen doesn't get snapped to the point where aimbot aims at");
this->v_bZoomedOnly = new CatVar(CV_SWITCH, "aimbot_zoomed", "1", "Zoomed only", NULL,
this->v_bZoomedOnly = new CatVar_DEPRECATED(CV_SWITCH, "aimbot_zoomed", "1", "Zoomed only", NULL,
"Don't autoshoot with unzoomed rifles");
/*this->v_iAutoShootCharge = CREATE_CV(
CV_FLOAT, "aimbot_autoshoot_charge", "0.0", "Autoshoot Charge");*/
this->v_iMaxRange = new CatVar(CV_INT, "aimbot_maxrange", "0", "Max distance", NULL,
this->v_iMaxRange = new CatVar_DEPRECATED(CV_INT, "aimbot_maxrange", "0", "Max distance", NULL,
"Max range for aimbot\n"
"900-1100 range is efficient for scout/widowmaker engineer", true, 4096.0f);
this->v_bRespectCloak = new CatVar(CV_SWITCH, "aimbot_respect_cloak", "1", "Respect cloak", NULL,
this->v_bRespectCloak = new CatVar_DEPRECATED(CV_SWITCH, "aimbot_respect_cloak", "1", "Respect cloak", NULL,
"Don't aim at invisible enemies");
this->v_bEnabledAttacking = new CatVar(CV_SWITCH, "aimbot_enable_attack_only", "0", "Active when attacking", NULL,
this->v_bEnabledAttacking = new CatVar_DEPRECATED(CV_SWITCH, "aimbot_enable_attack_only", "0", "Active when attacking", NULL,
"Basically makes Mouse1 an AimKey\n"
"Isn't compatible with AutoShoot");
this->v_bProjectileAimbot = new CatVar(CV_SWITCH, "aimbot_projectile", "1", "Projectile aimbot", NULL,
this->v_bProjectileAimbot = new CatVar_DEPRECATED(CV_SWITCH, "aimbot_projectile", "1", "Projectile aimbot", NULL,
"If you turn it off, aimbot won't try to aim "
"with projectile weapons");
this->v_fOverrideProjSpeed = new CatVar(CV_FLOAT, "aimbot_proj_speed", "0", "Projectile speed", NULL,
this->v_fOverrideProjSpeed = new CatVar_DEPRECATED(CV_FLOAT, "aimbot_proj_speed", "0", "Projectile speed", NULL,
"Force override projectile speed.\n"
"Can be useful for playing with MvM upgrades or on x10 servers "
"since there is no \"automatic\" projectile speed detection in "
"cathook. Yet.");
this->v_fOverrideProjGravity = new CatVar(CV_FLOAT, "aimbot_proj_gravity", "0", "Projectile gravity", NULL,
this->v_fOverrideProjGravity = new CatVar_DEPRECATED(CV_FLOAT, "aimbot_proj_gravity", "0", "Projectile gravity", NULL,
"Force override projectile gravity. Useful for debugging.", true);
this->v_fFOV = new CatVar(CV_FLOAT, "aimbot_fov", "0", "Aimbot FOV", NULL,
this->v_fFOV = new CatVar_DEPRECATED(CV_FLOAT, "aimbot_fov", "0", "Aimbot FOV", NULL,
"FOV range for aimbot to lock targets.\n"
"\"Smart FOV\" coming soon.", true, 360.0f);
this->v_fAutoShootHuntsmanCharge = new CatVar(CV_FLOAT, "aimbot_huntsman_charge", "0.5", "Huntsman autoshoot", NULL,
this->v_fAutoShootHuntsmanCharge = new CatVar_DEPRECATED(CV_FLOAT, "aimbot_huntsman_charge", "0.5", "Huntsman autoshoot", NULL,
"Minimum charge for autoshooting with huntsman.\n"
"Set it to 0.01 if you want to shoot as soon as you start "
"pulling the arrow", true, 1.0f, 0.01f);
this->v_kAimKey = new CatVar(CV_KEY, "aimbot_aimkey", "0", "Aimkey", NULL,
this->v_kAimKey = new CatVar_DEPRECATED(CV_KEY, "aimbot_aimkey", "0", "Aimkey", NULL,
"Aimkey. Look at Aimkey Mode too!");
this->v_ePriorityMode = new CatVar(CV_ENUM, "aimbot_prioritymode", "0", "Priority mode",
this->v_ePriorityMode = new CatVar_DEPRECATED(CV_ENUM, "aimbot_prioritymode", "0", "Priority mode",
new CatEnum({ "SMART", "FOV", "DISTANCE", "HEALTH" }),
"Priority mode.\n"
"SMART: Basically Auto-Threat. Will be tweakable eventually.\n"
"FOV, DISTANCE, HEALTH are self-explainable.\n"
"HEALTH picks the weakest enemy");
v_bAimBuildings = new CatVar(CV_SWITCH, "aimbot_buildings", "1", "Aim at buildings", NULL,
v_bAimBuildings = new CatVar_DEPRECATED(CV_SWITCH, "aimbot_buildings", "1", "Aim at buildings", NULL,
"Should aimbot aim at buildings?");
v_bActiveOnlyWhenCanShoot = new CatVar(CV_SWITCH, "aimbot_only_when_can_shoot", "1", "Active when can shoot", NULL,
v_bActiveOnlyWhenCanShoot = new CatVar_DEPRECATED(CV_SWITCH, "aimbot_only_when_can_shoot", "1", "Active when can shoot", NULL,
"Aimbot only activates when you can instantly shoot, sometimes making the autoshoot invisible for spectators");
//v_fSmoothAutoshootTreshold = new CatVar(CV_FLOAT, "aimbot_smooth_autoshoot_treshold", "0.01", "Smooth autoshoot");
//this->v_fSmoothRandomness = CREATE_CV(CV_FLOAT, "aimbot_smooth_randomness", "1.0", "Smooth randomness");
// this->v_iSeenDelay = new CatVar(CV_INT, "aimbot_delay", "0", "Aimbot delay", NULL,
// "# of ticks that should've passed since you can see any hitbox of enemy before aimbot will aim at them", true, 300.0f);
this->v_bProjPredVisibility = new CatVar(CV_SWITCH, "aimbot_proj_vispred", "0", "Projectile visibility prediction", NULL,
this->v_bProjPredVisibility = new CatVar_DEPRECATED(CV_SWITCH, "aimbot_proj_vispred", "0", "Projectile visibility prediction", NULL,
"If disabled, aimbot won't lock at enemies that are behind walls, but will come out soon");
this->v_bProjPredFOV = new CatVar(CV_SWITCH, "aimbot_proj_fovpred", "0", "Projectile FOV mode", NULL,
this->v_bProjPredFOV = new CatVar_DEPRECATED(CV_SWITCH, "aimbot_proj_fovpred", "0", "Projectile FOV mode", NULL,
"If disabled, FOV restrictions apply to current target position");
this->v_bAimAtTeammates = new CatVar(CV_SWITCH, "aimbot_teammates", "0", "Aim at teammates", NULL,
this->v_bAimAtTeammates = new CatVar_DEPRECATED(CV_SWITCH, "aimbot_teammates", "0", "Aim at teammates", NULL,
"Aim at your own team. Useful for HL2DM");
//this->v_bAdvancedSapperAim = new CatVar(CV_SWITCH, "aimbot_sapper", "1", "Advanced Sapper Aim", NULL,
// "Aim at buildings while holding sapper");
Expand Down
Loading

0 comments on commit 71628f8

Please sign in to comment.