2015-05-07 04:01:29 +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"
|
|
|
|
{
|
|
|
|
/* General Temp Entities */
|
|
|
|
"#default"
|
|
|
|
{
|
|
|
|
"Offsets"
|
|
|
|
{
|
|
|
|
"GetTEName"
|
|
|
|
{
|
|
|
|
"windows" "4"
|
|
|
|
"linux" "4"
|
|
|
|
"mac" "4"
|
|
|
|
}
|
|
|
|
"GetTENext"
|
|
|
|
{
|
|
|
|
"windows" "8"
|
|
|
|
"linux" "8"
|
|
|
|
"mac" "8"
|
|
|
|
}
|
|
|
|
"TE_GetServerClass"
|
|
|
|
{
|
|
|
|
"windows" "0"
|
|
|
|
"linux" "0"
|
|
|
|
"mac" "0"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* CBaseEntityOutput::FireOutput */
|
|
|
|
"#default"
|
|
|
|
{
|
|
|
|
"Signatures"
|
|
|
|
{
|
|
|
|
"FireOutput"
|
|
|
|
{
|
|
|
|
"library" "server"
|
|
|
|
"windows" "\x55\x8B\xEC\x81\xEC\x2A\x2A\x2A\x2A\xA1\x2A\x2A\x2A\x2A\x33\xC5\x89\x45\xFC\x53\x8B\x5D\x20\x8B\xC1\x8B\x4D\x1C\x56\x57\x8B"
|
|
|
|
"linux" "@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f"
|
|
|
|
"mac" "@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* SetUserInfo data */
|
|
|
|
"#default"
|
|
|
|
{
|
|
|
|
"Offsets"
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* CBaseClient::SetUserCVar(char const*,char const*);
|
|
|
|
* Linux offset straight from VTable dump.
|
|
|
|
* Windows offset is crazy. Found the windows SetName function using string "(%d)%-0.*s"
|
|
|
|
* Cross referenced back to the vtable and counted manually (SetUserCvar is 1 higher, offsets start from 1)
|
|
|
|
*/
|
|
|
|
"SetUserCvar"
|
|
|
|
{
|
|
|
|
"windows" "18"
|
|
|
|
"linux" "58"
|
|
|
|
"mac" "58"
|
|
|
|
}
|
|
|
|
/**
|
|
|
|
* CBaseClient::SetName(char const*);
|
|
|
|
* Linux offset straight from VTable dump.
|
|
|
|
* Has string "(%d)%-0.*s"
|
|
|
|
*/
|
|
|
|
"SetClientName"
|
|
|
|
{
|
|
|
|
"windows" "17"
|
|
|
|
"linux" "57"
|
|
|
|
"mac" "57"
|
|
|
|
}
|
|
|
|
/**
|
|
|
|
* Offset into CBaseClient - Used by CBaseServer::UpdateUserSettings to determine when changes have been made.
|
|
|
|
* Find CBaseClient::UpdateUserSettings (strings "net_maxroutable", "cl_updaterate" etc) and the offset is set to 0 near the end.
|
|
|
|
* Linux: mov byte ptr [esi+98h], 0
|
|
|
|
* Win: mov byte ptr [esi+0A4h], 0
|
|
|
|
*/
|
|
|
|
"InfoChanged"
|
|
|
|
{
|
|
|
|
"windows" "140"
|
|
|
|
"linux" "140"
|
|
|
|
"mac" "140"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
"#default"
|
|
|
|
{
|
|
|
|
"Offsets"
|
|
|
|
{
|
|
|
|
"GiveNamedItem"
|
|
|
|
{
|
2016-05-15 15:16:09 +02:00
|
|
|
"windows" "421"
|
|
|
|
"linux" "422"
|
|
|
|
"mac" "422"
|
2015-05-07 04:01:29 +02:00
|
|
|
}
|
|
|
|
"RemovePlayerItem"
|
|
|
|
{
|
2016-05-15 15:16:09 +02:00
|
|
|
"windows" "288"
|
|
|
|
"linux" "289"
|
|
|
|
"mac" "289"
|
2015-05-07 04:01:29 +02:00
|
|
|
}
|
|
|
|
"Weapon_GetSlot"
|
|
|
|
{
|
2016-05-15 15:16:09 +02:00
|
|
|
"windows" "286"
|
|
|
|
"linux" "287"
|
|
|
|
"mac" "287"
|
2015-05-07 04:01:29 +02:00
|
|
|
}
|
|
|
|
"Ignite"
|
|
|
|
{
|
2016-05-15 15:16:09 +02:00
|
|
|
"windows" "225"
|
|
|
|
"linux" "226"
|
|
|
|
"mac" "226"
|
2015-05-07 04:01:29 +02:00
|
|
|
}
|
|
|
|
"Extinguish"
|
|
|
|
{
|
2016-05-15 15:16:09 +02:00
|
|
|
"windows" "229"
|
|
|
|
"linux" "230"
|
|
|
|
"mac" "230"
|
2015-05-07 04:01:29 +02:00
|
|
|
}
|
|
|
|
"Teleport"
|
|
|
|
{
|
2015-12-22 15:54:05 +01:00
|
|
|
"windows" "116"
|
|
|
|
"linux" "117"
|
|
|
|
"mac" "117"
|
2015-05-07 04:01:29 +02:00
|
|
|
}
|
|
|
|
"CommitSuicide"
|
|
|
|
{
|
2016-05-15 15:16:09 +02:00
|
|
|
"windows" "461"
|
|
|
|
"linux" "461"
|
|
|
|
"mac" "461"
|
2015-05-07 04:01:29 +02:00
|
|
|
}
|
|
|
|
"GetVelocity"
|
|
|
|
{
|
2015-12-22 15:54:05 +01:00
|
|
|
"windows" "149"
|
|
|
|
"linux" "150"
|
|
|
|
"mac" "150"
|
2015-05-07 04:01:29 +02:00
|
|
|
}
|
|
|
|
"EyeAngles"
|
|
|
|
{
|
2015-12-22 15:54:05 +01:00
|
|
|
"windows" "139"
|
|
|
|
"linux" "140"
|
|
|
|
"mac" "140"
|
2015-05-07 04:01:29 +02:00
|
|
|
}
|
|
|
|
"SetEntityModel"
|
|
|
|
{
|
|
|
|
"windows" "24"
|
|
|
|
"linux" "25"
|
|
|
|
"mac" "25"
|
|
|
|
}
|
|
|
|
"AcceptInput"
|
|
|
|
{
|
|
|
|
"windows" "37"
|
|
|
|
"linux" "38"
|
|
|
|
"mac" "38"
|
|
|
|
}
|
|
|
|
"WeaponEquip"
|
|
|
|
{
|
2016-05-15 15:16:09 +02:00
|
|
|
"windows" "279"
|
|
|
|
"linux" "280"
|
|
|
|
"mac" "280"
|
2015-05-07 04:01:29 +02:00
|
|
|
}
|
|
|
|
"Activate"
|
|
|
|
{
|
|
|
|
"windows" "34"
|
|
|
|
"linux" "35"
|
|
|
|
"mac" "35"
|
|
|
|
}
|
|
|
|
"PlayerRunCmd"
|
|
|
|
{
|
2016-05-15 15:16:09 +02:00
|
|
|
"windows" "440"
|
|
|
|
"linux" "441"
|
|
|
|
"mac" "441"
|
2015-05-07 04:01:29 +02:00
|
|
|
}
|
|
|
|
"GiveAmmo"
|
|
|
|
{
|
2016-05-15 15:16:09 +02:00
|
|
|
"windows" "270"
|
|
|
|
"linux" "271"
|
|
|
|
"mac" "271"
|
2015-05-07 04:01:29 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
"Keys"
|
|
|
|
{
|
2015-12-22 15:54:28 +01:00
|
|
|
"GameRulesProxy" "CBM_MP_GameRulesProxy"
|
|
|
|
"GameRulesDataTable" "blackmesa_mp_gamerules_data"
|
2015-05-07 04:01:29 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|