commit
fdba753ee5
@ -207,7 +207,7 @@ bool CachedEntity::IsVisible() {
|
||||
}
|
||||
|
||||
static CatEnum setupbones_time_enum({ "ZERO", "CURTIME", "LP SERVERTIME", "SIMTIME" });
|
||||
static CatVar setupbones_time(setupbones_time_enum, "setupbones_time", "3", "Setupbones", "Defines setupbones 4th argument, change it if your aimbot misses, idk!!");
|
||||
static CatVar setupbones_time(setupbones_time_enum, "setupbones_time", "1", "Setupbones", "Defines setupbones 4th argument, change it if your aimbot misses, idk!!");
|
||||
|
||||
matrix3x4_t* CachedEntity::GetBones() {
|
||||
static float bones_setup_time = 0.0f;
|
||||
|
@ -575,6 +575,7 @@ static const std::string list_tf2 = R"(
|
||||
"Follow Bot" [
|
||||
"Follow Bot Settings"
|
||||
"fb_bot"
|
||||
"fb_auto_playerlist"
|
||||
"fb_mimic_slot"
|
||||
"fb_always_medigun"
|
||||
"fb_autoclass"
|
||||
|
@ -543,26 +543,6 @@ bool Aim(CachedEntity* entity) {
|
||||
return true;
|
||||
}
|
||||
|
||||
/*Broken Autoshoot delay code
|
||||
//Ripped from AAAA timer
|
||||
float autoshoot_timer_start = 0.0f;
|
||||
float autoshoot_timer = 0.0f;
|
||||
|
||||
void UpdateAutoShootTimer() {
|
||||
const float& curtime = g_GlobalVars->curtime;
|
||||
if (autoshoot_timer_start > curtime) autoshoot_timer_start = 0.0f;
|
||||
if (!autoshoot_timer || !autoshoot_timer_start) {
|
||||
autoshoot_timer = autoshoot_delay;
|
||||
autoshoot_timer_start = curtime;
|
||||
} else {
|
||||
if (curtime - autoshoot_timer_start > autoshoot_timer) {
|
||||
cmd->buttons |= IN_ATTACK;
|
||||
autoshoot_timer_start = curtime;
|
||||
autoshoot_timer = autoshoot_delay;
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
bool UpdateAimkey() {
|
||||
static bool aimkey_flip = false;
|
||||
static bool pressed_last_tick = false;
|
||||
|
@ -34,7 +34,7 @@ void CreateMove() {
|
||||
}
|
||||
|
||||
if (!ground && jump) {
|
||||
if (iTicksLastJump++ >= 5) g_pUserCmd->buttons = g_pUserCmd->buttons &~ IN_JUMP;
|
||||
if (iTicksLastJump++ >= 9) g_pUserCmd->buttons = g_pUserCmd->buttons &~ IN_JUMP;
|
||||
}
|
||||
if (!jump) iTicksLastJump = 0;
|
||||
return;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/*
|
||||
/*
|
||||
* LagExploit.cpp
|
||||
*
|
||||
* Created on: May 7, 2017
|
||||
@ -108,4 +108,4 @@ void GetUserCmd(CUserCmd* cmd, int sequence_number) {
|
||||
m_nOutSequenceNr += (int)lagValue;
|
||||
}
|
||||
|
||||
}}}
|
||||
}}}
|
@ -736,7 +736,7 @@ void RunEnginePrediction(IClientEntity* ent, CUserCmd *ucmd) {
|
||||
g_IGameMovement->FinishTrackPredictionErrors(reinterpret_cast<CBasePlayer*>(ent));
|
||||
|
||||
NET_VAR(ent, 4188, CUserCmd*) = nullptr;
|
||||
|
||||
*g_PredictionRandomSeed = -1;
|
||||
g_GlobalVars->frametime = frameTime;
|
||||
g_GlobalVars->curtime = curTime;
|
||||
|
||||
|
@ -127,9 +127,9 @@ void StoreClientData() {
|
||||
data.friendid = g_ISteamUser->GetSteamID().GetAccountID();
|
||||
strncpy(data.name, g_ISteamFriends->GetPersonaName(), sizeof(data.name));
|
||||
}
|
||||
|
||||
static CatVar fbPlayUpdate(CV_SWITCH, "fb_auto_playerlist", "1", "Assign State", "Automaticly assign playerstates for bots");
|
||||
void UpdatePlayerlist() {
|
||||
if (peer) {
|
||||
if (peer && fbPlayUpdate) {
|
||||
for (unsigned i = 1; i < cat_ipc::max_peers; i++) {
|
||||
if (!peer->memory->peer_data[i].free) {
|
||||
playerlist::userdata& info = playerlist::AccessData(peer->memory->peer_user_data[i].friendid);
|
||||
|
Reference in New Issue
Block a user