The logs would show the version as well if you would upload those, otherwise the "oxide.version" chat or console command would work.
NREs with IsAdmin and IsBanned after update
Discussion in 'Rust Discussion' started by Movinggun, Feb 23, 2017.
-
Wulf Community Admin
-
Witch log file do you need? -
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
-
Wulf Community Admin
-
I have posted full error :x
Attached Files:
-
-
Wulf Community Admin
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
-
Ah ok sorry my mistake ^^
-
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.
-
Wulf Community Admin
-
-
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
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
-
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
-
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
-
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 -
Oxide Version: 2.0.3103 i use, you don't use latest version
-
-
-
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
Code:{ "Admin Excluded (true/false)": false, "Reset On Restart (true/false)": false }
Code:oxide.reload Whitelist Unloaded plugin Whitelist v3.3.0 by Wulf/lukespragg Loaded plugin Whitelist v3.3.0 by Wulf/lukespragg
and if player is already connected to server before install this plugin, he can join...Last edited by a moderator: Feb 26, 2017 -
Wulf Community Admin
-
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