Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(WIP) Gamedata post 2025-02-18 update #1226

Merged
merged 19 commits into from
Mar 6, 2025
Merged

Conversation

rtldg
Copy link
Collaborator

@rtldg rtldg commented Feb 19, 2025

Only works on 32-bit. DHooks needs more support for x64 before bhoptimer can work on it.

@Cynosphere
Copy link

64bit signatures (untested, assuming I did them correctly by generating function ones from the start of the function (sub_whatever proc near))
(didn't do CGameServer::UpdateHibernationState and PhysicsCheckForEntityUntouch)

CBasePlayer->m_surfaceFriction
w: \xC7\x80\x60\x12\x00\x00\x00\x00\x80\x3F\x48\x8B\x01
l: \xC7\x80\x90\x12\x00\x00\x00\x00\x80\x3F

PhysicsRemoveTouchedList
w: \x40\x55\x56\x48\x83\xEC\x58
l: \x55\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x41\x54\x49\x89\xFC\x53\x48\x83\xEC\x28\xF6\x87\x8C\x04\x00\x00\x02

CCSGameRules::TeamFull
w: \x48\x89\x5C\x24\x08\x57\x48\x83\xEC\x20\x8B\xFA\x48\x8B\xD9\xE8\xAC\x8B\xFF\xFF
l: \x80\xBF\xA6\x02\x00\x00\x00\x55

BotManager::MaintainBotQuota
w: \x48\x83\xEC\x78\xFF\x15\x06\x59\x12\x00
l: \x55\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x41\x54\x53\x48\x83\xEC\x18\xE8\xDA\x24\xAA\xFF

Player::DoAnimationEvent
w: \x44\x89\x44\x24\x18\x89\x54\x24\x10\x48\x89\x4C\x24\x08\x48\x83\xEC\x38\x83\x7C\x24\x48\x02
l: \x55\x83\xFE\x02\x48\x89\xE5\x41\x56

@rtldg
Copy link
Collaborator Author

rtldg commented Feb 19, 2025

64bit signatures (untested, assuming I did them correctly by generating function ones from the start of the function (sub_whatever proc near)) (didn't do CGameServer::UpdateHibernationState and PhysicsCheckForEntityUntouch)

I grabbed them myself anyway 😈😈😈😈

@rtldg
Copy link
Collaborator Author

rtldg commented Feb 21, 2025

Hooking ProcessMovement (here) on windows64 crashes dhooks/metamod for some reason.

EDIT: Need to be using that one "Address Overhaul" PR (+edits) to get it to work.

@rtldg rtldg force-pushed the 2025-02-18-update branch from 069b408 to c829a78 Compare February 24, 2025 02:28
bhopppp added a commit to bhopppp/Shavit-Surf-Timer that referenced this pull request Mar 3, 2025
merge pr from shavitush#1226
and
Cynosphere@3b56196
and ty @Cynosphere
tested, all works in latest version of css
@rtldg rtldg merged commit 90a6714 into shavitush:master Mar 6, 2025
2 checks passed
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