1. Found what happend... Dude used same IP with some banned user...
     
  2. 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
  3. This issue was mentioned before now and to be honest im not really sure whats causing this.
    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.
     
  4. 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:

  5. 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
    
     
  6. Did you modify the .lua file?
     
  7. Only strings...
     
  8. I cant help you if you're using a modified version. Line 156 isnt related to CanClientLogin() at all in the original code.
     
  9. Is there way to ban offline player or i should use default rust function for this case?
     
  10. You can ban offline players if they were on your server once. If you want to ban someone who never was on your server then you need to use Rust's built in system
     
  11. Hm, then strange, it wont work. It saying like player not found, but it was there already, maybe its because he died and not sleeping? Is there way ban offline dead player? I think you can bit rewrite plugin there is simple way to ban diretly with steamid/ip without actually need to store player name.
     
  12. The plugin uses activePlayerList and sleepingPlayerList to find players. Im actually not sure how dead players are handled though.
     
  13. /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 
    (rcon "player.bancheck" work)

    Code:
      "admin": {
        "Title": "admin",
        "Rank": 0,
        "Perms": [
          "admin",
          "CanUseGodmode",
          "canban",
          "cankick",
          "canbancheck"
        ]
      },
     
    Last edited by a moderator: May 3, 2015
  14. 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.
     
  15. If you stop your server and delete the ebsbanlist.json in your data folder and start your server again, the data should be reseted.
    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.
     
  16. I'll give it a try deleting those files while the server is offline. Thanks. I actually don't use RustDB.
     
  17. error
     

    Attached Files:

    • 1.PNG
      1.PNG
      File size:
      13.9 KB
      Views:
      23
  18. 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
    Obviously the command is not working and that user is not unbanned. I also RustDB in my server, and the other commands seem to work without problems.