summaryrefslogtreecommitdiff
path: root/internal_rewrite/create_move.cpp
diff options
context:
space:
mode:
authorboris <wzn@moneybot.cc>2018-11-28 11:15:05 +1300
committerboris <wzn@moneybot.cc>2018-11-28 11:15:05 +1300
commita7cb7b5eac107af8eda01b7755d2384fe9083c19 (patch)
tree24b3ce4e05489e96d6a6d20a7c517202e40331c3 /internal_rewrite/create_move.cpp
parentde3eea3bc2f62b5258f3444ad7a14c503301f12c (diff)
zjarany
Diffstat (limited to 'internal_rewrite/create_move.cpp')
-rw-r--r--internal_rewrite/create_move.cpp16
1 files changed, 4 insertions, 12 deletions
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;