Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Commit

Permalink
Update gamedata (#33)
Browse files Browse the repository at this point in the history
* Update gamedata offsets

Source2ZE/CS2Fixes@40105a0

* Fix state changed

---------

Co-authored-by: marqdevx <[email protected]>
  • Loading branch information
marqdevx and marqdevx authored Dec 15, 2023
1 parent fe87f96 commit 170b3a6
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions gamedata/cs2fixes.games.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,11 @@
"windows" "\x4C\x8B\xC9\x48\x8B\x09\x48\x85\xC9\x74\x2A\x48\x8B\x41\x10"
"linux" "\x4C\x8B\x07\x4D\x85\xC0\x74\x2A\x49\x8B\x40\x10"
}
// String : "SV: %d/%s ignored %d FL_FULL_EDICT_CH"
"StateChanged"
{
"library" "server"
"windows" "\x40\x55\x53\x56\x41\x55\x41\x57\x48\x8D\x6C\x24\xB0"
"windows" "\x40\x55\x53\x56\x41\x55\x41\x57\x48\x8D\x6C\x24\xB0"
"linux" "\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x41\x54\x53\x89\xD3"
}
"VoiceShouldHear"
Expand Down Expand Up @@ -278,23 +279,23 @@
}
"Teleport"
{
"windows" "148"
"linux" "147"
"windows" "149"
"linux" "148"
}
"CollisionRulesChanged"
{
"windows" "173"
"linux" "172"
"windows" "174"
"linux" "173"
}
"IsEntityPawn"
{
"windows" "152"
"linux" "151"
"windows" "153"
"linux" "152"
}
"IsEntityController"
{
"windows" "153"
"linux" "152"
"windows" "154"
"linux" "153"
}
// String: "%s<%i><%s><%s>" ChangeTeam() CTMDBG..."
"CCSPlayerController_ChangeTeam"
Expand All @@ -307,8 +308,8 @@
// 2832 (354 * 8) is the offset
"CBasePlayerPawn_CommitSuicide"
{
"windows" "356"
"linux" "356"
"windows" "357"
"linux" "357"
}
// 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 Down

0 comments on commit 170b3a6

Please sign in to comment.