summaryrefslogtreecommitdiff
path: root/internal_rewrite/create_move.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'internal_rewrite/create_move.cpp')
-rw-r--r--internal_rewrite/create_move.cpp22
1 files changed, 7 insertions, 15 deletions
diff --git a/internal_rewrite/create_move.cpp b/internal_rewrite/create_move.cpp
index 097c7f4..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( );
@@ -109,18 +101,18 @@ 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;
- printf( "choked: %d\n", choked );
+ int choked = cl->m_netchannel->m_nChokedPackets;
+ //printf( "choked: %d\n", choked );
cl->m_netchannel->m_nChokedPackets = 0;
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( );