1. Reneb submitted a new resource:

    Restrict Names - Restrict Names and characters

    Read more about this resource...
     
  2. Got this error tonight :)

    [string "restrictnames.lua"]:35: malformed pattern (missing ']')
     
  3. Yes no idea what that is, plugin still works as intended.
     
  4. I have seen the error a couple of time now but plug does seem to be working.
     
  5. I'll try to look on internet what this error means. But yes i knew about the error, but didnt pose à pb for me
     
  6. I think it has something to do with the pattern matching in string.find():
    Code:
    string.find (str, pattern, index, plaintext)
    Try switching out line 35 with the following:
    Code:
    35       if string.find( self.Config.AllowedCharacters,name:sub(i,i):lower(), nil, true ) == nil then
    
     
  7. I just wrote the same when "view new reply" popped up ^^
     
  8. Ok thanks :) i'll do that when î get home
     
  9. Receiving the following error off and on on user connect:

    Code:
    [Oxide] 11:30 AM [Error] restrictnames: A .NET exception occured in user-code
      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
    
    [DOUBLEPOST=1414349447][/DOUBLEPOST]Seems the trigger is when 2 players join at the same time:

    Code:
    [EAC] Registering '76561198035502614'
    Player Init Arctic_Squid -> 1
    Arctic_Squid has joined (found sleeper)
    [EAC] Registering '76561198006981864'
    Player Init Ragedyman -> 2
    Ragedyman has joined (no sleeper)
    [Oxide] 11:49 AM [Error] restrictnames: A .NET exception occured in user-code
      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: Oct 26, 2014
  10. Code:
        11:41 PM [Error] restrictnames: [string "restrictnames.lua"]:35: malformed pattern (missing ']')
          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
        11:41 PM [Info] SkiZ 92i est mort.
        11:41 PM [Error] restrictnames: [string "restrictnames.lua"]:35: malformed pattern (missing ']')
          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
     
  11. was going to say that you are not using the latest update ... but i didn't post it XD
    i'll post it now
     
  12. :D Thank you for the update .
     
  13. 9:14 PM [Warning] Calling hook CanClientLogin resulted in a conflict between the following plugins: restrictnames,
    9:14 PM [Warning] Calling hook CanClientLogin resulted in a conflict between the following plugins: restrictnames,
    9:14 PM [Warning] Calling hook CanClientLogin resulted in a conflict between the following plugins: restrictnames,
    9:14 PM [Warning] Calling hook CanClientLogin resulted in a conflict between the following plugins: restrictnames,
    9:14 PM [Warning] Calling hook CanClientLogin resulted in a conflict between the following plugins: restrictnames,
    9:14 PM [Warning] Calling hook CanClientLogin resulted in a conflict between the following plugins: restrictnames,
    9:14 PM [Warning] Calling hook CanClientLogin resulted in a conflict between the following plugins: restrictnames,
     
  14. restrictnames and?
     
  15. I don't know that's the only thing that was printed
     
  16. Probably an error from oxide then. No reason for the plugin to start doing that.
     
  17. Wulf

    Wulf Community Admin

    It happens when multiple plugins use the same hook and mess with the returns. The bug is that it doesn't always show which plugins.
     
  18. Hmmm ok i didnt know it bugged when 2 answers were given.
    Ok then it's à plugin incompatibility ^^
     
  19. Well i wish i dodnt have to use it but characters in names f8ck up thes3 pligin databases.