alliedmodders / cssdm

Counter-Strike:Source Deathmatch
Other
23 stars 11 forks source link

Update CS:S FFA TakeDmgPatch1 offset + patch #17

Open thewavelength opened 2 years ago

thewavelength commented 2 years ago

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 commented 2 years ago

CC @Drifter321 @Headline

thewavelength commented 2 years ago

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