amxmodx/gamedata/common.games/globalvars.engine.txt
2015-11-02 20:10:34 +01:00

92 lines
1.7 KiB
Plaintext

/**
* Do not edit this file. Any changes will be overwritten by the gamedata
* updater or by upgrading your AMX Mod X 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 AMXX's own.
*
* For more information, see http://wiki.alliedmods.net/Gamedata_Updating_(AMX_Mod_X)
*/
"Games"
{
"#default"
{
"Offsets"
{
"svs" // Used with pfnGetCurrentPlayer base address
{
"windows" "8"
}
}
"Addresses"
{
"realtime"
{
"windows"
{
"signature" "realtime"
"read" "2"
}
}
"sv"
{
"windows"
{
"signature" "sv"
"read" "2"
}
}
"g_pGameRules"
{
"signature" "g_pGameRules"
"windows"
{
"read" "2"
}
"read" "0"
}
}
"Signatures"
{
"svs" // server_static_t svs
{
"library" "engine"
"linux" "@svs"
"mac" "@svs"
}
"sv" // server_t sv
{
"library" "engine"
"windows" "\x8B\x2A\x2A\x2A\x2A\x2A\x8D\x2A\x2A\x2A\x2A\x2A\x53\x33\x2A\x89" // SVC_PlayerInfo()
"linux" "@sv"
"mac" "@sv"
}
"realtime" // double realtime
{
"library" "engine"
"windows" "\xDC\x2A\x2A\x2A\x2A\x2A\xA1\x2A\x2A\x2A\x2A\x56" // SV_CheckTimeouts()
"linux" "@realtime"
"mac" "@realtime"
}
"g_pGameRules" // CGameRules *g_pGameRules
{
"library" "server"
"windows" "\x8B\x2A\x2A\x2A\x2A\x2A\x85\x2A\x74\x2A\x8B\x2A\xFF\x2A\x2A\xA1" // StartFrame()
"linux" "@g_pGameRules"
"mac" "@g_pGameRules"
}
}
}
}