diff --git a/gamedata/sdktools.games/engine.ep2valve.txt b/gamedata/sdktools.games/engine.ep2valve.txt index 41e4c705..0e8638a2 100644 --- a/gamedata/sdktools.games/engine.ep2valve.txt +++ b/gamedata/sdktools.games/engine.ep2valve.txt @@ -19,6 +19,7 @@ "game" "dod" "game" "tf" "game" "hl2mp" + "game" "cstrike" } "Offsets" @@ -72,6 +73,7 @@ "game" "dod" "game" "tf" "game" "hl2mp" + "game" "cstrike" } "Signatures" @@ -192,6 +194,7 @@ "game" "dod" "game" "tf" "game" "hl2mp" + "game" "cstrike" } "Signatures" { @@ -214,6 +217,7 @@ "game" "tf" "game" "garrysmod" "game" "hl2mp" + "game" "cstrike" } "Offsets" diff --git a/gamedata/sdktools.games/game.cstrike.txt b/gamedata/sdktools.games/game.cstrike.txt index 27d4c0be..930f3e48 100644 --- a/gamedata/sdktools.games/game.cstrike.txt +++ b/gamedata/sdktools.games/game.cstrike.txt @@ -112,128 +112,5 @@ } } } - - "#default" - { - "Offsets" - { - "SetUserCvar" - { - "windows" "17" - "linux" "57" - "mac" "57" - } - - "InfoChanged" - { - "windows" "140" - "linux" "140" - "mac" "140" - } - } - } - - "#default" - { - "Offsets" - { - "s_pTempEntities" - { - "windows" "17" - } - "GetTEName" - { - "windows" "4" - "linux" "4" - "mac" "4" - } - "GetTENext" - { - "windows" "8" - "linux" "8" - "mac" "8" - } - "TE_GetServerClass" - { - "windows" "0" - "linux" "0" - "mac" "0" - } - } - - "Signatures" - { - "CBaseTempEntity" - { - "library" "server" - "windows" "\x8B\xC1\x8B\x4C\x24\x04\xC7\x00\x2A\x2A\x2A\x2A\x89\x48\x04\x8B\x15\x2A\x2A\x2A\x2A\x89\x50\x08\xA3\x2A\x2A\x2A\x2A\xC2\x04\x00" - } - "s_pTempEntities" - { - "library" "server" - "linux" "@_ZN15CBaseTempEntity15s_pTempEntitiesE" - "mac" "@_ZN15CBaseTempEntity15s_pTempEntitiesE" - } - } - } - - "#default" - { - "Keys" - { - /* Signature for the beginning of IVEngineServer::CreateFakeClient. - * - * The engine binary is not actually scanned in order to look for - * this. SourceHook is used to used to determine the address of the - * function and this signature is used to verify that it contains - * the expected code. A pointer to sv (IServer interface) is used - * here. - */ - "CreateFakeClient_Windows" "\x8B\x44\x24\x2A\x50\xB9\x2A\x2A\x2A\x2A\xE8" - } - - "Offsets" - { - /* Offset into IVEngineServer::CreateFakeClient */ - "sv" - { - "windows" "6" - } - } - - "Signatures" - { - /* CBaseServer object for IServer interface */ - "sv" - { - "library" "engine" - "linux" "@sv" - "mac" "@sv" - } - } - } - - "#default" - { - "Signatures" - { - /* Functions in CGlobalEntityList */ - "FindEntityByClassname" - { - "library" "server" - "windows" "\x53\x55\x56\x8B\xF1\x8B\x4C\x24\x10\x85\xC9\x57\x74\x19\x8B\x01\x8B\x50\x08\xFF\xD2\x8B\x00\x25\xFF\x0F\x00\x00\x83\xC0\x01\xC1\xE0\x04\x8B\x3C\x30\xEB\x06\x8B\xBE\x2A\x2A\x2A\x2A\x85\xFF\x74\x39\x8B\x5C\x24\x18\x8B\x2D\x2A\x2A\x2A\x2A\xEB\x03" - "linux" "@_ZN17CGlobalEntityList21FindEntityByClassnameEP11CBaseEntityPKc" - "mac" "@_ZN17CGlobalEntityList21FindEntityByClassnameEP11CBaseEntityPKc" - } - - "FireOutput" - { - "library" "server" - "windows" "\x81\xEC\x2A\x2A\x00\x00\x53\x55\x56\x8B\x71\x14\x85\xF6" - "linux" "@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f" - "mac" "@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f" - } - } - } } diff --git a/gamedata/sm-cstrike.games.txt b/gamedata/sm-cstrike.games.txt index 66fdf39d..4d7900ae 100644 --- a/gamedata/sm-cstrike.games.txt +++ b/gamedata/sm-cstrike.games.txt @@ -76,21 +76,21 @@ "TerminateRound" { "library" "server" - "windows" "\x83\xEC\x2A\x53\x8B\x5C\x2A\x2A\x55\x56\x57\x33\xF6\x8B\xE9\x33" + "windows" "\x55\x8B\xEC\x83\xEC\x2A\x53\x8B\x2A\x2A\x56\x57\x33\xFF\x83" "linux" "@_ZN12CCSGameRules14TerminateRoundEfi" "mac" "@_ZN12CCSGameRules14TerminateRoundEfi" } "GetTranslatedWeaponAlias" { "library" "server" - "windows" "\x56\x57\x8B\x7C\x2A\x2A\x33\xF6\xEB\x2A\x2A\x2A\x00\x00\x00\x00\x8B\x04\x2A\x2A\x2A\x2A\x2A\x57\x50\xE8\x2A\x2A\x2A\x00\x83\xC4\x08\x85\xC0\x74\x2A\x83\x2A\x01\x83\x2A\x2A\x72\x2A\x8B\xC7\x5F\x5E" + "windows" "\x55\x8B\xEC\x56\x57\x8B\x2A\x2A\x33\xF6\x8D\x2A\x00\x00\x00\x00\x8B\x04\xF5\x2A\x2A\x2A\x2A\x57\x50\xE8\x2A\x2A\x2A\x2A\x83\xC4\x2A\x85\xC0\x74\x2A\x83\xC6\x01\x83\x2A\x1A" "linux" "@_Z24GetTranslatedWeaponAliasPKc" "mac" "@_Z24GetTranslatedWeaponAliasPKc" } "GetWeaponInfo" { "library" "server" - "windows" "\x8B\x4C\x2A\x2A\x85\xC9\x75\x2A\x33\xC0\xC3" + "windows" "\x55\x8B\xEC\x8B\x4D\x2A\x85\xC9\x75\x2A\x33\xC0\x5D\xC3\x83\xF9\x2A\x7C\x2A\x69\xC9\x2A\x2A\x00\x00" "linux" "@_Z13GetWeaponInfo10CSWeaponID" "mac" "@_Z13GetWeaponInfo10CSWeaponID" }