1. Wulf

    Wulf Community Admin

    The logs would show the version as well if you would upload those, otherwise the "oxide.version" chat or console command would work.
     
  2. Build Version: 1170.95 Build Date: Thursday, February 23, 2017 10:55:07 PM Unity Version: 5.4.2f2 Changeset: 19339 Branch: /main Oxide Version: 2.0.3094

    Witch log file do you need?
     
  3. Yes latest stable oxide don't fix this error, i have error on console.

    Code:
    oxide.version
    Protocol: 1965
    Build Version: 1170.95
    Build Date: Thursday, February 23, 2017 10:55:07 PM
    Unity Version: 5.4.2f2
    Changeset: 19339
    Branch: /main
    Oxide Version: 2.0.3094
     
  4. Wulf

    Wulf Community Admin

    Could you provide the latest oxide/logs or the full error from there please?
     
  5. I have posted full error :x
     

    Attached Files:

  6. Wulf

    Wulf Community Admin

    The first line is not the full error. ;)

    This is the full error:
    Code:
    22:32 [Error] Failed to call hook 'CanUserLogin' on plugin 'Whitelist v3.3.0' (NullReferenceException: Object reference not set to an instance of an object)
    22:32 [Stacktrace]   at Oxide.Game.Rust.Libraries.Player.IsAdmin (.BasePlayer player) [0x00000] in <filename unknown>:0 
      at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.get_IsAdmin () [0x00000] in <filename unknown>:0 
      at Oxide.Plugins.Whitelist.IsWhitelisted (System.String id) [0x00000] in <filename unknown>:0 
      at Oxide.Plugins.Whitelist.CanUserLogin (System.String name, System.String id) [0x00000] in <filename unknown>:0 
      at Oxide.Plugins.Whitelist.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
     
  7. Ah ok sorry my mistake ^^
     
  8. Wulf

    Wulf Community Admin

    For those having issues, try Oxide build 2.0.3097. I wasn't able to reproduce the issue for some reason, but we know why it was doing it and it should be fixed now.
     
  9. Wulf

    Wulf Community Admin

    Please try the latest Oxide build, it should fix that error.
     
  10. Thanks, will do :)
     
  11. Code:
    14:08 [Error] Failed to call hook 'CanUserLogin' on plugin 'EnhancedBanSystem v5.0.9' (NullReferenceException: Object reference not set to an instance of an object)
    14:08 [Stacktrace]   at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.get_IsBanned () [0x00000] in <filename unknown>:0  at Oxide.Plugins.EnhancedBanSystem.Native_IsBanned (System.String steamid) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.isBanned_NonDelayed (System.String name, System.String steamid, System.String ip, Boolean update, Oxide.Plugins.BanData& bandata) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.CanUserLogin (System.String name, System.String steamid, System.String ip) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 
    same here ...

    Code:
    Protocol: 1965
    Build Version: 1170.95
    Build Date: Thursday, February 23, 2017 10:55:07 PM
    Unity Version: 5.4.2f2
    Changeset: 19339
    Branch: /main
    Oxide Version: 2.0.3097
     
  12. Code:
    05:19 [Error] Failed to call hook 'CanUserLogin' on plugin 'EnhancedBanSystem v5.0.9' (NullReferenceException: Object reference not set to an instance of an object)
    05:19 [Stacktrace]   at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.get_IsBanned () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EnhancedBanSystem.Native_IsBanned (System.String steamid) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EnhancedBanSystem.isBanned_NonDelayed (System.String name, System.String steamid, System.String ip, Boolean update, Oxide.Plugins.BanData& bandata) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EnhancedBanSystem.CanUserLogin (System.String name, System.String steamid, System.String ip) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EnhancedBanSystem.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 
    Still getting errors since last Oxide update. (~30 min ago)
     
  13. Broken in last update
    Code:
    12:40 [Error] Failed to call hook 'CanUserLogin' on plugin 'Whitelist v3.3.0' (NullReferenceException: Object reference not set to an instance of an object)
    12:40 [Stacktrace]   at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.get_IsAdmin () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Whitelist.IsWhitelisted (System.String id) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Whitelist.CanUserLogin (System.String name, System.String id) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Whitelist.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
    12:40 [Warning] Calling 'OnPlayerInit' on 'RustIO v2.12.0' took 212ms
     
  14. I did. Still getting the error.

    17:05 [Error] Failed to call hook 'CanUserLogin' on plugin 'Whitelist v3.3.0' (NullReferenceException: Object reference not set to an instance of an object)
    17:05 [Stacktrace] at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.get_IsAdmin () [0x00000] in <filename unknown>:0
    at Oxide.Plugins.Whitelist.IsWhitelisted (System.String id) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.Whitelist.CanUserLogin (System.String name, System.String id) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.Whitelist.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0

    17:06 [Info] Protocol: 1967
    Build Version: 1172.69
    Build Date: Saturday, February 25, 2017 4:40:32 PM
    Unity Version: 5.4.2f2
    Changeset: 19372
    Branch: /main
    Oxide Version: 2.0.3101
     
  15. Oxide Version: 2.0.3103 i use, you don't use latest version ;)
     
  16. I use Linux Game Server Manager. it wont update past 2.0.3101.. not sure why.
     
  17. how are you using a version that isn't listed? on the release changelog WULF has the newest version as 2.0.3101
     
  18. Error again (i get this error then player connect to the server only):
    Code:
    11:44 [Error] Failed to call hook 'CanUserLogin' on plugin 'Whitelist v3.3.0' (NullReferenceException: Object reference not set to an instance of an object)
    11:44 [Stacktrace]   at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.get_IsAdmin () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Whitelist.IsWhitelisted (System.String id) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Whitelist.CanUserLogin (System.String name, System.String id) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Whitelist.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 
    Another bug:
    Code:
    {
      "Admin Excluded (true/false)": false,
      "Reset On Restart (true/false)": false
    }
    Reload plugin :
    Code:
    oxide.reload Whitelist
    Unloaded plugin Whitelist v3.3.0 by Wulf/lukespragg
    Loaded plugin Whitelist v3.3.0 by Wulf/lukespragg
    admin can connect to server.

    and if player is already connected to server before install this plugin, he can join...
     
    Last edited by a moderator: Feb 26, 2017
  19. Wulf

    Wulf Community Admin

    They were using a newer build that I hadn't posted about yet.

    I'll see if I can reproduce it and work out a fix in Oxide.
     
  20. I am getting relating issues with my Custom Ban Manager @Wulf
    Code:
    23:33 [Error] Failed to call hook 'cmdBan' on plugin 'BanManager v1.0.0' (NullReferenceException: Object reference not set to an instance of an object)
    23:33 [Stacktrace]   at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.get_IsAdmin () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BanManager.IsAdmin (IPlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BanManager.RankCheck (IPlayer sender, IPlayer receiver) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BanManager.cmdBan (IPlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BanManager.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0