diff --git a/src/entitycache.cpp b/src/entitycache.cpp index 82931150..def153eb 100644 --- a/src/entitycache.cpp +++ b/src/entitycache.cpp @@ -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; diff --git a/src/gui/ncc/Menu.cpp b/src/gui/ncc/Menu.cpp index c52741ab..50e65eaf 100644 --- a/src/gui/ncc/Menu.cpp +++ b/src/gui/ncc/Menu.cpp @@ -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" diff --git a/src/hacks/Aimbot.cpp b/src/hacks/Aimbot.cpp index f251b4da..e633f6c0 100644 --- a/src/hacks/Aimbot.cpp +++ b/src/hacks/Aimbot.cpp @@ -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; diff --git a/src/hacks/Bunnyhop.cpp b/src/hacks/Bunnyhop.cpp index c8ab0b5e..3fd80fe5 100644 --- a/src/hacks/Bunnyhop.cpp +++ b/src/hacks/Bunnyhop.cpp @@ -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; diff --git a/src/hacks/LagExploit.cpp b/src/hacks/LagExploit.cpp index 44dfe963..382e19e9 100644 --- a/src/hacks/LagExploit.cpp +++ b/src/hacks/LagExploit.cpp @@ -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; } -}}} +}}} \ No newline at end of file diff --git a/src/helpers.cpp b/src/helpers.cpp index 9ff472b9..7906febb 100644 --- a/src/helpers.cpp +++ b/src/helpers.cpp @@ -736,7 +736,7 @@ void RunEnginePrediction(IClientEntity* ent, CUserCmd *ucmd) { g_IGameMovement->FinishTrackPredictionErrors(reinterpret_cast(ent)); NET_VAR(ent, 4188, CUserCmd*) = nullptr; - + *g_PredictionRandomSeed = -1; g_GlobalVars->frametime = frameTime; g_GlobalVars->curtime = curTime; diff --git a/src/ipc.cpp b/src/ipc.cpp index ce4bce6c..7e1b9b23 100644 --- a/src/ipc.cpp +++ b/src/ipc.cpp @@ -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);