Skip to content
This repository has been archived by the owner on Feb 6, 2025. It is now read-only.

EMoveType patch #118

Closed
wants to merge 1 commit into from
Closed

EMoveType patch #118

wants to merge 1 commit into from

Conversation

M3351AN
Copy link
Contributor

@M3351AN M3351AN commented Aug 27, 2024

It's a ghetto patch to EMoveType
In short, EMoveType struct maybe completely different from CSGO, so that chks before call movement functions isn't works properly
Just tried my best to obtain several movetype values as patches, the struct might have to be completely restructured in the future

@Exlodium
Copy link
Collaborator

        const std::int32_t nMoveType = Globals::m_pLocalPlayerPawn->m_nActualMoveType();

enum EMoveType : std::uint8_t
{
        MOVETYPE_NONE = 0,
        MOVETYPE_OBSOLETE,
        MOVETYPE_WALK,
        MOVETYPE_FLY,
        MOVETYPE_FLYGRAVITY,
        MOVETYPE_VPHYSICS,
        MOVETYPE_PUSH,
        MOVETYPE_NOCLIP,
        MOVETYPE_OBSERVER,
        MOVETYPE_LADDER,
        MOVETYPE_CUSTOM,
        MOVETYPE_LAST,
        MOVETYPE_INVALID,
        MOVETYPE_MAX_BITS = 5
};

CSGO style movetype is now called m_nActualMoveType

Here's also a dump from server.dll of the current enum.

I will not merge this

@Exlodium Exlodium closed this Aug 28, 2024
@Exlodium
Copy link
Collaborator

Will fix this issue later today

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants