From dcc02a44f245c4c846b21fb077686d52f5c9c8e9 Mon Sep 17 00:00:00 2001 From: Andrew Date: Thu, 24 Jun 2010 19:51:01 -0700 Subject: [PATCH] Fixed signatures and round end defines that were updated in CSS:OB. --- .../gamedata/plugin.zombiereloaded.txt | 4 +-- src/zr/roundend.inc | 32 +++++++++---------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/cstrike/addons/sourcemod/gamedata/plugin.zombiereloaded.txt b/cstrike/addons/sourcemod/gamedata/plugin.zombiereloaded.txt index 1f39ba8..57a0c5d 100644 --- a/cstrike/addons/sourcemod/gamedata/plugin.zombiereloaded.txt +++ b/cstrike/addons/sourcemod/gamedata/plugin.zombiereloaded.txt @@ -57,14 +57,14 @@ "TerminateRound" { "library" "server" - "windows" "\x83\xEC\x18\x53\x55\x8B\xD9\x8B\x4C\x24\x28\x56\x57\x33\xF6\x8D" + "windows" "\x83\xEC\x2A\x53\x8B\x5C\x2A\x2A\x55\x56\x57\x33\xF6\x8B\xE9\x33\xFF\x83\xFB\x2A\x89" "linux" "@_ZN12CCSGameRules14TerminateRoundEfi" } "CSWeaponDrop" { "library" "server" - "windows" "\x2A\x2A\x2A\x2A\x2A\x2A\x53\x55\x56\x57\x8B\xBC\x24\x40\x01\x00\x00\x32\xDB\x85\xFF\x8B\xF1\x0F" + "windows" "\x81\xEC\x2A\x2A\x2A\x2A\x53\x55\x56\x57\x8B\xBC\x2A\x2A\x2A\x2A\x2A\x32\xDB\x85\xFF\x8B\xF1\x0F" "linux" "@_ZN9CCSPlayer12CSWeaponDropEP17CBaseCombatWeaponbb" } } diff --git a/src/zr/roundend.inc b/src/zr/roundend.inc index 7fc0d0d..6316d79 100644 --- a/src/zr/roundend.inc +++ b/src/zr/roundend.inc @@ -28,22 +28,22 @@ /** * @section All round end reasons. */ -#define ROUNDEND_TARGET_BOMBED 1 // Target Successfully Bombed! -#define ROUNDEND_VIP_ESCAPED 2 // The VIP has escaped! -#define ROUNDEND_VIP_ASSASSINATED 3 // VIP has been assassinated! -#define ROUNDEND_TERRORISTS_ESCAPED 4 // The terrorists have escaped! -#define ROUNDEND_CTS_PREVENTESCAPE 5 // The CT's have prevented most of the terrorists from escaping! -#define ROUNDEND_ESCAPING_TERRORISTS_NEUTRALIZED 6 // Escaping terrorists have all been neutralized! -#define ROUNDEND_BOMB_DEFUSED 7 // The bomb has been defused! -#define ROUNDEND_CTS_WIN 8 // Counter-Terrorists Win! -#define ROUNDEND_TERRORISTS_WIN 9 // Terrorists Win! -#define ROUNDEND_ROUND_DRAW 10 // Round Draw! -#define ROUNDEND_ALL_HOSTAGES_RESCUED 11 // All Hostages have been rescued! -#define ROUNDEND_TARGET_SAVED 12 // Target has been saved! -#define ROUNDEND_HOSTAGES_NOT_RESCUED 13 // Hostages have not been rescued! -#define ROUNDEND_TERRORISTS_NOT_ESCAPED 14 // Terrorists have not escaped! -#define ROUNDEND_VIP_NOT_ESCAPED 15 // VIP has not escaped! -#define ROUNDEND_GAME_COMMENCING 16 // Game Commencing! +#define ROUNDEND_TARGET_BOMBED 0 // Target Successfully Bombed! +#define ROUNDEND_VIP_ESCAPED 1 // The VIP has escaped! +#define ROUNDEND_VIP_ASSASSINATED 2 // VIP has been assassinated! +#define ROUNDEND_TERRORISTS_ESCAPED 3 // The terrorists have escaped! +#define ROUNDEND_CTS_PREVENTESCAPE 4 // The CT's have prevented most of the terrorists from escaping! +#define ROUNDEND_ESCAPING_TERRORISTS_NEUTRALIZED 5 // Escaping terrorists have all been neutralized! +#define ROUNDEND_BOMB_DEFUSED 6 // The bomb has been defused! +#define ROUNDEND_CTS_WIN 7 // Counter-Terrorists Win! +#define ROUNDEND_TERRORISTS_WIN 8 // Terrorists Win! +#define ROUNDEND_ROUND_DRAW 9 // Round Draw! +#define ROUNDEND_ALL_HOSTAGES_RESCUED 10 // All Hostages have been rescued! +#define ROUNDEND_TARGET_SAVED 11 // Target has been saved! +#define ROUNDEND_HOSTAGES_NOT_RESCUED 12 // Hostages have not been rescued! +#define ROUNDEND_TERRORISTS_NOT_ESCAPED 13 // Terrorists have not escaped! +#define ROUNDEND_VIP_NOT_ESCAPED 14 // VIP has not escaped! +#define ROUNDEND_GAME_COMMENCING 15 // Game Commencing! /** * @endsection */