Open thewavelength opened 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
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
jz
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.
0x85
0x84
760
CC @Drifter321 @Headline
What needs to be done to get this to the official SourceMod update server for gamedata?
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 tojnz
:CCSPlayer::OnTakeDamage(CTakeDamageInfo const&)+2F7 0F 85 EB 00 00 00 jnz loc_591B48
By patching
0x85
(jz
) to0x84
(jnz
) at offset760
FFA is working again as expected.