2009-04-07 18:59:21 +02:00
|
|
|
/**
|
|
|
|
* 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"
|
|
|
|
{
|
2010-06-24 05:49:06 +02:00
|
|
|
"cstrike"
|
2009-04-07 18:59:21 +02:00
|
|
|
{
|
2011-06-26 10:25:42 +02:00
|
|
|
"Offsets"
|
|
|
|
{
|
|
|
|
//Offset of szClassName in CCSWeaponInfo
|
|
|
|
"WeaponName"
|
|
|
|
{
|
|
|
|
"windows" "6"
|
|
|
|
"linux" "6"
|
|
|
|
"mac" "6"
|
|
|
|
}
|
2011-06-29 02:32:55 +02:00
|
|
|
"WeaponPrice"
|
|
|
|
{
|
2011-09-20 22:21:17 +02:00
|
|
|
"windows" "2308"
|
|
|
|
"linux" "2308"
|
|
|
|
"mac" "2308"
|
2011-06-29 02:32:55 +02:00
|
|
|
}
|
2011-10-13 19:17:29 +02:00
|
|
|
//Offset into SetClanTag to find clan tag's offset from player
|
|
|
|
"ClanTagOffset"
|
|
|
|
{
|
|
|
|
"windows" "24"
|
2011-12-08 20:52:20 +01:00
|
|
|
"linux" "42"
|
2011-10-13 19:17:29 +02:00
|
|
|
"mac" "29"
|
|
|
|
}
|
2012-05-28 01:07:44 +02:00
|
|
|
//Offset into CheckWinLimit to find CT team score offset from gamerules. For mac this is an offset into CCSGameRules::Think
|
|
|
|
"CTTeamScoreOffset"
|
|
|
|
{
|
|
|
|
"windows" "18"
|
|
|
|
"linux" "46"
|
|
|
|
"mac" "466"
|
|
|
|
}
|
|
|
|
//Offset into CheckWinLimit to find T team score offset from gamerules. For mac this is an offset into CCSGameRules::Think
|
|
|
|
"TTeamScoreOffset"
|
|
|
|
{
|
|
|
|
"windows" "40"
|
|
|
|
"linux" "57"
|
|
|
|
"mac" "481"
|
|
|
|
}
|
|
|
|
//Offset into IncrementNumMVPs to find MVP count offset from player
|
|
|
|
"MVPCountOffset"
|
|
|
|
{
|
|
|
|
"windows" "60"
|
|
|
|
"linux" "49"
|
|
|
|
"mac" "62"
|
|
|
|
}
|
2011-06-26 10:25:42 +02:00
|
|
|
}
|
2010-05-12 02:40:14 +02:00
|
|
|
"Signatures"
|
|
|
|
{
|
|
|
|
"RoundRespawn"
|
|
|
|
{
|
|
|
|
"library" "server"
|
2010-08-27 04:23:07 +02:00
|
|
|
"windows" "\x55\x8B\xEC\x51\x89\x2A\x2A\x8B\x2A\x2A\x8B\x10\x8B"
|
2010-05-12 02:40:14 +02:00
|
|
|
"linux" "@_ZN9CCSPlayer12RoundRespawnEv"
|
2010-06-05 00:14:52 +02:00
|
|
|
"mac" "@_ZN9CCSPlayer12RoundRespawnEv"
|
2010-05-12 02:40:14 +02:00
|
|
|
}
|
|
|
|
"SwitchTeam"
|
|
|
|
{
|
|
|
|
"library" "server"
|
2010-08-27 04:23:07 +02:00
|
|
|
"windows" "\x55\x8B\xEC\x83\xEC\x2A\x89\x4D\x2A\x8B\x45\x2A\x50\xE8\x2A\x2A\x2A\x2A\x83\xC4\x04\x85\xC0\x74"
|
2010-05-12 02:40:14 +02:00
|
|
|
"linux" "@_ZN9CCSPlayer10SwitchTeamEi"
|
2010-06-05 00:14:52 +02:00
|
|
|
"mac" "@_ZN9CCSPlayer10SwitchTeamEi"
|
2010-05-12 02:40:14 +02:00
|
|
|
}
|
2011-06-26 10:25:42 +02:00
|
|
|
"HandleCommand_Buy_Internal"
|
|
|
|
{
|
|
|
|
"library" "server"
|
2011-09-16 17:36:37 +02:00
|
|
|
"windows" "\x55\x8B\xEC\x83\xEC\x2A\x89\x2A\x2A\x6A\x00\x8B\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x0F\x2A\x2A\xF7\xD8"
|
2011-06-26 10:25:42 +02:00
|
|
|
"linux" "@_ZN9CCSPlayer26HandleCommand_Buy_InternalEPKc"
|
|
|
|
"mac" "@_ZN9CCSPlayer26HandleCommand_Buy_InternalEPKc"
|
|
|
|
}
|
|
|
|
"GetWeaponPrice"
|
|
|
|
{
|
|
|
|
"library" "server"
|
2011-09-16 17:36:37 +02:00
|
|
|
"windows" "\x8B\x81\x04\x09\x00\x00\xC3"
|
2011-06-26 10:25:42 +02:00
|
|
|
"linux" "@_ZNK13CCSWeaponInfo14GetWeaponPriceEv"
|
|
|
|
"mac" "@_ZNK13CCSWeaponInfo14GetWeaponPriceEv"
|
|
|
|
}
|
|
|
|
"CSWeaponDrop"//Wildcard first 6 bytes for CS:S DM
|
|
|
|
{
|
|
|
|
"library" "server"
|
|
|
|
"windows" "\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x89\x8D\x5C\x2A\x2A\x2A\xC6\x45\x2A\x2A\x8B\x8D\x5C\x2A\x2A\x2A\xE8"
|
|
|
|
"linux" "@_ZN9CCSPlayer12CSWeaponDropEP17CBaseCombatWeaponbb"
|
|
|
|
"mac" "@_ZN9CCSPlayer12CSWeaponDropEP17CBaseCombatWeaponbb"
|
|
|
|
}
|
|
|
|
"TerminateRound"
|
|
|
|
{
|
|
|
|
"library" "server"
|
2012-05-22 23:32:04 +02:00
|
|
|
"windows" "\x55\x8B\xEC\x83\xEC\x2A\x53\x8B\x2A\x2A\x56\x57\x33\xFF\x83"
|
2011-06-26 10:25:42 +02:00
|
|
|
"linux" "@_ZN12CCSGameRules14TerminateRoundEfi"
|
|
|
|
"mac" "@_ZN12CCSGameRules14TerminateRoundEfi"
|
|
|
|
}
|
|
|
|
"GetTranslatedWeaponAlias"
|
|
|
|
{
|
|
|
|
"library" "server"
|
2012-05-22 23:32:04 +02:00
|
|
|
"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"
|
2011-06-26 10:25:42 +02:00
|
|
|
"linux" "@_Z24GetTranslatedWeaponAliasPKc"
|
|
|
|
"mac" "@_Z24GetTranslatedWeaponAliasPKc"
|
|
|
|
}
|
2011-06-29 02:32:55 +02:00
|
|
|
"GetWeaponInfo"
|
|
|
|
{
|
|
|
|
"library" "server"
|
2012-05-22 23:32:04 +02:00
|
|
|
"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"
|
2011-06-29 02:32:55 +02:00
|
|
|
"linux" "@_Z13GetWeaponInfo10CSWeaponID"
|
|
|
|
"mac" "@_Z13GetWeaponInfo10CSWeaponID"
|
|
|
|
}
|
2011-10-13 19:17:29 +02:00
|
|
|
"SetClanTag"
|
|
|
|
{
|
|
|
|
"library" "server"
|
|
|
|
"windows" "\x55\x8B\xEC\x51\x89\x2A\x2A\x83\x2A\x2A\x2A\x74\x2A\x6A\x2A\x8B\x2A\x2A\x50"
|
|
|
|
"linux" "@_ZN9CCSPlayer10SetClanTagEPKc"
|
|
|
|
"mac" "@_ZN9CCSPlayer10SetClanTagEPKc"
|
|
|
|
}
|
2012-05-27 00:31:23 +02:00
|
|
|
"AliasToWeaponID"
|
|
|
|
{
|
|
|
|
"library" "server"
|
|
|
|
"windows" "\x55\x8B\xEC\x56\x57\x8B\x2A\x2A\x85\xFF\x74\x2A\x33\xF6\x8B\xFF\x8B\x04\x2A\x2A\x2A\x2A\x2A\x57\x50"
|
|
|
|
"linux" "@_Z15AliasToWeaponIDPKc"
|
|
|
|
"mac" "@_Z15AliasToWeaponIDPKc"
|
|
|
|
}
|
2012-05-28 01:07:44 +02:00
|
|
|
|
|
|
|
//For mac we use think since CheckWinLimit dosnt exist on mac.
|
|
|
|
"CheckWinLimit"
|
|
|
|
{
|
|
|
|
"library" "server"
|
|
|
|
"windows" "\xA1\x2A\x2A\x2A\x2A\x8B\x40\x2A\x85\xC0\x56\x8B\xF1\x74"
|
|
|
|
"linux" "@_ZN12CCSGameRules13CheckWinLimitEv"
|
|
|
|
"mac" "@_ZN12CCSGameRules5ThinkEv"
|
|
|
|
}
|
|
|
|
"IncrementNumMVPs"
|
|
|
|
{
|
|
|
|
"library" "server"
|
|
|
|
"windows" "\x55\x8B\xEC\x83\xEC\x2A\x89\x2A\x2A\xA1\x2A\x2A\x2A\x2A\x8B\x48\x2A\x89\x2A\x2A\x33\xD2\x83\x7D\x2A\x00\x0F\x95\xC2\x0F\xB6\xC2\x85\xC0\x74\x2A\x68"
|
|
|
|
"linux" "@_ZN9CCSPlayer16IncrementNumMVPsE13CSMvpReason_t"
|
|
|
|
"mac" "@_ZN9CCSPlayer16IncrementNumMVPsE13CSMvpReason_t"
|
|
|
|
}
|
2010-05-12 02:40:14 +02:00
|
|
|
}
|
|
|
|
}
|
2010-06-05 00:14:52 +02:00
|
|
|
}
|