From 9fa7421122b3ad15a9aeb47d3a785d07e6cec91f Mon Sep 17 00:00:00 2001 From: Rain Date: Tue, 7 Nov 2023 13:20:45 +0000 Subject: [PATCH] Update gamedata for Dystopia (#2080) Add the offsets for OnTakeDamage and OnTakeDamage_Alive for the game Dystopia, for Linux and Windows platforms. This change adds game support for the SDKHook_OnTakeDamage, and its variants. --- gamedata/sdkhooks.games/game.dystopia.txt | 19 +++++++++++++++++++ gamedata/sdkhooks.games/master.games.txt | 4 ++++ 2 files changed, 23 insertions(+) create mode 100644 gamedata/sdkhooks.games/game.dystopia.txt diff --git a/gamedata/sdkhooks.games/game.dystopia.txt b/gamedata/sdkhooks.games/game.dystopia.txt new file mode 100644 index 00000000..ee9f6d33 --- /dev/null +++ b/gamedata/sdkhooks.games/game.dystopia.txt @@ -0,0 +1,19 @@ +"Games" +{ + "!Dystopia" + { + "Offsets" + { + "OnTakeDamage" + { + "windows" "62" + "linux" "63" + } + "OnTakeDamage_Alive" + { + "windows" "275" + "linux" "276" + } + } + } +} \ No newline at end of file diff --git a/gamedata/sdkhooks.games/master.games.txt b/gamedata/sdkhooks.games/master.games.txt index 85d0595f..28cdc5be 100644 --- a/gamedata/sdkhooks.games/master.games.txt +++ b/gamedata/sdkhooks.games/master.games.txt @@ -208,4 +208,8 @@ { "game" "open_fortress" } + "game.dystopia.txt" + { + "game" "!Dystopia" + } }