Skip to content

Use signature for m_surfaceFriction instead of doing netprop±offset#1158

Merged
rtldg merged 1 commit intoshavitush:masterfrom
Nukoooo:surfaceFrictionSignature
Jul 25, 2022
Merged

Use signature for m_surfaceFriction instead of doing netprop±offset#1158
rtldg merged 1 commit intoshavitush:masterfrom
Nukoooo:surfaceFrictionSignature

Conversation

@Nukoooo
Copy link
Contributor

@Nukoooo Nukoooo commented Jul 24, 2022

No tf2 because I hate that game.
The method used for csgo can be also used for css/tf2, but considering vtable are exposed so I chose to use CGameMovement::CategorizePosition

@rtldg
Copy link
Collaborator

rtldg commented Jul 25, 2022

No tf2 because I hate that game.

TF2 isn't supported by the tas plugin anyway so no problem.
Note to self: 140.0 (00 00 0c 43) is good value to use when for finding CategorizePosition on Windows

@rtldg rtldg merged commit 21c6204 into shavitush:master Jul 25, 2022
@rtldg
Copy link
Collaborator

rtldg commented Jul 25, 2022

I should also mention that I didn't test the sigs on anything other than CSS + Windows, so that's just something that I'll have to do before the next release.

@Nukoooo Nukoooo deleted the surfaceFrictionSignature branch July 25, 2022 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants