Update CS:GO gamedata.

This commit is contained in:
Nicholas Hastings 2016-06-16 16:14:36 -04:00
parent f668b3fe6c
commit 5e4ee1b849

View File

@ -1,230 +1,230 @@
/** /**
* Do not edit this file. Any changes will be overwritten by the gamedata * Do not edit this file. Any changes will be overwritten by the gamedata
* updater or by upgrading your SourceMod install. * updater or by upgrading your SourceMod install.
* *
* To override data in this file, create a subdirectory named "custom" and * 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 * place your own gamedata file(s) inside of it. Such files will be parsed
* after SM's own. * after SM's own.
* *
* For more information, see http://wiki.alliedmods.net/Gamedata_Updating_(SourceMod) * For more information, see http://wiki.alliedmods.net/Gamedata_Updating_(SourceMod)
*/ */
"Games" "Games"
{ {
"csgo" "csgo"
{ {
"Keys" "Keys"
{ {
"GetWeaponPriceByteCheck" "E9" "GetWeaponPriceByteCheck" "E9"
} }
"Offsets" "Offsets"
{ {
//Offset of szClassName in CCSWeaponInfo //Offset of szClassName in CCSWeaponInfo
"WeaponName" "WeaponName"
{ {
"windows" "6" "windows" "6"
"linux" "6" "linux" "6"
"mac" "6" "mac" "6"
} }
//Econ update doesnt check this now but for what we use it hopefully its fine. //Econ update doesnt check this now but for what we use it hopefully its fine.
"WeaponPrice" "WeaponPrice"
{ {
"windows" "2528" "windows" "2528"
"linux" "2528" "linux" "2528"
"mac" "2528" "mac" "2528"
} }
//Offset into CheckRestartRound //Offset into CheckRestartRound
"CTTeamScoreOffset" "CTTeamScoreOffset"
{ {
"windows" "98" "windows" "98"
"linux" "109" "linux" "109"
"mac" "150" "mac" "150"
} }
//Offset into CheckRestartRound //Offset into CheckRestartRound
"TTeamScoreOffset" "TTeamScoreOffset"
{ {
"windows" "122" "windows" "122"
"linux" "142" "linux" "142"
"mac" "185" "mac" "185"
} }
"ClanTagOffset" "ClanTagOffset"
{ {
"windows" "12" "windows" "12"
"linux" "29" "linux" "29"
"mac" "22" "mac" "22"
} }
//Offset into HandleCommand_Buy_Internal //Offset into HandleCommand_Buy_Internal
"CCSPlayerInventoryOffset" "CCSPlayerInventoryOffset"
{ {
"windows" "55" "windows" "55"
"linux" "70" "linux" "70"
"mac" "109" "mac" "109"
} }
"GetItemInLoadout" "GetItemInLoadout"
{ {
"windows" "8" "windows" "8"
"linux" "9" "linux" "9"
"mac" "9" "mac" "9"
} }
"GetWeaponPriceFunc" "GetWeaponPriceFunc"
{ {
"windows" "98" "windows" "98"
} }
//This is GetWeaponPriceFunc offset -1 (only used by GDC) //This is GetWeaponPriceFunc offset -1 (only used by GDC)
"GetWeaponPriceFuncGDC" "GetWeaponPriceFuncGDC"
{ {
"windows" "97" "windows" "97"
} }
} }
"Signatures" "Signatures"
{ {
"RoundRespawn" "RoundRespawn"
{ {
"library" "server" "library" "server"
"windows" "\x55\x8B\xEC\x83\xEC\x08\x56\x8B\xF1\x8B\x0D\x2A\x2A\x2A\x2A\x57\x8B\x01\xFF\x50\x2A\x83" "windows" "\x55\x8B\xEC\x83\xEC\x08\x56\x8B\xF1\x8B\x0D\x2A\x2A\x2A\x2A\x57\x8B\x01\xFF\x50\x2A\x83"
"linux" "@_ZN9CCSPlayer12RoundRespawnEv" "linux" "@_ZN9CCSPlayer12RoundRespawnEv"
"mac" "@_ZN9CCSPlayer12RoundRespawnEv" "mac" "@_ZN9CCSPlayer12RoundRespawnEv"
} }
"SwitchTeam" "SwitchTeam"
{ {
"library" "server" "library" "server"
"windows" "\x55\x8B\xEC\x83\xEC\x10\x53\x56\x8B\x75\x08\x57\x8B\xF9\x85\xF6\x0F\x88\x2A\x2A\x2A\x2A\x3B\x35" "windows" "\x55\x8B\xEC\x83\xEC\x10\x53\x56\x8B\x75\x08\x57\x8B\xF9\x85\xF6\x0F\x88\x2A\x2A\x2A\x2A\x3B\x35"
"linux" "@_ZN9CCSPlayer10SwitchTeamEi" "linux" "@_ZN9CCSPlayer10SwitchTeamEi"
"mac" "@_ZN9CCSPlayer10SwitchTeamEi" "mac" "@_ZN9CCSPlayer10SwitchTeamEi"
} }
"HandleCommand_Buy_Internal"//Wildcard first 6 bytes for getting address for weapon price. "HandleCommand_Buy_Internal"//Wildcard first 6 bytes for getting address for weapon price.
{ {
"library" "server" "library" "server"
"windows" "\x2A\x2A\x2A\x2A\x2A\x2A\x81\xEC\x2A\x2A\x2A\x2A\x53\x56\x57\x6A\x00\x8B\xF9\xE8\x2A\x2A\x2A\x2A\x33\xC9\x84\xC0" "windows" "\x2A\x2A\x2A\x2A\x2A\xF8\x81\xEC\x7C\x01\x00\x00\x53\x56\x57"
"linux" "@_ZN9CCSPlayer26HandleCommand_Buy_InternalEPKcib" "linux" "@_ZN9CCSPlayer26HandleCommand_Buy_InternalEPKcib"
"mac" "@_ZN9CCSPlayer26HandleCommand_Buy_InternalEPKcib" "mac" "@_ZN9CCSPlayer26HandleCommand_Buy_InternalEPKcib"
} }
"CSWeaponDrop"//Wildcard first 6 bytes for CS:S DM "CSWeaponDrop"//Wildcard first 6 bytes for CS:S DM
{ {
"library" "server" "library" "server"
"windows" "\x2A\x2A\x2A\x2A\x2A\x2A\x81\xEC\x2A\x2A\x2A\x2A\x53\x8B\x5D\x08\x56\x57\x6A\x00\x68" "windows" "\x2A\x2A\x2A\x2A\x2A\x2A\x81\xEC\x2A\x2A\x2A\x2A\x53\x8B\x5D\x08\x56\x57\x6A\x00\x68"
"linux" "@_ZN9CCSPlayer12CSWeaponDropEP17CBaseCombatWeapon6Vectorb" "linux" "@_ZN9CCSPlayer12CSWeaponDropEP17CBaseCombatWeapon6Vectorb"
"mac" "@_ZN9CCSPlayer12CSWeaponDropEP17CBaseCombatWeapon6Vectorb" "mac" "@_ZN9CCSPlayer12CSWeaponDropEP17CBaseCombatWeapon6Vectorb"
} }
"TerminateRound" "TerminateRound"
{ {
"library" "server" "library" "server"
"windows" "\x55\x8B\xEC\x83\xE4\xF8\x83\xEC\x64\x53\x8B\xD9\xF3\x0F\x2A\x2A\x2A\x2A\x56\x57\x89\x2A\x2A\x2A\x83\xBB\x2A\x2A\x2A\x2A\x00" "windows" "\x55\x8B\xEC\x83\xE4\xF8\x83\xEC\x64\x53\x8B\xD9\xF3\x0F\x2A\x2A\x2A\x2A\x56\x57\x89\x2A\x2A\x2A\x83\xBB\x2A\x2A\x2A\x2A\x00"
"linux" "@_ZN12CCSGameRules14TerminateRoundEfi" "linux" "@_ZN12CCSGameRules14TerminateRoundEfi"
"mac" "@_ZN12CCSGameRules14TerminateRoundEfi" "mac" "@_ZN12CCSGameRules14TerminateRoundEfi"
} }
"GetTranslatedWeaponAlias" "GetTranslatedWeaponAlias"
{ {
"library" "server" "library" "server"
"windows" "\x55\x8B\xEC\x83\xEC\x08\x53\x33\xC0\x89\x4D\xF8\x56\x57\x89\x45\xFC\x33\xDB\x8B\xB3\x2A\x2A\x2A\x2A\x3B\xF1\x74\x2A\x8B\xF9\x90\x0F\xB6\x06\x0F\xB6\x17\x3B\xC2\x75\x2A\x85\xC0\x75\x2A\x8B\x45\xFC\x5F\x5E\x5B\x8B\x04\xC5\x2A\x2A\x2A\x2A\x8B\xE5\x5D\xC3\x85\xD2\x74\x2A\x8D\x48\xBF\x83\xF9\x19\x77\x2A\x83\xC0\x20\x8D\x4A\xBF\x83\xF9\x19\x77\x2A\x83\xC2\x20\x3B\xC2\x75\x2A\x0F\xB6\x46\x01\x83\xC6\x02\x0F\xB6\x57\x01\x83\xC7\x02\x3B\xC2\x75\x2A\x85\xC0\x75\x2A\x8B\x45\xFC\x5F\x5E\x5B\x8B\x04\xC5\x2A\x2A\x2A\x2A\x8B\xE5\x5D\xC3\x85\xD2\x74\x2A\x8D\x48\xBF\x83\xF9\x19\x77\x2A\x83\xC0\x20\x8D\x4A\xBF\x83\xF9\x19\x77\x2A\x83\xC2\x20\x3B\xC2\x0F\x84\x2A\x2A\x2A\x2A\x2B\xC2\x85\xC0\x74\x2A\xFF\x45\xFC\x83\xC3\x08\x8B\x4D\xF8\x81\xFB\xC0\x00\x00\x00\x0F\x82\x2A\x2A\x2A\x2A\x5F\x5E\x8B\xC1\x5B\x8B\xE5\x5D\xC3" "windows" "\x55\x8B\xEC\x83\xEC\x08\x53\x33\xC0\x89\x4D\xF8\x56\x57\x89\x45\xFC\x33\xDB\x8B\xB3\x2A\x2A\x2A\x2A\x3B\xF1\x74\x2A\x8B\xF9\x90\x0F\xB6\x06\x0F\xB6\x17\x3B\xC2\x75\x2A\x85\xC0\x75\x2A\x8B\x45\xFC\x5F\x5E\x5B\x8B\x04\xC5\x2A\x2A\x2A\x2A\x8B\xE5\x5D\xC3\x85\xD2\x74\x2A\x8D\x48\xBF\x83\xF9\x19\x77\x2A\x83\xC0\x20\x8D\x4A\xBF\x83\xF9\x19\x77\x2A\x83\xC2\x20\x3B\xC2\x75\x2A\x0F\xB6\x46\x01\x83\xC6\x02\x0F\xB6\x57\x01\x83\xC7\x02\x3B\xC2\x75\x2A\x85\xC0\x75\x2A\x8B\x45\xFC\x5F\x5E\x5B\x8B\x04\xC5\x2A\x2A\x2A\x2A\x8B\xE5\x5D\xC3\x85\xD2\x74\x2A\x8D\x48\xBF\x83\xF9\x19\x77\x2A\x83\xC0\x20\x8D\x4A\xBF\x83\xF9\x19\x77\x2A\x83\xC2\x20\x3B\xC2\x0F\x84\x2A\x2A\x2A\x2A\x2B\xC2\x85\xC0\x74\x2A\xFF\x45\xFC\x83\xC3\x08\x8B\x4D\xF8\x81\xFB\xC0\x00\x00\x00\x0F\x82\x2A\x2A\x2A\x2A\x5F\x5E\x8B\xC1\x5B\x8B\xE5\x5D\xC3"
"linux" "@_Z24GetTranslatedWeaponAliasPKc" "linux" "@_Z24GetTranslatedWeaponAliasPKc"
"mac" "@_Z24GetTranslatedWeaponAliasPKc" "mac" "@_Z24GetTranslatedWeaponAliasPKc"
} }
"GetWeaponInfo" "GetWeaponInfo"
{ {
"library" "server" "library" "server"
"windows" "\x55\x8B\xEC\x83\xEC\x08\x33\xC0\xEB\x2A\x8D\x9B\x00\x00\x00\x00\x39\x0C\xC5\x2A\x2A\x2A\x2A\x74\x2A\x40\x83\xF8\x2A\x72\x2A\x33\xC0" "windows" "\x55\x8B\xEC\x83\xEC\x08\x33\xC0\xEB\x2A\x8D\x9B\x00\x00\x00\x00\x39\x0C\xC5\x2A\x2A\x2A\x2A\x74\x2A\x40\x83\xF8\x2A\x72\x2A\x33\xC0"
"linux" "@_Z13GetWeaponInfo10CSWeaponID" "linux" "@_Z13GetWeaponInfo10CSWeaponID"
"mac" "@_Z13GetWeaponInfo10CSWeaponID" "mac" "@_Z13GetWeaponInfo10CSWeaponID"
} }
//In CS:GO this is actually CCSGameRules::CheckRestartRound(void) but to keep same gamedata as cs:s. //In CS:GO this is actually CCSGameRules::CheckRestartRound(void) but to keep same gamedata as cs:s.
"CheckWinLimit" "CheckWinLimit"
{ {
"library" "server" "library" "server"
"windows" "\x55\x8B\xEC\x83\xE4\xF8\x83\xEC\x2A\x53\x56\x57\x8B\xF9\x8B\x0D\x2A\x2A\x2A\x2A\x81\xF9" "windows" "\x55\x8B\xEC\x83\xE4\xF8\x83\xEC\x2A\x53\x56\x57\x8B\xF9\x8B\x0D\x2A\x2A\x2A\x2A\x81\xF9"
"linux" "@_ZN12CCSGameRules17CheckRestartRoundEv" "linux" "@_ZN12CCSGameRules17CheckRestartRoundEv"
"mac" "@_ZN12CCSGameRules17CheckRestartRoundEv" "mac" "@_ZN12CCSGameRules17CheckRestartRoundEv"
} }
"AliasToWeaponID" "AliasToWeaponID"
{ {
"library" "server" "library" "server"
"windows" "\x55\x8B\xEC\x83\xEC\x08\x57\x8B\xF9\x33\xC0" "windows" "\x55\x8B\xEC\x83\xEC\x08\x57\x8B\xF9\x33\xC0"
"linux" "@_Z15AliasToWeaponIDPKc" "linux" "@_Z15AliasToWeaponIDPKc"
"mac" "@_Z15AliasToWeaponIDPKc" "mac" "@_Z15AliasToWeaponIDPKc"
} }
"WeaponIDToAlias" "WeaponIDToAlias"
{ {
"library" "server" "library" "server"
"windows" "\x33\xC0\x39\x0C\xC5\x2A\x2A\x2A\x2A\x74\x2A\x40\x83\xF8\x3E\x72\x2A\x33\xC0\xC3\x6A\x5F" "windows" "\x33\xC0\x39\x0C\xC5\x2A\x2A\x2A\x2A\x74\x2A\x40\x83\xF8\x3E\x72\x2A\x33\xC0\xC3\x6A\x5F"
"linux" "@_Z15WeaponIDToAliasi" "linux" "@_Z15WeaponIDToAliasi"
"mac" "@_Z15WeaponIDToAliasi" "mac" "@_Z15WeaponIDToAliasi"
} }
"SetClanTag" "SetClanTag"
{ {
"library" "server" "library" "server"
"windows" "\x55\x8B\xEC\x8B\x55\x08\x85\xD2\x74\x28\x8D\x81\x2A\x2A\x2A\x2A\x56\x8D\x70\x0F\x3B\xC6\x73\x16\x2B\xD0\x8D" "windows" "\x55\x8B\xEC\x8B\x55\x08\x85\xD2\x74\x28\x8D\x81\x2A\x2A\x2A\x2A\x56\x8D\x70\x0F\x3B\xC6\x73\x16\x2B\xD0\x8D"
"linux" "@_ZN9CCSPlayer10SetClanTagEPKc" "linux" "@_ZN9CCSPlayer10SetClanTagEPKc"
"mac" "@_ZN9CCSPlayer10SetClanTagEPKc" "mac" "@_ZN9CCSPlayer10SetClanTagEPKc"
} }
//In windows this is CCSPlayer::GetWeaponPrice NOT CCSWeaponInfo::GetWeaponPrice //In windows this is CCSPlayer::GetWeaponPrice NOT CCSWeaponInfo::GetWeaponPrice
"GetWeaponPrice" "GetWeaponPrice"
{ {
"library" "server" "library" "server"
"windows" "\x55\x8B\xEC\x8B\xD1\x8B\x4D\x08\x83\xF9\x2A\x75\x2A\x83\xBA\x2A\x2A\x2A\x2A\x64\xB8\xE8\x2A\x2A\x2A\x7C" "windows" "\x55\x8B\xEC\x8B\xD1\x8B\x4D\x08\x83\xF9\x2A\x75\x2A\x83\xBA\x2A\x2A\x2A\x2A\x64\xB8\xE8\x2A\x2A\x2A\x7C"
"linux" "@_ZNK13CCSWeaponInfo14GetWeaponPriceEPK13CEconItemViewif" "linux" "@_ZNK13CCSWeaponInfo14GetWeaponPriceEPK13CEconItemViewif"
"mac" "@_ZNK13CCSWeaponInfo14GetWeaponPriceEPK13CEconItemViewif" "mac" "@_ZNK13CCSWeaponInfo14GetWeaponPriceEPK13CEconItemViewif"
} }
"SetModelFromClass" "SetModelFromClass"
{ {
"library" "server" "library" "server"
"windows" "\x55\x8B\xEC\x83\xEC\x08\x56\x57\x8B\xF9\xC7\x45\xFC\x2A\x2A\x2A\x2A\x8B\x87" "windows" "\x55\x8B\xEC\x83\xEC\x08\x56\x57\x8B\xF9\xC7\x45\xFC\x2A\x2A\x2A\x2A\x8B\x87"
"linux" "@_ZN9CCSPlayer17SetModelFromClassEv" "linux" "@_ZN9CCSPlayer17SetModelFromClassEv"
"mac" "@_ZN9CCSPlayer17SetModelFromClassEv" "mac" "@_ZN9CCSPlayer17SetModelFromClassEv"
} }
} }
} }
"csgo" "csgo"
{ {
"Keys" "Keys"
{ {
"AssistsBase" "m_iFrags" "AssistsBase" "m_iFrags"
} }
"Offsets" "Offsets"
{ {
"Assists" "Assists"
{ {
"windows" "4" "windows" "4"
"linux" "4" "linux" "4"
"mac" "4" "mac" "4"
} }
} }
} }
"csgo" "csgo"
{ {
"Keys" "Keys"
{ {
"CScoreBase" "m_bIsHoldingLookAtWeapon" "CScoreBase" "m_bIsHoldingLookAtWeapon"
} }
"Offsets" "Offsets"
{ {
"CScore" "CScore"
{ {
"windows" "75" "windows" "75"
"linux" "75" "linux" "75"
"mac" "75" "mac" "75"
} }
} }
} }
"csgo" "csgo"
{ {
"Keys" "Keys"
{ {
"MVPsBase" "m_bIsHoldingLookAtWeapon" "MVPsBase" "m_bIsHoldingLookAtWeapon"
} }
"Offsets" "Offsets"
{ {
"MVPs" "MVPs"
{ {
"windows" "15" "windows" "15"
"linux" "15" "linux" "15"
"mac" "15" "mac" "15"
} }
} }
} }
} }