Quote:
Originally Posted by Fearts
Seems since the last couple TF2 updates there has been a crash happening related to "GiveNamedItem" "tf_weapon_bat"
Anyone know why this might be happening?
|
Have you updated gamedata? There was an offset shift in the player vtable in the last few weeks, which would affect plugins that use
GiveNamedItem and
EquipWearable; TF2Items would be automatically updated but other third-party gamedata wouldn't.
I'd guess that items are being spawned as defindex 0 (the bat) and not being equipped to a player.
(If you're capable of editing plugins, I'd recommend porting things that use
EquipWearable calls to
TF2 Utils - that plugin will raise a warning in the logs if the equip operation fails.)
__________________