Hi Wulf,
Thanks for adding the OnProjectileRicochet hook to the umod. While testing my plugin, I discovered that the hook does not work on some objects (fencing of the ship's upper deck, chainlink fence, chainlink fence gate). I think that this is possible because I asked you to add a hook to the end of the OnProjectileRicochet function, after all the checks of the embedded anticheat. Can you make a separate umod test build where the OnProjectileRicochet hook is at the beginning of the function? I would then check my hunch. And if it is correct, then make a change to the master build.
public void OnProjectileRicochet(BaseEntity.RPCMessage msg)
{
BasePlayer.FiredProjectile firedProjectile;
PlayerProjectileRicochet playerProjectileRicochet = PlayerProjectileRicochet.Deserialize(msg.read);
if (playerProjectileRicochet == null)
{
return;
}
if (Interface.CallHook("OnProjectileRicochet", this, playerProjectileRicochet) != null)
{
return;
}
...