Slut updated Enhanced Ban System with a new update entry:
5.1.4
EnhancedBanSystem
Moved
Total Downloads: 3,114 - First Release: Jun 6, 2016 - Last Update: Feb 24, 2018
- 5/5, 18 likes
-
Slut updated Enhanced Ban System with a new update entry:
5.1.4
-
Code:
06:25 [Error] MySql command callback raised an exception (FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.) 06:25 [Stacktrace] at System.String.FormatHelper (System.Text.StringBuilder result, IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0 at System.String.Format (IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0 at System.String.Format (System.String format, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem+BanData.ToString () [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.MySQL_RawBan (Oxide.Plugins.BanData bandata) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem+<MySQL_ExecuteBan>c__AnonStorey13.<>m__0 (System.Collections.Generic.List`1 list) [0x00000] in <filename unknown>:0 at Oxide.Core.MySql.Libraries.MySql+MySqlQuery+<>c__DisplayClass24_0.<Handle>b__0 () [0x00000] in <filename unknown>:0
-
Wulf, stop spam notifications pls!
-
Wulf Community Admin
@Slut, keep in mind that OnPlayerBanned with the ulong is Rust-specific and not universal. OnUserBanned is the current universal hook. -
-
Slut updated Enhanced Ban System with a new update entry:
5.1.5
-
https://i.gyazo.com/8bcbcdf33f8fbcf956cd4ae5c252e919.png
server crashed, luckily it was the devserver
Trying again and it crashes instantly
This happens on a normal ban. It doesn't crash the server and player gets banned but spits out this
Code:07:41 [Error] Failed to call hook 'OnUserBanned' on plugin 'EnhancedBanSystem v5.1.5' (StackOverflowException: The requested operation caused a stack overflow.) 07:41 [Stacktrace] at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.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 at Oxide.Core.Plugins.PluginManager.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.OxideMod.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Interface.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 at ServerUsers.Set (UInt64 iUID, UserGroup group, System.String username, System.String notes) [0x00000] in <filename unknown>:0 at Oxide.Game.Rust.Libraries.Player.Ban (UInt64 id, System.String reason) [0x00000] in <filename unknown>:0 at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.Ban (System.String reason, TimeSpan duration) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.Native_ExecuteBan (Oxide.Plugins.BanData bandata) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.ExecuteBan (System.Object source, Oxide.Plugins.BanData bandata, Boolean kick) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.OnUserBanned (System.String name, System.String id, System.String address, System.String reason) [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 at Oxide.Core.Plugins.PluginManager.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.OxideMod.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Game.Rust.RustCore.IOnServerUsersSet (UInt64 steamId, UserGroup group, System.String name, System.String reason) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.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 at Oxide.Core.Plugins.PluginManager.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.OxideMod.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Interface.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 at ServerUsers.Set (UInt64 iUID, UserGroup group, System.String username, System.String notes) [0x00000] in <filename unknown>:0 at Oxide.Game.Rust.Libraries.Player.Ban (UInt64 id, System.String reason) [0x00000] in <filename unknown>:0 at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.Ban (System.String reason, TimeSpan duration) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.Native_ExecuteBan (Oxide.Plugins.BanData bandata) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.ExecuteBan (System.Object source, Oxide.Plugins.BanData bandata, Boolean kick) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.OnUserBanned (System.String name, System.String id, System.String address, System.String reason) [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 at Oxide.Core.Plugins.PluginManager.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.OxideMod.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Game.Rust.RustCore.IOnServerUsersSet (UInt64 steamId, UserGroup group, System.String name, System.String reason) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.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 at Oxide.Core.Plugins.PluginManager.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.OxideMod.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Interface.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 at ServerUsers.Set (UInt64 iUID, UserGroup group, System.String username, System.String notes) [0x00000] in <filename unknown>:0 at Oxide.Game.Rust.Libraries.Player.Ban (UInt64 id, System.String reason) [0x00000] in <filename unknown>:0 at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.Ban (System.String reason, TimeSpan duration) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.Native_ExecuteBan (Oxide.Plugins.BanData bandata) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.ExecuteBan (System.Object source, Oxide.Plugins.BanData bandata, Boolean kick) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.OnUserBanned (System.String name, System.String id, System.String address, System.String reason) [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 at Oxide.Core.Plugins.PluginManager.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.OxideMod.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Game.Rust.RustCore.IOnServerUsersSet (UInt64 steamId, UserGroup group, System.String name, System.String reason) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.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 at Oxide.Core.Plugins.PluginManager.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.OxideMod.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Interface.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 at ServerUsers.Set (UInt64 iUID, UserGroup group, System.String username, System.String notes) [0x00000] in <filename unknown>:0 at Oxide.Game.Rust.Libraries.Player.Ban (UInt64 id, System.String reason) [0x00000] in <filename unknown>:0 at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.Ban (System.String reason, TimeSpan duration) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.Native_ExecuteBan (Oxide.Plugins.BanData bandata) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.ExecuteBan (System.Object source, Oxide.Plugins.BanData bandata, Boolean kick) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.OnUserBanned (System.String name, System.String id, System.String address, System.String reason) [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 at Oxide.Core.Plugins.PluginManager.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.OxideMod.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Game.Rust.RustCore.IOnServerUsersSet (UInt64 steamId, UserGroup group, System.String name, System.String reason) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.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 at Oxide.Core.Plugins.PluginManager.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.OxideMod.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Interface.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 at ServerUsers.Set (UInt64 iUID, UserGroup group, System.String username, System.String notes) [0x00000] in <filename unknown>:0 at Oxide.Game.Rust.Libraries.Player.Ban (UInt64 id, System.String reason) [0x00000] in <filename unknown>:0 at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.Ban (System.String reason, TimeSpan duration) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.Native_ExecuteBan (Oxide.Plugins.BanData bandata) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.ExecuteBan (System.Object source, Oxide.Plugins.BanData bandata, Boolean kick) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.OnUserBanned (System.String name, System.String id, System.String address, System.String reason) [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 at Oxide.Core.Plugins.PluginManager.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.OxideMod.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Game.Rust.RustCore.IOnServerUsersSet (UInt64 steamId, UserGroup group, System.String name, System.String reason) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.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 at Oxide.Core.Plugins.PluginManager.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.OxideMod.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Interface.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 at ServerUsers.Set (UInt64 iUID, UserGroup group, System.String username, System.String notes) [0x00000] in <filename unknown>:0 at Oxide.Game.Rust.Libraries.Player.Ban (UInt64 id, System.String reason) [0x00000] in <filename unknown>:0 at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.Ban (System.String reason, TimeSpan duration) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.Native_ExecuteBan (Oxide.Plugins.BanData bandata) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.ExecuteBan (System.Object source, Oxide.Plugins.BanData bandata, Boolean kick) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.OnUserBanned (System.String name, System.String id, System.String address, System.String reason) [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 at Oxide.Core.Plugins.PluginManager.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.OxideMod.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Game.Rust.RustCore.IOnServerUsersSet (UInt64 steamId, UserGroup group, System.String name, System.String reason) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.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 at Oxide.Core.Plugins.PluginManager.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.OxideMod.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Interface.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 at ServerUsers.Set (UInt64 iUID, UserGroup group, System.String username, System.String notes) [0x00000] in <filename unknown>:0 at Oxide.Game.Rust.Libraries.Player.Ban (UInt64 id, System.String reason) [0x00000] in <filename unknown>:0 at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.Ban (System.String reason, TimeSpan duration) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.Native_ExecuteBan (Oxide.Plugins.BanData bandata) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.ExecuteBan (System.Object source, Oxide.Plugins.BanData bandata, Boolean kick) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.OnUserBanned (System.String name, System.String id, System.String address, System.String reason) [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 at Oxide.Core.Plugins.PluginManager.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.OxideMod.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Game.Rust.RustCore.IOnServerUsersSet (UInt64 steamId, UserGroup group, System.String name, System.String reason) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.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 at Oxide.Core.Plugins.PluginManager.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.OxideMod.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Interface.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 at ServerUsers.Set (UInt64 iUID, UserGroup group, System.String username, System.String notes) [0x00000] in <filename unknown>:0 at Oxide.Game.Rust.Libraries.Player.Ban (UInt64 id, System.String reason) [0x00000] in <filename unknown>:0 at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.Ban (System.String reason, TimeSpan duration) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.Native_ExecuteBan (Oxide.Plugins.BanData bandata) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.ExecuteBan (System.Object source, Oxide.Plugins.BanData bandata, Boolean kick) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.OnUserBanned (System.String name, System.String id, System.String address, System.String reason) [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 at Oxide.Core.Plugins.PluginManager.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.OxideMod.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Game.Rust.RustCore.IOnServerUsersSet (UInt64 steamId, UserGroup group, System.String name, System.String reason) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.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 at Oxide.Core.Plugins.PluginManager.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.OxideMod.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Interface.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 at ServerUsers.Set (UInt64 iUID, UserGroup group, System.String username, System.String notes) [0x00000] in <filename unknown>:0 at Oxide.Game.Rust.Libraries.Player.Ban (UInt64 id, System.String reason) [0x00000] in <filename unknown>:0 at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.Ban (System.String reason, TimeSpan duration) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.Native_ExecuteBan (Oxide.Plugins.BanData bandata) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.ExecuteBan (System.Object source, Oxide.Plugins.BanData bandata, Boolean kick) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.OnUserBanned (System.String name, System.String id, System.String address, System.String reason) [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 at Oxide.Core.Plugins.PluginManager.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.OxideMod.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Game.Rust.RustCore.IOnServerUsersSet (UInt64 steamId, UserGroup group, System.String name, System.String reason) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.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 at Oxide.Core.Plugins.PluginManager.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.OxideMod.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Interface.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 at ServerUsers.Set (UInt64 iUID, UserGroup group, System.String username, System.String notes) [0x00000] in <filename unknown>:0 at Oxide.Game.Rust.Libraries.Player.Ban (UInt64 id, System.String reason) [0x00000] in <filename unknown>:0 at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.Ban (System.String reason, TimeSpan duration) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.Native_ExecuteBan (Oxide.Plugins.BanData bandata) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.ExecuteBan (System.Object source, Oxide.Plugins.BanData bandata, Boolean kick) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.OnUserBanned (System.String name, System.String id, System.String address, System.String reason) [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 at Oxide.Core.Plugins.PluginManager.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.OxideMod.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Game.Rust.RustCore.IOnServerUsersSet (UInt64 steamId, UserGroup group, System.String name, System.String reason) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.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 at Oxide.Core.Plugins.PluginManager.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.OxideMod.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Interface.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 at ServerUsers.Set (UInt64 iUID, UserGroup group, System.String username, System.String notes) [0x00000] in <filename unknown>:0 at Oxide.Game.Rust.Libraries.Player.Ban (UInt64 id, System.String reason) [0x00000] in <filename unknown>:0 at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.Ban (System.String reason, TimeSpan duration) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.Native_ExecuteBan (Oxide.Plugins.BanData bandata) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.ExecuteBan (System.Object source, Oxide.Plugins.BanData bandata, Boolean kick) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.OnUserBanned (System.String name, System.String id, System.String address, System.String reason) [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 at Oxide.Core.Plugins.PluginManager.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.OxideMod.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Game.Rust.RustCore.IOnServerUsersSet (UInt64 steamId, UserGroup group, System.String name, System.String reason) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.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 at Oxide.Core.Plugins.PluginManager.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.OxideMod.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Interface.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 at ServerUsers.Set (UInt64 iUID, UserGroup group, System.String username, System.String notes) [0x00000] in <filename unknown>:0 at Oxide.Game.Rust.Libraries.Player.Ban (UInt64 id, System.String reason) [0x00000] in <filename unknown>:0 at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.Ban (System.String reason, TimeSpan duration) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.Native_ExecuteBan (Oxide.Plugins.BanData bandata) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.ExecuteBan (System.Object source, Oxide.Plugins.BanData bandata, Boolean kick) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.OnUserBanned (System.String name, System.String id, System.String address, System.String reason) [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
Only me was banned from server, but when I did unban this happened
Gyazo - 3111f82a85ab072797647af94f15516b.pngLast edited by a moderator: Oct 2, 2017 -
Slut updated Enhanced Ban System with a new update entry:
5.1.6
-
-
Slut updated Enhanced Ban System with a new update entry:
5.1.7
-
"Banning players who don't exist should now work, it was there but not done correctly."
Using their STEAMID only ? -
-
Error with latest update.
Code:00:11 [Error] Failed to call hook 'CanUserLogin' on plugin 'EnhancedBanSystem v5.1.7' (NullReferenceException: Object reference not set to an instance of an object) 00:11 [Stacktrace] at Oxide.Plugins.EnhancedBanSystem.IPRange (System.String sourceIP, System.String targetIP) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem+<PlayerDatabase_IsBanned>c__AnonStorey9.<>m__0 (Oxide.Plugins.BanData x) [0x00000] in <filename unknown>:0 at System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[Oxide.Plugins.EnhancedBanSystem+BanData].MoveNext () [0x00000] in <filename unknown>:0 at System.Collections.Generic.List`1[Oxide.Plugins.EnhancedBanSystem+BanData].AddEnumerable (IEnumerable`1 enumerable) [0x00000] in <filename unknown>:0 at System.Collections.Generic.List`1[Oxide.Plugins.EnhancedBanSystem+BanData]..ctor (IEnumerable`1 collection) [0x00000] in <filename unknown>:0 at System.Linq.Enumerable.ToList[BanData] (IEnumerable`1 source) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.PlayerDatabase_IsBanned (System.String steamid, System.String ip, Oxide.Plugins.BanData& bandata) [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 id, 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
Last edited by a moderator: Oct 3, 2017 -
I'm getting the same error
Code:(15:26:36) | Failed to call hook 'CanUserLogin' on plugin 'EnhancedBanSystem v5.1.7' (NullReferenceException: Object reference not set to an instance of an object) (15:26:36) | at Oxide.Plugins.EnhancedBanSystem.IPRange (System.String sourceIP, System.String targetIP) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem+<Files_IsBanned>c__AnonStorey5.<>m__2 (Oxide.Plugins.BanData x) [0x00000] in <filename unknown>:0 at System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[Oxide.Plugins.EnhancedBanSystem+BanData].MoveNext () [0x00000] in <filename unknown>:0 at System.Collections.Generic.List`1[Oxide.Plugins.EnhancedBanSystem+BanData].AddEnumerable (IEnumerable`1 enumerable) [0x00000] in <filename unknown>:0 at System.Collections.Generic.List`1[Oxide.Plugins.EnhancedBanSystem+BanData]..ctor (IEnumerable`1 collection) [0x00000] in <filename unknown>:0 at System.Linq.Enumerable.ToList[BanData] (IEnumerable`1 source) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.Files_IsBanned (System.String steamid, System.String ip, Oxide.Plugins.BanData& bandata) [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 id, 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
-
Wulf Community Admin
@Slut, keep in mind that player IP addresses may not always be available in CanUserLogin, so you may want to check at a later point.
-
-
Any fix yet ?
-
Help
Code:Failed to call hook 'CanUserLogin' on plugin 'EnhancedBanSystem v5.1.7' (NullReferenceException: Object reference not se t to an instance of an object) at Oxide.Plugins.EnhancedBanSystem.IPRange (System.String sourceIP, System.String targetIP) [0x00000] in <filename unk nown>:0 at Oxide.Plugins.EnhancedBanSystem+<Files_IsBanned>c__AnonStorey5.<>m__2 (Oxide.Plugins.BanData x) [0x00000] in <filen ame unknown>:0 at System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[Oxide.Plugins.EnhancedBanSystem+BanData].MoveNext () [0 x00000] in <filename unknown>:0 at System.Collections.Generic.List`1[Oxide.Plugins.EnhancedBanSystem+BanData].AddEnumerable (IEnumerable`1 enumerable) [0x00000] in <filename unknown>:0 at System.Collections.Generic.List`1[Oxide.Plugins.EnhancedBanSystem+BanData]..ctor (IEnumerable`1 collection) [0x0000 0] in <filename unknown>:0 at System.Linq.Enumerable.ToList[BanData] (IEnumerable`1 source) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.Files_IsBanned (System.String steamid, System.String ip, Oxide.Plugins.BanData& ban data) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.isBanned_NonDelayed (System.String name, System.String steamid, System.String ip, B oolean update, Oxide.Plugins.BanData& bandata) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.CanUserLogin (System.String name, System.String id, System.String ip) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EnhancedBanSystem.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00 000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.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 [DeathMessages] Gwert убил Кабана (Hunting Bow, 40.51м.)
-
Slut updated Enhanced Ban System with a new update entry:
5.1.8