What's new

Welcome to HvH Forum!

SignUp Now! Download Free HvH CS2/CS:GO Cheats, CFG, LUA/JS Scripts, And More!


SignUp Now!

Source Code Velocity sync via 6-th and 11-th layer from onetap.pasta v4

Newbie HvHer
User ID
13268
Messages
5
Reactions
4
Level
3
C++:
/* velocity interpolation here... */

/* some notes;
since i too lazy to do the last little shit i'll explain it here (something like a reader assignment?)
and so the last m_velocity_in_processing onetap sets to 5
after did the linear interpolation.
*/

if ( record->m_anim_layers.at( 6u ).m_weight == 0.f ) {
    record->m_velocity = {};
    record->m_velocity_in_processing = 1;
    
    return;
}

const auto loop_weight = record->m_anim_layers.at( 11u ).m_weight;
const auto average_speed = record->m_velocity.length_2d( );

if ( loop_weight > 0.f
   && loop_weight < 1.f ) {
    const auto modifier = ( 1.f - loop_weight ) * 0.35f;
    if ( modifier > 0.f
       && modifier < 1.f ) {
        const auto speed_as_portion_of_run_top_speed = ( ( modifier + 0.55f ) * m_max_wpn_speed ) / average_speed;
        
        record->m_velocity_in_processing = 4;
        record->m_velocity.x *= speed_as_portion_of_run_top_speed;
        record->m_velocity.y *= speed_as_portion_of_run_top_speed;
    }
}

const auto move_weight = record->m_anim_layers.at( 6u ).m_weight;
if ( move_weight >= 0.1f ) {
    if ( ( loop_weight <= 0.f
          || loop_weight >= 1.f )
          && average_speed >= 0.1f ) {
        const auto prev_loop_weight = previous->m_anim_layers.at( 11u ).m_weight;
        if ( loop_weight == prev_loop_weight
           && loop_weight > 0.f
           && loop_weight < 1.f ) {
            const auto duck_modifier = m_max_wpn_speed * 0.34f;
            const auto speed_multiplier = std::max( 0.f, ( m_max_wpn_speed * 0.52f ) - duck_modifier );
            
            const auto loop_duck_amount = 1.f - record->m_duck_amount;
            
            const auto speed_modifier = ( ( ( loop_duck_amount * speed_multiplier )
                                          + loop_duck_amount ) * loop_weight ) / average_speed;
            
            record->m_velocity_in_processing = 3;
            record->m_velocity.x *= speed_modifier;
            record->m_velocity.y *= speed_modifier;
        }
        
        if ( loop_weight > prev_loop_weight
           && loop_weight > 0.f
           && loop_weight < 1.f ) {
            const auto duck_modifier = m_max_wpn_speed * 0.34f;
            const auto speed_multiplier = std::max( 0.f, ( m_max_wpn_speed * 0.52f ) - duck_modifier );
            
            const auto loop_duck_amount = 1.f - record->m_duck_amount;
            
            const auto speed_modifier = ( ( ( loop_duck_amount * speed_multiplier )
                                          + loop_duck_amount ) * loop_weight ) / average_speed;
            
            record->m_velocity_in_processing = 2;
            record->m_velocity.x *= speed_modifier;
            record->m_velocity.y *= speed_modifier;
        }
    }
}
 
Newbie HvHer
User ID
166207
Messages
2
Reactions
0
Level
1
retard stop reposting out of the discord
 
Rookie HvHer
User ID
169440
Messages
54
Reactions
5
Level
13
why would u post this knowing it's wrong, is this just reaction farming?

u will never have a cheat nearly as good as onetap v4 was, even if u paste every single feature from inside of it, ur project structure will still be shit, ur compile times will be dogshit and ur aimbot will have shitty algorithms

give up
 
Rookie HvHer
User ID
6231
Messages
16
Reactions
5
Level
1
why would u post this knowing it's wrong, is this just reaction farming?

u will never have a cheat nearly as good as onetap v4 was, even if u paste every single feature from inside of it, ur project structure will still be shit, ur compile times will be dogshit and ur aimbot will have shitty algorithms

give up
:(
 
Rookie HvHer
User ID
169440
Messages
54
Reactions
5
Level
13
i reversed it
and posted it on discord and other forums
and asked my friend to post it here
tf who cares now
u reversed it from a public IDB, u did nothing more than clean up the pseudocode that violanes already named

stop reversing and pasting slop, the game is open source, but ofc, u wouldn't know what to look for because u've never made a succesful cheat in ur lifetime
 
Expert HvHer
User ID
63477
Messages
12
Reactions
283
Level
11
u reversed it from a public IDB, u did nothing more than clean up the pseudocode that violanes already named

stop reversing and pasting slop, the game is open source, but ofc, u wouldn't know what to look for because u've never made a succesful cheat in ur lifetime
yeah bro 100% but ur 90% of posts of that forum is useless shit(good luck learn source dated on 2017)
and about my idb its dated on the 2y ago like summer(when onetap update him security ofc)
 
Rookie HvHer
User ID
169440
Messages
54
Reactions
5
Level
13
yeah bro 100% but ur 90% of posts of that forum is useless shit(good luck learn source dated on 2017)
and about my idb its dated on the 2y ago like summer(when onetap update him security ofc)
the game is open source
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Top