From 7ddced67cb829506b9dfd1ad56763bc3416bf970 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Thu, 30 Oct 2014 06:54:09 -0400 Subject: [PATCH] Update NMRiH gamedata. --- gamedata/core.games/common.games.txt | 2 + gamedata/sdkhooks.games/game.nmrih.txt | 104 ++++++++++++------------- gamedata/sdktools.games/game.nmrih.txt | 84 ++++++++++---------- 3 files changed, 96 insertions(+), 94 deletions(-) diff --git a/gamedata/core.games/common.games.txt b/gamedata/core.games/common.games.txt index e7d1e6ba..4d7b31f3 100644 --- a/gamedata/core.games/common.games.txt +++ b/gamedata/core.games/common.games.txt @@ -159,6 +159,7 @@ "game" "nucleardawn" "game" "csgo" "game" "berimbau" + "game" "nmrih" } "Keys" @@ -192,6 +193,7 @@ "game" "csgo" "game" "berimbau" "game" "$INSURGENCY" // retail game + "game" "nmrih" } "Keys" diff --git a/gamedata/sdkhooks.games/game.nmrih.txt b/gamedata/sdkhooks.games/game.nmrih.txt index e2e98198..545c807c 100644 --- a/gamedata/sdkhooks.games/game.nmrih.txt +++ b/gamedata/sdkhooks.games/game.nmrih.txt @@ -6,27 +6,27 @@ { "Blocked" { - "windows" "103" - "linux" "104" - "mac" "104" + "windows" "104" + "linux" "105" + "mac" "105" } "EndTouch" { - "windows" "101" - "linux" "102" - "mac" "102" + "windows" "102" + "linux" "103" + "mac" "103" } "FireBullets" { - "windows" "113" - "linux" "114" - "mac" "114" + "windows" "114" + "linux" "115" + "mac" "115" } "GroundEntChanged" { - "windows" "178" - "linux" "180" - "mac" "180" + "windows" "179" + "linux" "181" + "mac" "181" } "OnTakeDamage" { @@ -36,27 +36,27 @@ } "OnTakeDamage_Alive" { - "windows" "273" - "linux" "274" - "mac" "274" + "windows" "274" + "linux" "275" + "mac" "275" } "PreThink" { - "windows" "345" - "linux" "346" - "mac" "346" + "windows" "346" + "linux" "347" + "mac" "347" } "PostThink" { - "windows" "325" - "linux" "326" - "mac" "325" + "windows" "326" + "linux" "327" + "mac" "327" } "Reload" { - "windows" "269" - "linux" "270" - "mac" "270" + "windows" "271" + "linux" "272" + "mac" "272" } "SetTransmit" { @@ -78,9 +78,9 @@ } "StartTouch" { - "windows" "99" - "linux" "100" - "mac" "100" + "windows" "100" + "linux" "101" + "mac" "101" } "Think" { @@ -90,9 +90,9 @@ } "Touch" { - "windows" "100" - "linux" "101" - "mac" "101" + "windows" "101" + "linux" "102" + "mac" "102" } "TraceAttack" { @@ -102,46 +102,46 @@ } "Use" { - "windows" "97" - "linux" "98" - "mac" "98" + "windows" "98" + "linux" "99" + "mac" "99" } "VPhysicsUpdate" { - "windows" "158" - "linux" "159" - "mac" "159" + "windows" "159" + "linux" "160" + "mac" "160" } "Weapon_CanSwitchTo" { - "windows" "267" - "linux" "268" - "mac" "268" + "windows" "268" + "linux" "269" + "mac" "269" } "Weapon_CanUse" - { - "windows" "261" - "linux" "262" - "mac" "262" - } - "Weapon_Drop" - { - "windows" "264" - "linux" "265" - "mac" "265" - } - "Weapon_Equip" { "windows" "262" "linux" "263" "mac" "263" } - "Weapon_Switch" + "Weapon_Drop" { "windows" "265" "linux" "266" "mac" "266" } + "Weapon_Equip" + { + "windows" "263" + "linux" "264" + "mac" "264" + } + "Weapon_Switch" + { + "windows" "266" + "linux" "267" + "mac" "267" + } } } } \ No newline at end of file diff --git a/gamedata/sdktools.games/game.nmrih.txt b/gamedata/sdktools.games/game.nmrih.txt index a9c5e7f2..ae2f00e6 100644 --- a/gamedata/sdktools.games/game.nmrih.txt +++ b/gamedata/sdktools.games/game.nmrih.txt @@ -19,7 +19,7 @@ /* Offset into CBaseTempEntity constructor */ "s_pTempEntities" { - "windows" "19" + "windows" "16" } "GetTEName" { @@ -46,7 +46,7 @@ "CBaseTempEntity" { "library" "server" - "windows" "\x55\x8B\xEC\x8B\xC1\x8B\x4D\x2A\xC7\x00\x2A\x2A\x2A\x2A\x89\x48" + "windows" "\x55\x8B\xEC\x8B\x45\x08\x89\x41\x04\xC7\x01\x2A\x2A\x2A\x2A\xA1" } "s_pTempEntities" { @@ -66,7 +66,7 @@ "FindEntityByClassname" { "library" "server" - "windows" "\x55\x8B\xEC\x53\x56\x8B\xF1\x8B\x4D\x2A\x57\x85\xC9\x74\x2A\x8B\x01\x8B\x50\x2A\xFF\xD2\x8B\x00\x25\xFF\x0F\x00\x00\x40\x03\xC0\x8B\x3C\xC6\xEB\x2A\x8B" + "windows" "\x55\x8B\xEC\x53\x56\x57\x8B\xF9\x8B\x4D\x08\x85\xC9\x74\x15" "linux" "@_ZN17CGlobalEntityList21FindEntityByClassnameEP11CBaseEntityPKc" "mac" "@_ZN17CGlobalEntityList21FindEntityByClassnameEP11CBaseEntityPKc" } @@ -81,7 +81,7 @@ /* Offset into CreateGameRulesObject */ "g_pGameRules" { - "windows" "2" + "windows" "5" } } @@ -98,7 +98,7 @@ "CreateGameRulesObject" { "library" "server" - "windows" "\x8B\x0D\x2A\x2A\x2A\x2A\x85\xC9\x74\x2A\x8B\x01\x8B\x50\x2A\x6A\x01\xFF\xD2" + "windows" "\x55\x8B\xEC\x8B\x0D\x2A\x2A\x2A\x2A\x85\xC9\x74\x07" } "g_pGameRules" { @@ -117,7 +117,7 @@ "FireOutput" { "library" "server" - "windows" "\x55\x8B\xEC\x81\x2A\x2A\x2A\x2A\x2A\x53\x56\x8B\x71\x2A\x57\x89" + "windows" "\x55\x8B\xEC\x81\xEC\x2A\x2A\x2A\x2A\xA1\x2A\x2A\x2A\x2A\x33\xC5\x89\x45\xFC\x53\x8B\x5D\x20\x8B\xC1\x8B\x4D\x1C\x56\x57\x8B" "linux" "@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f" "mac" "@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f" } @@ -131,57 +131,57 @@ { "GiveNamedItem" { - "windows" "413" - "linux" "414" - "mac" "414" + "windows" "414" + "linux" "415" + "mac" "415" } "RemovePlayerItem" { - "windows" "271" - "linux" "272" - "mac" "272" + "windows" "272" + "linux" "273" + "mac" "273" } "Weapon_GetSlot" { - "windows" "269" - "linux" "270" - "mac" "270" + "windows" "270" + "linux" "271" + "mac" "271" } "Ignite" { - "windows" "209" - "linux" "210" - "mac" "210" + "windows" "210" + "linux" "211" + "mac" "211" } "Extinguish" { - "windows" "213" - "linux" "214" - "mac" "214" + "windows" "214" + "linux" "215" + "mac" "215" } "Teleport" { - "windows" "109" - "linux" "110" - "mac" "110" + "windows" "110" + "linux" "111" + "mac" "111" } "CommitSuicide" { - "windows" "452" - "linux" "452" - "mac" "452" + "windows" "453" + "linux" "453" + "mac" "453" } "GetVelocity" { - "windows" "141" - "linux" "142" - "mac" "142" + "windows" "142" + "linux" "143" + "mac" "143" } "EyeAngles" { - "windows" "132" - "linux" "133" - "mac" "133" + "windows" "133" + "linux" "134" + "mac" "134" } "AcceptInput" { @@ -197,9 +197,9 @@ } "WeaponEquip" { - "windows" "262" - "linux" "263" - "mac" "263" + "windows" "263" + "linux" "264" + "mac" "264" } "Activate" { @@ -209,15 +209,15 @@ } "PlayerRunCmd" { - "windows" "431" - "linux" "432" - "mac" "432" + "windows" "432" + "linux" "433" + "mac" "433" } "GiveAmmo" { - "windows" "253" - "linux" "253" - "mac" "253" + "windows" "254" + "linux" "255" + "mac" "255" } } }