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

Fixes for 2024-10-15 CS2 update #312

Merged
merged 2 commits into from
Oct 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions gamedata/cs2fixes.games.txt
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@
{
"library" "server"
"windows" "\x48\x89\x5C\x24\x2A\x57\x48\x83\xEC\x2A\x48\x8B\xD9\xE8\x2A\x2A\x2A\x2A\x84\xC0\x0F\x84\x2A\x2A\x2A\x2A\x48\x8B\x0D"
"linux" "\x55\x48\x89\xE5\x41\x55\x41\x54\x53\x48\x89\xFB\x48\x83\xEC\x2A\x4C\x8D\x25\x2A\x2A\x2A\x2A\x49\x8B\x3C\x24\xE8"
"linux" "\x55\x48\x89\xE5\x41\x55\x41\x54\x53\x48\x89\xFB\x48\x83\xEC\x2A\xE8\x2A\x2A\x2A\x2A\x84\xC0\x75"
}

// str: "Radial using: %s\n"
Expand Down Expand Up @@ -391,8 +391,8 @@
// 2976 (372 * 8) is the offset
"CBasePlayerPawn_CommitSuicide"
{
"windows" "377"
"linux" "377"
"windows" "380"
"linux" "380"
}
// In the function with "[%03d] Found: %s, firing\n", you'll find a call into a pointer offset just a bit higher, that's the offset * 8
"CGameRules_FindPickerEntity"
Expand All @@ -402,8 +402,8 @@
}
"PassesTriggerFilters"
{
"windows" "260"
"linux" "261"
"windows" "263"
"linux" "264"
}
"CCSPlayerController_Respawn"
{
Expand Down Expand Up @@ -436,8 +436,8 @@
// Long function with "player_hurt" in the middle and then inserts userid, health, priority, attacker strings
"CBasePlayerPawn::OnTakeDamage_Alive"
{
"windows" "233"
"linux" "234"
"windows" "236"
"linux" "237"
}
// There's no easy way to find this, but it's a function that checks entity flags (0x370) and ends by calling RemoveFlag with 0x800000 (FL_BASEVELOCITY)
"CCSPlayer_MovementServices::CheckMovingGround"
Expand Down