Add Misc improvements
Log when Equipping an item failed Add Deadringer to ESP Conditions Fix Auto Deadringer not doing its job properly
This commit is contained in:
parent
5f3a1c35c9
commit
ee773ac88b
@ -382,6 +382,14 @@ static InitRoutine init([]() {
|
|||||||
if (!equip_queue.size())
|
if (!equip_queue.size())
|
||||||
equip = false;
|
equip = false;
|
||||||
}
|
}
|
||||||
|
else if (accept_time.check(10000) && cooldown_2.test_and_set(500))
|
||||||
|
{
|
||||||
|
if (equip_queue.size())
|
||||||
|
{
|
||||||
|
logging::Info("Equipping failed!");
|
||||||
|
equip_queue.clear();
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"achievement_autounlock");
|
"achievement_autounlock");
|
||||||
|
@ -63,7 +63,7 @@ static void CreateMove()
|
|||||||
continue;
|
continue;
|
||||||
if (ent->m_bCritProjectile() && ent->m_flDistance() <= 1000.0f)
|
if (ent->m_bCritProjectile() && ent->m_flDistance() <= 1000.0f)
|
||||||
current_user_cmd->buttons |= IN_ATTACK2;
|
current_user_cmd->buttons |= IN_ATTACK2;
|
||||||
if (ent->m_flDistance() < 300.0f)
|
else if (ent->m_flDistance() < 300.0f)
|
||||||
current_user_cmd->buttons |= IN_ATTACK2;
|
current_user_cmd->buttons |= IN_ATTACK2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1134,7 +1134,14 @@ void _FASTCALL ProcessEntity(CachedEntity *ent)
|
|||||||
const auto &clr = colors::EntityF(ent);
|
const auto &clr = colors::EntityF(ent);
|
||||||
// Invis
|
// Invis
|
||||||
if (IsPlayerInvisible(ent))
|
if (IsPlayerInvisible(ent))
|
||||||
|
{
|
||||||
|
if (HasCondition<TFCond_DeadRingered>(ent))
|
||||||
|
AddEntityString(ent, "*DEADRINGERED*", colors::FromRGBA8(178.0f, 0.0f, 255.0f, 255.0f));
|
||||||
|
else
|
||||||
AddEntityString(ent, "*CLOAKED*", colors::FromRGBA8(220.0f, 220.0f, 220.0f, 255.0f));
|
AddEntityString(ent, "*CLOAKED*", colors::FromRGBA8(220.0f, 220.0f, 220.0f, 255.0f));
|
||||||
|
}
|
||||||
|
if (CE_BYTE(ent, netvar.m_bFeignDeathReady))
|
||||||
|
AddEntityString(ent, "*DEADRINGER OUT*", colors::FromRGBA8(178.0f, 0.0f, 255.0f, 255.0f));
|
||||||
// Uber/Bonk
|
// Uber/Bonk
|
||||||
if (IsPlayerInvulnerable(ent))
|
if (IsPlayerInvulnerable(ent))
|
||||||
AddEntityString(ent, "*INVULNERABLE*");
|
AddEntityString(ent, "*INVULNERABLE*");
|
||||||
|
Reference in New Issue
Block a user