diff --git a/gamedata/core.games/engine.swarm.txt b/gamedata/core.games/engine.swarm.txt index c577a639..88c45f78 100644 --- a/gamedata/core.games/engine.swarm.txt +++ b/gamedata/core.games/engine.swarm.txt @@ -17,7 +17,6 @@ "#supported" { "game" "swarm" - "game" "dinodday" } "Offsets" diff --git a/gamedata/core.games/game.dinodday.txt b/gamedata/core.games/game.dinodday.txt new file mode 100644 index 00000000..2a24b473 --- /dev/null +++ b/gamedata/core.games/game.dinodday.txt @@ -0,0 +1,45 @@ +/** + * Do not edit this file. Any changes will be overwritten by the gamedata + * updater or by upgrading your SourceMod install. + * + * To override data in this file, create a subdirectory named "custom" and + * place your own gamedata file(s) inside of it. Such files will be parsed + * after SM's own. + * + * For more information, see http://wiki.alliedmods.net/Gamedata_Updating_(SourceMod) + */ + +"Games" +{ + /* CGlobalEntityList */ + "#default" + { + "#supported" + { + "game" "dinodday" + } + + "Offsets" + { + /* Offset into LevelShutdown */ + "gEntList" + { + "windows" "16" + } + + "EntInfo" + { + "windows" "4" + } + } + + "Signatures" + { + "LevelShutdown" + { + "library" "server" + "windows" "\xE8\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xE8" + } + } + } +} diff --git a/gamedata/core.games/master.games.txt b/gamedata/core.games/master.games.txt index 845898c2..d82c5caa 100644 --- a/gamedata/core.games/master.games.txt +++ b/gamedata/core.games/master.games.txt @@ -94,6 +94,11 @@ { "engine" "insurgency" } + + "game.ddd.txt" + { + "game" "dinodday" + } "blacklist.plugins.txt" { diff --git a/gamedata/sdkhooks.games/game.dinodday.txt b/gamedata/sdkhooks.games/game.dinodday.txt index 56945e6b..169cf5b5 100644 --- a/gamedata/sdkhooks.games/game.dinodday.txt +++ b/gamedata/sdkhooks.games/game.dinodday.txt @@ -6,19 +6,19 @@ { "EndTouch" { - "windows" "102" + "windows" "104" } "FireBullets" { - "windows" "115" + "windows" "117" } "GetMaxHealth" { - "windows" "119" + "windows" "121" } "OnTakeDamage" { - "windows" "66" + "windows" "67" } "PreThink" { @@ -42,27 +42,27 @@ } "StartTouch" { - "windows" "100" + "windows" "102" } "Think" { - "windows" "50" + "windows" "51" } "Touch" { - "windows" "101" + "windows" "103" } "TraceAttack" { - "windows" "64" + "windows" "65" } "Use" { - "windows" "99" + "windows" "101" } "VPhysicsUpdate" { - "windows" "160" + "windows" "154" } "Weapon_CanSwitchTo" { diff --git a/gamedata/sdktools.games/game.dinodday.txt b/gamedata/sdktools.games/game.dinodday.txt index 13c4de17..8481ea28 100644 --- a/gamedata/sdktools.games/game.dinodday.txt +++ b/gamedata/sdktools.games/game.dinodday.txt @@ -27,23 +27,23 @@ } "Teleport" { - "windows" "111" + "windows" "113" } "CommitSuicide" { - "windows" "469" + "windows" "468" } "GetVelocity" { - "windows" "144" + "windows" "138" } "EyeAngles" { - "windows" "135" + "windows" "129" } "AcceptInput" { - "windows" "39" + "windows" "40" } "SetEntityModel" { @@ -55,11 +55,11 @@ } "Activate" { - "windows" "36" + "windows" "37" } "PlayerRunCmd" { - "windows" "445" + "windows" "444" } } diff --git a/tools/buildbot/PackageScript b/tools/buildbot/PackageScript index d2319343..a8818625 100644 --- a/tools/buildbot/PackageScript +++ b/tools/buildbot/PackageScript @@ -252,6 +252,7 @@ CopyFiles('gamedata/core.games', 'addons/sourcemod/gamedata/core.games', 'engine.l4d2.txt', 'engine.sdk2013.txt', 'engine.swarm.txt', + 'game.dinodday.txt', 'master.games.txt', ] )