reverted accidental stupid commit
authorDavid Anderson <dvander@alliedmods.net>
Mon Dec 03 22:57:47 2007 +0000 (2007-12-03)
changeset 175371f9d1beff04
parent 1752 7c0c5acb5fb4
child 1754 1bb03428ba04
reverted accidental stupid commit
gamedata/sdktools.games.ep2.txt
     1.1 --- a/gamedata/sdktools.games.ep2.txt	Mon Dec 03 22:55:23 2007 +0000
     1.2 +++ b/gamedata/sdktools.games.ep2.txt	Mon Dec 03 22:57:47 2007 +0000
     1.3 @@ -25,22 +25,13 @@
     1.4  			}
     1.5  		}
     1.6  	}
     1.7 -
     1.8 +	
     1.9  	/* General Temp Entities */
    1.10  	"#default"
    1.11  	{
    1.12  		"#supported"
    1.13  		{
    1.14 -			"game"		"cstrike"
    1.15 -			"game"		"dod"
    1.16 -			"game"		"hl2mp"
    1.17 -			"game"		"ship"
    1.18 -			"game"		"!Dystopia"
    1.19 -			"game"		"!Insurgency"
    1.20 -			"game"		"!Pirates, Vikings and Knights II"
    1.21 -			"game"		"!SourceForts v1.9.2"
    1.22 -			"game"		"FortressForever"
    1.23 -			"game"		"empires"
    1.24 +			"game"		"tf"
    1.25  		}
    1.26  
    1.27  		"Offsets"
    1.28 @@ -62,8 +53,8 @@
    1.29  			}
    1.30  			"TE_GetServerClass"
    1.31  			{
    1.32 -				"windows"	"1"
    1.33 -				"linux"		"1"
    1.34 +				"windows"	"0"
    1.35 +				"linux"		"0"
    1.36  			}
    1.37  		}
    1.38  
    1.39 @@ -82,71 +73,37 @@
    1.40  		}
    1.41  	}
    1.42  	
    1.43 -	/* General GameRules */
    1.44 +	/* Create Entity Signatures */
    1.45  	"#default"
    1.46  	{
    1.47  		"#supported"
    1.48  		{
    1.49 -			"game"		"cstrike"
    1.50 -			"game"		"dod"
    1.51 -			"game"		"garrysmod"
    1.52 -			"game"		"hl2mp"
    1.53 -			"game"		"ship"
    1.54 -			"game"		"!Dystopia"
    1.55 -			"game"		"!Insurgency"
    1.56 -			"game"		"!Pirates, Vikings and Knights II"
    1.57 -			"game"		"!SourceForts v1.9.2"
    1.58 -			"game"		"FortressForever"
    1.59 -			"game"		"empires"
    1.60 +			"game"		"tf"
    1.61  		}
    1.62 -		
    1.63 -		"Offsets"
    1.64 -		{
    1.65 -			/* Offset into CreateGameRulesObject */
    1.66 -			"g_pGameRules"
    1.67 -			{
    1.68 -				"windows"	"2"
    1.69 -			}
    1.70 -		}
    1.71 -		
    1.72 +
    1.73  		"Signatures"
    1.74  		{
    1.75 -			/* This signature sometimes has multiple matches, but this
    1.76 -			 * does not matter as g_pGameRules is involved in all of them.
    1.77 -			 * The same g_pGameRules offset applies to each match.
    1.78 -			 *
    1.79 -			 * Sometimes this block of bytes is at the beginning of the static
    1.80 -			 * CreateGameRulesObject function and sometimes it is in the middle
    1.81 -			 * of an entirely different function. This depends on the game.
    1.82 -			 */
    1.83 -			"CreateGameRulesObject"
    1.84 +			"DispatchSpawn"
    1.85  			{
    1.86  				"library"	"server"
    1.87 -				"windows"	"\x8B\x0D\x2A\x2A\x2A\x2A\x85\xC9\x74\x2A\x8B\x01\x6A\x01\xFF\x50"
    1.88 +				"linux"		"@_Z13DispatchSpawnP11CBaseEntity"
    1.89 +				"windows"	"\x53\x55\x56\x8B\x74\x24\x10\x85\xF6\x57\x0F\x84\x2A\x2A\x2A\x2A\x8B\x1D\x2A\x2A\x2A\x2A\x8B\x03\x8B\x50\x64\x8B\xCB"
    1.90  			}
    1.91 -			"g_pGameRules"
    1.92 +			"CreateEntityByName"
    1.93  			{
    1.94  				"library"	"server"
    1.95 -				"linux"		"@g_pGameRules"
    1.96 +				"linux"		"@_Z18CreateEntityByNamePKci"
    1.97 +				"windows"	"\x56\x8B\x74\x24\x0C\x83\xFE\xFF\x57\x8B\x7C\x24\x0C\x74\x27\x8B\x0D\x2A\x2A\x2A\x2A\x8B\x01\x8B\x50\x54\x56\xFF\xD2"
    1.98  			}
    1.99  		}
   1.100  	}
   1.101 -	
   1.102 +
   1.103  	/* CGlobalEntityList */
   1.104  	"#default"
   1.105  	{
   1.106  		"#supported"
   1.107  		{
   1.108 -			"game"		"cstrike"
   1.109 -			"game"		"dod"
   1.110 -			"game"		"garrysmod"
   1.111 -			"game"		"hl2mp"
   1.112 -			"game"		"ship"
   1.113 -			"game"		"!Insurgency"
   1.114 -			"game"		"!Pirates, Vikings and Knights II"
   1.115 -			"game"		"!SourceForts v1.9.2"
   1.116 -			"game"		"FortressForever"
   1.117 -			"game"		"empires"
   1.118 +			"game"		"tf"
   1.119  		}
   1.120  		
   1.121  		"Offsets"
   1.122 @@ -175,795 +132,61 @@
   1.123  			"FindEntityByClassname"
   1.124  			{
   1.125  				"library"	"server"
   1.126 -				"windows"	"\x53\x55\x56\x8B\xF1\x8B\x4C\x24\x2A\x85\xC9\x57\x74\x2A\x8B\x01\xFF\x50\x2A\x8B\x08\x81\xE1\x2A\x2A\x2A\x2A\x83\xC1\x2A\xC1\xE1\x2A\x8B\x3C\x31\xEB\x2A\x8B\xBE\x2A\x2A\x2A\x2A\x85\xFF\x74\x2A\x8B\x5C\x24\x2A\x8B\x2D\x2A\x2A\x2A\x2A\x8D\x9B\x00\x00\x00\x00\x8B\x37\x85\xF6\x75\x2A\x68\x2A\x2A\x2A\x2A\xFF\x2A\x83\xC4\x2A\xEB\x2A\x39"
   1.127 +				"windows"	"\x53\x55\x56\x8B\xF1\x8B\x4C\x24\x10\x85\xC9\x57\x74\x19\x8B\x01\x8B\x50\x08\xFF\xD2\x8B\x00\x25\xFF\x0F\x00\x00\x83\xC0\x01\xC1\xE0\x04\x8B\x3C\x30\xEB\x06\x8B\xBE\x2A\x2A\x2A\x2A\x85\xFF\x74\x39\x8B\x5C\x24\x18\x8B\x2D\x2A\x2A\x2A\x2A\xEB\x03"
   1.128  				"linux"		"@_ZN17CGlobalEntityList21FindEntityByClassnameEP11CBaseEntityPKc"
   1.129  			}
   1.130  		}
   1.131  	}
   1.132  
   1.133 -	/* Create Entity Signatures */
   1.134 +	/* General GameRules */
   1.135  	"#default"
   1.136  	{
   1.137  		"#supported"
   1.138  		{
   1.139 -			"game"		"cstrike"
   1.140 -			"game"		"dod"
   1.141 -			"game"		"hl2mp"
   1.142 -			"game"		"!Insurgency"
   1.143 -			"game"		"!Pirates, Vikings and Knights II"
   1.144 -			"game"		"FortressForever"
   1.145 -			"game"		"empires"
   1.146 -		}
   1.147 -
   1.148 -		"Signatures"
   1.149 -		{
   1.150 -			"DispatchSpawn"
   1.151 -			{
   1.152 -				"library"	"server"
   1.153 -				"linux"		"@_Z13DispatchSpawnP11CBaseEntity"
   1.154 -				"windows"	"\x53\x55\x56\x8B\x74\x24\x10\x85\xF6\x57\x0F\x84\x2A\x2A\x2A\x2A\x8B\x1D\x2A\x2A\x2A\x2A\x8B\x03\x8B\xCB\xFF\x50\x60"
   1.155 -			}
   1.156 -			"CreateEntityByName"
   1.157 -			{
   1.158 -				"library"	"server"
   1.159 -				"linux"		"@_Z18CreateEntityByNamePKci"
   1.160 -				"windows"	"\x56\x8B\x74\x24\x0C\x83\xFE\xFF\x57\x8B\x7C\x24\x0C\x74\x25\x8B\x0D\x2A\x2A\x2A\x2A\x8B\x01\x56\xFF\x50\x54\x85\xC0"
   1.161 -			}
   1.162 -		}
   1.163 -	}
   1.164 -
   1.165 -	/* Create Entity Signatures */
   1.166 -	"!SourceForts v1.9.2"
   1.167 -	{
   1.168 -		"Signatures"
   1.169 -		{
   1.170 -			"DispatchSpawn"
   1.171 -			{
   1.172 -				"library"	"server"
   1.173 -				"linux"		"@_Z13DispatchSpawnP11CBaseEntity"
   1.174 -				"windows"	"\x53\x56\x8B\x74\x24\x0C\x85\xF6\x57\x0F\x84\x2A\x2A\x2A\x2A\x8B\x1D\x2A\x2A\x2A\x2A\x8B\x03\x8B\xCB\xFF\x50\x14\x8B\x16\x8B\xCE"
   1.175 -			}
   1.176 -			"CreateEntityByName"
   1.177 -			{
   1.178 -				"library"	"server"
   1.179 -				"linux"		"@_Z18CreateEntityByNamePKci"
   1.180 -				"windows"	"\x56\x8B\x74\x24\x0C\x83\xFE\xFF\x57\x8B\x7C\x24\x0C\x74\x25\x8B\x0D\x2A\x2A\x2A\x2A\x8B\x01\x56\xFF\x50\x54\x85\xC0"
   1.181 -			}
   1.182 -		}
   1.183 -	}
   1.184 -
   1.185 -	/* Create Entity Signatures */
   1.186 -	"ship"
   1.187 -	{
   1.188 -		"Signatures"
   1.189 -		{
   1.190 -			"DispatchSpawn"
   1.191 -			{
   1.192 -				"library"	"server"
   1.193 -				"linux"		"@_Z13DispatchSpawnP11CBaseEntity"
   1.194 -				"windows"	"\x53\x56\x8B\x74\x24\x0C\x85\xF6\x57\x0F\x84\x2A\x2A\x2A\x2A\x8B\x1D\x2A\x2A\x2A\x2A\x8B\x03\x8B\xCB\xFF\x50\x60\x8B\0x16"
   1.195 -			}
   1.196 -			"CreateEntityByName"
   1.197 -			{
   1.198 -				"library"	"server"
   1.199 -				"linux"		"@_Z18CreateEntityByNamePKci"
   1.200 -				"windows"	"\x56\x8B\x74\x24\x0C\x83\xFE\xFF\x57\x8B\x7C\x24\x0C\x74\x25\x8B\x0D\x2A\x2A\x2A\x2A\x8B\x01\x56\xFF\x50\x54\x85\xC0"
   1.201 -			}
   1.202 -		}
   1.203 -	}
   1.204 -
   1.205 -	/* Counter-Strike: Source */
   1.206 -	"cstrike"
   1.207 -	{
   1.208 -		"Keys"
   1.209 -		{
   1.210 -			"SlapSoundCount"	"3"
   1.211 -			"SlapSound1"		"player/damage1.wav"
   1.212 -			"SlapSound2"		"player/damage2.wav"
   1.213 -			"SlapSound3"		"player/damage3.wav"
   1.214 +			"game"		"tf"
   1.215  		}
   1.216 -
   1.217 -		"Offsets"
   1.218 -		{
   1.219 -			"GiveNamedItem"
   1.220 -			{
   1.221 -				"windows"	"329"
   1.222 -				"linux"		"330"
   1.223 -			}
   1.224 -			"RemovePlayerItem"
   1.225 -			{
   1.226 -				"windows"	"226"
   1.227 -				"linux"		"227"
   1.228 -			}
   1.229 -			"Weapon_GetSlot"
   1.230 -			{
   1.231 -				"windows"	"224"
   1.232 -				"linux"		"225"
   1.233 -			}
   1.234 -			"Ignite"
   1.235 -			{
   1.236 -				"windows"	"188"
   1.237 -				"linux"		"189"
   1.238 -			}
   1.239 -			"Extinguish"
   1.240 -			{
   1.241 -				"windows"	"189"
   1.242 -				"linux"		"190"
   1.243 -			}
   1.244 -			"Teleport"
   1.245 -			{
   1.246 -				"windows"	"98"
   1.247 -				"linux"		"99"
   1.248 -			}
   1.249 -			"CommitSuicide"
   1.250 -			{
   1.251 -				"windows"	"357"
   1.252 -				"linux"		"358"
   1.253 -			}
   1.254 -			"GetVelocity"
   1.255 -			{
   1.256 -				"windows"	"126"
   1.257 -				"linux"		"127"
   1.258 -			}
   1.259 -			"EyeAngles"
   1.260 -			{
   1.261 -				"windows"	"118"
   1.262 -				"linux"		"119"
   1.263 -			}
   1.264 -			"AcceptInput"
   1.265 -			{
   1.266 -				"windows"	"35"
   1.267 -				"linux"		"36"
   1.268 -			}
   1.269 -			"DispatchKeyValue"
   1.270 -			{
   1.271 -				"windows"	"31"
   1.272 -				"linux"		"30"
   1.273 -			}
   1.274 -			"DispatchKeyValueFloat"
   1.275 -			{
   1.276 -				"windows"	"30"
   1.277 -				"linux"		"31"
   1.278 -			}
   1.279 -			"DispatchKeyValueVector"
   1.280 -			{
   1.281 -				"windows"	"29"
   1.282 -				"linux"		"32"
   1.283 -			}
   1.284 -			"SetEntityModel"
   1.285 -			{
   1.286 -				"windows"	"25"
   1.287 -				"linux"		"26"
   1.288 -			}
   1.289 -		}
   1.290 -	}
   1.291 -
   1.292 -	/* Day of Defeat */
   1.293 -	"dod"
   1.294 -	{
   1.295 -		"Offsets"
   1.296 -		{
   1.297 -			"GiveNamedItem"
   1.298 -			{
   1.299 -				"windows"	"328"
   1.300 -				"linux"		"330"
   1.301 -			}
   1.302 -			"RemovePlayerItem"
   1.303 -			{
   1.304 -				"windows"	"226"
   1.305 -				"linux"		"227"
   1.306 -			}
   1.307 -			"Weapon_GetSlot"
   1.308 -			{
   1.309 -				"windows"	"224"
   1.310 -				"linux"		"225"
   1.311 -			}
   1.312 -			"Ignite"
   1.313 -			{
   1.314 -				"windows"	"188"
   1.315 -				"linux"		"189"
   1.316 -			}
   1.317 -			"Extinguish"
   1.318 -			{
   1.319 -				"windows"	"189"
   1.320 -				"linux"		"190"
   1.321 -			}
   1.322 -			"Teleport"
   1.323 -			{
   1.324 -				"windows"	"98"
   1.325 -				"linux"		"99"
   1.326 -			}
   1.327 -			"CommitSuicide"
   1.328 -			{
   1.329 -				"windows"	"356"
   1.330 -				"linux"		"357"
   1.331 -			}
   1.332 -			"GetVelocity"
   1.333 -			{
   1.334 -				"windows"	"126"
   1.335 -				"linux"		"127"
   1.336 -			}
   1.337 -			"EyeAngles"
   1.338 -			{
   1.339 -				"windows"	"118"
   1.340 -				"linux"		"119"
   1.341 -			}
   1.342 -			"AcceptInput"
   1.343 -			{
   1.344 -				"windows"	"35"
   1.345 -				"linux"		"36"
   1.346 -			}
   1.347 -			"DispatchKeyValue"
   1.348 -			{
   1.349 -				"windows"	"31"
   1.350 -				"linux"		"30"
   1.351 -			}
   1.352 -			"DispatchKeyValueFloat"
   1.353 -			{
   1.354 -				"windows"	"30"
   1.355 -				"linux"		"31"
   1.356 -			}
   1.357 -			"DispatchKeyValueVector"
   1.358 -			{
   1.359 -				"windows"	"29"
   1.360 -				"linux"		"32"
   1.361 -			}
   1.362 -			"SetEntityModel"
   1.363 -			{
   1.364 -				"windows"	"25"
   1.365 -				"linux"		"26"
   1.366 -			}
   1.367 -		}
   1.368 -	}
   1.369 -	
   1.370 -	/* Half-Life 2: Deathmatch */
   1.371 -	"hl2mp"
   1.372 -	{
   1.373 +		
   1.374  		"Offsets"
   1.375  		{
   1.376 -			"GiveNamedItem"
   1.377 -			{
   1.378 -				"windows"	"328"
   1.379 -				"linux"		"329"
   1.380 -			}
   1.381 -			"RemovePlayerItem"
   1.382 -			{
   1.383 -				"windows"	"226"
   1.384 -				"linux"		"227"
   1.385 -			}
   1.386 -			"Weapon_GetSlot"
   1.387 -			{
   1.388 -				"windows"	"224"
   1.389 -				"linux"		"225"
   1.390 -			}
   1.391 -			"Ignite"
   1.392 -			{
   1.393 -				"windows"	"188"
   1.394 -				"linux"		"189"
   1.395 -			}
   1.396 -			"Extinguish"
   1.397 -			{
   1.398 -				"windows"	"189"
   1.399 -				"linux"		"190"
   1.400 -			}
   1.401 -			"Teleport"
   1.402 -			{
   1.403 -				"windows"	"98"
   1.404 -				"linux"		"99"
   1.405 -			}
   1.406 -			"CommitSuicide"
   1.407 +			/* Offset into CreateGameRulesObject */
   1.408 +			"g_pGameRules"
   1.409  			{
   1.410 -				"windows"	"356"
   1.411 -				"linux"		"357"
   1.412 -			}
   1.413 -			"GetVelocity"
   1.414 -			{
   1.415 -				"windows"	"126"
   1.416 -				"linux"		"127"
   1.417 -			}
   1.418 -			"EyeAngles"
   1.419 -			{
   1.420 -				"windows"	"118"
   1.421 -				"linux"		"119"
   1.422 -			}
   1.423 -			"AcceptInput"
   1.424 -			{
   1.425 -				"windows"	"35"
   1.426 -				"linux"		"36"
   1.427 -			}
   1.428 -			"DispatchKeyValue"
   1.429 -			{
   1.430 -				"windows"	"31"
   1.431 -				"linux"		"30"
   1.432 -			}
   1.433 -			"DispatchKeyValueFloat"
   1.434 -			{
   1.435 -				"windows"	"30"
   1.436 -				"linux"		"31"
   1.437 -			}
   1.438 -			"DispatchKeyValueVector"
   1.439 -			{
   1.440 -				"windows"	"29"
   1.441 -				"linux"		"32"
   1.442 -			}
   1.443 -			"SetEntityModel"
   1.444 -			{
   1.445 -				"windows"	"25"
   1.446 -				"linux"		"26"
   1.447 +				"windows"	"2"
   1.448  			}
   1.449  		}
   1.450 -	}
   1.451 -	
   1.452 -	/* The Ship */
   1.453 -	"ship"
   1.454 -	{
   1.455 -		"Offsets"
   1.456 -		{
   1.457 -			/* CBasePlayer */
   1.458 -			"GiveNamedItem"
   1.459 -			{
   1.460 -				"windows"	"316"
   1.461 -				"linux"		"317"
   1.462 -			}
   1.463 -			"RemovePlayerItem"
   1.464 -			{
   1.465 -				"windows"	"220"
   1.466 -				"linux"		"221"
   1.467 -			}
   1.468 -			"Weapon_GetSlot"
   1.469 -			{
   1.470 -				"windows"	"218"
   1.471 -				"linux"		"219"
   1.472 -			}
   1.473 -			"Ignite"
   1.474 -			{
   1.475 -				"windows"	"180"
   1.476 -				"linux"		"181"
   1.477 -			}
   1.478 -			"Extinguish"
   1.479 -			{
   1.480 -				"windows"	"181"
   1.481 -				"linux"		"182"
   1.482 -			}
   1.483 -			"Teleport"
   1.484 -			{
   1.485 -				"windows"	"100"
   1.486 -				"linux"		"101"
   1.487 -			}
   1.488 -			"CommitSuicide"
   1.489 -			{
   1.490 -				"windows"	"343"
   1.491 -				"linux"		"344"
   1.492 -			}
   1.493 -			"GetVelocity"
   1.494 -			{
   1.495 -				"windows"	"124"
   1.496 -				"linux"		"125"
   1.497 -			}
   1.498 -			"EyeAngles"
   1.499 -			{
   1.500 -				"windows"	"116"
   1.501 -				"linux"		"117"
   1.502 -			}
   1.503 -			"DispatchKeyValue"
   1.504 -			{
   1.505 -				"windows"	"35"
   1.506 -				"linux"		"34"
   1.507 -			}
   1.508 -			"DispatchKeyValueFloat"
   1.509 -			{
   1.510 -				"windows"	"34"
   1.511 -				"linux"		"35"
   1.512 -			}
   1.513 -			"DispatchKeyValueVector"
   1.514 -			{
   1.515 -				"windows"	"33"
   1.516 -				"linux"		"36"
   1.517 -			}
   1.518 -			"AcceptInput"
   1.519 -			{
   1.520 -				"windows"	"39"
   1.521 -				"linux"		"40"
   1.522 -			}
   1.523 -			"SetEntityModel"
   1.524 -			{
   1.525 -				"windows"	"30"
   1.526 -				"linux"		"31"
   1.527 -			}
   1.528 -			
   1.529 -			/* Temp Entities */
   1.530 -			"TE_GetServerClass"
   1.531 -			{
   1.532 -				"windows"	"0"
   1.533 -				"linux"		"0"
   1.534 -			}
   1.535 -		}
   1.536 -	}
   1.537 -	
   1.538 -	/* Dsytopia */
   1.539 -	"!Dystopia"
   1.540 -	{
   1.541 -
   1.542 -		"Offsets"
   1.543 -		{
   1.544 -			/* CBasePlayer */
   1.545 -			"GiveNamedItem"
   1.546 -			{
   1.547 -				"windows"	"331"
   1.548 -				"linux"		"332"
   1.549 -			}
   1.550 -			"RemovePlayerItem"
   1.551 -			{
   1.552 -				"windows"	"229"
   1.553 -				"linux"		"230"
   1.554 -			}
   1.555 -			"Weapon_GetSlot"
   1.556 -			{
   1.557 -				"windows"	"227"
   1.558 -				"linux"		"228"
   1.559 -			}
   1.560 -			"Ignite"
   1.561 -			{
   1.562 -				"windows"	"191"
   1.563 -				"linux"		"192"
   1.564 -			}
   1.565 -			"Extinguish"
   1.566 -			{
   1.567 -				"windows"	"192"
   1.568 -				"linux"		"193"
   1.569 -			}
   1.570 -			"Teleport"
   1.571 -			{
   1.572 -				"windows"	"100"
   1.573 -				"linux"		"101"
   1.574 -			}
   1.575 -			"CommitSuicide"
   1.576 -			{
   1.577 -				"windows"	"360"
   1.578 -				"linux"		"361"
   1.579 -			}
   1.580 -			"GetVelocity"
   1.581 -			{
   1.582 -				"windows"	"128"
   1.583 -				"linux"		"129"
   1.584 -			}
   1.585 -			"EyeAngles"
   1.586 -			{
   1.587 -				"windows"	"120"
   1.588 -				"linux"		"121"
   1.589 -			}
   1.590 -			"AcceptInput"
   1.591 -			{
   1.592 -				"windows"	"35"
   1.593 -				"linux"		"36"
   1.594 -			}
   1.595 -			"DispatchKeyValue"
   1.596 -			{
   1.597 -				"windows"	"31"
   1.598 -				"linux"		"30"
   1.599 -			}
   1.600 -			"DispatchKeyValueFloat"
   1.601 -			{
   1.602 -				"windows"	"30"
   1.603 -				"linux"		"31"
   1.604 -			}
   1.605 -			"DispatchKeyValueVector"
   1.606 -			{
   1.607 -				"windows"	"29"
   1.608 -				"linux"		"32"
   1.609 -			}
   1.610 -			"SetEntityModel"
   1.611 -			{
   1.612 -				"windows"	"25"
   1.613 -				"linux"		"26"
   1.614 -			}
   1.615 -
   1.616 -			/* Offset into CBaseTempEntity constructor.
   1.617 -			 * On Windows Dsytopia is heavily inlined; we use the function 
   1.618 -			 * surrounding "aCouldnTFindTem" in IDA instead.
   1.619 -			 */
   1.620 -			"s_pTempEntities"
   1.621 -			{
   1.622 -				"windows"	"70"
   1.623 -			}
   1.624 -		}
   1.625 -
   1.626 +		
   1.627  		"Signatures"
   1.628  		{
   1.629 -			/* On Windows Dsytopia is heavily inlined; we use the function 
   1.630 -			 * surrounding "aCouldnTFindTem" in IDA instead.
   1.631 -			 */
   1.632 -			"CBaseTempEntity"
   1.633 -			{
   1.634 -				"library"	"server"
   1.635 -				"windows"	"\x81\xEC\x84\x00\x00\x00\x56\x8B\xF1\x8B\x46\x6C\x57\x8D\x7E\x6C\x8D\x4C\x24\x08\x83\xC8\x20\x51\x89\x44\x24\x0C\xE8\x2A\x2A\x2A"
   1.636 -			}
   1.637 -
   1.638 -			/* Dystopia always has to be different, doesn't it
   1.639 +			/* This signature sometimes has multiple matches, but this
   1.640 +			 * does not matter as g_pGameRules is involved in all of them.
   1.641 +			 * The same g_pGameRules offset applies to each match.
   1.642  			 *
   1.643 -			 * This is very similar to the general signature, except that
   1.644 -			 * it does "mov edx, [eax+2Ch]" before making a call rather than
   1.645 -			 * doing "call dword ptr [eax+2Ch]"
   1.646 +			 * Sometimes this block of bytes is at the beginning of the static
   1.647 +			 * CreateGameRulesObject function and sometimes it is in the middle
   1.648 +			 * of an entirely different function. This depends on the game.
   1.649  			 */
   1.650  			"CreateGameRulesObject"
   1.651  			{
   1.652  				"library"	"server"
   1.653  				"windows"	"\x8B\x0D\x2A\x2A\x2A\x2A\x85\xC9\x74\x2A\x8B\x01\x8B\x50\x2A\x6A\x01\xFF\xD2"
   1.654  			}
   1.655 -		}
   1.656 -	}
   1.657 -
   1.658 -	/* Insurgency Generic */
   1.659 -	"!Insurgency"
   1.660 -	{
   1.661 -		"Offsets"
   1.662 -		{
   1.663 -			/* CBasePlayer */
   1.664 -			"Ignite"
   1.665 -			{
   1.666 -				"windows"	"174"
   1.667 -				"linux"		"175"
   1.668 -			}
   1.669 -			"Extinguish"
   1.670 -			{
   1.671 -				"windows"	"175"
   1.672 -				"linux"		"176"
   1.673 -			}
   1.674 -			"Teleport"
   1.675 -			{
   1.676 -				"windows"	"90"
   1.677 -				"linux"		"91"
   1.678 -			}
   1.679 -			"GetVelocity"
   1.680 -			{
   1.681 -				"windows"	"115"
   1.682 -				"linux"		"116"
   1.683 -			}
   1.684 -			"EyeAngles"
   1.685 -			{
   1.686 -				"windows"	"107"
   1.687 -				"linux"		"108"
   1.688 -			}
   1.689 -			"AcceptInput"
   1.690 -			{
   1.691 -				"windows"	"34"
   1.692 -				"linux"		"35"
   1.693 -			}
   1.694 -			"s_pTempEntities"
   1.695 +			"g_pGameRules"
   1.696  			{
   1.697 -				"linux"		"28"
   1.698 -			}
   1.699 -			"DispatchKeyValue"
   1.700 -			{
   1.701 -				"windows"	"30"
   1.702 -				"linux"		"29"
   1.703 -			}
   1.704 -			"DispatchKeyValueFloat"
   1.705 -			{
   1.706 -				"windows"	"29"
   1.707 -				"linux"		"30"
   1.708 -			}
   1.709 -			"DispatchKeyValueVector"
   1.710 -			{
   1.711 -				"windows"	"28"
   1.712 -				"linux"		"31"
   1.713 -			}
   1.714 -			"SetEntityModel"
   1.715 -			{
   1.716 -				"windows"	"24"
   1.717 -				"linux"		"25"
   1.718 -			}
   1.719 -		}
   1.720 -	}
   1.721 -
   1.722 -	/* Insurgency 1.1a Patch for Linux */
   1.723 -	"!Insurgency"
   1.724 -	{
   1.725 -		"CRC"
   1.726 -		{
   1.727 -			"server"
   1.728 -			{
   1.729 -				"linux"		"6D0E55DC"
   1.730 -			}
   1.731 -		}
   1.732 -
   1.733 -		"Offsets"
   1.734 -		{
   1.735 -			"s_pTempEntities"
   1.736 -			{
   1.737 -				"linux"		"29"
   1.738 +				"library"	"server"
   1.739 +				"linux"		"@g_pGameRules"
   1.740  			}
   1.741  		}
   1.742  	}
   1.743  
   1.744 -	/* Pirates, Vikings and Knights II */
   1.745 -	"!Pirates, Vikings and Knights II"
   1.746 -	{
   1.747 -		"Offsets"
   1.748 -		{
   1.749 -			/* CBasePlayer */
   1.750 -			"GiveNamedItem"
   1.751 -			{
   1.752 -				"windows"	"328"
   1.753 -				"linux"		"329"
   1.754 -			}
   1.755 -			"RemovePlayerItem"
   1.756 -			{
   1.757 -				"windows"	"226"
   1.758 -				"linux"		"227"
   1.759 -			}
   1.760 -			"Weapon_GetSlot"
   1.761 -			{
   1.762 -				"windows"	"224"
   1.763 -				"linux"		"225"
   1.764 -			}
   1.765 -			"Ignite"
   1.766 -			{
   1.767 -				"windows"	"188"
   1.768 -				"linux"		"189"
   1.769 -			}
   1.770 -			"Extinguish"
   1.771 -			{
   1.772 -				"windows"	"189"
   1.773 -				"linux"		"190"
   1.774 -			}
   1.775 -			"Teleport"
   1.776 -			{
   1.777 -				"windows"	"98"
   1.778 -				"linux"		"99"
   1.779 -			}
   1.780 -			"CommitSuicide"
   1.781 -			{
   1.782 -				"windows"	"356"
   1.783 -				"linux"		"357"
   1.784 -			}
   1.785 -			"GetVelocity"
   1.786 -			{
   1.787 -				"windows"	"126"
   1.788 -				"linux"		"127"
   1.789 -			}
   1.790 -			"EyeAngles"
   1.791 -			{
   1.792 -				"windows"	"118"
   1.793 -				"linux"		"119"
   1.794 -			}
   1.795 -			"AcceptInput"
   1.796 -			{
   1.797 -				"windows"	"35"
   1.798 -				"linux"		"36"
   1.799 -			}
   1.800 -			"DispatchKeyValue"
   1.801 -			{
   1.802 -				"windows"	"31"
   1.803 -				"linux"		"30"
   1.804 -			}
   1.805 -			"DispatchKeyValueFloat"
   1.806 -			{
   1.807 -				"windows"	"30"
   1.808 -				"linux"		"31"
   1.809 -			}
   1.810 -			"DispatchKeyValueVector"
   1.811 -			{
   1.812 -				"windows"	"29"
   1.813 -				"linux"		"32"
   1.814 -			}
   1.815 -			"SetEntityModel"
   1.816 -			{
   1.817 -				"windows"	"25"
   1.818 -				"linux"		"26"
   1.819 -			}
   1.820 -			
   1.821 -			/* Temp Entities */
   1.822 -			"s_pTempEntities"
   1.823 -			{
   1.824 -				"linux"		"29"
   1.825 -			}
   1.826 -		}
   1.827 -	}
   1.828 -
   1.829 -	/* SourceForts 1.9.2 */
   1.830 -	"!SourceForts v1.9.2"
   1.831 +	/* Team Fortress 2 Offsets */
   1.832 +	"tf"
   1.833  	{
   1.834  		"Offsets"
   1.835  		{
   1.836 -			/* CBasePlayer */
   1.837 -			"GiveNamedItem"
   1.838 -			{
   1.839 -				"windows"	"294"
   1.840 -				"linux"		"295"
   1.841 -			}
   1.842 -			"RemovePlayerItem"
   1.843 -			{
   1.844 -				"windows"	"207"
   1.845 -				"linux"		"208"
   1.846 -			}
   1.847 -			"Weapon_GetSlot"
   1.848 -			{
   1.849 -				"windows"	"205"
   1.850 -				"linux"		"206"
   1.851 -			}
   1.852 -			"Ignite"
   1.853 -			{
   1.854 -				"windows"	"170"
   1.855 -				"linux"		"171"
   1.856 -			}
   1.857 -			"Extinguish"
   1.858 -			{
   1.859 -				"windows"	"171"
   1.860 -				"linux"		"172"
   1.861 -			}
   1.862 -			"Teleport"
   1.863 -			{
   1.864 -				"windows"	"90"
   1.865 -				"linux"		"91"
   1.866 -			}
   1.867 -			"GetVelocity"
   1.868 -			{
   1.869 -				"windows"	"114"
   1.870 -				"linux"		"115"
   1.871 -			}
   1.872 -			"EyeAngles"
   1.873 -			{
   1.874 -				"windows"	"106"
   1.875 -				"linux"		"107"
   1.876 -			}
   1.877 -			"DispatchKeyValue"
   1.878 -			{
   1.879 -				"windows"	"30"
   1.880 -				"linux"		"29"
   1.881 -			}
   1.882 -			"DispatchKeyValueFloat"
   1.883 -			{
   1.884 -				"windows"	"29"
   1.885 -				"linux"		"30"
   1.886 -			}
   1.887 -			"DispatchKeyValueVector"
   1.888 -			{
   1.889 -				"windows"	"28"
   1.890 -				"linux"		"31"
   1.891 -			}
   1.892 -			"AcceptInput"
   1.893 -			{
   1.894 -				"windows"	"34"
   1.895 -				"linux"		"35"
   1.896 -			}
   1.897 -			"SetEntityModel"
   1.898 -			{
   1.899 -				"windows"	"25"
   1.900 -				"linux"		"26"
   1.901 -			}
   1.902 -
   1.903 -			/* Temp Entities */
   1.904 -			"s_pTempEntities"
   1.905 -			{
   1.906 -				"linux"		"29"
   1.907 -			}
   1.908 -			"TE_GetServerClass"
   1.909 -			{
   1.910 -				"windows"	"0"
   1.911 -				"linux"		"0"
   1.912 -			}
   1.913 -		}
   1.914 -	}
   1.915 -	
   1.916 -	/* Fortress Forever */
   1.917 -	"FortressForever"
   1.918 -	{
   1.919 -		"Signatures"
   1.920 -		{
   1.921 -			"CreateGameRulesObject"
   1.922 -			{
   1.923 -				"library"	"server"
   1.924 -				"windows"	"\x8B\x0D\x2A\x2A\x2A\x2A\x3B\xCB\x74\x07\x8B\x01\x6A\x01\xFF\x50"
   1.925 -			}
   1.926 -		}
   1.927 -		
   1.928 -		"Offsets"
   1.929 -		{
   1.930  			"GiveNamedItem"
   1.931  			{
   1.932 -				"windows"	"338"
   1.933 -				"linux"		"339"
   1.934 +				"windows"	"348"
   1.935 +				"linux"		"349"
   1.936  			}
   1.937  			"RemovePlayerItem"
   1.938  			{
   1.939 @@ -977,212 +200,58 @@
   1.940  			}
   1.941  			"Ignite"
   1.942  			{
   1.943 -				"windows"	"198"
   1.944 -				"linux"		"199"
   1.945 +				"windows"	"191"
   1.946 +				"linux"		"192"
   1.947  			}
   1.948  			"Extinguish"
   1.949  			{
   1.950 -				"windows"	"199"
   1.951 -				"linux"		"200"
   1.952 -			}
   1.953 -			"Teleport"
   1.954 -			{
   1.955 -				"windows"	"104"
   1.956 -				"linux"		"105"
   1.957 -			}
   1.958 -			"CommitSuicide"
   1.959 -			{
   1.960 -				"windows"	"366"
   1.961 -				"linux"		"367"
   1.962 -			}
   1.963 -			"GetVelocity"
   1.964 -			{
   1.965 -				"windows"	"136"
   1.966 -				"linux"		"137"
   1.967 -			}
   1.968 -			"EyeAngles"
   1.969 -			{
   1.970 -				"windows"	"128"
   1.971 -				"linux"		"129"
   1.972 -			}
   1.973 -			"AcceptInput"
   1.974 -			{
   1.975 -				"windows"	"39"
   1.976 -				"linux"		"40"
   1.977 -			}
   1.978 -			"DispatchKeyValue"
   1.979 -			{
   1.980 -				"windows"	"35"
   1.981 -				"linux"		"34"
   1.982 -			}
   1.983 -			"DispatchKeyValueFloat"
   1.984 -			{
   1.985 -				"windows"	"34"
   1.986 -				"linux"		"35"
   1.987 -			}
   1.988 -			"DispatchKeyValueVector"
   1.989 -			{
   1.990 -				"windows"	"33"
   1.991 -				"linux"		"36"
   1.992 -			}
   1.993 -			"SetEntityModel"
   1.994 -			{
   1.995 -				"windows"	"27"
   1.996 -				"linux"		"28"
   1.997 -			}
   1.998 -		}
   1.999 -	}
  1.1000 -
  1.1001 -	/* Garry's Mod 10 - Windows only */
  1.1002 -	"garrysmod"
  1.1003 -	{
  1.1004 -		"Offsets"
  1.1005 -		{
  1.1006 -			"GiveNamedItem"
  1.1007 -			{
  1.1008 -				"windows"	"366"
  1.1009 -			}
  1.1010 -			"RemovePlayerItem"
  1.1011 -			{
  1.1012 -				"windows"	"264"
  1.1013 -			}
  1.1014 -			"Weapon_GetSlot"
  1.1015 -			{
  1.1016 -				"windows"	"262"
  1.1017 -			}
  1.1018 -			"Ignite"
  1.1019 -			{
  1.1020 -				"windows"	"220"
  1.1021 -			}
  1.1022 -			"Extinguish"
  1.1023 -			{
  1.1024 -				"windows"	"221"
  1.1025 +				"windows"	"195"
  1.1026 +				"linux"		"196"
  1.1027  			}
  1.1028  			"Teleport"
  1.1029  			{
  1.1030  				"windows"	"99"
  1.1031 +				"linux"		"100"
  1.1032  			}
  1.1033  			"CommitSuicide"
  1.1034  			{
  1.1035 -				"windows"	"394"
  1.1036 +				"windows"	"384"
  1.1037 +				"linux"		"384"
  1.1038  			}
  1.1039  			"GetVelocity"
  1.1040  			{
  1.1041 -				"windows"	"127"
  1.1042 +				"windows"	"128"
  1.1043 +				"linux"		"129"
  1.1044  			}
  1.1045  			"EyeAngles"
  1.1046  			{
  1.1047 -				"windows"	"119"
  1.1048 -			}
  1.1049 -			"AcceptInput"
  1.1050 -			{
  1.1051 -				"windows"	"35"
  1.1052 +				"windows"	"120"
  1.1053 +				"linux"		"121"
  1.1054  			}
  1.1055  			"DispatchKeyValue"
  1.1056  			{
  1.1057 -				"windows"	"31"
  1.1058 +				"windows"	"29"
  1.1059 +				"linux"		"28"
  1.1060  			}
  1.1061  			"DispatchKeyValueFloat"
  1.1062  			{
  1.1063 -				"windows"	"30"
  1.1064 +				"windows"	"28"
  1.1065 +				"linux"		"29"
  1.1066  			}
  1.1067  			"DispatchKeyValueVector"
  1.1068  			{
  1.1069 -				"windows"	"29"
  1.1070 +				"windows"	"27"
  1.1071 +				"linux"		"30"
  1.1072  			}
  1.1073 -		}
  1.1074 -	}
  1.1075 -
  1.1076 -	/* Empires 2 */
  1.1077 -	"empires"
  1.1078 -	{
  1.1079 -
  1.1080 -		"Offsets"
  1.1081 -		{
  1.1082 -			"GiveNamedItem"
  1.1083 -			{
  1.1084 -				"windows"	"332"
  1.1085 -				"linux"		"333"
  1.1086 -			}
  1.1087 -			"RemovePlayerItem"
  1.1088 -			{
  1.1089 -				"windows"	"230"
  1.1090 -				"linux"		"231"
  1.1091 -			}
  1.1092 -			"Weapon_GetSlot"
  1.1093 -			{
  1.1094 -				"windows"	"228"
  1.1095 -				"linux"		"229"
  1.1096 -			}
  1.1097 -			"Ignite"
  1.1098 +			"SetEntityModel"
  1.1099  			{
  1.1100 -				"windows"	"192"
  1.1101 -				"linux"		"193"
  1.1102 -			}
  1.1103 -			"Extinguish"
  1.1104 -			{
  1.1105 -				"windows"	"193"
  1.1106 -				"linux"		"194"
  1.1107 -			}
  1.1108 -			"Teleport"
  1.1109 -			{
  1.1110 -				"windows"	"102"
  1.1111 -				"linux"		"103"
  1.1112 -			}
  1.1113 -			"CommitSuicide"
  1.1114 -			{
  1.1115 -				"windows"	"360"
  1.1116 -				"linux"		"361"
  1.1117 -			}
  1.1118 -			"GetVelocity"
  1.1119 -			{
  1.1120 -				"windows"	"130"
  1.1121 -				"linux"		"131"
  1.1122 -			}
  1.1123 -			"EyeAngles"
  1.1124 -			{
  1.1125 -				"windows"	"122"
  1.1126 -				"linux"		"123"
  1.1127 +				"windows"	"23"
  1.1128 +				"linux"		"24"
  1.1129  			}
  1.1130  			"AcceptInput"
  1.1131  			{
  1.1132 -				"windows"	"36"
  1.1133 -				"linux"		"37"
  1.1134 -			}
  1.1135 -			"DispatchKeyValue"
  1.1136 -			{
  1.1137 -				"windows"	"31"
  1.1138 -				"linux"		"30"
  1.1139 -			}
  1.1140 -			"DispatchKeyValueFloat"
  1.1141 -			{
  1.1142 -				"windows"	"30"
  1.1143 -				"linux"		"31"
  1.1144 -			}
  1.1145 -			"DispatchKeyValueVector"
  1.1146 -			{
  1.1147 -				"windows"	"29"
  1.1148 -				"linux"		"32"
  1.1149 -			}
  1.1150 -			"SetEntityModel"
  1.1151 -			{
  1.1152 -				"windows"	"25"
  1.1153 -				"linux"		"26"
  1.1154 -			}
  1.1155 -
  1.1156 -			/* Offset into LevelShutdown for CGlobalEntList */
  1.1157 -			"gEntList"
  1.1158 -			{
  1.1159 -				"windows"	"64"
  1.1160 -			}
  1.1161 -		}
  1.1162 -		
  1.1163 -		"Signatures"
  1.1164 -		{
  1.1165 -			"LevelShutdown"
  1.1166 -			{
  1.1167 -				"library"	"server"
  1.1168 -				"windows"	"\x8B\x0D\x2A\x2A\x2A\x2A\x85\xC9\x74\x2B\x56\xE8\x2A\x2A\x2A\x2A\x8B\x0D\x2A\x2A\x2A\x2A\x85\xC9\x8B\xF1\x74\x0E"
  1.1169 +				"windows"	"34"
  1.1170 +				"linux"		"35"
  1.1171  			}
  1.1172  		}
  1.1173  	}