Thanks, that helped heaps, at least now I know who has been banned lol.
Enhanced Ban System [Replaced]
Discussion in 'Plugin Support' started by Reneb, Oct 28, 2014.
-
@Domestos
Code:[Oxide] 7:21 PM [Error] Failed to initialize plugin EnhancedBanSystem File: EnhancedBanSystem.lua Line: 26 Object reference not set to an instance of an object: at Oxide.Core.Configuration.DynamicConfigFile.GetEnumerator () [0x00000] in <filename unknown>:0 at Oxide.Ext.Lua.Utility.TableFromConfig (Oxide.Core.Configuration.DynamicConfigFile config, NLua.Lua lua) [0x00000] in <filename unknown>:0 at Oxide.Ext.Lua.Libraries.LuaDatafile.GetDataTable (System.String name) [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
-
Wulf Community Admin
-
@Wulf
Code:{ "Messages": { "BanMessage": "You are banned for: {reason}. If you think your ban is unjustified, contact [email protected]", "DenyConnection": "You are banned for {reason}. If you think your ban is unjustified, contact [email protected]", "HelpText": "Benutze /bancheck um zu sehen, für wie lange jemand gesperrt ist.", "KickMessage": "You got kicked for: {reason}" }, "Settings": { "BroadcastBans": "true", "ChatName": "Server", "CheckUsableByEveryone": "false", "LogToConsole": "true", "Permissions": { "Ban": "canban", "BanCheck": "canbancheck", "Kick": "cankick" } } }
-
Wulf Community Admin
-
@Wulf
So the config isnt the fault?
edit://
The ebsbanlist.json is empty. -
Wulf Community Admin
-
Code:{}
Thank you very much for your extensive help. -
Wulf Community Admin
-
@Wulf
Yes.
And for everyone who has the problem:
It doesnt help to reload the plugin, cause the file contains "null".
You must shutdown your server or fill the data file with "{}". -
Code:
[6/20/2015 10:13:49 PM] [Oxide] 10:13 PM [Error] Failed to call hook 'CanClientLogin' on plugin 'Enhanced Ban System' File: EnhancedBanSystem.lua Line: 146 attempt to compare nil with number: at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [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>:o
-
-
I just started getting it in the last few days.
-
-
Code:
> player.bancheck [Oxide] 11:16 PM [Error] Failed to call hook 'ccmdBanCheck' on plugin 'Enhanced Ban System' File: EnhancedBanSystem.lua Line: 423 attempt to concatenate local 'target' (a nil value): at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [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
-
Jikey i think you need to have a target.. probably there is no message that if no target given ? i'm not an expert in errors but try with a target.. -
-
Code:
[Oxide] 10:20 PM [Error] Failed to call hook 'Ban' on plugin 'Enhanced Ban System' File: EnhancedBanSystem.lua Line: 669 invalid arguments to method: Plugin.Call: at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [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
-
Need a little help.
R-Anticheat flagged up two cheaters, between them they flagged up well over 200 times and subsequently should have been banned. The Anticheat config is set to ban as default along with the other settings so no issues there. EBS on the other hand actually banned the players but for whatever reason they could continue playing even though a ban had been logged. Could we add a check to ensure that the ban gets logged and then it automatically kicks if they are still connected after 5 maybe 10 seconds?