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 <4ebdbcd00db64c0ea414131855ec6e41>:0
at Oxide.Plugins.DeathNotes.GetEntityName (BaseEntity entity, Oxide.Plugins.DeathNotes+CombatEntityType combatEntityType) [0x00079] in <4ebdbcd00db64c0ea414131855ec6e41>:0
at Oxide.Plugins.DeathNotes.GetCustomizedEntityName (BaseEntity entity, Oxide.Plugins.DeathNotes+CombatEntityType combatEntityType) [0x00000] in <4ebdbcd00db64c0ea414131855ec6e41>:0
at Oxide.Plugins.DeathNotes.PopulateMessageVariables (System.String message, Oxide.Plugins.DeathNotes+DeathData data) [0x00024] in <4ebdbcd00db64c0ea414131855ec6e41>:0
at Oxide.Plugins.DeathNotes.OnEntityDeath (BaseCombatEntity victimEntity, HitInfo hitInfo) [0x000cb] in <4ebdbcd00db64c0ea414131855ec6e41>:0
at Oxide.Plugins.DeathNotes.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0017c] in <4ebdbcd00db64c0ea414131855ec6e41>: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 <157a94ee66ab4a7991faecd1eb84be3b>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <157a94ee66ab4a7991faecd1eb84be3b>:0 Failed to call hook 'OnEntityDeath' on plugin
Please update Oxide again, this most likely an Oxide issue and not a plugin issue!
still throws this error after latest oxide update (.6000)
same issue
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 <d7d11f5c7869462892623163a9b6d3de>:0
at Oxide.Plugins.DeathNotes.GetEntityName (BaseEntity entity, Oxide.Plugins.DeathNotes+CombatEntityType combatEntityType) [0x00079] in <d7d11f5c7869462892623163a9b6d3de>:0
at Oxide.Plugins.DeathNotes.GetCustomizedEntityName (BaseEntity entity, Oxide.Plugins.DeathNotes+CombatEntityType combatEntityType) [0x00000] in <d7d11f5c7869462892623163a9b6d3de>:0
at Oxide.Plugins.DeathNotes.PopulateMessageVariables (System.String message, Oxide.Plugins.DeathNotes+DeathData data) [0x00024] in <d7d11f5c7869462892623163a9b6d3de>:0
at Oxide.Plugins.DeathNotes.OnEntityDeath (BaseCombatEntity victimEntity, HitInfo hitInfo) [0x000cb] in <d7d11f5c7869462892623163a9b6d3de>:0
at Oxide.Plugins.DeathNotes.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0017c] in <d7d11f5c7869462892623163a9b6d3de>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <c89ee1798e7041969be4e309db07aa57>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <1a298a556ab640a3a0e3fbde04ac5b5c>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <1a298a556ab640a3a0e3fbde04ac5b5c>:0 same issue
I updated oxide just now but deathnotes is still broken.
I'm having the same issue after the update and reloading the plugin. It's still giving the same error.
same issue after Version: 2.0.6002
Same here.
Oxide.Rust Version: 2.0.6002
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 <e85e2f62de8b4dc589c2a241bef11c6f>:0
at Oxide.Plugins.DeathNotes.GetEntityName (BaseEntity entity, Oxide.Plugins.DeathNotes+CombatEntityType combatEntityType) [0x00079] in <e85e2f62de8b4dc589c2a241bef11c6f>:0
at Oxide.Plugins.DeathNotes.GetCustomizedEntityName (BaseEntity entity, Oxide.Plugins.DeathNotes+CombatEntityType combatEntityType) [0x00000] in <e85e2f62de8b4dc589c2a241bef11c6f>:0
at Oxide.Plugins.DeathNotes.PopulateMessageVariables (System.String message, Oxide.Plugins.DeathNotes+DeathData data) [0x00052] in <e85e2f62de8b4dc589c2a241bef11c6f>:0
at Oxide.Plugins.DeathNotes.OnEntityDeath (BaseCombatEntity victimEntity, HitInfo hitInfo) [0x000cb] in <e85e2f62de8b4dc589c2a241bef11c6f>:0
at Oxide.Plugins.DeathNotes.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0017c] in <e85e2f62de8b4dc589c2a241bef11c6f>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <753b27d02c104b8d8166056be06d5c55>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <1a298a556ab640a3a0e3fbde04ac5b5c>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <1a298a556ab640a3a0e3fbde04ac5b5c>:0
Ditto
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 method
foreach (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); Yea bro just fix the richtext strip method, easy fix. great reply @LorenzoTheSmartOne
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);
GREAT FIX! thank you!
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);
thanks fixed it