diff --git a/src/hacks/AutoBackstab.cpp b/src/hacks/AutoBackstab.cpp index 7f1975bf..76b7685d 100644 --- a/src/hacks/AutoBackstab.cpp +++ b/src/hacks/AutoBackstab.cpp @@ -11,6 +11,7 @@ #include "hacks/Aimbot.hpp" #include "hacks/Trigger.hpp" #include "hacks/AntiAntiAim.hpp" +#include "PlayerTools.hpp" namespace hacks::tf2::autobackstab { @@ -147,6 +148,9 @@ void CreateMove() if (target == LOCAL_E || target->m_iTeam() == LOCAL_E->m_iTeam() || !target->m_bAlivePlayer() || target->m_Type() != ENTITY_PLAYER) continue; + if (player_tools::shouldTarget(target) != + player_tools::IgnoreReason::DO_NOT_IGNORE) + continue; if (target->hitboxes.GetHitbox(spine_3)->center.DistTo( g_pLocalPlayer->v_Eye) <= 200.0f) { @@ -177,6 +181,9 @@ void CreateMove() if (target == LOCAL_E || target->m_iTeam() == LOCAL_E->m_iTeam() || !target->m_bAlivePlayer() || target->m_Type() != ENTITY_PLAYER) return; + if (player_tools::shouldTarget(target) != + player_tools::IgnoreReason::DO_NOT_IGNORE) + return; // Check if besttick distance is < 200.0f if (backtrack::headPositions[target->m_IDX][backtrack::BestTick] .hitboxes.at(spine_3) diff --git a/src/hacks/Spam.cpp b/src/hacks/Spam.cpp index 659423cd..5c85385d 100644 --- a/src/hacks/Spam.cpp +++ b/src/hacks/Spam.cpp @@ -390,9 +390,9 @@ bool isActive() } const std::vector builtin_default = { - "cathook - more fun than a ball of yarn!", "GNU/Linux is the best OS!", - "visit youtube.com/c/nullifiedcat for more information!", - "cathook - free tf2 cheat!", "cathook - ca(n)t stop me meow!" + "Cathook - more fun than a ball of yarn!", "GNU/Linux is the best OS!", + "Visit https://github.com/nullworks/cathook for more information!", + "Cathook - Free and Open-Source tf2 cheat!", "Cathook - ca(n)t stop me meow!" }; const std::vector builtin_lennyfaces = { "( ͡° ͜ʖ ͡°)", "( ͡°( ͡° ͜ʖ( ͡° ͜ʖ ͡°)ʖ ͡°) ͡°)",