1.1 --- a/gamedata/sdktools.games.txt Mon Jun 30 02:34:21 2008 +0000
1.2 +++ b/gamedata/sdktools.games.txt Mon Jun 30 05:43:31 2008 +0000
1.3 @@ -248,6 +248,77 @@
1.4 }
1.5 }
1.6 }
1.7 +
1.8 + /* EntityFactoryDictionary function */
1.9 + "#default"
1.10 + {
1.11 + "Signatures"
1.12 + {
1.13 + "EntityFactory"
1.14 + {
1.15 + "library" "server"
1.16 + "windows" "\xB8\x01\x00\x00\x00\x84\x2A\x2A\x2A\x2A\x2A\x75\x1D\x09\x2A\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x68\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x83\xC4\x04\xB8\x2A\x2A\x2A\x2A\xC3"
1.17 + "linux" "@_Z23EntityFactoryDictionaryv"
1.18 + }
1.19 + }
1.20 + }
1.21 + /* CBaseEntityOutput::FireOutput */
1.22 + "#default"
1.23 + {
1.24 + "#supported"
1.25 + {
1.26 + "game" "cstrike"
1.27 + "game" "dod"
1.28 + "game" "hl2mp"
1.29 + }
1.30 + "Signatures"
1.31 + {
1.32 + "FireOutput"
1.33 + {
1.34 + "library" "server"
1.35 + "windows" "\x81\xEC\x1C\x03\x00\x00\x53\x55\x56\x8B\x71\x14"
1.36 + "linux" "@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f"
1.37 + }
1.38 + }
1.39 + "Offsets"
1.40 + {
1.41 + "FireOutputBackup"
1.42 + {
1.43 + "windows" "6"
1.44 + "linux" "6"
1.45 + }
1.46 + }
1.47 + }
1.48 +
1.49 + /* SetUserInfo data */
1.50 + "#default"
1.51 + {
1.52 + "Offsets"
1.53 + {
1.54 + /**
1.55 + * CBaseClient::SetUserCVar(char const*,char const*);
1.56 + * Linux offset straight from VTable dump.
1.57 + * Windows offset is crazy. Found the windows 'SetName' function using string "(%d)%-0.*s"
1.58 + * Cross referenced back to the vtable and counted manually (SetUserCvar is 1 higher, offsets start from 1)
1.59 + */
1.60 + "SetUserCvar"
1.61 + {
1.62 + "windows" "17"
1.63 + "linux" "53"
1.64 + }
1.65 + /**
1.66 + * Offset into CBaseClient - Used by CBaseServer::UpdateUserSettings to determine when changes have been made.
1.67 + * Find CBaseClient::UpdateUserSettings (strings "net_maxroutable", "cl_updaterate" etc) and the offset is set to 0 near the end.
1.68 + * Linux: mov byte ptr [esi+98h], 0
1.69 + * Win: mov byte ptr [esi+0A4h], 0
1.70 + */
1.71 + "InfoChanged"
1.72 + {
1.73 + "windows" "164"
1.74 + "linux" "152"
1.75 + }
1.76 + }
1.77 + }
1.78
1.79 /* Counter-Strike: Source */
1.80 "cstrike"
1.81 @@ -1818,75 +1889,5 @@
1.82 }
1.83 }
1.84 }
1.85 -
1.86 - /* EntityFactoryDictionary function */
1.87 - "#default"
1.88 - {
1.89 - "Signatures"
1.90 - {
1.91 - "EntityFactory"
1.92 - {
1.93 - "library" "server"
1.94 - "windows" "\xB8\x01\x00\x00\x00\x84\x2A\x2A\x2A\x2A\x2A\x75\x1D\x09\x2A\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x68\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x83\xC4\x04\xB8\x2A\x2A\x2A\x2A\xC3"
1.95 - "linux" "@_Z23EntityFactoryDictionaryv"
1.96 - }
1.97 - }
1.98 - }
1.99 - /* CBaseEntityOutput::FireOutput */
1.100 - "#default"
1.101 - {
1.102 - "#supported"
1.103 - {
1.104 - "game" "cstrike"
1.105 - "game" "hl2mp"
1.106 - }
1.107 - "Signatures"
1.108 - {
1.109 - "FireOutput"
1.110 - {
1.111 - "library" "server"
1.112 - "windows" "\x81\xEC\x1C\x03\x00\x00\x53\x55\x56\x8B\x71\x14"
1.113 - "linux" "@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f"
1.114 - }
1.115 - }
1.116 - "Offsets"
1.117 - {
1.118 - "FireOutputBackup"
1.119 - {
1.120 - "windows" "6"
1.121 - "linux" "6"
1.122 - }
1.123 - }
1.124 - }
1.125 -
1.126 - /* SetUserInfo data */
1.127 - "#default"
1.128 - {
1.129 - "Offsets"
1.130 - {
1.131 - /**
1.132 - * CBaseClient::SetUserCVar(char const*,char const*);
1.133 - * Linux offset straight from VTable dump.
1.134 - * Windows offset is crazy. Found the windows 'SetName' function using string "(%d)%-0.*s"
1.135 - * Cross referenced back to the vtable and counted manually (SetUserCvar is 1 higher, offsets start from 1)
1.136 - */
1.137 - "SetUserCvar"
1.138 - {
1.139 - "windows" "17"
1.140 - "linux" "53"
1.141 - }
1.142 - /**
1.143 - * Offset into CBaseClient - Used by CBaseServer::UpdateUserSettings to determine when changes have been made.
1.144 - * Find CBaseClient::UpdateUserSettings (strings "net_maxroutable", "cl_updaterate" etc) and the offset is set to 0 near the end.
1.145 - * Linux: mov byte ptr [esi+98h], 0
1.146 - * Win: mov byte ptr [esi+0A4h], 0
1.147 - */
1.148 - "InfoChanged"
1.149 - {
1.150 - "windows" "164"
1.151 - "linux" "152"
1.152 - }
1.153 - }
1.154 - }
1.155 }
1.156