Update LagExploit.cpp
This commit is contained in:
parent
91aa68f1bc
commit
2e22b26443
@ -32,7 +32,6 @@ CatVar value(CV_INT, "se_value", "900", "Sequence exploit value",
|
|||||||
|
|
||||||
CatCommand do_lagexploit("se_do", "Sequence exploit (for use in scripts)",
|
CatCommand do_lagexploit("se_do", "Sequence exploit (for use in scripts)",
|
||||||
[]() { AddExploitTicks(6); });
|
[]() { AddExploitTicks(6); });
|
||||||
AimbotCalculatedData_s calculated_data_array[2048]{};
|
|
||||||
int exticks = 0;
|
int exticks = 0;
|
||||||
void AddExploitTicks(int ticks)
|
void AddExploitTicks(int ticks)
|
||||||
{
|
{
|
||||||
@ -58,19 +57,6 @@ static CatVar infinite_packs(CV_SWITCH, "infinite_packs", "0",
|
|||||||
"Infinite Pickups",
|
"Infinite Pickups",
|
||||||
"Activate sequence exploit when standing on "
|
"Activate sequence exploit when standing on "
|
||||||
"pickups while having not full HP/Ammo");
|
"pickups while having not full HP/Ammo");
|
||||||
|
|
||||||
bool VischeckPredictedEntity(CachedEntity *entity)
|
|
||||||
{
|
|
||||||
// Retrieve predicted data
|
|
||||||
AimbotCalculatedData_s &cd = calculated_data_array[entity->m_IDX];
|
|
||||||
if (cd.vcheck_tick == tickcount)
|
|
||||||
return cd.visible;
|
|
||||||
|
|
||||||
// Update info
|
|
||||||
cd.vcheck_tick = tickcount;
|
|
||||||
cd.visible = IsEntityVectorVisible(entity, entity->m_vecOrigin);
|
|
||||||
return cd.visible;
|
|
||||||
}
|
|
||||||
void CreateMove()
|
void CreateMove()
|
||||||
{
|
{
|
||||||
if (CE_BAD(LOCAL_E))
|
if (CE_BAD(LOCAL_E))
|
||||||
|
Reference in New Issue
Block a user