1. Wulf

    Wulf Community Admin

    Are you sure you are using the latest version of this plugin?
     
  2. Yes. It's problem when EnableWordfilter = true
     
  3. So now when i try to upload those cool characters to the .json they show up as ?.... this is upsetting. what i mean is i have my VIP set as [♕V.I.P♕] and the 2 crowns are now [?V.I.P?] any help with whats going on
     
  4. I just had this error:

    Code:
    1:25 PM [Error] Failed to call hook 'OnPlayerChat' on plugin 'Chat Handler'
    File: chathandler.lua Line: 320 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 NLua.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in <filename unknown>:0
      at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Ext.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 
    I don't have word filter enabled. The error repeated and repeated and spammed something about a null reference in RCON. Tried to unload chathandler and chatmute but it didn't make any difference. It killed chat and I had to restart the server.

    Unloaded for now.
     
  5. what was enabled?
     
  6. i created a usergroup in oxides permission system called "helper" but the tittle dont show up in chat. this are the settings i have made

    oxides permission system
    Code:
      "helper": {
        "Title": "helper",
        "Rank": 4,
        "Perms": [
          "canban",
          "cankick",
          "canbancheck",
          "canusegodmode",
          "canreload"
        ],
        "ParentGroup": null
      },
    chathandler
    Code:
        "helper": {
          "NameColor": "#5af",
          "Permission": "helper",
          "Prefix": "[helper]",
          "PrefixColor": "#FF7F50",
          "PrefixPosition": "left",
          "PriorityRank": 5,
          "ShowPrefix": true,
          "TextColor": "#ffffff"
        },
    i have double checked that he are in the usergroup and he is and he can use all perms given to him. the tittle just dont display :S
     
  7. You need to give the group you created the equivalent permission used in your chathandler config, in this case "helper"
    So "grant group helper helper" in your server console should make it work.
     
  8. ah i see. thanks alot :)

    Edit: you should make the dokumention on that a bit more clear ;)
     
    Last edited by a moderator: Aug 2, 2015
  9. Code:
    12:01 AM [Error] Failed to call hook 'OnPlayerChat' on plugin 'Chat Handler' (NullReferenceException: Object reference not set to an instance of an object)^M
    12:01 AM [Debug]   at NLua.CheckType.GetAsString (LuaState luaState, Int32 stackPos) [0x00000] in <filename unknown>:0 ^M
      at NLua.MetaFunctions.MatchParameters (LuaState luaState, System.Reflection.MethodBase method, NLua.Method.MethodCache& methodCache) [0x00000] in <filename unknown>:0 ^M
      at NLua.ObjectTranslator.MatchParameters (LuaState luaState, System.Reflection.MethodBase method, NLua.Method.MethodCache& methodCache) [0x00000] in <filename unknown>:0 ^M
      at NLua.Method.LuaMethodWrapper.Call (LuaState luaState) [0x00000] in <filename unknown>:0 ^M
      at NLua.MetaFunctions.RunFunctionDelegate (LuaState luaState, NLua.ObjectTranslator translator) [0x00000] in <filename unknown>:0 ^M
      at NLua.MetaFunctions.RunFunctionDelegate (LuaState luaState) [0x00000] in <filename unknown>:0 ^M
      at (wrapper native-to-managed) NLua.MetaFunctions:RunFunctionDelegate (KeraLua.LuaState)^M
      at (wrapper managed-to-native) KeraLua.NativeMethods:LuaNetPCall (intptr,int,int,int)^M
      at KeraLua.Lua.LuaNetPCall (IntPtr luaState, Int32 nArgs, Int32 nResults, Int32 errfunc) [0x00000] in <filename unknown>:0 ^M
      at NLua.LuaLib.LuaPCall (LuaState luaState, Int32 nArgs, Int32 nResults, Int32 errfunc) [0x00000] in <filename unknown>:0 ^M
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0 ^M
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in <filename unknown>:0 ^M
      at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown>:0 ^M
      at Oxide.Ext.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 ^M
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 ^M
    
     
  10. Really wish you brought back the special character usage in the chat hander. cant use any special characters for the prefix of Donators and especially VIP
     
    Last edited by a moderator: Aug 3, 2015
  11. Its game dependent what characters are shown in chat, nothing limited by the plugin.
     
  12. This error occurs when writing long messages
    In chat message appears complete, but without changing the color and prefix. In the console, two messages: one cropped change of color and prefix, the second complete without a change of color and a prefix.

    Code:
    [Admin] Tomerl: Во-первых, он не обновлен даже, нет новых предметов, а во-вторых, хоть э
    [Oxide] 4:20 PM [Error] Failed to call hook 'OnPlayerChat' on plugin 'Chat Handler' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 4:20 PM [Debug]   at NLua.CheckType.GetAsString (LuaState luaState, Int32 stackPos) [0x00000] in <filename unknown>:0
      at NLua.MetaFunctions.MatchParameters (LuaState luaState, System.Reflection.MethodBase method, NLua.Method.MethodCache& methodCache) [0x00000] in <filename unknown>:0
      at NLua.ObjectTranslator.MatchParameters (LuaState luaState, System.Reflection.MethodBase method, NLua.Method.MethodCache& methodCache) [0x00000] in <filename unknown>:0
      at NLua.Method.LuaMethodWrapper.Call (LuaState luaState) [0x00000] in <filename unknown>:0
      at NLua.MetaFunctions.RunFunctionDelegate (LuaState luaState, NLua.ObjectTranslator translator) [0x00000] in <filename unknown>:0
      at NLua.MetaFunctions.RunFunctionDelegate (LuaState luaState) [0x00000] in <filename unknown>:0
      at (wrapper native-to-managed) NLua.MetaFunctions:RunFunctionDelegate (KeraLua.LuaState)
      at (wrapper managed-to-native) KeraLua.NativeMethods:LuaNetPCall (intptr,int,int,int)
      at KeraLua.Lua.LuaNetPCall (IntPtr luaState, Int32 nArgs, Int32 nResults, Int32 errfunc) [0x00000] in <filename unknown>:0
      at NLua.LuaLib.LuaPCall (LuaState luaState, Int32 nArgs, Int32 nResults, Int32 errfunc) [0x00000] in <filename unknown>:0
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in <filename unknown>:0
      at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Ext.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
    Tomerl: Во-первых, он не обновлен даже, нет новых предметов, а во-вторых, хоть это и можно настроить, но там могут выпасть даже С4
     
  13. Code:
    5:52 PM [Error] Failed to call hook 'OnPlayerChat' on plugin 'Chat Handler' (NullReferenceException: Object reference not set to an instance of an object)
    You can't fix this error few updates. Whats wrong with you?
     
  14. Why dont you just fix it your self? you make it sound like it is so easy...
     
  15. I'm not dev of this plugin, so i dont ask you what i may do. And... its easy, but author is lazy
     
  16. Easy ? Do you even know what the error NRE(Null Reference Exception) means ? Firstly i doesnt say the line and it doesnt say where is the actual error. From my experience that means "Expected "000" but got "00" " something like that. Yeah if its easy search the internet and fix that. Also the author maybe is not able to fix that now..
     
  17. Feel free to not use the plugin if you're not pleased with it.
    I do all of this in my freetime and since I dont play Rust myself anymore the priority isnt very high out of all my freetime activities.
     
  18. Hey! I have trouble with moderators not having their prefix shown in the chat, also no different color to their names when I in desperation tried to change that. Me as the owner, show up with the prefix color edited as I wanted etc.


    Nevermind, solved it myself :) Was something wrong with permissions!
     
    Last edited by a moderator: Aug 5, 2015
  19. how can I make my moderators have that Tag I can only see my Tag [Admin] but not player or moderator's Tag " Prefix "
     
  20. Give them the permission used in the respective chatgroup.
    If you're using default settings it would be the permission "moderator".