gamedata/cssdm.games.txt
author Ruben Gonzalez <drifter01620@gmail.com>
Wed Nov 12 08:29:24 2014 -0500 (2014-11-12)
changeset 197 fd967f09ab68
parent 196 09572d6ed15a
permissions -rw-r--r--
Update CSGO Gamedata
     1 /* Do not edit this file unless you know what you are doing! */
     2 "Games"
     3 {
     4 	"csgo"
     5 	{
     6 		/* FFA patch bytes */
     7 		"Keys"
     8 		{
     9 			"LagCompPatch_Windows"		"\xEB"
    10 			"LagCompPatch_Linux"		"\x90\x90\x90\x90\x90\x90"
    11 			
    12 			"TakeDmgPatch1_Windows"		"\xEB"
    13 			"TakeDmgPatch1_Linux"		"\x90\x90\x90\x90\x90\x90"
    14 			
    15 			"TakeDmgPatch2_Windows"		"\xEB"
    16 			"TakeDmgPatch2_Linux"		"\x90\x90\x90\x90\x90\x90"
    17 			
    18 			"CalcDomRevPatch_Windows"	"\x90\x90\x90\x90\x90\x90"
    19 			"CalcDomRevPatch_Linux"		"\x90\x90"
    20 		}
    21 		"Offsets"
    22 		{
    23 			/* Patch offsets for FFA */
    24 			"LagCompPatch"
    25 			{
    26 				"windows"		"57"
    27 				"linux"			"47"
    28 			}
    29 			"TakeDmgPatch1"
    30 			{
    31 				"windows"		"373"
    32 				"linux"			"1013"
    33 			}
    34 			"TakeDmgPatch2"
    35 			{
    36 				"windows"		"3943"
    37 				"linux"			"6421"
    38 			}
    39 			/* Offset into gamerules constructor - bogo value linux/mac */
    40 			"g_pGameRules"
    41 			{
    42 				"windows"		"49"
    43 				"linux"			"1"
    44 			}
    45 			/* Virtual indexes */
    46 			"IPointsForKill"
    47 			{
    48 				"windows"		"80"
    49 				"linux"			"81"
    50 			}
    51 			"Weapon_GetSlot"
    52 			{
    53 				"windows"		"287"
    54 				"linux"			"288"
    55 			}
    56 			"RemoveAllItems"
    57 			{
    58 				"windows"		"381"
    59 				"linux"			"382"
    60 			}
    61 			"GiveAmmo"
    62 			{
    63 				"windows"		"273"
    64 				"linux"			"274"
    65 			}
    66 			/* Next _two_ are detour byte "save" counts */
    67 			"DropWeaponsPatch"
    68 			{
    69 				"windows"		"6"
    70 				"linux"			"6"
    71 			}
    72 			"CSWeaponDropPatch"
    73 			{
    74 				"windows"		"6"
    75 				"linux"			"6"
    76 			}
    77 			"CalcDomRevPatch"
    78 			{
    79 				"windows"		"86"
    80 				"linux"			"111"
    81 			}
    82 		}
    83 		"Signatures"
    84 		{
    85 			"UTIL_Remove"
    86 			{
    87 				"library"		"server"
    88 				"windows"		"\x55\x8B\xEC\x8B\x45\x2A\x85\xC0\x74\x2A\x83\xC0\x2A\x50"
    89 				"linux"			"@_Z11UTIL_RemoveP11CBaseEntity"
    90 			}
    91 			"RoundRespawn"
    92 			{
    93 				"library"		"server"
    94 				"windows"		"\x55\x8B\xEC\x83\xEC\x08\x56\x8B\xF1\x8B\x0D\x2A\x2A\x2A\x2A\x57\x8B\x01\xFF\x50\x2A\x83"
    95 				"linux"			"@_ZN9CCSPlayer12RoundRespawnEv"
    96 			}
    97 			"OnTakeDamage"
    98 			{
    99 				"library"		"server"
   100 				"windows"		"\x55\x8B\xEC\x83\xE4\xF0\x81\xEC\x2A\x2A\x00\x00\x56\x57\x8B\xF9\x89\x2A\x2A\x2A\x80\xBF\x2A\x2A\x2A\x2A\x00"
   101 				"linux"			"@_ZN9CCSPlayer12OnTakeDamageERK15CTakeDamageInfo"
   102 			}
   103 			"WantsLagComp"
   104 			{
   105 				"library"		"server"
   106 				"windows"		"\x55\x8B\xEC\x83\xEC\x10\x56\x57\x8B\xF9\x8B\x0D\x2A\x2A\x2A\x2A\x81\xF9\x2A\x2A\x2A\x2A\x75"
   107 				"linux"			"@_ZNK11CBasePlayer28WantsLagCompensationOnEntityEPK11CBaseEntityPK8CUserCmdPK7CBitVecILi2048EE"
   108 			}
   109 			"CGameRules"
   110 			{
   111 				"library"		"server"
   112 				"windows"		"\x55\x8B\xEC\x83\xE4\xF8\x81\xEC\x2A\x2A\x2A\x2A\x53\x56\x57\x8B\xD9\x68\x2A\x2A\x2A\x2A\x89\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\xA1"
   113 				"linux"			"@g_pGameRules"
   114 			}
   115 			//ValveBiped.Bip01_R_Hand
   116 			"CSWeaponDrop"
   117 			{
   118 				"library"		"server"
   119 				"windows"		"\x2A\x2A\x2A\x2A\x2A\x2A\x81\xEC\x2A\x2A\x2A\x2A\x53\x8B\x5D\x08\x56\x57\x6A\x00\x68"
   120 				"linux"			"@_ZN9CCSPlayer12CSWeaponDropEP17CBaseCombatWeapon6Vectorb"
   121 			}
   122 			"DropWeapons"
   123 			{
   124 				"library"		"server"
   125 				"windows"		"\x55\x8B\xEC\x83\xE4\xF8\x83\xEC\x2A\x53\x56\x8B\xF1\x57\x6A\x00\x68\x2A\x2A\x2A\x2A\x8B\x06"		
   126 				"linux"			"@_ZN9CCSPlayer11DropWeaponsEbb"
   127 			}
   128 			"CalcDominationAndRevenge"
   129 			{
   130 				"library"		"server"
   131 				"windows"		"\x55\x8B\xEC\xA1\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xFF\x50\x34\x85\xC0"
   132 				"linux"			"@_ZN12CCSGameStats24CalcDominationAndRevengeEP9CCSPlayerS1_Pi"
   133 			}
   134 		}
   135 	}
   136 	"cstrike"
   137 	{
   138 		/* FFA patch bytes */
   139 		"Keys"
   140 		{
   141 			"LagCompPatch_Windows"		"\xEB"
   142 			"LagCompPatch_Linux"		"\x90\x90\x90\x90\x90\x90"
   143 			"LagCompPatch_Mac"		"\x90\x90\x90\x90\x90\x90"
   144 			
   145 			"TakeDmgPatch1_Windows"		"\xEB"
   146 			"TakeDmgPatch1_Linux"		"\x90\x90\x90\x90\x90\x90"
   147 			"TakeDmgPatch1_Mac"		"\x90\x90\x90\x90\x90\x90"
   148 			
   149 			"TakeDmgPatch2_Windows"		"\xEB"
   150 			"TakeDmgPatch2_Linux"		"\x90\x90\x90\x90\x90\x90"
   151 			"TakeDmgPatch2_Mac"		"\x90\x90\x90\x90\x90\x90"
   152 			
   153 			"CalcDomRevPatch_Windows"	"\x90\x90\x90\x90\x90\x90"
   154 			"CalcDomRevPatch_Linux"		"\x90\x90"
   155 			"CalcDomRevPatch_Mac"		"\x90\x90\x90\x90\x90\x90"
   156 		}
   157 		"Offsets"
   158 		{
   159 			/* Patch offsets for FFA */
   160 			"LagCompPatch"
   161 			{
   162 				"windows"		"46"
   163 				"linux"			"31"
   164 				"mac"			"32"
   165 			}
   166 			"TakeDmgPatch1"
   167 			{
   168 				"windows"		"828"
   169 				"linux"			"540"
   170 				"mac"			"746"
   171 			}
   172 			"TakeDmgPatch2"
   173 			{
   174 				"windows"		"828"
   175 				"linux"			"540"
   176 				"mac"			"746"
   177 			}
   178 			/* Offset into gamerules constructor - bogo value linux/mac */
   179 			"g_pGameRules"
   180 			{
   181 				"windows"		"5"
   182 				"linux"			"1"
   183 				"mac"			"1"
   184 			}
   185 			/* Virtual indexes */
   186 			"IPointsForKill"
   187 			{
   188 				"windows"		"79"
   189 				"linux"			"80"
   190 				"mac"			"80"
   191 			}
   192 			"Weapon_GetSlot"
   193 			{
   194 				"windows"		"267"
   195 				"linux"			"268"
   196 				"mac"			"268"
   197 			}
   198 			"RemoveAllItems"
   199 			{
   200 				"windows"		"341"
   201 				"linux"			"342"
   202 				"mac"			"342"
   203 			}
   204 			"GiveAmmo"
   205 			{
   206 				"windows"		"251"
   207 				"linux"			"252"
   208 				"mac"			"252"
   209 			}
   210 			/* Next _two_ are detour byte "save" counts */
   211 			"DropWeaponsPatch"
   212 			{
   213 				"windows"		"6"
   214 				"linux"			"6"
   215 				"mac"			"6"
   216 			}
   217 			"CSWeaponDropPatch"
   218 			{
   219 				"windows"		"9"
   220 				"linux"			"6"
   221 				"mac"			"6"
   222 			}
   223 			"CalcDomRevPatch"
   224 			{
   225 				"windows"		"65"
   226 				"linux"			"96"
   227 				"mac"			"86"
   228 			}
   229 		}
   230 		"Signatures"
   231 		{
   232 			"UTIL_Remove"
   233 			{
   234 				"library"		"server"
   235 				"windows"		"\x55\x8B\xEC\x56\x57\x8B\x7D\x08\x8B\xF1\x57\xE8\x2A\x2A\x2A\x2A\x8B\x0D\x2A\x2A\x2A\x2A\x57\x56"
   236 				"linux"			"@_Z11UTIL_RemoveP11CBaseEntity"
   237 				"mac"			"@_Z11UTIL_RemoveP11CBaseEntity"
   238 			}
   239 			"RoundRespawn"
   240 			{
   241 				"library"	"server"
   242 				"windows"	"\x55\x8B\xEC\x51\x89\x2A\x2A\x8B\x2A\x2A\x8B\x10\x8B"
   243 				"linux"		"@_ZN9CCSPlayer12RoundRespawnEv"
   244 				"mac"		"@_ZN9CCSPlayer12RoundRespawnEv"
   245 			}
   246 			"OnTakeDamage"
   247 			{
   248 				"library"		"server"
   249 				"windows"		"\x55\x8B\xEC\x81\xEC\x2A\x2A\x2A\x2A\x56\x89\x4D\xFC\x8B\x45\x2A\x50\x8D\x8D\x2A\x2A\x2A\x2A\xE8"
   250 				"linux"			"@_ZN9CCSPlayer12OnTakeDamageERK15CTakeDamageInfo"
   251 				"mac"			"@_ZN9CCSPlayer12OnTakeDamageERK15CTakeDamageInfo"
   252 			}
   253 			"WantsLagComp"
   254 			{
   255 				"library"		"server"
   256 				"windows"		"\x55\x8B\xEC\x83\xEC\x10\xA1\x2A\x2A\x2A\x2A\x56\x8B\xF1\x57"
   257 				"linux"			"@_ZNK11CBasePlayer28WantsLagCompensationOnEntityEPKS_PK8CUserCmdPK7CBitVecILi2048EE"
   258 				"mac"			"@_ZNK11CBasePlayer28WantsLagCompensationOnEntityEPKS_PK8CUserCmdPK7CBitVecILi2048EE"
   259 			}
   260 			"CGameRules"
   261 			{
   262 				"library"		"server"
   263 				"windows"		"\x55\x8B\xEC\x8B\x0D\x2A\x2A\x2A\x2A\x85\xC9\x74\x07"
   264 				"linux"			"@g_pGameRules"
   265 				"mac"			"@g_pGameRules"
   266 			}
   267 			"CSWeaponDrop"
   268 			{
   269 				"library"		"server"
   270 				"windows"		"\x2A\x2A\x2A\x2A\x2A\x2A\x01\x00\x00\x89\x4D\xFC\xC6\x45\x2A\x2A\x8B\x4D\x2A\xE8\x2A\x2A\x2A\x2A\x0F\xB6\xC0"
   271 				"linux"			"@_ZN9CCSPlayer12CSWeaponDropEP17CBaseCombatWeaponbb"
   272 				"mac"			"@_ZN9CCSPlayer12CSWeaponDropEP17CBaseCombatWeaponbb"
   273 			}
   274 			"DropWeapons"
   275 			{
   276 				"library"		"server"
   277 				"windows"		"\x55\x8B\xEC\x83\xEC\x2A\x89\x4D\x2A\xC7\x45\x2A\x00\x00\x00\x00\xEB\x2A\x8B\x45\x2A\x83\xC0\x01\x89\x45\x2A\x83"
   278 				"linux"			"@_ZN9CCSPlayer11DropWeaponsEbb"
   279 				"mac"			"@_ZN9CCSPlayer11DropWeaponsEbb"
   280 			}
   281 			"CalcDominationAndRevenge"
   282 			{
   283 				"library"		"server"
   284 				"windows"		"\x55\x8B\xEC\x51\xA1\x2A\x2A\x2A\x2A\x89\x4D\xFC\x83\x78\x30\x00\x0F\x85\x2A\x2A\x2A\x2A\x57\x8B"
   285 				"linux"			"@_ZN12CCSGameStats24CalcDominationAndRevengeEP9CCSPlayerS1_Pi"
   286 				"mac"			"@_ZN12CCSGameStats24CalcDominationAndRevengeEP9CCSPlayerS1_Pi"
   287 			}
   288 		}
   289 	}
   290 }