cssdm icon indicating copy to clipboard operation
cssdm copied to clipboard

Update CS:S FFA TakeDmgPatch1 offset + patch

Open thewavelength opened this issue 3 years ago • 2 comments

The logic of CCSPlayer::OnTakeDamage for Linux changed.

Previously at offset 564 there was: CCSPlayer::OnTakeDamage(CTakeDamageInfo const&)+234 0F 84 E6 FE FF FF jz loc_594720

Not only did the offset change, also the jz changed to jnz: CCSPlayer::OnTakeDamage(CTakeDamageInfo const&)+2F7 0F 85 EB 00 00 00 jnz loc_591B48

By patching 0x85 (jz) to 0x84 (jnz) at offset 760 FFA is working again as expected.

thewavelength avatar Dec 29 '21 16:12 thewavelength

CC @Drifter321 @Headline

thewavelength avatar Dec 29 '21 16:12 thewavelength

What needs to be done to get this to the official SourceMod update server for gamedata?

thewavelength avatar Dec 29 '21 16:12 thewavelength