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 Supremacy jumpscout autostop

Expert HvHer
User ID
59937
Messages
50
Reactions
109
Level
22
This is basically the first thing I code in c++ (I'm a java developer)
I didn't code it in default supremacy but in a different supremacy based cheat, almost same thing u get the idea

In some supremacy pastes like eax and taphack there's a feature called "full stop in air" or "instant stop in air" this shit is awesome, I hit some crazy high velocity jumpscouts with it, gives dopamine like call of duty 360 noscopes
However machine is better than human, I failed alot manually pressing the bind when reaching the apex/vertex of the jump (when scout is fully accurate)

Here's something that automates it (the supremacy paste i based this off already had in air autostop, but its garbage like basically all cheats, i didn't touch nor even read its code)

And the "isAtJumpApex()" setting i asked chatgpt to do it before on lua because i didn't figure out the math (previously i just did if velocity.z = 0 but that rarely was true)
this code i ported from the lua script chatgpt and i made 1 month ago into c++

Currently only issue is that it doesn't commit to stopping, idk how to explain
I'll fix it and update this post

ALL CODE BELOW

To view the content, you need to Sign In .
fixed code not showing lol
To view the content, you need to Sign In .
To view the content, you need to Sign In .
 
Last edited by a moderator:
ind.text = "LC" ;
User ID
44600
Messages
212
Reactions
55
Level
22
youre right this is a pretty difficuilt feature to make, it took me almost 2 months to implement it becos i couldnt figure out the right velocity values per weapon and character model, good luck with it m8 and always believe in science :^)
 
Newbie HvHer
User ID
95657
Messages
4
Reactions
1
Level
0
youre right this is a pretty difficuilt feature to make, it took me almost 2 months to implement it becos i couldnt figure out the right velocity values per weapon and character model, good luck with it m8 and always believe in science :^)
vouch
 
Expert HvHer
User ID
59937
Messages
50
Reactions
109
Level
22
youre right this is a pretty difficuilt feature to make, it took me almost 2 months to implement it becos i couldnt figure out the right velocity values per weapon and character model, good luck with it m8 and always believe in science :^)
2 months?? ok this gives me motivation
i've been going through the cycle of "yaay finally works, but strafe not working!!, or "yaay finally works but r@pes fps" and then some c++ errors i don't understand bcs im not femiliar with the language, the logic is there and it's correct, just needs cleaning
 
Newbie HvHer
User ID
6231
Messages
10
Reactions
4
Level
1
high asf atm but lmk if this is good or trash


boss apex jump geolocator:
// call per frame
void boss_jump_apex()
{
    int current_y = abs(local_player.pos.y);
    static int last_y = 0;
    static bool check_for_apex = false;

    if (bJumped)
    {
        last_y = current_y;
        check_for_apex = true;
        return;
    }

    if (!check_for_apex)
        return

    if (current_y > last_y)
    {
        last_y = current_y;
        return;
    }
    else
    {
        check_for_apex = false;

        // apex
        // ...
    }
}
 
Expert HvHer
User ID
59937
Messages
50
Reactions
109
Level
22
high asf atm but lmk if this is good or trash


boss apex jump geolocator:
// call per frame
void boss_jump_apex()
{
    int current_y = abs(local_player.pos.y);
    static int last_y = 0;
    static bool check_for_apex = false;

    if (bJumped)
    {
        last_y = current_y;
        check_for_apex = true;
        return;
    }

    if (!check_for_apex)
        return

    if (current_y > last_y)
    {
        last_y = current_y;
        return;
    }
    else
    {
        check_for_apex = false;

        // apex
        // ...
    }
}
in csgo the vertical axis is actually Z not y
also i don't understand the logic? youre using position not velocity which means you'd have to get the original pos and compare height
 
Expert HvHer
User ID
59937
Messages
50
Reactions
109
Level
22
To view the content, you need to Sign In .
fixed code not showing lol
To view the content, you need to Sign In .
To view the content, you need to Sign In .
make sure to return; early in strafe if shouldAIrStop is true, to debug you should add indicators, its much better than console
also reset foundTarget on round start
this is the first c++ code i've written, its not great but it works, not as good as i hoped but it works

protip: make something in your CheckHitChance method to devide the air hitchance by 2 or any factor when we are at apex, to avoid having to go low enough in air hitchance that cheat just no spreads and also avoiding cheat not shooting
 
Last edited:
Wine Lover
Forum Contributor
User ID
7213
Messages
336
Reactions
1,176
Level
74
I doubt that's the first time you coded in c++ or ever touched a source (game engine) game, or even first time you ever saw supremacy in your life, it's pretty solid for someone that never ever touched c++ or touched source engine
 
Newbie HvHer
User ID
6231
Messages
10
Reactions
4
Level
1
in csgo the vertical axis is actually Z not y
also i don't understand the logic? youre using position not velocity which means you'd have to get the original pos and compare height
monkey_drawing.png
 
Expert HvHer
User ID
59937
Messages
50
Reactions
109
Level
22
I doubt that's the first time you coded in c++ or ever touched a source (game engine) game, or even first time you ever saw supremacy in your life, it's pretty solid for someone that never ever touched c++ or touched source engine
it is lol, i did read alot of code before but thats basically the first time i wrote c++, i don't even know how to do hello world
thank you
 
Wine Lover
Forum Contributor
User ID
7213
Messages
336
Reactions
1,176
Level
74
it is lol, i did read alot of code before but thats basically the first time i wrote c++, i don't even know how to do hello world
thank you
dang nice job then m8
 
Newbie HvHer
User ID
110840
Messages
6
Reactions
0
Level
0
i reacted but it doesnt show me the src idk
 
Expert HvHer
User ID
59937
Messages
50
Reactions
109
Level
22
i reacted but it doesnt show me the src idk
yeah my bad first time making a post
that's the correct message with the code
 

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