DeathNotes

Moved

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

4.98519/5, 270 likes
  1.  
  2. Hi,
    I get this error message:
    Code:
    2:32 AM [Error] Failed to call hook 'OnEntityDeath' on plugin 'Death Notes' (KeyNotFoundException: ANIMAL DEATH)
    2:32 AM [Debug] at IronPython.Runtime.PythonDictionary.GetItem (object) <0x0006c>
    at IronPython.Runtime.PythonDictionary.get_Item (object) <0x00024>
    at (wrapper dynamic-method) object.CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,object,object) <0x000a2>
    at (wrapper dynamic-method) object.OnEntityDeath$17 (System.Runtime.CompilerServices.Closure,IronPython.Runtime.PythonFunction,object,object,object) <0x06bd5>
    Any advice how I can fix it?
     
    Last edited by a moderator: May 17, 2015
  3. You are most likely missing a value in your config, check if your config has all the required keys as they're shown in the default config found on the plugin's overview http://oxidemod.org/plugins/death-notes.819/
     
  4. Thanks for the reply, I replaced my modified file with a new downloaded but just saw right now that I have to reload it, just did and waiting for any errors to occur.
    [DOUBLEPOST=1431887994,1431880284][/DOUBLEPOST]Erros still occurs, i use a fresh downloaded file and did not do any changes. The default config on the plugin page is outdated i think.
     
  5. Death Notes is prepared so even if it's added new stuff to the game that kills players/animals and it's not in the config file it will still show the name of those items in uppercase.
    Upload your config file so I can take a look at it and see whats wrong.

    Also I recommend using http://jsonlint.com/ to verify whether or not your file has any syntax errors which most of the cases is the reason people report errors here.
    [DOUBLEPOST=1431891815][/DOUBLEPOST]Just know that I also mentioned on previous posts that the latest version has a few errors here and there, or sometimes the names will show as None, I'm close to finish the newest version that will fix all these errors and make the plugin better than it was before. But still the latest version should run pretty well, as I haven't got much errors since the update.

    By tomorrow I will upload it to my online for beta testing fixing most of the bugs.
     
    Last edited by a moderator: May 17, 2015
  6. Code:
    [Oxide] 9:07 PM [Error] Failed to call hook 'OnEntityDeath' on plugin 'Death Notes' (KeyNotFoundException: The given key was not present in the dictionary.)
    [Oxide] 9:07 PM [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
    Player was killed by items/floor_spikes
    Add floor_spikes!!!
     
  7.  
  8. Good day!
    Tell me, is it possible to plug in to write in Russian?
     
  9. You may change whatever you want in the deathnotes.json
     
  10. Thank you, now try.
     
  11. Death Notes v2.5.0 is now ready for release, although I will not release it just yet, I will wait for the new Rust update to come out and see if any new stuff need to be added/changed. Meanwhile the version 2.5.0 is still beta testing on my hosted server to fix any major and small errors until the release. Just know that by tomorrow the plugin will finally be on a stable state, still and once again, I'm sorry everyone for the time I took to release this update.

    See you all later I guess. :)
     
  12. Calytic

    Calytic Community Admin Community Mod

    Does your update include the ability to track explosive owners, and if not are you able to give an ETA on this?
     
  13. Unfortunately I cannot, yet...
    Here's a simple explanation, Death Notes gets information from what it's called hitinfo.Initiator, I know sounds crazy I'm talking about programming code, but just know the Initiator holds information of whatever entity killed the player, this can either be a player, an animal or a lethal game object (explosives, barricades, etc..), from a player I can get his name (the essential), and the same goes for animals and game objects, but I haven't found a way, within the game object to get it's holder name, or any info the leads me to it. (which in this case it would be the holder of the explosive).
    I've been digging into this for quite a while now, but to know this makes dive into the game libraries which are written in C#, and goes out of my comfort zone, so it's going to take me some time to find out.

    It's something I'm working on, and who knows it will come in a future update.
     
  14. Calytic

    Calytic Community Admin Community Mod

  15. No need, I will check the this hook Mughisi added, and see what I can do.
     
  16. hi there,

    latest rust patch givcces me frequent errors:
    Code:
    [5/21/2015 11:29:11 PM] [Oxide] 11:29 PM [Error] Failed to call hook 'OnEntityDeath' on plugin 'Death Notes' (MissingMemberException: 'NoneType' object has no attribute 'ToPlayer')
    thx for looking into this
     
  17. Getting huge spams of "Player killed Player" when it's only one kill now.
     
  18. Big lags since update, when unloaded deathnotes, rollback and lags gone
     
  19. yep same here and also getting this spam on my log hehe
    Code:
    2:32 PM [Error] Failed to call hook 'OnEntityDeath' on plugin 'Death Notes' (MissingMemberException: 'NoneType' object has no attribute 'ToPlayer')
    2:32 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 
     
  20. Same, is there a version you'd recommend rolling back to?