Here's your error dump, LaserHydra:
[DOUBLEPOST=1442014213][/DOUBLEPOST]Oh and I also got a lot of these: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
Code:Failed at unknown position in OnEntityDeath: Object reference not set to an instance of an object
DeathNotes
Moved
Total Downloads: 66,154 - First Release: Feb 14, 2015 - Last Update: May 13, 2018
- 4.98519/5, 270 likes
-
Code:
Failed at unknown position in OnEntityDeath: Object reference not set to an instance of an object
Ill try to fix these
[DOUBLEPOST=1442015024][/DOUBLEPOST] -
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:
-
-
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."});
-
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 -
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.
-
-
It shows nothing even if its default needs extra support or coding for it two work but them to line fixes spelling and grammar
-
-
LaserHydra updated Death Notes with a new update entry:
3.2.12
-
LaserHydra updated Death Notes with a new update entry:
3.3.0
-
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?
-
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?
-
LaserHydra updated Death Notes with a new update entry:
3.3.1
-
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 -
-
Hey updated notifier and your plugin deathnotes but now there wont show up any kill messages
-
-
Ooh weird then nothing is working at mine server
-
LaserHydra updated Death Notes with a new update entry:
3.3.2