1. OnRconCommand is not called anymore ? Was fine till April 19th ...
    And yes, i changed IPAddress to IPEndPoint ...
    As i said it was working already.
     
  2. Wulf

    Wulf Community Admin

    The signature changed, which is shown in the Docs and changelog when it was. The first arg IPAddress was changed to IPEndPoint.
     
  3. Changed the OnRconCommand on April 12th already ...
    Changelog from April 12th - Switched to IPEndPoint instead of IPAddress for OnRconCommand hook

    private void OnRconCommand(IPEndPoint ip, string command, string[] args)

    this is how it is since April 12th and it was working perfect ...

    btw .. .this is what the Docs says:

    void OnRconCommand(IPAddress ip, string command, string[] args)
    {
    Puts("OnRconCommand works!");
    }

    ???
     
    Last edited by a moderator: Apr 20, 2018
  4. Wulf

    Wulf Community Admin

    That is what it is supposed to be for both the Oxide.Core hook and the Oxide.Rust hook, but it looks like the args is currently a string right now in Oxide.Rust; will be fixed in the next build to use an array like it should be.
     
  5. THX ! Was about to think that i'm just silly :)
     
  6. Wulf

    Wulf Community Admin

    Nope, just me! :p

    I fixed a couple issues with the two locations it was at, and made the signature match between them, but looks like I missed part in Oxide.Rust. Testing now and will push shortly.