Even after I updated and replaced the files Crits did not work.
I removed the following from the game data file
Code:
"CalcCritical"
{
"library" "server"
"linux" "@_ZN13CTFWeaponBase26CalcIsAttackCriticalHelperEv"
"windows" "\x83\xEC\x08\x53\x56\x6A\x00"
}
"CalcCriticalMelee"
{
"library" "server"
"linux" "@_ZN18CTFWeaponBaseMelee26CalcIsAttackCriticalHelperEv"
"windows" "\x83\xEC\x08\x53\x57\x8B\xF9\xE8\x2A\x2A\x2A\x2A\x8B\xD8"
}
"CalcCriticalKnife"
{
"library" "server"
"linux" "@_ZN8CTFKnife26CalcIsAttackCriticalHelperEv"
"windows" "\x8B\x81\xF0\x13\x00\x00\x83\xF8\xFF\x74\x29\x8B\x15"
}
and everything is working just fine again.
orangebox/tf/addons/sourcemod/gamedata/sm-tf2.games.txt
Hope that helps anyone who is still having the problems
__________________