Merge branch 'master' of https://github.com/nullifiedcat/cathook
This commit is contained in:
commit
443f493c22
@ -100,7 +100,9 @@ void update_catbot_list()
|
|||||||
|
|
||||||
info.name[31] = 0;
|
info.name[31] = 0;
|
||||||
if (strcasestr(info.name, "cat-bot") ||
|
if (strcasestr(info.name, "cat-bot") ||
|
||||||
strcasestr(info.name, "just disable vac tf"))
|
strcasestr(info.name, "just disable vac tf") ||
|
||||||
|
strcasestr(info.name, "raul.garcia") ||
|
||||||
|
strcasestr(info.name, "zCat"))
|
||||||
{
|
{
|
||||||
if (human_detecting_map.find(info.friendsID) == human_detecting_map.end())
|
if (human_detecting_map.find(info.friendsID) == human_detecting_map.end())
|
||||||
{
|
{
|
||||||
|
@ -785,7 +785,7 @@ void WalkTo(const Vector &vector)
|
|||||||
{
|
{
|
||||||
|
|
||||||
// Check if the local player is not moving
|
// Check if the local player is not moving
|
||||||
if (CE_VECTOR(LOCAL_E, netvar.vVelocity).IsZero(1.0f))
|
if (CE_VECTOR(LOCAL_E, netvar.vVelocity).IsZero(3.5f))
|
||||||
{
|
{
|
||||||
// Set idle time if we havent already
|
// Set idle time if we havent already
|
||||||
if (!idle_time)
|
if (!idle_time)
|
||||||
@ -802,7 +802,7 @@ void WalkTo(const Vector &vector)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
idle_time = 0;
|
idle_time++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user