[Error] Failed to call hook 'OnEntityDeath' on plugin 'Death Notes' (KeyNotFoundException: The given key was not present in the dictionary.)
DeathNotes
Moved
Total Downloads: 66,140 - First Release: Feb 14, 2015 - Last Update: May 13, 2018
- 4.98519/5, 270 likes
-
Attached Files:
-
-
Code:"EXPLOSION": [ "{attacker} [{weapon}] {victim}" ],
Code:"BARRICADE": [ "{attacker} [{weapon}] {victim}" ],
I'm sorry if this is not specified any where but I'm still trying to fix this.
I'm still not 100% sure about this though, this last Rust update changed a few things that makes my work a bit harder, so I will probably re-work some things to make sure everything works smoothly, so if you happen to follow my instructions and still find these errors I can only ask for patience until I get time to work on this.
But as always, thanks for reporting. -
-
Code:
# 15.14m)11:57 PM [Warning] CallHook 'OnEntityTakeDamage' on plugin 'Death Notes' took average: 299ms 11:57 PM [Warning] CallHook 'OnEntityTakeDamage' on plugin 'Death Notes' took average: 353ms 11:57 PM [Info] [Death Notes v2.4.7] :: Carl Gustaf killed a Wolf. (In the Spine with Stone Pickaxe, from 1.05m) 11:58 PM [Warning] CallHook 'OnEntityTakeDamage' on plugin 'Death Notes' took average: 365ms 11:58 PM [Warning] HumanNPC plugin is using deprecated hook: OnEntityAttacked 11:58 PM [Warning] CallHook 'OnEntityTakeDamage' on plugin 'Death Notes' took average: 280ms 11:58 PM [Info] [Death Notes v2.4.7] :: PolanBanter killed a Deer. (In the Thigh with Bolt Rifle, from 25.53m) 11:58 PM [Info] [Death Notes v2.4.7] :: Carl Gustaf bled to death. 11:58 PM [Info] [Death Notes v2.4.7] :: [PE] Grimskalle committed suicide. 11:58 PM [Warning] CallHook 'OnEntityTakeDamage' on plugin 'Death Notes' took average: 301ms 11:58 PM [Info] [Death Notes v2.4.7] :: Suppe killed a Wolf. (In the Feet with Hunting Bow, from 3.18m) 11:58 PM [Warning] CallHook 'OnEntityTakeDamage' on plugin 'Death Notes' took: 2220ms 11:58 PM [Warning] CallHook 'OnEntityTakeDamage' on plugin 'Death Notes' took average: 439ms 11:59 PM [Warning] CallHook 'OnEntityTakeDamage' on plugin 'Death Notes' took average: 265ms 11:59 PM [Info] [Death Notes v2.4.7] :: PolanBanter killed a Boar. (In the Arm with Bolt Rifle, from 29.42m) 11:59 PM [Warning] CallHook 'OnEntityTakeDamage' on plugin 'Death Notes' took average: 285ms 11:59 PM [Warning] CallHook 'OnEntityTakeDamage' on plugin 'Death Notes' took average: 276ms 11:59 PM [Warning] CallHook 'OnEntityTakeDamage' on plugin 'Death Notes' took average: 268ms
-
-
Code:
[Oxide] 8:41 PM [Info] [BLK] dominant2014 has committed suicide! [Oxide] 8:41 PM [Error] Failed to call hook 'OnEntityDeath' on plugin 'Death Notes' (MissingMemberException: 'NoneType' object has no attribute 'Initiator') [Oxide] 8:41 PM [Debug] at Microsoft.Scripting.Interpreter.ThrowInstruction.Run (Microsoft.Scripting.Interpreter.InterpretedFrame frame) [0x00000] in <filename unknown>:0 at Microsoft.Scripting.Interpreter.Interpreter.Run (Microsoft.Scripting.Interpreter.InterpretedFrame frame) [0x00000] in <filename unknown>:0 [Oxide] 8:41 PM [Error] Failed to call hook 'OnEntityDeath' on plugin 'Running' File: event.lua Line: 266 attempt to index local 'hitinfo' (a nil value): at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
-
[Oxide] 8:38 AM [Error] Failed to call hook 'OnEntityDeath' on plugin 'Death Notes' (KeyNotFoundException: The given key was not present in the dictionary.)
[5/14/2015 8:38:04 AM] [Oxide] 8:38 AM [Debug] at System.Collections.Generic.Dictionary`2[System.Object,System.Object].get_Item (System.Object key) [0x00000] in <filename unknown>:0
at IronPython.Runtime.NewStringFormatter+Formatter.GetUnaccessedObject (FieldName fieldName) [0x00000] in <filename unknown>:0
at IronPython.Runtime.NewStringFormatter+Formatter.GetArgumentValue (FieldName fieldName) [0x00000] in <filename unknown>:0
at IronPython.Runtime.NewStringFormatter+Formatter.ReplaceText (System.String format) [0x00000] in <filename unknown>:0
at IronPython.Runtime.NewStringFormatter+Formatter.FormatString (IronPython.Runtime.PythonContext context, System.String format, IronPython.Runtime.PythonTuple args, IDictionary`2 kwArgs) [0x00000] in <filename unknown>:0
at IronPython.Runtime.NewStringFormatter.FormatString (IronPython.Runtime.PythonContext context, System.String format, IronPython.Runtime.PythonTuple args, IDictionary`2 kwArgs) [0x00000] in <filename unknown>:0
at IronPython.Runtime.Operations.StringOps.format (IronPython.Runtime.CodeContext context, System.String format_string, IDictionary`2 kwargs, System.Object[] args) [0x00000] in <filename unknown>:0
at Microsoft.Scripting.Interpreter.FuncCallInstruction`5[IronPython.Runtime.CodeContext,System.String,System.Collections.Generic.IDictionary`2[System.Object,System.Object],System.Object[],System.String].Run (Microsoft.Scripting.Interpreter.InterpretedFrame frame) [0x00000] in <filename unknown>:0
at Microsoft.Scripting.Interpreter.Interpreter.Run (Microsoft.Scripting.Interpreter.InterpretedFrame frame) [0x00000] in <filename unknown>:0
[5/14/2015 8:38:04 AM] [ELIAN] Penguin was killed by items/beartrap
[5/14/2015 8:39:10 AM] [Oxide] 8:39 AM [Info] Animal: npc/animals/boar_corpse -
-
-
same here hehe
Code:[5/14/2015 4:24:34 PM] [Oxide] 4:24 PM [Error] Failed to call hook 'OnEntityDeath' on plugin 'Death Notes' (KeyNotFoundException: The given key was not present in the dictionary.)
-
I promise you guys I'm going to work on these errors by tomorrow.
-
format .py? How i can install that?
-
Wulf Community Admin
-
I got this
Code:5:16 PM [Error] Failed to call hook 'OnEntityDeath' on plugin 'Death Notes' Traceback (most recent call last): File "deathnotes.py", line 315, in OnEntityDeath TypeError: argument of type 'NoneType' is not iterable
-
Wulf Community Admin
-
I can only ask for patience as my time is also short. -
Wulf Community Admin
-
Thanks SkinN, I have no problem with waiting. Take your time friend
-
For example the granades now return STAB as the last damage, which doenst make any sense at all. If it'd return the EXPLOSION as the F1 grenade did, it would take less code, and all would be much better, makes me work around things. ;O
[DOUBLEPOST=1431734967][/DOUBLEPOST]Also I wanna prepare the code so that later on I can add SQL to it, for people who want to broadcast the messages to websites or whatever, as Reneb did back in Death Messages. -
Code:
[Oxide] 3:03 AM [Error] Failed to call hook 'OnEntityDeath' on plugin 'DEATH' (KeyNotFoundException: The given key was not present in the dictionary.) [Oxide] 3:03 AM [Debug] at System.Collections.Generic.Dictionary`2[System.Object,System.Object].get_Item (System.Object key) [0x00000] in <filename unknown>:0 at IronPython.Runtime.NewStringFormatter+Formatter.GetUnaccessedObject (FieldName fieldName) [0x00000] in <filename unknown>:0 at IronPython.Runtime.NewStringFormatter+Formatter.GetArgumentValue (FieldName fieldName) [0x00000] in <filename unknown>:0 at IronPython.Runtime.NewStringFormatter+Formatter.ReplaceText (System.String format) [0x00000] in <filename unknown>:0 at IronPython.Runtime.NewStringFormatter+Formatter.FormatString (IronPython.Runtime.PythonContext context, System.String format, IronPython.Runtime.PythonTuple args, IDictionary`2 kwArgs) [0x00000] in <filename unknown>:0 at IronPython.Runtime.NewStringFormatter.FormatString (IronPython.Runtime.PythonContext context, System.String format, IronPython.Runtime.PythonTuple args, IDictionary`2 kwArgs) [0x00000] in <filename unknown>:0 at IronPython.Runtime.Operations.StringOps.format (IronPython.Runtime.CodeContext context, System.String format_string, IDictionary`2 kwargs, System.Object[] args) [0x00000] in <filename unknown>:0 at Microsoft.Scripting.Interpreter.FuncCallInstruction`5[IronPython.Runtime.CodeContext,System.String,System.Collections.Generic.IDictionary`2[System.Object,System.Object],System.Object[],System.String].Run (Microsoft.Scripting.Interpreter.InterpretedFrame frame) [0x00000] in <filename unknown>:0 at Microsoft.Scripting.Interpreter.Interpreter.Run (Microsoft.Scripting.Interpreter.InterpretedFrame frame) [0x00000] in <filename unknown>:0
Attached Files:
-