Found what happend... Dude used same IP with some banned user...
Enhanced Ban System [Replaced]
Discussion in 'Plugin Support' started by Reneb, Oct 28, 2014.
-
Unban feature doesn't work:
Code:> player.unban "NAME" [Oxide] 11:58 PM [Error] Failed to call hook 'ccmdUnban' on plugin 'Enhanced Ban System' File: EnhancedBanSystem.lua Line: 571 attempt to call method 'RustDBUnban' (a string 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
Last edited by a moderator: May 1, 2015 -
It seems that this doesnt occur for everyone and may be caused by the RustDB plugin but I need to investigate more.
Maybe @Reneb has some ideas. -
Domestor, ive patched this plugin + FamilyShareBlock plugin to work together, here is what i've got:
When people get banned with EBS, it check FamilyShareBlock to see if it was shared account, and if it was, it also ban it.
When someone is trying to login with shared account, SHB ask EBS if main account was banned, and if it was - block connection.Attached Files:
-
-
Code:
[5/1/2015 1:52:19 AM] [Oxide] 1:52 AM [Error] Failed to call hook 'CanClientLogin' on plugin 'Enhanced Ban System' File: EnhancedBanSystem.lua Line: 156 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>:0 [5/1/2015 1:52:25 AM] [Oxide] 1:52 AM [Error] Failed to call hook 'CanClientLogin' on plugin 'Enhanced Ban System' File: EnhancedBanSystem.lua Line: 156 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>:0
-
-
-
-
Is there way to ban offline player or i should use default rust function for this case?
-
-
-
The plugin uses activePlayerList and sleepingPlayerList to find players. Im actually not sure how dead players are handled though.
-
/bancheck
Code:[5/3/2015 6:40:47 AM] [Oxide] 6:40 AM [Error] Failed to call hook 'cmdBanCheck' on plugin 'Enhanced Ban System' File: EnhancedBanSystem.lua Line: 406 attempt to call global 'HasPermissionn' (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
Code:"admin": { "Title": "admin", "Rank": 0, "Perms": [ "admin", "CanUseGodmode", "canban", "cankick", "canbancheck" ] },
Last edited by a moderator: May 3, 2015 -
Domestos updated Enhanced Ban System with a new update entry:
Bugfixes
-
The AntiCheat mod went crazy on my server and added 30+ people to my ban list. I've removed everyone from the ban list by completely removing all files from this mod from my /config, /data, and /plugins folder and rebooted the server to make sure it wasn't still loaded in memory. I then reinstalled this mod, and confirmed that the file that stores the bans in the /data folder is empty other than the two brackets, but it is still banning everyone who was on the list (which I can't refer to now since I deleted the original copy).
Is the ban data being stored in another area? My ~/server/cfg/bans.cfg file is empty as well, and the message when someone tries to join is showing this mod is still blocking them.
Is there any way to reset all entries for this mod, because deleting the files in /plugins, /data, and /config does not appear to reset all bans.
Thanks for you work. This is an awesome mod. -
The other thing is if you're using the RustDB plugin your bans probably are stored on that aswell and it might be a bit difficult to get them all removed. -
I'll give it a try deleting those files while the server is offline. Thanks. I actually don't use RustDB.
-
error
Attached Files:
-
-
When I try to unban a user, I have this error in console:
Code:6:10 PM [Error] Failed to call hook 'ccmdUnban' plug-on 'Enhanced Ban System' File: EnhancedBanSystem.lua Line: 571 attempt to call method 'RustDBUnban' (a string value): at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>: 0 at NLua.Lua.CallFunction (function System.Object, 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 cultures) [0x00000] in <filename unknown>: 0
-
Domestos updated Enhanced Ban System with a new update entry:
RustDB fix