diff options
| author | boris <wzn@moneybot.cc> | 2018-11-28 11:15:05 +1300 |
|---|---|---|
| committer | boris <wzn@moneybot.cc> | 2018-11-28 11:15:05 +1300 |
| commit | a7cb7b5eac107af8eda01b7755d2384fe9083c19 (patch) | |
| tree | 24b3ce4e05489e96d6a6d20a7c517202e40331c3 | |
| parent | de3eea3bc2f62b5258f3444ad7a14c503301f12c (diff) | |
zjarany
| -rw-r--r-- | internal_rewrite/create_move.cpp | 16 | ||||
| -rw-r--r-- | internal_rewrite/packet_start.cpp | 3 |
2 files changed, 7 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; diff --git a/internal_rewrite/packet_start.cpp b/internal_rewrite/packet_start.cpp index b3aa103..a5c9db4 100644 --- a/internal_rewrite/packet_start.cpp +++ b/internal_rewrite/packet_start.cpp @@ -7,6 +7,9 @@ void __fastcall hooks::packet_start( void* ecx, void* edx, int in_seq, int out_a *( int* )( uintptr_t( ecx ) + 0x4cb4 ) = out_ack;
}
+ // okay now this is epic
+ //printf("%08x -> %08x\n", &hooks::packet_start, hooks::packet_start_o);
+
for( auto cmd_number = g_ctx.m_cmd_numbers.begin( ); cmd_number != g_ctx.m_cmd_numbers.end( ); ) {
if( *cmd_number == out_ack ) {
auto cl = ( uintptr_t )( ecx );
|
