diff options
Diffstat (limited to 'cheat/internal_rewrite/lag_mgr.cpp')
| -rw-r--r-- | cheat/internal_rewrite/lag_mgr.cpp | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/cheat/internal_rewrite/lag_mgr.cpp b/cheat/internal_rewrite/lag_mgr.cpp index 8f293e7..092cfe1 100644 --- a/cheat/internal_rewrite/lag_mgr.cpp +++ b/cheat/internal_rewrite/lag_mgr.cpp @@ -51,6 +51,9 @@ namespace features //2017 sucked //i hope 2018 goes better + //2018 sucked + //but 2019 will be better + if( !g_settings.rage.fakelag.mode( ) || !g_settings.rage.fakelag.ticks( ) ) { m_breaking_lc = false; @@ -63,9 +66,9 @@ namespace features auto weapon = g_ctx.m_local->get_weapon( ); - if( g_cheat.m_ragebot.m_antiaim->is_fakewalking( ) ) { - return; - } + //if( g_cheat.m_ragebot.m_antiaim->is_fakewalking( ) ) { + // return; + //} bool moving = g_ctx.m_local->m_vecVelocity( ).length2d( ) > 0.f; @@ -115,9 +118,13 @@ namespace features } } + bool send = true; static bool was_onground{ }; + if( !moving && ( g_ctx.m_local->m_fFlags( ) & FL_ONGROUND ) && g_settings.rage.anti_aim( ) && g_settings.rage.fake_yaw ) + send = false; + if( settings.in_move && ( g_ctx.m_local->m_fFlags( ) & FL_ONGROUND ) && moving ) { send = false; } @@ -206,7 +213,8 @@ namespace features } } - *m_sendpacket = !( get_choked( ) < 10 ); + *m_sendpacket = send || force_send; + if( *m_sendpacket ) { m_breaking_lc = delta.length2d( ) > 64.f; last_rand = ( 1.f + math::random_number( -settings.fluctuate, settings.fluctuate( ) ) * 0.01f ); |
