NullReferenceException at HandleChatError
Failed to call hook 'OnPlayerChat' on plugin 'ChatTranslator v2.2.0' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.ChatTranslator.HandleChat (Oxide.Core.Libraries.Covalence.IPlayer sender, System.String message, System.Int32 channel, System.Collections.Generic.List`1[T] blockedReceivers) [0x001d4] in <57f41fe2f1944f94a5b3cf9012073c1f>:0
  at Oxide.Plugins.ChatTranslator.OnPlayerChat (BasePlayer basePlayer, System.String message, ConVar.Chat+ChatChannel channel) [0x0001b] in <57f41fe2f1944f94a5b3cf9012073c1f>:0
  at Oxide.Plugins.ChatTranslator.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00285] in <57f41fe2f1944f94a5b3cf9012073c1f>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <80b90e8213db44b29ec2d4111764172c>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ec05e0208c9149bba43236ca58fea105>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <ec05e0208c9149bba43236ca58fea105>:0

Getting this error, too.  Needs fixed pronto.  Get it?  Pronto?

I would need more info in order to reprodue this.

Hi There,

 I'm getting:

Failed to call hook 'OnPlayerChat' on plugin 'ChatTranslator v2.2.0' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.ChatTranslator.HandleChat (Oxide.Core.Libraries.Covalence.IPlayer sender, System.String message, System.Int32 channel, System.Collections.Generic.List`1[T] blockedReceivers) [0x0016d] in <878d71a407ee45be8ff2d660e5763636>:0 
  at Oxide.Plugins.ChatTranslator.OnPlayerChat (BasePlayer basePlayer, System.String message, ConVar.Chat+ChatChannel channel) [0x0001b] in <878d71a407ee45be8ff2d660e5763636>:0 
  at Oxide.Plugins.ChatTranslator.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00285] in <878d71a407ee45be8ff2d660e5763636>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <3606d2af539c45e4b5c61658e6a8b307>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in :0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0​
in console when players chat. I have TranslationAPI.cs installed and loaded. I don't have an API key so its all set up as default. When the Chat Translator plugin loads it says its waiting for Translation API which is already loaded. I've set my server language to english via the "oxide.lang en" console command. I'm not sure if perhaps I was supposed to do a step that I missed or if there is an issue. To be clear, I've never had this working before so this is a fresh isntall. Any ideas my friend?

Kind Regards

Baron Von Fincus
Failed to call hook 'OnPlayerChat' on plugin 'ChatTranslator v2.2.0' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.ChatTranslator.HandleChat (Oxide.Core.Libraries.Covalence.IPlayer sender, System.String message, System.Int32 channel, System.Collections.Generic.List`1[T] blockedReceivers) [0x001d4] in :0
at Oxide.Plugins.ChatTranslator.OnPlayerChat (BasePlayer basePlayer, System.String message, ConVar.Chat+ChatChannel channel) [0x0001b] in :0
at Oxide.Plugins.ChatTranslator.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00285] in :0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <31122a27a2414cd799150f8677cf39d4>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in :0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0

 

I get this error every time someone sends a chat, no translation is done.

An error occurs regardless of team chat or global chat. 

{
"Force default server language": false,
"Log translated chat messages": false,
"Show original and translation": false,
"Translate message for sender": false
}

The configuration of the plugin is here, but no change will improve it.

API is "microsoft" Help.

 



Merged post

I thought it was his same error and sent it, but was it wrong? I intended to send you the details ... if it's a different error,,,sory
Beetle
I thought it was his same error and sent it, but was it wrong? I intended to send you the details ... if it's a different error,,,sory
Same error.

It was good, by the way, is there a way to fix it? I sent you the details, but did you understand anything?

I am getting this error message when people chat:
(15:15:57) | Failed to call hook 'OnPlayerChat' on plugin 'ChatTranslator v2.2.0' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.ChatTranslator.HandleChat (Oxide.Core.Libraries.Covalence.IPlayer sender, System.String message, System.Int32 channel, System.Collections.Generic.List`1[T] blockedReceivers) [0x001d4] in :0 at Oxide.Plugins.ChatTranslator.OnPlayerChat (BasePlayer basePlayer, System.String message, ConVar.Chat+ChatChannel channel) [0x0001b] in :0 at Oxide.Plugins.ChatTranslator.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00285] in :0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in :0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <50629aa0e75d4126b345d8d9d64da28d>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <50629aa0e75d4126b345d8d9d64da28d>:0