gamedata/sdktools.games/game.dystopia.txt
author Matt Woodrow <pred@alliedmods.net>
Mon Feb 23 10:09:51 2009 +1300 (2009-02-23)
changeset 2599 e639923af7dd
parent 2524 b7d445920806
child 2690 e3906d051a3b
permissions -rw-r--r--
Fixed linux offset for SetClientInfo (bug 3652, r=Fyren)
     1 "Games"
     2 {
     3 	/* Dsytopia */
     4 	"!Dystopia"
     5 	{
     6 
     7 		"Offsets"
     8 		{
     9 			/* CBasePlayer */
    10 			"GiveNamedItem"
    11 			{
    12 				"windows"	"331"
    13 				"linux"		"332"
    14 			}
    15 			"RemovePlayerItem"
    16 			{
    17 				"windows"	"229"
    18 				"linux"		"230"
    19 			}
    20 			"Weapon_GetSlot"
    21 			{
    22 				"windows"	"227"
    23 				"linux"		"228"
    24 			}
    25 			"Ignite"
    26 			{
    27 				"windows"	"191"
    28 				"linux"		"192"
    29 			}
    30 			"Extinguish"
    31 			{
    32 				"windows"	"192"
    33 				"linux"		"193"
    34 			}
    35 			"Teleport"
    36 			{
    37 				"windows"	"100"
    38 				"linux"		"101"
    39 			}
    40 			"CommitSuicide"
    41 			{
    42 				"windows"	"360"
    43 				"linux"		"361"
    44 			}
    45 			"GetVelocity"
    46 			{
    47 				"windows"	"128"
    48 				"linux"		"129"
    49 			}
    50 			"EyeAngles"
    51 			{
    52 				"windows"	"120"
    53 				"linux"		"121"
    54 			}
    55 			"AcceptInput"
    56 			{
    57 				"windows"	"35"
    58 				"linux"		"36"
    59 			}
    60 			"DispatchKeyValue"
    61 			{
    62 				"windows"	"31"
    63 				"linux"		"30"
    64 			}
    65 			"DispatchKeyValueFloat"
    66 			{
    67 				"windows"	"30"
    68 				"linux"		"31"
    69 			}
    70 			"DispatchKeyValueVector"
    71 			{
    72 				"windows"	"29"
    73 				"linux"		"32"
    74 			}
    75 			"SetEntityModel"
    76 			{
    77 				"windows"	"25"
    78 				"linux"		"26"
    79 			}
    80 			"WeaponEquip"
    81 			{
    82 				"windows"	"220"
    83 				"linux"		"221"
    84 			}
    85 			"Activate"
    86 			{
    87 				"windows"	"32"
    88 				"linux"		"33"
    89 			}
    90 
    91 			/* Offset into CBaseTempEntity constructor.
    92 			 * On Windows Dsytopia is heavily inlined; we use the function 
    93 			 * surrounding "aCouldnTFindTem" in IDA instead.
    94 			 */
    95 			"s_pTempEntities"
    96 			{
    97 				"windows"	"70"
    98 			}
    99 		}
   100 
   101 		"Signatures"
   102 		{
   103 			/* On Windows Dsytopia is heavily inlined; we use the function 
   104 			 * surrounding "aCouldnTFindTem" in IDA instead.
   105 			 */
   106 			"CBaseTempEntity"
   107 			{
   108 				"library"	"server"
   109 				"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"
   110 			}
   111 
   112 			/* Dystopia always has to be different, doesn't it
   113 			 *
   114 			 * This is very similar to the general signature, except that
   115 			 * it does "mov edx, [eax+2Ch]" before making a call rather than
   116 			 * doing "call dword ptr [eax+2Ch]"
   117 			 */
   118 			"CreateGameRulesObject"
   119 			{
   120 				"library"	"server"
   121 				"windows"	"\x8B\x0D\x2A\x2A\x2A\x2A\x85\xC9\x74\x2A\x8B\x01\x8B\x50\x2A\x6A\x01\xFF\xD2"
   122 			}
   123 		}
   124 	}
   125 }