From 1bb1688f58bee00f37f28c2c747dac2bdca7264e Mon Sep 17 00:00:00 2001 From: navewindre Date: Mon, 26 Nov 2018 20:42:00 +0100 Subject: dsad --- internal_rewrite/net_showfragments.cpp | 2 +- internal_rewrite/ragebot_antiaim.cpp | 3 ++- internal_rewrite/visual_local.cpp | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) (limited to 'internal_rewrite') diff --git a/internal_rewrite/net_showfragments.cpp b/internal_rewrite/net_showfragments.cpp index 60ddbc9..93e5db0 100644 --- a/internal_rewrite/net_showfragments.cpp +++ b/internal_rewrite/net_showfragments.cpp @@ -18,7 +18,7 @@ int __fastcall hooks::net_showfragments_get_int( void* ecx_, void* edx_ ) { auto nci = g_csgo.m_engine( )->GetNetChannelInfo( ); - if ( nci && ( ( g_settings.misc.net_fakeping_amount( ) && g_settings.misc.net_fakeping_active ) || nci->GetLatency( 1 ) > 0.06f ) && g_ctx.m_local ) { + if ( nci && ( nci->GetLatency( 1 ) > 0.06f ) && g_ctx.m_local ) { if ( stack.return_address( ) == ret_readsubchanneldata ) { auto e = ( uint32_t* ) ( nc ); auto data = &e [ 0x54 ]; diff --git a/internal_rewrite/ragebot_antiaim.cpp b/internal_rewrite/ragebot_antiaim.cpp index a58897e..bb9507f 100644 --- a/internal_rewrite/ragebot_antiaim.cpp +++ b/internal_rewrite/ragebot_antiaim.cpp @@ -706,9 +706,10 @@ namespace features } } + on_ground = g_ctx.m_local->get_animstate( )->m_bOnGround; + if( g_ctx.m_local->m_fFlags( ) & FL_ONGROUND ) { last_onground = g_ctx.pred_time( ); - on_ground = true; } ticks++; diff --git a/internal_rewrite/visual_local.cpp b/internal_rewrite/visual_local.cpp index 88e9c60..119c352 100644 --- a/internal_rewrite/visual_local.cpp +++ b/internal_rewrite/visual_local.cpp @@ -37,7 +37,7 @@ namespace features static float incoming_latency; if( g_settings.misc.net_fakelag ) { - float desired_latency = incoming_latency + g_settings.misc.net_fakeping_amount * 0.001f; + float desired_latency = incoming_latency + 0.15f; if( g_settings.misc.net_fakelag == 4 ) desired_latency = 1.0f; -- cgit v1.2.3