1. It's ok, thanks =)
     
  2. i become always this error:
    Code:
    [Oxide] 4:53 PM [Error] Failed to initialize plugin chathandler
    File: chathandler.lua Line: 305 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.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
     
    Last edited by a moderator: May 27, 2015
  3. You most likely messed up your config file. Use http://jsonlint.com/ to make sure your config is valid json
     
  4. Earlier version have "chathandler-localization.json" where is it gone?
     
  5. Its not being used anymore, you can delete it. All Messages are editable in the main config file now.
     
  6. That's odd.... When I do /admin it tells me command unknown, Yet I haven't changed it in the config. /admin mode work though, and so does everything else, So I guess its not that big of an issue.
     
  7. getting this after the most recent update, and i have verified my config as well
    Code:
    [5/27/2015 9:06:23 PM] [Oxide] 9:06 PM [Error] Failed to call hook 'OnPlayerChat' on plugin 'Chat Handler'
    File: chathandler.lua Line: 600 attempt to compare number with nil:
      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 
     
  8. I'm getting this error now:
    Code:
    [Oxide] 9:46 PM [Error] Failed to call hook 'OnPlayerChat' on plugin 'Chat Handler'
    File: chathandler.lua Line: 588 Object reference not set to an instance of an object:
      at Oxide.Core.Libraries.Permission.GetUserData (System.String userid) [0x00000] in <filename unknown>:0
      at Oxide.Core.Libraries.Permission.UserHasPermission (System.String userid, System.String perm) [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
    And I'm also getting this when I connect, not sure if it has anything to do with Chat Handler. But mayhaps @Wulf could take a look at it?
    Code:
    [Oxide] 9:54 PM [Error] Failed to call hook 'OnPlayerInit' on plugin 'Rust Core' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 9:54 PM [Debug]   at Oxide.Core.Libraries.Permission.GetUserData (System.String userid) [0x00000] in <filename unknown>:0
      at Oxide.Rust.Plugins.RustCore.OnPlayerInit (.BasePlayer player) [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 28, 2015
  9. After server restart got this orange color, but no where in plugin I have it...

    Рабочий стол 2015-05-28 10.08.40.png
     
  10. Wulf

    Wulf Community Admin

  11. Wulf

    Wulf Community Admin

    Better than no color by default. ;)
     
  12. White color was perfect...
     
  13. Wulf

    Wulf Community Admin

    The color has been there since day 1. Rust uses colors for the names by default as well.
     
  14. Please both of you post your config file and your data/oxide.groups.json file
     
  15. Sorry, I should have marked this as solved. Me and Wulf discussed this last night in a different thread. The server is failing to write to the oxide.users.json file. I have requested a reinstall from my host to try and fix the issue.
     
  16. Code:
    [Oxide] 11:01 AM [Error] Failed to call hook 'OnPlayerChat' on plugin 'Chat Handler'
    File: chathandler.lua Line: 614 attempt to concatenate local 'color' (a userdata 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
    Getting this error on fresh install
     
  17. Thats caused by the plugin Ranks and Titles and should get fixed on that side.
     
  18. OK if im understanding this right, Ranks and Titles has to be fixed to stop getting this error?
     
  19. Exactly. Its sending its rank data in the wrong format. It should be sent as a string but is sending it as a userdata.