2012-05-27 00:31:23 +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"
|
|
|
|
{
|
|
|
|
"csgo"
|
|
|
|
{
|
|
|
|
"Offsets"
|
|
|
|
{
|
|
|
|
//Offset of szClassName in CCSWeaponInfo
|
|
|
|
"WeaponName"
|
|
|
|
{
|
|
|
|
"windows" "6"
|
|
|
|
"linux" "6"
|
2012-08-25 18:28:52 +02:00
|
|
|
"mac" "6"
|
2012-05-27 00:31:23 +02:00
|
|
|
}
|
|
|
|
"WeaponPrice"
|
|
|
|
{
|
|
|
|
"windows" "2700"
|
|
|
|
"linux" "2700"
|
2012-08-25 18:28:52 +02:00
|
|
|
"mac" "2700"
|
2012-05-27 00:31:23 +02:00
|
|
|
}
|
2012-05-28 01:07:44 +02:00
|
|
|
//Offset into CheckRestartRound
|
|
|
|
"CTTeamScoreOffset"
|
|
|
|
{
|
2012-05-28 17:08:57 +02:00
|
|
|
"windows" "97"
|
2012-05-31 06:36:36 +02:00
|
|
|
"linux" "124"
|
2012-08-25 18:28:52 +02:00
|
|
|
"mac" "150"
|
2012-05-28 01:07:44 +02:00
|
|
|
}
|
|
|
|
//Offset into CheckRestartRound
|
|
|
|
"TTeamScoreOffset"
|
|
|
|
{
|
2012-08-27 04:51:14 +02:00
|
|
|
"windows" "122"
|
2012-05-31 06:36:36 +02:00
|
|
|
"linux" "159"
|
2012-08-25 18:28:52 +02:00
|
|
|
"mac" "185"
|
2012-05-28 01:07:44 +02:00
|
|
|
}
|
2012-08-13 20:59:31 +02:00
|
|
|
"ClanTagOffset"
|
|
|
|
{
|
|
|
|
"windows" "15"
|
|
|
|
"linux" "41"
|
|
|
|
"mac" "22"
|
|
|
|
}
|
2012-05-27 00:31:23 +02:00
|
|
|
}
|
|
|
|
"Signatures"
|
|
|
|
{
|
|
|
|
"RoundRespawn"
|
|
|
|
{
|
|
|
|
"library" "server"
|
2013-01-23 20:46:23 +01:00
|
|
|
"windows" "\x55\x8B\xEC\x83\xEC\x2A\x56\x8B\xF1\x8B\x0D\x2A\x2A\x2A\x2A\x57\xE8\x2A\x2A\x2A\x2A\x84\xC0\x0F"
|
2012-05-27 00:31:23 +02:00
|
|
|
"linux" "@_ZN9CCSPlayer12RoundRespawnEv"
|
2012-08-25 18:28:52 +02:00
|
|
|
"mac" "@_ZN9CCSPlayer12RoundRespawnEv"
|
2012-05-27 00:31:23 +02:00
|
|
|
}
|
|
|
|
"SwitchTeam"
|
|
|
|
{
|
|
|
|
"library" "server"
|
|
|
|
"windows" "\x55\x8B\xEC\x83\xEC\x2A\x56\x57\x8B\x7D\x2A\x57\x8B\xF1\xE8\x2A\x2A\x2A\x2A\x83\xC4"
|
|
|
|
"linux" "@_ZN9CCSPlayer10SwitchTeamEi"
|
2012-08-25 18:28:52 +02:00
|
|
|
"mac" "@_ZN9CCSPlayer10SwitchTeamEi"
|
2012-05-27 00:31:23 +02:00
|
|
|
}
|
|
|
|
"HandleCommand_Buy_Internal"
|
|
|
|
{
|
|
|
|
"library" "server"
|
2013-01-23 20:46:23 +01:00
|
|
|
"windows" "\x55\x8B\xEC\x81\x2A\x2A\x2A\x2A\x2A\x53\x56\x57\x6A\x00\x8B\xF1\xE8"
|
|
|
|
"linux" "@_ZN9CCSPlayer26HandleCommand_Buy_InternalEPKcb"
|
|
|
|
"mac" "@_ZN9CCSPlayer26HandleCommand_Buy_InternalEPKcb"
|
2012-05-27 00:31:23 +02:00
|
|
|
}
|
|
|
|
"CSWeaponDrop"//Wildcard first 6 bytes for CS:S DM
|
|
|
|
{
|
|
|
|
"library" "server"
|
2013-02-14 04:25:15 +01:00
|
|
|
"windows" "\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x53\x56\x8B\x75\x08\x57\x6A\x00\x68"
|
2012-05-27 00:31:23 +02:00
|
|
|
"linux" "@_ZN9CCSPlayer12CSWeaponDropEP17CBaseCombatWeaponbb"
|
2012-08-25 18:28:52 +02:00
|
|
|
"mac" "@_ZN9CCSPlayer12CSWeaponDropEP17CBaseCombatWeaponbb"
|
2012-05-27 00:31:23 +02:00
|
|
|
}
|
|
|
|
"TerminateRound"
|
|
|
|
{
|
|
|
|
"library" "server"
|
2012-10-26 07:26:45 +02:00
|
|
|
"windows" "\x55\x8B\xEC\x83\xEC\x2A\x53\x8B\xD9\x8B\x2A\x2A\x2A\x2A\x2A\x56\x57\x33\xFF\x89"
|
2012-05-27 00:31:23 +02:00
|
|
|
"linux" "@_ZN12CCSGameRules14TerminateRoundEfi"
|
2012-08-25 18:28:52 +02:00
|
|
|
"mac" "@_ZN12CCSGameRules14TerminateRoundEfi"
|
2012-05-27 00:31:23 +02:00
|
|
|
}
|
|
|
|
"GetTranslatedWeaponAlias"
|
|
|
|
{
|
|
|
|
"library" "server"
|
|
|
|
"windows" "\x55\x8B\xEC\x56\x57\x8B\x2A\x2A\x33\xF6\x8D\x9B\x2A\x2A\x2A\x2A\x8B\x04\xF5\x2A\x2A\x2A\x2A\x57\x50\xE8\x2A\x2A\x2A\x2A\x83\xC4\x2A\x85\xC0\x74\x2A\x46\x83\xFE\x2A\x72\x2A\x8B\xC7\x5F\x5E\x5D\xC3"
|
|
|
|
"linux" "@_Z24GetTranslatedWeaponAliasPKc"
|
2012-08-25 18:28:52 +02:00
|
|
|
"mac" "@_Z24GetTranslatedWeaponAliasPKc"
|
2012-05-27 00:31:23 +02:00
|
|
|
}
|
|
|
|
"GetWeaponInfo"
|
|
|
|
{
|
|
|
|
"library" "server"
|
|
|
|
"windows" "\x55\x8B\xEC\x8B\x4D\x2A\x33\xC0\x85\xC9\x74"
|
|
|
|
"linux" "@_Z13GetWeaponInfo10CSWeaponID"
|
2012-08-25 18:28:52 +02:00
|
|
|
"mac" "@_Z13GetWeaponInfo10CSWeaponID"
|
2012-05-27 00:31:23 +02:00
|
|
|
}
|
2012-05-28 01:07:44 +02:00
|
|
|
//In CS:GO this is actually CCSGameRules::CheckRestartRound(void) but to keep same gamedata as cs:s.
|
|
|
|
"CheckWinLimit"
|
|
|
|
{
|
|
|
|
"library" "server"
|
2012-05-28 17:08:57 +02:00
|
|
|
"windows" "\x55\x8B\xEC\x83\xEC\x2A\x56\x57\x8B\xF9\x8B\x0D\x2A\x2A\x2A\x2A\x81\xF9\x2A\x2A\x2A\x2A\x75\x2A\x8B"
|
2012-05-28 01:07:44 +02:00
|
|
|
"linux" "@_ZN12CCSGameRules17CheckRestartRoundEv"
|
2012-08-25 18:28:52 +02:00
|
|
|
"mac" "@_ZN12CCSGameRules17CheckRestartRoundEv"
|
2012-05-28 01:07:44 +02:00
|
|
|
}
|
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"
|
|
|
|
"linux" "@_Z15AliasToWeaponIDPKc"
|
2012-08-25 18:28:52 +02:00
|
|
|
"mac" "@_Z15AliasToWeaponIDPKc"
|
2012-05-27 00:31:23 +02:00
|
|
|
}
|
2012-12-14 21:12:22 +01:00
|
|
|
"WeaponIDToAlias"
|
|
|
|
{
|
|
|
|
"library" "server"
|
2013-07-26 20:42:03 +02:00
|
|
|
"windows" "\x55\x8B\xEC\x8B\x4D\x08\x33\xC0\xEB\x2A\x8D\x9B\x00\x00\x00\x00\x39\x0C\xC5\x2A\x2A\x2A\x2A\x74\x2A\x40\x83\xF8\x38\x72\x2A\x33\xC0\x5D"
|
2012-12-14 21:12:22 +01:00
|
|
|
"linux" "@_Z15WeaponIDToAliasi"
|
|
|
|
"mac" "@_Z15WeaponIDToAliasi"
|
|
|
|
}
|
2012-08-13 20:59:31 +02:00
|
|
|
"SetClanTag"
|
|
|
|
{
|
|
|
|
"library" "server"
|
|
|
|
"windows" "\x55\x8B\xEC\x8B\x2A\x2A\x85\xC0\x74\x2A\x6A\x10\x50\x81\xC1\x2A\x2A\x2A\x2A\x51"
|
|
|
|
"linux" "@_ZN9CCSPlayer10SetClanTagEPKc"
|
|
|
|
"mac" "@_ZN9CCSPlayer10SetClanTagEPKc"
|
|
|
|
}
|
2012-05-27 00:31:23 +02:00
|
|
|
}
|
|
|
|
}
|
2012-12-15 20:36:52 +01:00
|
|
|
|
|
|
|
"csgo"
|
|
|
|
{
|
|
|
|
"Keys"
|
|
|
|
{
|
|
|
|
"AssistsBase" "m_iFrags"
|
|
|
|
}
|
|
|
|
|
|
|
|
"Offsets"
|
|
|
|
{
|
|
|
|
"Assists"
|
|
|
|
{
|
|
|
|
"windows" "4"
|
|
|
|
"linux" "4"
|
|
|
|
"mac" "4"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
"csgo"
|
|
|
|
{
|
|
|
|
"Keys"
|
|
|
|
{
|
|
|
|
"CScoreBase" "m_iWeaponPurchasesThisRound"
|
|
|
|
}
|
|
|
|
|
|
|
|
"Offsets"
|
|
|
|
{
|
|
|
|
/* factors in 256 (size of m_iWeaponPurchasesThisRound array (int size * 64 maxplayers)) */
|
|
|
|
"CScore"
|
|
|
|
{
|
|
|
|
"windows" "276"
|
|
|
|
"linux" "276"
|
|
|
|
"mac" "276"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
"csgo"
|
|
|
|
{
|
|
|
|
"Keys"
|
|
|
|
{
|
|
|
|
"MVPsBase" "m_iWeaponPurchasesThisRound"
|
|
|
|
}
|
|
|
|
|
|
|
|
"Offsets"
|
|
|
|
{
|
|
|
|
"MVPs"
|
|
|
|
{
|
|
|
|
/* factors in 256 (size of m_iWeaponPurchasesThisRound array (int size * 64 maxplayers)) */
|
|
|
|
"windows" "256"
|
|
|
|
"linux" "256"
|
|
|
|
"mac" "256"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2012-05-27 00:31:23 +02:00
|
|
|
}
|