Failed to call hook 'OnEntityDeath' on plugin

I have the same Error Message

same ...

I'm getting this same error now as well. 

I'm getting a similar error as OP

I dont understand what is preventing it compiling on your servers if your oxide is uptodate, are  you using the Deathnotes gui ? (i am not)

67 "Electric Generator Tweaker" (1.0.0) by FastBurst (1.54s) - ElectricGeneratorTweaker.cs
68 "Door Health Multiplier" (1.2.0) by Judess69er (0.48s) - DoorHealthMultiplier.cs
69 "Death Notes" (6.3.8) by LaserHydra (2.40s) - DeathNotes.cs
70 "Death History" (1.0.3) by MadKingCraig (0.07s) - DeathHistory.cs
71 "Dangerous Treasures" (2.3.6) by nivex (10.47s) - DangerousTreasures.cs
72 "CustomLoot" (1.2.1) by Steenamaroo (17.15s) - CustomLoot.cs

The only problem seems to be not broadcasting helicopter kills in chat , everything else shows up

Same Error, needs an update from the looks of it.

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 <24819d666ab1470f853214b47831a9d3>:0 
  at Oxide.Plugins.DeathNotes.GetEntityName (BaseEntity entity, Oxide.Plugins.DeathNotes+CombatEntityType combatEntityType) [0x00079] in <24819d666ab1470f853214b47831a9d3>:0 
  at Oxide.Plugins.DeathNotes.GetCustomizedEntityName (BaseEntity entity, Oxide.Plugins.DeathNotes+CombatEntityType combatEntityType) [0x00000] in <24819d666ab1470f853214b47831a9d3>:0 
  at Oxide.Plugins.DeathNotes.PopulateMessageVariables (System.String message, Oxide.Plugins.DeathNotes+DeathData data) [0x00024] in <24819d666ab1470f853214b47831a9d3>:0 
  at Oxide.Plugins.DeathNotes.OnEntityDeath (BaseCombatEntity victimEntity, HitInfo hitInfo) [0x000cb] in <24819d666ab1470f853214b47831a9d3>:0 
  at Oxide.Plugins.DeathNotes.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0017c] in <24819d666ab1470f853214b47831a9d3>: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​

Finally did Oxide update from 2 days ago. Before the oxide update, the plugin was working fine, minus broadcasting patrol heli kills, so I updated oxide to see if that was the problem. Now, death notes don't broadcast in chat. The plugin compiles successfully however. As many have said, an update would be helpful!

Line 795 to 807

StringComparison.InvariantCulture​
has been removed, if you need help please let me know.

foreach (var richTextLiteral in _richTextLiterals)
text = text.Replace(richTextLiteral, string.Empty);

return text;
}

private static bool MatchesCombatEntityType(CombatEntityType combatEntityType, string text)
{
if (combatEntityType == CombatEntityType.None && text == "-")
return true;

return combatEntityType.ToString().Equals(text);
}

working now thxxx

working now thxxx

391rbsywSdqEpWg.png WarZombie

Line 795 to 807

StringComparison.InvariantCulture​
has been removed, if you need help please let me know.

foreach (var richTextLiteral in _richTextLiterals)
text = text.Replace(richTextLiteral, string.Empty);

return text;
}

private static bool MatchesCombatEntityType(CombatEntityType combatEntityType, string text)
{
if (combatEntityType == CombatEntityType.None && text == "-")
return true;

return combatEntityType.ToString().Equals(text);
}

Can you please paste the fixed plugin code please in its entirety?

Darkorust

Can you please paste the fixed plugin code please in its entirety?

Download the new version.