Solved Detecting protocol change?

Discussion in 'Rust Development' started by Werkrat, Apr 19, 2018.

  1. I'm playing with
    Code:
    void OnClientAuth(Connection connection)
    {
        Puts("OnClientAuth works!");
    }
    
    to try to detect when there is a protocol mismatch due to server being outdated, but I'm just getting kicked without the hook triggering. Is there something else I should be using or is this not possible? The kicks don't even trigger the OnUserKicked or OnPlayerKicked hooks.
     
  2. Wulf

    Wulf Community Admin

    It's possible, I use this hook for this purpose locally.
     
  3. Hmm, I see you are using Network; guess that was what I was missing somehow... now it's working, thanks :)
     
  4. ..NP :p