Well please fix the plugin
Failed to call hook 'OnEntityDeath' on plugin
Goldiethanks fixed it
fixed the error message but still no chat message, shows in consol but not in chat
If you have "Require Permission (deathnotes.cansee)": true
make sure permission is set
or just "Require Permission (deathnotes.cansee)": false
"Message Broadcast Radius (in meters)": -1, also affect who see the messages in chat
Lorenzo
If you have "Require Permission (deathnotes.cansee)": true
make sure permission is set
or just "Require Permission (deathnotes.cansee)": false
"Message Broadcast Radius (in meters)": -1, also affect who see the messages in chat
Config has not been changed in years
"Chat Format": "<color=#ffa500ff>[<color=#80D000>DeathNotes</color>] {message}</color>",
"Chat Icon (SteamID)": "76561############",
"Show Kills in Console": false,
"Show Kills in Chat": true,
"Message Broadcast Radius (in meters)": -1,
"Use Metric Distance": true,
"Require Permission (deathnotes.cansee)": false
}
Except of the "Chat Icon (SteamID)": where i use the default.
your config works fine for me. I see death notes in chat
Lorenzo
Except of the "Chat Icon (SteamID)": where i use the default.
your config works fine for me. I see death notes in chat
You are luckier than me :). I will see if its still a problem after wipe, thanks for the other fix , it did the job
Lorenzo
Just to locate the source of this error. ( so not a fix, it should work as is )
The error seem to be tied to line 796 in StripRichText methodforeach (var richTextLiteral in _richTextLiterals) text = text.Replace(richTextLiteral, string.Empty, StringComparison.InvariantCulture);
More specifically to the StringComparison.InvariantCulture . without it, no error
foreach (var richTextLiteral in _richTextLiterals) text = text.Replace(richTextLiteral, string.Empty);
Fix works here too! Thanks,
Running great after server restart , must have been a glitch
not working after last update
Failed to call hook 'OnEntityDeath' on plugin 'DeathNotes v6.3.8' (NotImplementedException: The method or operation is not implemented.)
Failed to call hook 'OnEntityDeath' on plugin 'DeathNotes v6.3.8' (NotImplementedException: The method or operation is not implemented.)
at System.Globalization.CompareInfo.IndexOfCore (System.String source, System.String target, System.Int32 startIndex, System.Int32 count, System.Globalization.CompareOptions options, System.Int32* matchLengthPtr) [0x00006] in <2161c9885dd04ff291b79db9349c4b9b>:0
at System.Globalization.CompareInfo.IndexOf (System.String source, System.String value, System.Int32 startIndex, System.Int32 count, System.Globalization.CompareOptions options, System.Int32* matchLengthPtr) [0x00071] in <2161c9885dd04ff291b79db9349c4b9b>:0
at System.String.ReplaceCore (System.String oldValue, System.String newValue, System.Globalization.CultureInfo culture, System.Globalization.CompareOptions options) [0x0005d] in <2161c9885dd04ff291b79db9349c4b9b>:0
at System.String.Replace (System.String oldValue, System.String newValue, System.StringComparison comparisonType) [0x00046] in <2161c9885dd04ff291b79db9349c4b9b>:0
at Oxide.Plugins.DeathNotes.StripRichText (System.String text) [0x0004a] in <55cfc49ad69c41438734b14fdd78eeec>:0
at Oxide.Plugins.DeathNotes.GetEntityName (BaseEntity entity, Oxide.Plugins.DeathNotes+CombatEntityType combatEntityType) [0x00079] in <55cfc49ad69c41438734b14fdd78eeec>:0
at Oxide.Plugins.DeathNotes.GetCustomizedEntityName (BaseEntity entity, Oxide.Plugins.DeathNotes+CombatEntityType combatEntityType) [0x00000] in <55cfc49ad69c41438734b14fdd78eeec>:0
at Oxide.Plugins.DeathNotes.PopulateMessageVariables (System.String message, Oxide.Plugins.DeathNotes+DeathData data) [0x00024] in <55cfc49ad69c41438734b14fdd78eeec>:0
at Oxide.Plugins.DeathNotes.OnEntityDeath (BaseCombatEntity victimEntity, HitInfo hitInfo) [0x000cb] in <55cfc49ad69c41438734b14fdd78eeec>:0
at Oxide.Plugins.DeathNotes.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0017c] in <55cfc49ad69c41438734b14fdd78eeec>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <e3740cd7ab6f40909737d74eeeaf1a8a>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <032ab7611607468ebf42c14e3cf9df20>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <032ab7611607468ebf42c14e3cf9df20>:0
I was just coming here to add the same. I'm getting this in my console:
Failed to call hook 'OnEntityDeath' on plugin 'DeathNotes v6.3.8' (NotImplementedException: The method or operation is not implemented.)
at System.Globalization.CompareInfo.IndexOfCore (System.String source, System.String target, System.Int32 startIndex, System.Int32 count, System.Globalization.CompareOptions options, System.Int32* matchLengthPtr) [0x00006] in <47fc8c70fa834cbf8141d7c1a7589125>:0
at System.Globalization.CompareInfo.IndexOf (System.String source, System.String value, System.Int32 startIndex, System.Int32 count, System.Globalization.CompareOptions options, System.Int32* matchLengthPtr) [0x00071] in <47fc8c70fa834cbf8141d7c1a7589125>:0
at System.String.ReplaceCore (System.String oldValue, System.String newValue, System.Globalization.CultureInfo culture, System.Globalization.CompareOptions options) [0x0005d] in <47fc8c70fa834cbf8141d7c1a7589125>:0
at System.String.Replace (System.String oldValue, System.String newValue, System.StringComparison comparisonType) [0x00046] in <47fc8c70fa834cbf8141d7c1a7589125>:0
at Oxide.Plugins.DeathNotes.StripRichText (System.String text) [0x0004a] in :0
at Oxide.Plugins.DeathNotes.GetEntityName (BaseEntity entity, Oxide.Plugins.DeathNotes+CombatEntityType combatEntityType) [0x00079] in :0
at Oxide.Plugins.DeathNotes.GetCustomizedEntityName (BaseEntity entity, Oxide.Plugins.DeathNotes+CombatEntityType combatEntityType) [0x00000] in :0
at Oxide.Plugins.DeathNotes.PopulateMessageVariables (System.String message, Oxide.Plugins.DeathNotes+DeathData data) [0x00052] in :0
at Oxide.Plugins.DeathNotes.OnEntityDeath (BaseCombatEntity victimEntity, HitInfo hitInfo) [0x000cb] in :0
at Oxide.Plugins.DeathNotes.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0017c] 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 <032ab7611607468ebf42c14e3cf9df20>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <032ab7611607468ebf42c14e3cf9df20>:0
Afternoon, after the update this morning this error now shows up:
Failed to call hook 'OnEntityDeath' on plugin 'DeathNotes v6.3.8' (NotImplementedException: The method or operation is not implemented.) at System.Globalization.CompareInfo.IndexOfCore (System.String source, System.String target, System.Int32 startIndex, System.Int32 count, System.Globalization.CompareOptions options, System.Int32* matchLengthPtr) [0x00006] in <2161c9885dd04ff291b79db9349c4b9b>:0
Hello
(18:21:34) | Failed to call hook 'OnEntityDeath' on plugin 'DeathNotes v6.3.8' (NotImplementedException: The method or operation is not implemented.)
at System.Globalization.CompareInfo.IndexOfCore (System.String source, System.String target, System.Int32 startIndex, System.Int32 count, System.Globalization.CompareOptions options, System.Int32* matchLengthPtr) [0x00006] in <47fc8c70fa834cbf8141d7c1a7589125>:0
at System.Globalization.CompareInfo.IndexOf (System.String source, System.String value, System.Int32 startIndex, System.Int32 count, System.Globalization.CompareOptions options, System.Int32* matchLengthPtr) [0x00071] in <47fc8c70fa834cbf8141d7c1a7589125>:0
at System.String.ReplaceCore (System.String oldValue, System.String newValue, System.Globalization.CultureInfo culture, System.Globalization.CompareOptions options) [0x0005d] in <47fc8c70fa834cbf8141d7c1a7589125>:0
at System.String.Replace (System.String oldValue, System.String newValue, System.StringComparison comparisonType) [0x00046] in <47fc8c70fa834cbf8141d7c1a7589125>:0
at Oxide.Plugins.DeathNotes.StripRichText (System.String text) [0x0004a] in <d5087b4828bd4f559f289469e5ed6ff6>:0
at Oxide.Plugins.DeathNotes.GetEntityName (BaseEntity entity, Oxide.Plugins.DeathNotes+CombatEntityType combatEntityType) [0x00079] in <d5087b4828bd4f559f289469e5ed6ff6>:0
at Oxide.Plugins.DeathNotes.GetCustomizedEntityName (BaseEntity entity, Oxide.Plugins.DeathNotes+CombatEntityType combatEntityType) [0x00000] in <d5087b4828bd4f559f289469e5ed6ff6>:0
at Oxide.Plugins.DeathNotes.PopulateMessageVariables (System.String message, Oxide.Plugins.DeathNotes+DeathData data) [0x00052] in <d5087b4828bd4f559f289469e5ed6ff6>:0
at Oxide.Plugins.DeathNotes.OnEntityDeath (BaseCombatEntity victimEntity, HitInfo hitInfo) [0x000cb] in <d5087b4828bd4f559f289469e5ed6ff6>:0
at Oxide.Plugins.DeathNotes.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0017c] in <d5087b4828bd4f559f289469e5ed6ff6>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <e3740cd7ab6f40909737d74eeeaf1a8a>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <032ab7611607468ebf42c14e3cf9df20>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <032ab7611607468ebf42c14e3cf9df20>:0
i'm getting the similar errors with bradley and animals