1. Works perfectly. Ty

    Sugestion : CAPS LOCK limitation ><.
     
    Last edited by a moderator: Jun 15, 2015
  2. Looks good so far, ill keep you updated :)
     
  3. Code:
    [Oxide] 5:03 PM [Error] Failed to initialize plugin chathandler
    File: chathandler.lua Line: 280 attempt to index field '?' (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.Global
     
  4. Something is wrong with your permission files.
    Any other errors in your log regarding permissions?
     
  5. Is there a permission to go into admin mode because i can not enter admin mode
     
  6. Yes, "canadminmode" on default. You can change the permission needed in the config.
     
  7. Just updated mine and same error.
     
  8. Please post your config and your data/oxide.users.json and data/oxide.groups.json files.
     
  9. Files requested enclosed. Most of this is fairly default, the problem only occurred upgrading from 3.0.3 to 3.0.5.
    Thanks
     

    Attached Files:

  10. Your config is outdated. Please shut down your server, delete the config file and start the back up. The plugin should have generated a new default config you can edit now and reload the plugin after.
    Report if this fixed your issue.
     
  11. That worked.

    Many thanks!
     
  12. Code:
    [Oxide] 8:09 PM [Error] Failed to call hook 'OnPlayerChat' on plugin 'Chat Handler' File: chathandler.lua Line: 326 invalid arguments to method 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
     
  13. Did you manually edit the plugin file? What plugin/Oxide version are you on?
     
  14. I didn't touch anything, I do not understand, but we have a programmer, he did something these errors and fixes, but now it is gone, and I was thinking can you help)))
     

    Attached Files:

  15. First update the plugin. You're two versions behind. If you're still getting errors post your error agin along with your chathandler config file please.
     
  16. Here's)
     

    Attached Files:

  17. Post the error please if you're still getting one after updating the plugiin.
     
  18. Code:
    [Oxide] 12:09 AM [Error] Failed to call hook 'OnPlayerChat' on plugin 'Chat Handler'
    File: chathandler.lua Line: 301 invalid arguments to method 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
     
  19. Please use the attached plugin version and when the error occurs post everything after "chathandler debug" before the error.
     

    Attached Files:

  20. Code:
    [Oxide] 1:41 AM [Info] Loaded plugin Chat Handler v3.0.5 by #Domestos
    [Oxide] 1:41 AM [Info] chathandler debug
    [Oxide] 1:41 AM [Info] type(enumPlayerList): userdata
    [Oxide] 1:41 AM [Info] type(enumPlayerList.Current): userdata
    [Oxide] 1:41 AM [Info] steamid: 76561198202072275
    [Oxide] 1:41 AM [Info] type(enumPlayerList.Current): userdata
    [Oxide] 1:41 AM [Info] steamid: 76561198202072275
    [Oxide] 1:41 AM [Error] Failed to call hook 'OnPlayerChat' on plugin 'Chat Handler' File: chathandler (1).lua Line: 305 invalid arguments to method 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