1. Domestos updated Chat Handler with a new update entry:

    Bugfix

     
  2. Code:
    Oxide] 1:42 AM [Error] Failed to call hook 'OnPlayerChat' on plugin 'Chat Handler'
    File: chathandler.lua Line: 318 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
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
    
    Start spamming to console after random period of time...
     
  3. What Oxide version are you on? If its 2.0.1163 or older update to at least version 2.0.1185 or newer
     
  4. Thanks man, I'll update and see if it helps...
     
  5. since using todays oxide update this plugin is causing double chat
     
  6. You probably have two chat plugins running.
     
  7. nah only happened since todays oxide update
    [DOUBLEPOST=1437281005][/DOUBLEPOST]a few plugins went out from the update errrors all over in a a few different ones it was perfect before i did todays oxide
     
  8. Wulf

    Wulf Community Admin

    Could you provide them please? We can't really fix errors if we can't see them.
     
  9. server has crashed twice now since i did steam update today and latest oxide can i post the logs in here for u
    [DOUBLEPOST=1437281514][/DOUBLEPOST]my log files
    [DOUBLEPOST=1437281840][/DOUBLEPOST]its only since i did the oxide update server was running perfect now its crashing constantly and heaps of plugins getting errrors
    [DOUBLEPOST=1437282573][/DOUBLEPOST]it seems from the latest oxide update is causing all lua plugins to throw heaps of errors and crash the server saying theres not enough memory even though there is heaps fro lua scripts or something since latest oxide update
    [DOUBLEPOST=1437283616][/DOUBLEPOST]i shut the server down again and reinstalled oxide again and it seems good again for now so far no crashing and the double chat seems to have been fixed for now
     

    Attached Files:

  10. I fixed the double colon but wont release an update just for this. It will be in the next version, thanks for reporting.

    Regarding the truncated chat: there is a hardcoded limit of 128 chars, if the message is longer than that its truncated to 128.
    I might change that in the future but for now thats how it is.
     
  11. Just updated to Oxide Version: 2.0.1190 and after short period of time, after restart it start to spamming again:
    Code:
    [Oxide] 2:13 PM [Error] Failed to call hook 'OnPlayerChat' on plugin 'Chat Handler'
    File: chathandler.lua Line: 318 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
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 
    [DOUBLEPOST=1437523729,1437315214][/DOUBLEPOST]I think I found the problem. This plugin and other (deathnotes, chatmute, EnhancedBanSystem) works fine, unil I enter in spectator mode, then player I spectated disconnects and someone is killing him, while he sleep. My screen moves to the center of map and don't react on any try to switch player or write in a chat... Short after this, above message starts spamming to console, and plugins listed stop to work (at least that plugins).
    Bug in Oxide or server itself?
     
  12. Wulf

    Wulf Community Admin

    It sounds like a plugin just isn't checking for a valid player at one point. Not really something Oxide controls, so probably a plugin.
     
  13. I'm not a superprogrammer, but I think something is breaking in oxide or server itself after my actions. It repeating over and over. Can't normally spectate, cos can break it again and again...
     
  14. Wulf

    Wulf Community Admin

    Oxide doesn't do anything with Rust's spectate mode.
     
  15. Try the attached version and tell me if its better.
     

    Attached Files:

  16. Replaced with new version on already bugged server. Same error on every chat message. When server autoreboots, will see what happens.

    So, if understanding correct, a bunch of lua and python plugins stop working at the same time by misterious reason?
     
  17. Wulf

    Wulf Community Admin

    Make sure your server is fully updated with the latest Oxide build. There was a Lua issue with newer DLLs, but that was already resolved with a newer build. I don't know what issue you are facing with Python plugins, but I'm not aware of any issues aside from plugin-specific issues.
     
  18. Code:
    [7/25/2015 3:42:24 AM] [Oxide] 3:42 AM [Error] Failed to call hook 'OnPlayerChat' on plugin 'Chat Handler'
    File: chathandler.lua Line: 647 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 
    chathandler erro
     
  19. Wulf

    Wulf Community Admin

    Your oxide/data/oxide.user.json file is somehow corrupt. Verify it using jsonlint.com.