gamedata/sm-tf2.games.txt
author Matt Woodrow <pred@alliedmods.net>
Thu Apr 10 04:49:17 2008 +0000 (2008-04-10)
changeset 1979 d36fac1a8203
parent 1963 97a66409edac
child 2016 b05796b1096b
permissions -rw-r--r--
Added Critical Hit hook to TF2 extension
     1 "Games"
     2 {
     3 	"tf"
     4 	{
     5 		"Signatures"
     6 		{
     7 			"Burn"
     8 			{
     9 				"library"	"server"
    10 				"windows"	"\x56\x8B\xF1\x8B\x4E\x7C\x8B\x01\x8B\x90\xF8\x00\x00\x00\xFF\xD2\x84\xC0\x2A\x2A\x2A\x2A\x2A\x2A\x8B\x46\x7C"
    11 				"linux"		"@_ZN15CTFPlayerShared4BurnEP9CTFPlayer"
    12 			}
    13 			"Invuln"
    14 			{
    15 				"library"	"server"
    16 				"windows"	"\x8A\x44\x24\x04\x83\xEC\x20\x56\x8B\xF1\x8B\x4E\x08\x57\x8D\x7E\x08\xC1\xE9\x05\x80\xE1\x01\x3A\xC8\x75\x32\x84\xC0"
    17 				"linux"		"@_ZN15CTFPlayerShared15SetInvulnerableEbb"
    18 			}
    19 			"RemoveDisguise"
    20 			{
    21 				"library"	"server"
    22 				"windows"	"\x51\x56\x8B\xF1\x8B\x46\x08\x57\x8D\x7E\x08\x8D\x4C\x24\x08\x83\xE0\xF7"
    23 				"linux"		"@_ZN15CTFPlayerShared14RemoveDisguiseEv"
    24 			}
    25 			"Disguise"
    26 			{
    27 				"library"	"server"
    28 				"windows"	"\x56\x8B\xF1\x8B\x4E\x7C\xE8"
    29 				"linux"		"@_ZN15CTFPlayerShared8DisguiseEii"
    30 			}
    31 			"CalcCritical"
    32 			{
    33 				"library"	"server"
    34 				"linux"		"@_ZN13CTFWeaponBase26CalcIsAttackCriticalHelperEv"
    35 				"windows"	"\x83\xEC\x08\x56\x57\x6A\x00\x68"
    36 			}
    37 			"CalcCriticalMelee"
    38 			{
    39 				"library"	"server"
    40 				"linux"		"@_ZN18CTFWeaponBaseMelee26CalcIsAttackCriticalHelperEv"
    41 				"windows"	"\x83\xEC\x08\x56\xE8\x2A\x2A\x2A\x2A\x8B\xF0\x85\xF6"
    42 			}
    43 			"CalcCriticalKnife"
    44 			{
    45 				"library"	"server"
    46 				"linux"		"@_ZN8CTFKnife26CalcIsAttackCriticalHelperEv"
    47 				"windows"	"\x33\xC0\x83\xB9\x20\x05\x00"
    48 			}
    49 
    50 		}
    51 		"Offsets"
    52 		{
    53 			"ForceRespawn"
    54 			{
    55 				"windows"	"279"
    56 				"linux"		"280"
    57 			}
    58 			"CalcCriticalBackup"
    59 			{
    60 				"linux"		"7"
    61 				"windows"	"7"
    62 			}
    63 			"CalcCriticalMeleeBackup"
    64 			{
    65 				"linux"		"7"
    66 				"windows"	"9"
    67 			}
    68 			"CalcCriticalKnifeBackup"
    69 			{
    70 				"linux"		"11"
    71 				"windows"	"9"
    72 			}		
    73 		}
    74 	}
    75 }