From de3eea3bc2f62b5258f3444ad7a14c503301f12c Mon Sep 17 00:00:00 2001 From: boris Date: Wed, 28 Nov 2018 10:59:30 +1300 Subject: okay now this is epic --- internal_rewrite/create_move.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'internal_rewrite/create_move.cpp') diff --git a/internal_rewrite/create_move.cpp b/internal_rewrite/create_move.cpp index 097c7f4..923513f 100644 --- a/internal_rewrite/create_move.cpp +++ b/internal_rewrite/create_move.cpp @@ -109,10 +109,10 @@ bool __fastcall hooks::create_move( void* ecx_, void* edx_, float input_sample_f auto cl = g_csgo.m_global_state->get_client_state( ); if( g_cheat.m_lagmgr.get_state( ) ) { - //g_ctx.m_cmd_numbers.push_back( ucmd->m_cmd_nr ); + g_ctx.m_cmd_numbers.push_back( ucmd->m_cmd_nr ); } else { - /*int choked = cl->m_netchannel->m_nChokedPackets; + int choked = cl->m_netchannel->m_nChokedPackets; printf( "choked: %d\n", choked ); cl->m_netchannel->m_nChokedPackets = 0; @@ -120,7 +120,7 @@ bool __fastcall hooks::create_move( void* ecx_, void* edx_, float input_sample_f send_datagram_o( cl->m_netchannel, 0, 0 ); cl->m_netchannel->m_nOutSequenceNr--; - cl->m_netchannel->m_nChokedPackets = choked;*/ + cl->m_netchannel->m_nChokedPackets = choked; } g_cheat.m_ragebot.m_antiaim->on_runcommand( ); -- cgit v1.2.3 From a7cb7b5eac107af8eda01b7755d2384fe9083c19 Mon Sep 17 00:00:00 2001 From: boris Date: Wed, 28 Nov 2018 11:15:05 +1300 Subject: zjarany --- internal_rewrite/create_move.cpp | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'internal_rewrite/create_move.cpp') diff --git a/internal_rewrite/create_move.cpp b/internal_rewrite/create_move.cpp index 923513f..a59930e 100644 --- a/internal_rewrite/create_move.cpp +++ b/internal_rewrite/create_move.cpp @@ -61,22 +61,16 @@ bool __fastcall hooks::create_move( void* ecx_, void* edx_, float input_sample_f last_frame = g_csgo.m_globals->m_framecount; g_cheat.m_legitbot.sample_angle_data( ucmd->m_viewangles ); - - // Okay, this implementation was REALLY fucking gay. - // g_cheat.m_prediction.local_pred( ucmd ); - // Yeah. + // u forgot to put this back in the right place after u removed + // my epic engine prediction that set seed to the player ptr + g_cheat.m_prediction.run_command(ucmd); g_cheat.m_movement( ucmd ); //SUPER SECRET EXPLOIT DO NOT LEAK if( g_settings.misc.no_crouch_cooldown ) ucmd->m_buttons |= IN_BULLRUSH; - // This should account for the majority of FPS related bugs. - - // Actual implementation of RunCommand. - g_cheat.m_prediction.run_command( ucmd ); - g_cheat.m_extra.auto_revolver( ucmd ); g_cheat.m_legitbot.m_lagcomp( ucmd ); @@ -90,8 +84,6 @@ bool __fastcall hooks::create_move( void* ecx_, void* edx_, float input_sample_f g_cheat.m_extra.no_recoil( ucmd ); - // Restores globals. - g_cheat.m_move_rec( ucmd ); g_cheat.m_visuals.radar( ); @@ -113,7 +105,7 @@ bool __fastcall hooks::create_move( void* ecx_, void* edx_, float input_sample_f } else { int choked = cl->m_netchannel->m_nChokedPackets; - printf( "choked: %d\n", choked ); + //printf( "choked: %d\n", choked ); cl->m_netchannel->m_nChokedPackets = 0; -- cgit v1.2.3