gamedata/sdktools.games/game.dystopia.txt
author Nicholas Hastings <skamonkey@gmail.com>
Mon Jun 14 09:32:50 2010 -0400 (2010-06-14)
changeset 3041 a0587dee87ae
parent 2690 e3906d051a3b
child 3280 7aea1316eff7
permissions -rw-r--r--
Fixed outputname null pointer crash in sdktools (bug 4422, r=fyren)
     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 			"DispatchKeyValue"
    72 			{
    73 				"windows"	"31"
    74 				"linux"		"30"
    75 			}
    76 			"DispatchKeyValueFloat"
    77 			{
    78 				"windows"	"30"
    79 				"linux"		"31"
    80 			}
    81 			"DispatchKeyValueVector"
    82 			{
    83 				"windows"	"29"
    84 				"linux"		"32"
    85 			}
    86 			"SetEntityModel"
    87 			{
    88 				"windows"	"25"
    89 				"linux"		"26"
    90 			}
    91 			"WeaponEquip"
    92 			{
    93 				"windows"	"220"
    94 				"linux"		"221"
    95 			}
    96 			"Activate"
    97 			{
    98 				"windows"	"32"
    99 				"linux"		"33"
   100 			}
   101 
   102 			/* Offset into CBaseTempEntity constructor.
   103 			 * On Windows Dsytopia is heavily inlined; we use the function 
   104 			 * surrounding "aCouldnTFindTem" in IDA instead.
   105 			 */
   106 			"s_pTempEntities"
   107 			{
   108 				"windows"	"70"
   109 			}
   110 		}
   111 
   112 		"Signatures"
   113 		{
   114 			/* On Windows Dsytopia is heavily inlined; we use the function 
   115 			 * surrounding "aCouldnTFindTem" in IDA instead.
   116 			 */
   117 			"CBaseTempEntity"
   118 			{
   119 				"library"	"server"
   120 				"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"
   121 			}
   122 
   123 			/* Dystopia always has to be different, doesn't it
   124 			 *
   125 			 * This is very similar to the general signature, except that
   126 			 * it does "mov edx, [eax+2Ch]" before making a call rather than
   127 			 * doing "call dword ptr [eax+2Ch]"
   128 			 */
   129 			"CreateGameRulesObject"
   130 			{
   131 				"library"	"server"
   132 				"windows"	"\x8B\x0D\x2A\x2A\x2A\x2A\x85\xC9\x74\x2A\x8B\x01\x8B\x50\x2A\x6A\x01\xFF\xD2"
   133 			}
   134 		}
   135 	}
   136 }