Welcome to hackvshack.net Forum!
Download Free HvH CS2/CS:GO Cheats, CFG, LUA/JS Scripts, and More!
Register

C++ Cheat Skeet full source

ItsKur

Newbie HvHer
User ID:
84875
Messages:
8
Reactions:
2
Badges:
5
REP:
−0/0+
Level:
46
SS:
1794776487101.webp

luas work and whatnot, ragebot is nice but prediction and resolver are worse. It is, I think, AI reversed so take it with a grain of salt. If you use csgo_gc you'll have to patch it yourself. Happy pasting

GitHub:
 

Password for .zip file is hvh.net

Last edited by a moderator:
hmm i wonder how long the ai was reversing it and what ai was it
claude most likely,claude uses like 15 subagents in order to get everything right in like 7 sessions,of course for this you need either 100e sub or 200e
 
This is missing quite a few updates to both the animation fixing system and the animation layer system that gamesense absolute had implemented post Jan 2023, snippet:


This is overly simplistic resolver detection. It relies on hardcoded thresholds and misses low-delta behaviour entirely. This corresponds to an older Skeet patch and is missing several subsequent improvements to the resolver and animation detection logic.

Following snippet will not neatly fit into the code as provided but logic should be clear, this logic should be ran while updating entity lagcomp on each tick.

resoler snippets:
Expand Collapse Copy
if ( prev &&curRecord->velocity.Length2D() > 0.3) //layers[ANIMATION_LAYER_MOVEMENT_MOVE].m_flWeight > 0.f)

    {

        //Player is moving so lets extract some data from animlayers!


        bool shouldUpdate = false;


        if (prev && !((int)curRecord->layers[ANIMATION_LAYER_LEAN].m_flWeight * 1000.f) && (fabsf(curRecord->layers[ANIMATION_LAYER_MOVEMENT_MOVE].m_flWeight - prev->layers[ANIMATION_LAYER_MOVEMENT_MOVE].m_flWeight) <= 0.01f)) {

            if (curRecord->layers[ANIMATION_LAYER_MOVEMENT_MOVE].m_flPlaybackRate > 0.f && !((int)curRecord->layers[ANIMATION_LAYER_LEAN].m_flWeight * 1000.f)) {

                shouldUpdate = true;

            }

        }


        float mCycleDelta = -FLT_MAX;

        float a_mCycleDelta[5];

        int side = 0;

        float_t flLeftDelta;

        float_t flLowLeftDelta;

        float_t flLowRightDelta;

        float_t flRightDelta;

        float_t flCenterDelta;


        float best_move = FLT_MAX;

        float best_move2 = FLT_MAX;

        float best_move_delta = FLT_MAX;

        float move_distance = curRecord->velocity.Length2D() / (curRecord->layers[ANIMATION_LAYER_MOVEMENT_MOVE].m_flPlaybackRate / interfaces.global_vars->interval_per_tick);


           //estiminate server torso yawbody_yaw pose from  GetSequenceMoveDist_2 here


            float_t flLeftDelta = fabsf(curRecord->layer6_b.m_flPlaybackRate - curRecord->layer6_n.m_flPlaybackRate);

            float_t flLowLeftDelta = fabsf(curRecord->layer6_b.m_flPlaybackRate - curRecord->layer6_nl.m_flPlaybackRate);

            float_t flLowRightDelta = fabsf(curRecord->layer6_b.m_flPlaybackRate - curRecord->layer6_pl.m_flPlaybackRate);

            float_t flRightDelta = fabsf(curRecord->layer6_b.m_flPlaybackRate - curRecord->layer6_p.m_flPlaybackRate);

            float_t flCenterDelta = fabsf(curRecord->layer6_b.m_flPlaybackRate - curRecord->layer6_c.m_flPlaybackRate);

            bool inSlot = false;


            if (flCenterDelta < flRightDelta || flLeftDelta < flRightDelta || (signed int)(float)(flRightDelta * 1000.0))
            {
                if (flCenterDelta >= flLeftDelta && flRightDelta > flLeftDelta && !(signed int)(float)(flLeftDelta * 1000.0))
                {
                    inSlot = true;
                    // Success, record is desyncing towards positive yaw
                    if (flLowRightDelta > flRightDelta) {
                        FreestandSide[idx] = 1;
                        ResolverMode[idx] += crypt_str("I");
                        //estimateDelta = 25.f;
                        LastAppliedAngle3[idx] = true;
                    }

                    else {
                        FreestandSide[idx] = 1;
                        LastAppliedAngle3[idx] = false;
                    }
                }
            }

            if (flCenterDelta < flLeftDelta || flRightDelta < flLeftDelta || (signed int)(float)(flLeftDelta * 1000.0)) {
                if (!inSlot) {
                    if (flCenterDelta >= flRightDelta && flLeftDelta > flRightDelta && !(signed int)(float)(flRightDelta * 1000.0)) {
                        inSlot = true;
                        if (flLowLeftDelta > flLeftDelta) {
                            FreestandSide[idx] = -1;
                            LastAppliedAngle3[idx] = false;
                        }
                        else {
                            FreestandSide[idx] = -1;
                            LastAppliedAngle3[idx] = true;
                        }
                    }
                }
            }
            if (!inSlot) {
                if (flCenterDelta >= flLeftDelta && flCenterDelta >= flRightDelta && flCenterDelta >= flLowRightDelta && flCenterDelta >= flLowLeftDelta) {
                    FreestandSide[idx] = 0;
                    LastAppliedAngle2[idx] = crypt_str("CENTRE");
                }
            }
        }
 
Last edited:
This is missing quite a few updates to both the animation fixing system and the animation layer system that gamesense absolute had implemented post Jan 2023, snippet:


This is overly simplistic resolver detection. It relies on hardcoded thresholds and misses low-delta behaviour entirely. This corresponds to an older Skeet patch and is missing several subsequent improvements to the resolver and animation detection logic.

Following snippet will not neatly fit into the code as provided but logic should be clear, this logic should be ran while updating entity lagcomp on each tick.

resoler snippets:
Expand Collapse Copy
if ( prev &&curRecord->velocity.Length2D() > 0.3) //layers[ANIMATION_LAYER_MOVEMENT_MOVE].m_flWeight > 0.f)

    {

        //Player is moving so lets extract some data from animlayers!


        bool shouldUpdate = false;


        if (prev && !((int)curRecord->layers[ANIMATION_LAYER_LEAN].m_flWeight * 1000.f) && (fabsf(curRecord->layers[ANIMATION_LAYER_MOVEMENT_MOVE].m_flWeight - prev->layers[ANIMATION_LAYER_MOVEMENT_MOVE].m_flWeight) <= 0.01f)) {

            if (curRecord->layers[ANIMATION_LAYER_MOVEMENT_MOVE].m_flPlaybackRate > 0.f && !((int)curRecord->layers[ANIMATION_LAYER_LEAN].m_flWeight * 1000.f)) {

                shouldUpdate = true;

            }

        }


        float mCycleDelta = -FLT_MAX;

        float a_mCycleDelta[5];

        int side = 0;

        float_t flLeftDelta;

        float_t flLowLeftDelta;

        float_t flLowRightDelta;

        float_t flRightDelta;

        float_t flCenterDelta;


        float best_move = FLT_MAX;

        float best_move2 = FLT_MAX;

        float best_move_delta = FLT_MAX;

        float move_distance = curRecord->velocity.Length2D() / (curRecord->layers[ANIMATION_LAYER_MOVEMENT_MOVE].m_flPlaybackRate / interfaces.global_vars->interval_per_tick);


           //estiminate server torso yawbody_yaw pose from  GetSequenceMoveDist_2 here


            float_t flLeftDelta = fabsf(curRecord->layer6_b.m_flPlaybackRate - curRecord->layer6_n.m_flPlaybackRate);

            float_t flLowLeftDelta = fabsf(curRecord->layer6_b.m_flPlaybackRate - curRecord->layer6_nl.m_flPlaybackRate);

            float_t flLowRightDelta = fabsf(curRecord->layer6_b.m_flPlaybackRate - curRecord->layer6_pl.m_flPlaybackRate);

            float_t flRightDelta = fabsf(curRecord->layer6_b.m_flPlaybackRate - curRecord->layer6_p.m_flPlaybackRate);

            float_t flCenterDelta = fabsf(curRecord->layer6_b.m_flPlaybackRate - curRecord->layer6_c.m_flPlaybackRate);

            bool inSlot = false;


            if (flCenterDelta < flRightDelta || flLeftDelta < flRightDelta || (signed int)(float)(flRightDelta * 1000.0))
            {
                if (flCenterDelta >= flLeftDelta && flRightDelta > flLeftDelta && !(signed int)(float)(flLeftDelta * 1000.0))
                {
                    inSlot = true;
                    // Success, record is desyncing towards positive yaw
                    if (flLowRightDelta > flRightDelta) {
                        FreestandSide[idx] = 1;
                        ResolverMode[idx] += crypt_str("I");
                        //estimateDelta = 25.f;
                        LastAppliedAngle3[idx] = true;
                    }

                    else {
                        FreestandSide[idx] = 1;
                        LastAppliedAngle3[idx] = false;
                    }
                }
            }

            if (flCenterDelta < flLeftDelta || flRightDelta < flLeftDelta || (signed int)(float)(flLeftDelta * 1000.0)) {
                if (!inSlot) {
                    if (flCenterDelta >= flRightDelta && flLeftDelta > flRightDelta && !(signed int)(float)(flRightDelta * 1000.0)) {
                        inSlot = true;
                        if (flLowLeftDelta > flLeftDelta) {
                            FreestandSide[idx] = -1;
                            LastAppliedAngle3[idx] = false;
                        }
                        else {
                            FreestandSide[idx] = -1;
                            LastAppliedAngle3[idx] = true;
                        }
                    }
                }
            }
            if (!inSlot) {
                if (flCenterDelta >= flLeftDelta && flCenterDelta >= flRightDelta && flCenterDelta >= flLowRightDelta && flCenterDelta >= flLowLeftDelta) {
                    FreestandSide[idx] = 0;
                    LastAppliedAngle2[idx] = crypt_str("CENTRE");
                }
            }
        }
deleting my reply to this post for the reason "Low-effort, non-constructive comment". a little ironic, dont you think? imagine letting AI write a response (that is wrong) for you and adding a meaningless snippet from weave (also completely unrelated to the topic) below... hahahahahaah
so your post itself holds no actual effort, nor any constructive value.

looks familiar? loooool

abuse of power. pathetic.
@Plisskien love that also you reviewed this and didnt think anything was wrong with the descision of deleting my post. gj!

ONTOPIC: yes there are a few things tha differ from the real skeet bin, but the differences are negligible.
 
deleting my reply to this post for the reason "Low-effort, non-constructive comment". a little ironic, dont you think? imagine letting AI write a response (that is wrong) for you and adding a meaningless snippet from weave (also completely unrelated to the topic) below... hahahahahaah
so your post itself holds no actual effort, nor any constructive value.

looks familiar? loooool

abuse of power. pathetic.
@Plisskien love that also you reviewed this and didnt think anything was wrong with the descision of deleting my post. gj!

ONTOPIC: yes there are a few things tha differ from the real skeet bin, but the differences are negligible.
Well, this is a rather low-quality post, as you don't even explain the reasoning behind your statement. If you don't care enough to elaborate, then perhaps you shouldn't post in the first place. I agree with viv.exe that this is spam. In other words, use your writing skills to actually explain your point of view, because your current statement is pointless and adds nothing meaningful to the conversation. I hope I'm not asking for too much here. Secondly, no, I haven't reviewed it, nor do I intend to review everything. The forum is quite large, and I have a life outside of it as well.
1795968312741.webp
 
Well, this is a rather low-quality post, as you don't even explain the reasoning behind your statement. If you don't care enough to elaborate, then perhaps you shouldn't post in the first place. I agree with viv.exe that this is spam. In other words, use your writing skills to actually explain your point of view, because your current statement is pointless and adds nothing meaningful to the conversation. I hope I'm not asking for too much here. Secondly, no, I haven't reviewed it, nor do I intend to review everything. The forum is quite large, and I have a life outside of it as well.
1795968312741.webp
sure, will do.

1. The snippet isnt skeet (though im unsure if he claims it to be). the function names (FreestandSide[idx] / ResolverMode[idx] / LastAppliedAngle3[idx], crypt_str("CENTRE")), and the whole "compare layer 6 playback rate against simulated sides" approach come straight from the public weave or legendware pastes that have been outdated since 2021. it all looks like antipaste to me, but considering he went out of his way to delete my reply gives me the image that hes actually serious about this LOL

2. the code is also not just incorrect in theory, it actually wouldnt even compile.

flLeftDelta, flRightDelta, flCenterDelta, flLowLeftDelta and flLowRightDelta are declared twice in the same scope, which is a redefinition error.
!((int)layers[LEAN].m_flWeight * 1000.f) casts the weight to int before multiplying. (here is the legendware paste part, been pasted from otv4 with antipaste over antipaste). any weight below 1.0 becomes 0, so the check is always true. it was meant to be (int)(weight * 1000.f).
shouldUpdate, mCycleDelta, a_mCycleDelta, side, best_move* and move_distance are never even used.
the actual relevant part (which is what skeet does), "estimate server torso yaw / body_yaw pose from GetSequenceMoveDist here", is only a comment. the part that would actually do something AND is related to skeet isnt there.
both branches set the same FreestandSide value. the only thing the "low" deltas change is a bool that nothing reads.

so my first reply ("weave + wrong") was short, but it was accurate. deleting it while leaving a non-compiling weave paste up as "post-2023 gamesense logic" is the part im objecting to.

TLDR viv.exe is full shitposting, but when im calling him out for it he deletes it hahahahaha

the reason i kept my original reply so short was that imo anyone who looks at this can see what kind of meme post it is. i guess i was wrong.

On topic: the posted source does differ from the real binary in places, but this snippet is not one of the missing pieces.
 

Who has read this thread (Total: 4) in last 1 hours View details