gamedata/sdktools.games/game.dystopia.txt
author Asher Baker <asherkin@gmail.com>
Sat Jul 16 17:55:43 2011 -0400 (2011-07-16)
changeset 3360 fae2792e30ed
parent 3280 7aea1316eff7
permissions -rw-r--r--
Added missing brackets back to l4d and l4d2 gamedata (bug 5016, r=psychonic).
     1 /**
     2  * Do not edit this file.  Any changes will be overwritten by the gamedata
     3  * updater or by upgrading your SourceMod install.
     4  *
     5  * To override data in this file, create a subdirectory named "custom" and
     6  * place your own gamedata file(s) inside of it.  Such files will be parsed
     7  * after SM's own.
     8  *
     9  * For more information, see http://wiki.alliedmods.net/Gamedata_Updating_(SourceMod)
    10  */
    11 
    12 "Games"
    13 {
    14 	/* Dsytopia */
    15 	"!Dystopia"
    16 	{
    17 
    18 		"Offsets"
    19 		{
    20 			/* CBasePlayer */
    21 			"GiveNamedItem"
    22 			{
    23 				"windows"	"331"
    24 				"linux"		"332"
    25 			}
    26 			"RemovePlayerItem"
    27 			{
    28 				"windows"	"229"
    29 				"linux"		"230"
    30 			}
    31 			"Weapon_GetSlot"
    32 			{
    33 				"windows"	"227"
    34 				"linux"		"228"
    35 			}
    36 			"Ignite"
    37 			{
    38 				"windows"	"191"
    39 				"linux"		"192"
    40 			}
    41 			"Extinguish"
    42 			{
    43 				"windows"	"192"
    44 				"linux"		"193"
    45 			}
    46 			"Teleport"
    47 			{
    48 				"windows"	"100"
    49 				"linux"		"101"
    50 			}
    51 			"CommitSuicide"
    52 			{
    53 				"windows"	"360"
    54 				"linux"		"361"
    55 			}
    56 			"GetVelocity"
    57 			{
    58 				"windows"	"128"
    59 				"linux"		"129"
    60 			}
    61 			"EyeAngles"
    62 			{
    63 				"windows"	"120"
    64 				"linux"		"121"
    65 			}
    66 			"AcceptInput"
    67 			{
    68 				"windows"	"35"
    69 				"linux"		"36"
    70 			}
    71 			"SetEntityModel"
    72 			{
    73 				"windows"	"25"
    74 				"linux"		"26"
    75 			}
    76 			"WeaponEquip"
    77 			{
    78 				"windows"	"220"
    79 				"linux"		"221"
    80 			}
    81 			"Activate"
    82 			{
    83 				"windows"	"32"
    84 				"linux"		"33"
    85 			}
    86 
    87 			/* Offset into CBaseTempEntity constructor.
    88 			 * On Windows Dsytopia is heavily inlined; we use the function 
    89 			 * surrounding "aCouldnTFindTem" in IDA instead.
    90 			 */
    91 			"s_pTempEntities"
    92 			{
    93 				"windows"	"70"
    94 			}
    95 		}
    96 
    97 		"Signatures"
    98 		{
    99 			/* On Windows Dsytopia is heavily inlined; we use the function 
   100 			 * surrounding "aCouldnTFindTem" in IDA instead.
   101 			 */
   102 			"CBaseTempEntity"
   103 			{
   104 				"library"	"server"
   105 				"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"
   106 			}
   107 
   108 			/* Dystopia always has to be different, doesn't it
   109 			 *
   110 			 * This is very similar to the general signature, except that
   111 			 * it does "mov edx, [eax+2Ch]" before making a call rather than
   112 			 * doing "call dword ptr [eax+2Ch]"
   113 			 */
   114 			"CreateGameRulesObject"
   115 			{
   116 				"library"	"server"
   117 				"windows"	"\x8B\x0D\x2A\x2A\x2A\x2A\x85\xC9\x74\x2A\x8B\x01\x8B\x50\x2A\x6A\x01\xFF\xD2"
   118 			}
   119 		}
   120 	}
   121 }