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
|
|
|
}
|
2013-08-14 22:42:40 +02:00
|
|
|
//Econ update doesnt check this now but for what we use it hopefully its fine.
|
2012-05-27 00:31:23 +02:00
|
|
|
"WeaponPrice"
|
|
|
|
{
|
2013-08-14 22:42:40 +02:00
|
|
|
"windows" "2528"
|
|
|
|
"linux" "2528"
|
|
|
|
"mac" "2528"
|
2012-05-27 00:31:23 +02:00
|
|
|
}
|
2012-05-28 01:07:44 +02:00
|
|
|
//Offset into CheckRestartRound
|
|
|
|
"CTTeamScoreOffset"
|
|
|
|
{
|
2014-02-09 02:04:12 +01:00
|
|
|
"windows" "98"
|
2013-09-27 03:04:51 +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"
|
2013-09-27 03:04:51 +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"
|
|
|
|
{
|
2014-02-09 02:04:12 +01:00
|
|
|
"windows" "12"
|
2012-08-13 20:59:31 +02:00
|
|
|
"linux" "41"
|
|
|
|
"mac" "22"
|
|
|
|
}
|
2014-02-13 01:03:14 +01:00
|
|
|
//Offset into HandleCommand_Buy_Internal
|
|
|
|
"CCSPlayerInventoryOffset"
|
|
|
|
{
|
|
|
|
"windows" "285"
|
|
|
|
"linux" "87"
|
|
|
|
"mac" "109"
|
|
|
|
}
|
|
|
|
"GetItemInLoadout"
|
|
|
|
{
|
|
|
|
"windows" "8"
|
|
|
|
"linux" "9"
|
|
|
|
"mac" "9"
|
|
|
|
}
|
2012-05-27 00:31:23 +02:00
|
|
|
}
|
|
|
|
"Signatures"
|
|
|
|
{
|
|
|
|
"RoundRespawn"
|
|
|
|
{
|
|
|
|
"library" "server"
|
2014-02-09 02:04:12 +01:00
|
|
|
"windows" "\x55\x8B\xEC\x83\xEC\x08\x56\x8B\xF1\x8B\x0D\x2A\x2A\x2A\x2A\x57\x8B\x01\xFF\x50\x2A\x83"
|
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"
|
2014-02-09 02:04:12 +01:00
|
|
|
"windows" "\x55\x8B\xEC\x83\xEC\x0C\x56\x8B\x75\x2A\x57\x8B\xF9\x85\xF6\x0F\x88\x2A\x2A\x2A\x2A\x3B\x35\x2A\x2A\x2A\x2A\x0F\x8D\x2A\x2A\x2A\x2A\xA1\x2A\x2A\x2A\x2A\x83"
|
2012-05-27 00:31:23 +02:00
|
|
|
"linux" "@_ZN9CCSPlayer10SwitchTeamEi"
|
2012-08-25 18:28:52 +02:00
|
|
|
"mac" "@_ZN9CCSPlayer10SwitchTeamEi"
|
2012-05-27 00:31:23 +02:00
|
|
|
}
|
2014-02-13 01:03:14 +01:00
|
|
|
"HandleCommand_Buy_Internal"//Wildcard first 6 bytes for getting address for weapon price.
|
2012-05-27 00:31:23 +02:00
|
|
|
{
|
|
|
|
"library" "server"
|
2014-02-13 01:03:14 +01:00
|
|
|
"windows" "\x2A\x2A\x2A\x2A\x2A\x2A\x81\xEC\x2A\x2A\x2A\x2A\x83\x3D\x2A\x2A\x2A\x2A\x00\x53\x56\x57\x8B\xF9"
|
2013-08-14 22:42:40 +02:00
|
|
|
"linux" "@_ZN9CCSPlayer26HandleCommand_Buy_InternalEPKcib"
|
|
|
|
"mac" "@_ZN9CCSPlayer26HandleCommand_Buy_InternalEPKcib"
|
2012-05-27 00:31:23 +02:00
|
|
|
}
|
|
|
|
"CSWeaponDrop"//Wildcard first 6 bytes for CS:S DM
|
|
|
|
{
|
|
|
|
"library" "server"
|
2014-02-09 02:04:12 +01:00
|
|
|
"windows" "\x2A\x2A\x2A\x2A\x2A\x2A\x81\xEC\x2A\x2A\x2A\x2A\x56\x8B\x75\x2A\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"
|
2014-02-09 02:04:12 +01:00
|
|
|
"windows" "\x55\x8B\xEC\x83\x2A\x2A\x83\x2A\x2A\x53\x56\x8B\xF1\xF3\x0F\x2A\x2A\x2A\x2A\x57\x33\xFF\x89\x2A\x2A\x2A\xC7\x2A\x2A\x2A\x00\x00\x00\x00"
|
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"
|
2014-02-09 02:04:12 +01:00
|
|
|
"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"
|
2012-05-27 00:31:23 +02:00
|
|
|
"linux" "@_Z24GetTranslatedWeaponAliasPKc"
|
2012-08-25 18:28:52 +02:00
|
|
|
"mac" "@_Z24GetTranslatedWeaponAliasPKc"
|
2012-05-27 00:31:23 +02:00
|
|
|
}
|
|
|
|
"GetWeaponInfo"
|
|
|
|
{
|
|
|
|
"library" "server"
|
2014-02-09 02:04:12 +01:00
|
|
|
"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\x38\x72\x2A\x33\xC0"
|
2012-05-27 00:31:23 +02:00
|
|
|
"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"
|
2014-02-09 02:04:12 +01:00
|
|
|
"windows" "\x55\x8B\xEC\x83\xE4\xF8\x83\xEC\x64\x53\x56\x57\x8B\xF9\x8B\x0D\x2A\x2A\x2A\x2A\x81\xF9"
|
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"
|
2014-02-09 02:04:12 +01:00
|
|
|
"windows" "\x55\x8B\xEC\x83\xEC\x08\x57\x8B\xF9\x33\xC0"
|
2012-05-27 00:31:23 +02:00
|
|
|
"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"
|
2014-02-09 02:04:12 +01:00
|
|
|
"windows" "\x33\xC0\x39\x0C\xC5\x2A\x2A\x2A\x2A\x74\x2A\x40\x83\xF8\x38\x72\x2A\x33\xC0\xC3\x6A\x5F"
|
2012-12-14 21:12:22 +01:00
|
|
|
"linux" "@_Z15WeaponIDToAliasi"
|
|
|
|
"mac" "@_Z15WeaponIDToAliasi"
|
|
|
|
}
|
2012-08-13 20:59:31 +02:00
|
|
|
"SetClanTag"
|
|
|
|
{
|
|
|
|
"library" "server"
|
2014-02-09 02:04:12 +01:00
|
|
|
"windows" "\x55\x8B\xEC\x8B\x55\x08\x85\xD2\x74\x2A\x8D\x81\xDC\x1F\x00\x00"
|
2012-08-13 20:59:31 +02:00
|
|
|
"linux" "@_ZN9CCSPlayer10SetClanTagEPKc"
|
|
|
|
"mac" "@_ZN9CCSPlayer10SetClanTagEPKc"
|
|
|
|
}
|
2013-08-15 20:40:30 +02:00
|
|
|
//Wild card first 6 bytes since we call it and detour it.
|
|
|
|
"GetAttributeInt"
|
|
|
|
{
|
|
|
|
"library" "server"
|
2014-02-09 02:04:12 +01:00
|
|
|
"windows" "\x2A\x2A\x2A\x2A\x2A\x2A\x83\xEC\x1C\x53\x8B\x5D\x0C\xC7\x44\x24\x04\x00\x00\x00\x00\x56\x8B\xF1\x89\x74\x24\x0C\x57\x8B\x7D\x08\x85\xDB\x74\x2A\x80\x7B\x44\x00\x74\x2A\x57\xE8\x2A\x2A\x2A\x2A\x8B\xC8\xE8\x2A\x2A\x2A\x2A\x89\x44\x24\x14\xE8\x2A\x2A\x2A\x2A\x8B\x70\x08\xE8\x2A\x2A\x2A\x2A\x3B\x70\x08\x74\x2A\x57\xE8\x2A\x2A\x2A\x2A\x8B\xC8\xE8\x2A\x2A\x2A\x2A\xEB\x2A\x8B\x44\x24\x14\x85\xC0\x74\x2A\x89\x44\x24\x1C\x8D\x4C\x24\x18\x8D\x44\x24\x0C\xC7\x44\x24\x18\x2A\x2A\x2A\x2A\x89\x44\x24\x20\x8B\x03\x51\x8B\xCB\xC6\x44\x24\x28\x00\xFF\x50\x64\x80\x7C\x24\x24\x00\x74\x2A\x8B\x44\x24\x0C"
|
2013-08-15 20:40:30 +02:00
|
|
|
"linux" "@_ZNK16FileWeaponInfo_t15GetAttributeIntEPKcPK13CEconItemView"
|
|
|
|
"mac" "@_ZNK16FileWeaponInfo_t15GetAttributeIntEPKcPK13CEconItemView"
|
|
|
|
}
|
2013-09-10 19:08:14 +02:00
|
|
|
"SetModelFromClass"
|
|
|
|
{
|
|
|
|
"library" "server"
|
2014-02-09 02:04:12 +01:00
|
|
|
"windows" "\x55\x8B\xEC\x83\xEC\x08\x56\x57\x8B\xF9\xC7\x45\xFC\x2A\x2A\x2A\x2A\x8B\x87"
|
2013-09-10 19:08:14 +02:00
|
|
|
"linux" "@_ZN9CCSPlayer17SetModelFromClassEv"
|
|
|
|
"mac" "@_ZN9CCSPlayer17SetModelFromClassEv"
|
|
|
|
}
|
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"
|
|
|
|
{
|
2013-10-03 16:43:20 +02:00
|
|
|
"CScoreBase" "m_bIsHoldingLookAtWeapon"
|
2012-12-15 20:36:52 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
"Offsets"
|
|
|
|
{
|
|
|
|
"CScore"
|
|
|
|
{
|
2013-10-03 16:43:20 +02:00
|
|
|
"windows" "55"
|
|
|
|
"linux" "55"
|
|
|
|
"mac" "55"
|
2012-12-15 20:36:52 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
"csgo"
|
|
|
|
{
|
|
|
|
"Keys"
|
|
|
|
{
|
2013-08-15 23:22:30 +02:00
|
|
|
"MVPsBase" "m_bIsLookingAtWeapon"
|
2012-12-15 20:36:52 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
"Offsets"
|
|
|
|
{
|
|
|
|
"MVPs"
|
|
|
|
{
|
2013-08-15 23:22:30 +02:00
|
|
|
"windows" "16"
|
|
|
|
"linux" "16"
|
|
|
|
"mac" "16"
|
2012-12-15 20:36:52 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2012-05-27 00:31:23 +02:00
|
|
|
}
|