From 95a56972a1f3c000de8b2f6d5d88ca2ba121a004 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Thu, 27 Mar 2014 22:23:22 -0400 Subject: [PATCH] Update Empires Mod gamedata. --- gamedata/core.games/engine.ep2.txt | 2 - gamedata/sdkhooks.games/game.empires.txt | 82 ++++++---------------- gamedata/sdktools.games/engine.ep2.txt | 3 - gamedata/sdktools.games/engine.sdk2013.txt | 19 +++++ gamedata/sdktools.games/game.empires.txt | 71 +++++-------------- 5 files changed, 61 insertions(+), 116 deletions(-) diff --git a/gamedata/core.games/engine.ep2.txt b/gamedata/core.games/engine.ep2.txt index 0ed2e455..ba0a3460 100644 --- a/gamedata/core.games/engine.ep2.txt +++ b/gamedata/core.games/engine.ep2.txt @@ -21,14 +21,12 @@ "game" "bg2" "game" "pvkii" "game" "gesource" - "game" "empires" "game" "RnLBeta" "game" "obsidian" "game" "fas" "game" "fistful_of_frags" "game" "cspromod" "game" "ag2" - "game" "nmrih" } "Offsets" diff --git a/gamedata/sdkhooks.games/game.empires.txt b/gamedata/sdkhooks.games/game.empires.txt index de058a77..eb7d18df 100644 --- a/gamedata/sdkhooks.games/game.empires.txt +++ b/gamedata/sdkhooks.games/game.empires.txt @@ -1,124 +1,88 @@ "Games" { - /* Empires Mod 2.31a */ "empires" { "Offsets" { "EndTouch" { - "windows" "95" - "linux" "96" + "windows" "103" } "FireBullets" { - "windows" "107" - "linux" "108" + "windows" "115" } "OnTakeDamage" { - "windows" "60" - "linux" "61" + "windows" "62" } "PreThink" { - "windows" "294" - "linux" "295" + "windows" "337" } "PostThink" { - "windows" "295" - "linux" "296" + "windows" "338" + } + "Reload" + { + "windows" "274" } "SetTransmit" { - "windows" "19" - "linux" "20" + "windows" "20" } "ShouldCollide" { - "windows" "15" - "linux" "16" + "windows" "16" } "Spawn" { - "windows" "21" - "linux" "22" + "windows" "22" } "StartTouch" { - "windows" "93" - "linux" "94" + "windows" "101" } "Think" { - "windows" "45" - "linux" "46" + "windows" "47" } "Touch" { - "windows" "94" - "linux" "95" + "windows" "102" } "TraceAttack" { - "windows" "58" - "linux" "69" - } - "UpdateOnRemove" - { - "windows" "100" - "linux" "101" + "windows" "60" } "Use" { - "windows" "92" - "linux" "93" + "windows" "100" } "VPhysicsUpdate" { - "windows" "150" - "linux" "151" + "windows" "163" } "Weapon_CanSwitchTo" { - "windows" "240" - "linux" "241" + "windows" "271" } "Weapon_CanUse" { - "windows" "234" - "linux" "235" + "windows" "265" } "Weapon_Drop" { - "windows" "237" - "linux" "238" + "windows" "268" } "Weapon_Equip" { - "windows" "235" - "linux" "236" + "windows" "266" } "Weapon_Switch" { - "windows" "238" - "linux" "239" - } - "GroundEntChanged" - { - "windows" "170" - "linux" "171" - } - } - - "Signatures" - { - "IEntityFactoryDictionary" - { - "library" "server" - "windows" "\xB8\x01\x00\x00\x00\x84\x2A\x2A\x2A\x2A\x2A\x75\x2A\x09\x2A\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x68\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x83\xC4\x04\xB8\x2A\x2A\x2A\x2A\xC3" - "linux" "@_Z23EntityFactoryDictionaryv" + "windows" "269" } } } diff --git a/gamedata/sdktools.games/engine.ep2.txt b/gamedata/sdktools.games/engine.ep2.txt index 613d9115..190bacde 100644 --- a/gamedata/sdktools.games/engine.ep2.txt +++ b/gamedata/sdktools.games/engine.ep2.txt @@ -17,7 +17,6 @@ "#supported" { "game" "ageofchivalry" - "game" "empires" "game" "bg2" "game" "pvkii" "game" "gesource" @@ -97,7 +96,6 @@ { "game" "ageofchivalry" "game" "zps" - "game" "empires" "game" "bg2" "game" "pvkii" "game" "gesource" @@ -107,7 +105,6 @@ "game" "fistful_of_frags" "game" "cspromod" "game" "ag2" - "game" "nmrih" } "Offsets" diff --git a/gamedata/sdktools.games/engine.sdk2013.txt b/gamedata/sdktools.games/engine.sdk2013.txt index fbf06e8e..d08f3b8d 100644 --- a/gamedata/sdktools.games/engine.sdk2013.txt +++ b/gamedata/sdktools.games/engine.sdk2013.txt @@ -18,6 +18,7 @@ { "game" "synergy" "game" "nmrih" + "game" "empires" } "Offsets" @@ -71,6 +72,7 @@ { "game" "synergy" "game" "nmrih" + "game" "empires" } "Signatures" @@ -93,6 +95,7 @@ { "game" "synergy" "game" "nmrih" + "game" "empires" } "Offsets" @@ -166,12 +169,28 @@ } } + /* EntityFactoryDictionary function */ + "#default" + { + "Signatures" + { + "EntityFactory" + { + "library" "server" + "windows" "\xB8\x01\x00\x00\x00\x84\x2A\x2A\x2A\x2A\x2A\x75\x1D\x09\x2A\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x68\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x83\xC4\x04\xB8\x2A\x2A\x2A\x2A\xC3" + "linux" "@_Z23EntityFactoryDictionaryv" + "mac" "@_Z23EntityFactoryDictionaryv" + } + } + } + /* CBaseEntityOutput::FireOutput */ "#default" { "#supported" { "game" "synergy" + "game" "empires" } "Signatures" { diff --git a/gamedata/sdktools.games/game.empires.txt b/gamedata/sdktools.games/game.empires.txt index c8ba33ba..27e75314 100644 --- a/gamedata/sdktools.games/game.empires.txt +++ b/gamedata/sdktools.games/game.empires.txt @@ -11,108 +11,75 @@ "Games" { - /* Empires 2.31a */ "empires" { - "Offsets" { "GiveNamedItem" { - "windows" "357" - "linux" "358" + "windows" "405" } "RemovePlayerItem" { - "windows" "244" - "linux" "245" + "windows" "275" } "Weapon_GetSlot" { - "windows" "242" - "linux" "243" + "windows" "273" } "Ignite" { - "windows" "199" - "linux" "200" + "windows" "214" } "Extinguish" { - "windows" "203" - "linux" "204" + "windows" "218" } "Teleport" { - "windows" "103" - "linux" "104" + "windows" "111" } "CommitSuicide" { - "windows" "396" - "linux" "396" + "windows" "445" } "GetVelocity" { - "windows" "136" - "linux" "137" + "windows" "146" } "EyeAngles" { - "windows" "128" - "linux" "129" + "windows" "137" } "AcceptInput" { - "windows" "34" - "linux" "35" + "windows" "36" } "Activate" { - "windows" "31" - "linux" "32" + "windows" "33" } "SetEntityModel" { - "windows" "23" - "linux" "24" + "windows" "24" } "WeaponEquip" { - "windows" "235" - "linux" "236" + "windows" "266" } "PlayerRunCmd" { - "windows" "376" - "linux" "377" + "windows" "423" } - - /* Offset into CBaseTempEntity constructor */ - "s_pTempEntities" + "GiveAmmo" { - "windows" "19" + "windows" "257" } } - "Signatures" + + "Keys" { - "CBaseTempEntity" - { - "library" "server" - "windows" "\x55\x8B\xEC\x8B\xC1\x8B\x2A\x2A\xC7\x2A\x2A\x2A\x2A\x2A\x89\x2A\x2A\x8B\x15\x2A\x2A\x2A\x2A\x89" - } - "FindEntityByClassname" - { - "library" "server" - "windows" "\x55\x8B\xEC\x53\x56\x8B\xF1\x8B\x2A\x2A\x57\x85\xC9\x74\x2A\x8B\x01\x8B\x50\x2A\xFF\xD2\x8B\x00\x25\x2A\x2A\x2A\x2A\x40\x03\xC0\x8B\x3C\xC6\xEB\x2A\x8B\xBE\x2A\x2A\x2A\x2A\x85\xFF\x74\x2A\x8B\x5D\x2A\x8B\x37\x85\xF6\x75\x2A\x68\x2A\x2A\x2A\x2A\xFF\x2A\x2A\x2A\x2A\x2A\x83\xC4\x2A\xEB\x11\x39" - "linux" "@_ZN17CGlobalEntityList21FindEntityByClassnameEP11CBaseEntityPKc" - } - "FireOutput" - { - "library" "server" - "windows" "\x55\x8B\xEC\x81\x2A\x2A\x2A\x2A\x2A\x53\x56\x8B\x71\x2A\x57\x89\x2A\x2A\xC7" - "linux" "@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f" - } + "GameRulesProxy" "CEmpGameRulesProxy" } } }