DeathNotes

Moved

Total Downloads: 66,154 - First Release: Feb 14, 2015 - Last Update: May 13, 2018

4.98519/5, 270 likes
  1. Here's your error dump, LaserHydra:


    Code:
    [9/11/2015 4:18:20 PM] FAILED AT: OnEntityDeath End | Message: Declaration | System.InvalidProgramException: Invalid IL code in Oxide.Plugins.DeathNotes:GetRandomMessage (string): IL_0044: box       0x1b000006  at Oxide.Plugins.DeathNotes.OnEntityDeath (.BaseCombatEntity vic, .HitInfo hitInfo) [0x00000] in <filename unknown>:0[9/11/2015 4:18:55 PM] FAILED AT: OnEntityDeath End | Message: Declaration | System.InvalidProgramException: Invalid IL code in Oxide.Plugins.DeathNotes:GetRandomMessage (string): IL_0044: box       0x1b000006  at Oxide.Plugins.DeathNotes.OnEntityDeath (.BaseCombatEntity vic, .HitInfo hitInfo) [0x00000] in <filename unknown>:0[9/11/2015 4:19:14 PM] FAILED AT: OnEntityDeath End | Message: Declaration | System.InvalidProgramException: Invalid IL code in Oxide.Plugins.DeathNotes:GetRandomMessage (string): IL_0044: box       0x1b000006  at Oxide.Plugins.DeathNotes.OnEntityDeath (.BaseCombatEntity vic, .HitInfo hitInfo) [0x00000] in <filename unknown>:0[9/11/2015 4:19:21 PM] FAILED AT: OnEntityDeath End | Message: Declaration | System.InvalidProgramException: Invalid IL code in Oxide.Plugins.DeathNotes:GetRandomMessage (string): IL_0044: box       0x1b000006  at Oxide.Plugins.DeathNotes.OnEntityDeath (.BaseCombatEntity vic, .HitInfo hitInfo) [0x00000] in <filename unknown>:0[9/11/2015 4:20:47 PM] FAILED AT: OnEntityDeath End | Message: Declaration | System.ArgumentNullException: Argument cannot be null.
    Parameter name: key
      at System.Collections.Generic.Dictionary`2[System.String,System.Object].TryGetValue (System.String key, System.Object& value) [0x00000] in <filename unknown>:0
      at Oxide.Core.Configuration.DynamicConfigFile.Get (System.String[] path) [0x00000] in <filename unknown>:0
      at Oxide.Core.Configuration.DynamicConfigFile.get_Item (System.String keyLevel1, System.String keyLevel2) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.DeathNotes.ConfigWeapon (System.String weapon) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.DeathNotes.GetFormattedWeapon (System.String weapon) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.DeathNotes.OnEntityDeath (.BaseCombatEntity vic, .HitInfo hitInfo) [0x00000] in <filename unknown>:0[9/11/2015 4:25:21 PM] FAILED AT: OnEntityDeath End | Message: Declaration | System.InvalidProgramException: Invalid IL code in Oxide.Plugins.DeathNotes:GetRandomMessage (string): IL_0044: box       0x1b000006  at Oxide.Plugins.DeathNotes.OnEntityDeath (.BaseCombatEntity vic, .HitInfo hitInfo) [0x00000] in <filename unknown>:0
    
    [DOUBLEPOST=1442014213][/DOUBLEPOST]Oh and I also got a lot of these:

    Code:
    Failed at unknown position in OnEntityDeath: Object reference not set to an instance of an object
     
  2. Code:
    Failed at unknown position in OnEntityDeath: Object reference not set to an instance of an object
    is old.
    Ill try to fix these
    [DOUBLEPOST=1442015024][/DOUBLEPOST]
    ok. Use 3.1.41 or 3.2.0 which should work too
     
  3. I might have a fix, give me e few moments...
    [DOUBLEPOST=1442018498][/DOUBLEPOST]Ok, the GetRandomMessage() function didn't like the line with all of the question marks. I removed them and I am no longer getting that error, and the randomized messages work great.

    Here's a file if people feel brave enough to test. I claim no responsibility, this is not my plugin, et al.
    [DOUBLEPOST=1442018545][/DOUBLEPOST]PS: I neglected to change the versioning, do so in official update.
     

    Attached Files:

  4. Anyway you can update line 82 and 83 to this
    Code:
    MessageConfig("Explosion", new List<string>{"{victim} got blown up by {attacker}."});
    MessageConfig("Poison", new List<string>{"{victim} died by poison."});
    
     
  5. no longer working. with latest update and config reset.
    Code:
    [9/12/2015 12:08:47 AM] FAILED AT: OnEntityDeath End | Message: Declaration | System.ArgumentNullException: Argument cannot be null.
    Parameter name: key
      at System.Collections.Generic.Dictionary`2[System.String,System.Object].TryGetValue (System.String key, System.Object& value) [0x00000] in <filename unknown>:0 
      at Oxide.Core.Configuration.DynamicConfigFile.Get (System.String[] path) [0x00000] in <filename unknown>:0 
      at Oxide.Core.Configuration.DynamicConfigFile.get_Item (System.String keyLevel1, System.String keyLevel2) [0x00000] in <filename unknown>:0 
      at Oxide.Plugins.DeathNotes.ConfigWeapon (System.String weapon) [0x00000] in <filename unknown>:0 
      at Oxide.Plugins.DeathNotes.GetFormattedWeapon (System.String weapon) [0x00000] in <filename unknown>:0 
      at Oxide.Plugins.DeathNotes.OnEntityDeath (.BaseCombatEntity vic, .HitInfo hitInfo) [0x00000] in <filename unknown>:0 [9/12/2015 12:08:47 AM] FAILED AT: OnEntityDeath End | Message: Declaration | System.ArgumentNullException: Argument cannot be null.
    Parameter name: key
      at System.Collections.Generic.Dictionary`2[System.String,System.Object].TryGetValue (System.String key, System.Object& value) [0x00000] in <filename unknown>:0 
      at Oxide.Core.Configuration.DynamicConfigFile.Get (System.String[] path) [0x00000] in <filename unknown>:0 
      at Oxide.Core.Configuration.DynamicConfigFile.get_Item (System.String keyLevel1, System.String keyLevel2) [0x00000] in <filename unknown>:0 
      at Oxide.Plugins.DeathNotes.ConfigWeapon (System.String weapon) [0x00000] in <filename unknown>:0 
      at Oxide.Plugins.DeathNotes.GetFormattedWeapon (System.String weapon) [0x00000] in <filename unknown>:0 
      at Oxide.Plugins.DeathNotes.OnEntityDeath (.BaseCombatEntity vic, .HitInfo hitInfo) [0x00000] in <filename unknown>:0 [9/12/2015 12:10:01 AM] FAILED AT: OnEntityDeath End | Message: Declaration | System.InvalidProgramException: Invalid IL code in Oxide.Plugins.DeathNotes:GetRandomMessage (string): IL_0044: box       0x1b000006  at Oxide.Plugins.DeathNotes.OnEntityDeath (.BaseCombatEntity vic, .HitInfo hitInfo) [0x00000] in <filename unknown>:0 [9/12/2015 12:14:02 AM] FAILED AT: OnEntityDeath End | Message: Declaration | System.InvalidProgramException: Invalid IL code in Oxide.Plugins.DeathNotes:GetRandomMessage (string): IL_0044: box       0x1b000006  at Oxide.Plugins.DeathNotes.OnEntityDeath (.BaseCombatEntity vic, .HitInfo hitInfo) [0x00000] in <filename unknown>:0 [9/12/2015 12:14:24 AM] FAILED AT: OnEntityDeath End | Message: Declaration | System.InvalidProgramException: Invalid IL code in Oxide.Plugins.DeathNotes:GetRandomMessage (string): IL_0044: box       0x1b000006  at Oxide.Plugins.DeathNotes.OnEntityDeath (.BaseCombatEntity vic, .HitInfo hitInfo) [0x00000] in <filename unknown>:0 [9/12/2015 12:16:41 AM] FAILED AT: OnEntityDeath End | Message: Declaration | System.InvalidProgramException: Invalid IL code in Oxide.Plugins.DeathNotes:GetRandomMessage (string): IL_0044: box       0x1b000006  at Oxide.Plugins.DeathNotes.OnEntityDeath (.BaseCombatEntity vic, .HitInfo hitInfo) [0x00000] in <filename unknown>:0
     
    Last edited by a moderator: Sep 12, 2015
  6. The last version doesn't work for suicides on my server... no messages whatsoever, no errors in log... it is properly loaded and I'm using the latest config.
     
  7. Good job finding that out. Im going to fix what I can.
    Are you sure the attacker shows for every explosive!?
     
  8. It shows nothing even if its default needs extra support or coding for it two work but them to line fixes spelling and grammar
     
  9. doesnt explain why you added "{attacker}" to explosive deaths :p
     
  10. LaserHydra updated Death Notes with a new update entry:

    3.2.12

     
  11. Thanks for continuing upgrading the plugin laserHydra!

    Last version, 3.3.0 is giving this:
    Code:
    [Oxide] 11:45 AM [Error] Plugin failed to compile: DeathNotes (leaving previous version loaded)
    [Oxide] 11:45 AM [Error] DeathNotes plugin failed to compile!
    [Oxide] 11:45 AM [Error] DeathNotes.cs(25,9): error CS0246: The type or namespace name `Plugin' could not be found. Are you missing `Oxide.Core.Plugins' using directive?
     
  12. Code:
    [Error] DeathNotes.cs(25,9): error CS0246: The type or namespace name `Plugin' could not be found. Are you missing `Oxide.Core.Plugins' using directive?
     
  13. LaserHydra updated Death Notes with a new update entry:

    3.3.1

     
  14. Working fine now, thanks Laser:)

    ps: One thing I've noticed is that I had to reset my config because the update did not write the new "UsePopupNotifications" on the mine 3.2.x .json config
     
  15. Was trying something when i think about it it might work for somethings but not all can you fix the spelling mistake on line 93 now on the latest
     
  16. Hey updated notifier and your plugin deathnotes but now there wont show up any kill messages
     
  17. I've seen that Barricade and Explosive deaths do not seem to show somehow. But Guns and Melee worked for me. Currently fixing
     
  18. Ooh weird then nothing is working at mine server :(
     
  19. LaserHydra updated Death Notes with a new update entry:

    3.3.2