Skip to content

Commit

Permalink
Update gamedata for l4d2 (#2111)
Browse files Browse the repository at this point in the history
* update gamedata for l4d2

* undo findentitybyclassname sig change

* update gEntList offset accordingly

---------

Co-authored-by: Kenzzer <[email protected]>
  • Loading branch information
Kenzzer and Kenzzer authored Feb 2, 2024
1 parent 7bb9da2 commit 35ac74c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions gamedata/core.games/engine.l4d2.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@
/* Offset into LevelShutdown */
"gEntList"
{
"windows" "11"
"windows" "40"
}

"EntInfo"
{
"windows" "4"
"linux" "4"
"mac" "4"
"mac" "4"
}
}

Expand All @@ -41,13 +41,13 @@
"LevelShutdown"
{
"library" "server"
"windows" "\xE8\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\xE8"
"windows" "\x56\x8B\x35\x2A\x2A\x2A\x2A\x8B\x06\x8B\x50\x68\x8B\xCE\xFF\xD2\x68\x2A\x2A\x2A\x2A"
}
"gEntList"
{
"library" "server"
"linux" "@gEntList"
"mac" "@gEntList"
"mac" "@gEntList"
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions gamedata/sdktools.games/engine.l4d2.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@
*/
"InfoChanged"
{
"windows" "176"
"linux" "176"
"mac" "176"
"windows" "180"
"linux" "180"
"mac" "180"
}
}
}
Expand Down

0 comments on commit 35ac74c

Please sign in to comment.