diff options
| -rw-r--r-- | internal_rewrite/net_showfragments.cpp | 2 | ||||
| -rw-r--r-- | internal_rewrite/ragebot_antiaim.cpp | 3 | ||||
| -rw-r--r-- | internal_rewrite/visual_local.cpp | 2 |
3 files changed, 4 insertions, 3 deletions
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;
|
