DeathNotes

Moved

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

4.98519/5, 270 likes
  1. Yes this would need a minor change to the code, so these characters are formated correctly. But even if I make this change I am not completly sure it would work, I have to test it when I have the time.
    [DOUBLEPOST=1436816038][/DOUBLEPOST]

    Yes it is loaded and checked the console and it says

    [Oxide] 5:57 PM [Info] [Notifier v2.10.2] :: An error as occurred when writing a connection log to a file! ( Missing directory )
    [Oxide] 5:57 PM [Info] [Notifier v2.10.2] :: Logs are now off, please make sure you have the following path on your server files: .../352596/oxide/logs


    i did talk to the guy that has the notifier for experimental and he says it should be this plugin that is messin it up?[/QUOTE]

    The error you reporting is from Notifier and not Death Notes.
    Due to how some server providers setup their FTP, some servers cannot use the Connection Logs feature of Notifier, so I've created an exception telling people to try work around it.
     
  2. Code:
     File "deathnotes.py", line 312, in OnEntityDeath
    RuntimeError: Failed to call OnEntityDeath (NullReferenceException: )
    at (wrapper managed-to-native) UnityEngine.Component.get_transform () <0x00075>
    at (wrapper delegate-invoke) System.Func`2<UnityEngine.Component, UnityEngine.Transform>.invoke_Transform__this___Component (UnityEngine.Component) <0x00081>
    at Microsoft.Scripting.Interpreter.FuncCallInstruction`2<UnityEngine.Component, UnityEngine.Transform>.Invoke (object) <0x00075>
    at IronPython.Runtime.Binding.PythonGetMemberBinder/FastPropertyGet`1<object>.GetProperty (System.Runtime.CompilerServices.CallSite,object,IronPython.Runtime.CodeContext) <0x00054>
    at System.Dynamic.UpdateDelegates.UpdateAndExecute2<object, IronPython.Runtime.CodeContext, object> (System.Runtime.CompilerServices.CallSite,object,IronPython.Runtime.CodeContext) <0x0019c>
    at IronPython.Runtime.Binding.PythonGetMemberBinder/FastPropertyGet`1<object>.GetProperty (System.Runtime.CompilerServices.CallSite,object,IronPython.Runtime.CodeContext) <0x000c7>
    at (wrapper dynamic-method) object.OnEntityDeath$4 (System.Runtime.CompilerServices.Closure,IronPython.Runtime.PythonFunction,object,object,object) <0x01962>
     
  3. How often you see this?
     
  4. Code:
    [Error] Failed to call hook 'OnEntityDeath' on plugin 'Death Notes'
    Traceback (most recent call last):
      File "deathnotes.py", line 343, in OnEntityDeath
    RuntimeError: Failed to call OnEntityDeath (UnboundNameException: global name 'PLUGIN' is not defined)
      at IronPython.Runtime.Operations.PythonOps.GetVariable (IronPython.Runtime.CodeContext context, System.String name, Boolean isGlobal, Boolean lightThrow) [0x00000] in <filename unknown>:0
      at IronPython.Compiler.LookupGlobalInstruction.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 
    count 113
     
    Last edited by a moderator: Jul 14, 2015
  5. 4 times in the error logs.
     
  6. Im trying to change "show animal deaths" true, using notepad++ what would be the correct type to save as?
     
  7. I find this error really strange, reason why is because the error means a global variable hasnt been defined and the PLUGIN variable (which represents the plugin settings), among many others global variables, are defined right when the plugin initializes:
    Code:
            global MSG, PLUGIN, COLOR, PARTS, WEAPONS, TRAPS, ANIMALS, BARRICADES
            MSG, TRAPS, COLOR, PARTS, PLUGIN, WEAPONS, ANIMALS, BARRICADES = (
                self.Config[i] for i in ('MESSAGES', 'TRAPS', 'COLORS', 'BODYPARTS', 'SETTINGS', 'WEAPONS', 'ANIMALS', 'BARRICADES')
            )
    
    The only thing that I can think of it is the original code being modified, which and if so I cannot help if you have modified the code.
    [DOUBLEPOST=1436897354][/DOUBLEPOST]
    .json
     
  8. Hello

    The problem seems solved, it had to come from the .json file because I had just modified him I have of to make an error.
    sorry for my English
     
  9. The colors are messing up a bit.

    If you have attacker in explosive string the attacker is the same color as weapon.

    If someone dies by Trap like Landmine or Barricade the deployable/trap has same color as player color.

    Code:
    "COLORS": {
        "ANIMAL": "#4B75FF",
        "ATTACKER": "#4B75FF",
        "BODYPART": "#a1ff46",
        "DISTANCE": "#a1ff46",
        "MESSAGE": "#FFFFFF",
        "PREFIX": "red",
        "VICTIM": "#4B75FF",
        "WEAPON": "#a1ff46"
      },
    
     
  10. Thank you SkinN. you da man working perfectly now.
     
  11. keep getting this error
    Code:
      File "deathnotes.py", line 206, in Init
    RuntimeError: Failed to call Init (KeyNotFoundException: CONFIG_VERSION)
    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 System.Dynamic.UpdateDelegates.UpdateAndExecute2<object, object, object> (System.Runtime.CompilerServices.CallSite,object,object) <0x0030a>
    at Microsoft.Scripting.Interpreter.DynamicInstruction`3<object, object, object>.Run (Microsoft.Scripting.Interpreter.InterpretedFrame) <0x00113>
    at Microsoft.Scripting.Interpreter.Interpreter.Run (Microsoft.Scripting.Interpreter.InterpretedFrame) <0x000c8>
    I have not touched the code
     
    Last edited by a moderator: Jul 17, 2015
  12. ANNOUNCEMENT:

    To all my plugins users, it is with great sadness that I am announcing my retirement on Oxide plugins development. The reason of this is because my personal and professional life has taken me all the time that I have for this little hobby I have been enjoying for so long, I have a job which occupies most of my time, and also there have been a lot of changes on my life that I have to give more attention to, as much as I would like I can no longer spend much time on developing/updating my plugins.
    I want to thank everyone that have been using plugins so far and all the support a lot of people gave me while developing them. I have been following Rust development since Rust was played on the browser, I have seen every single change until today, and it is without a doubt one of the best games I have ever played and enjoyed modding in such a great community as Oxide is, but unfortunately my gaming time is close to none and I can no longer spend much time on it.

    To all of you, thank you for everything, and farewell! :)

    A MESSAGE FOR THE DEVELOPERS:

    I am whiling to give away any of my plugins to a developer who wants to do so. Any one is free to come to me and ask to take over a plugin, I will then choose a developer I see fit for each plugin.
     
  13. Sad Day for modded servers! Your notifier, Death Notes, and RankME mods are some of the biggest ones on my server and many, many others I'm sure! Thanks for the great mods! I'm praying someone picks up your work after you leave. They have big shoes to fill in any case. THANK YOU!
     
  14. i know this is out of devlopment now but is there another plugin that does this or can another dev help with the following error?

    Code:
    [Oxide] 1:30 PM [Error] Failed to initialize plugin deathnotes
    Traceback (most recent call last):
      File "deathnotes.py", line 216, in Init
    RuntimeError: Failed to call Init (KeyNotFoundException: ENABLE PLUGIN ICON)
    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 System.Dynamic.UpdateDelegates.UpdateAndExecute2<object, object, object> (System.Runtime.CompilerServices.CallSite,object,object) <0x0030a>
    at Microsoft.Scripting.Interpreter.DynamicInstruction`3<object, object, object>.Run (Microsoft.Scripting.Interpreter.InterpretedFrame) <0x00113>
    at Microsoft.Scripting.Interpreter.Interpreter.Run (Microsoft.Scripting.Interpreter.InterpretedFrame) <0x000c8>
     
  15. Wulf

    Wulf Community Admin

    Your config appears to be outdated.
     
  16. Ahh So it was Cheers
     
  17. As there is no more support, add this lines to your config - WEAPONS data:
    Don't forget to save a backup if you are not used to edit config files manually!

    Code:
    "2HANDED_MACE.WEAPON": "Mace",
    "2HANDED_CLEAVER.WEAPON": "Salvaged Cleaver",
    "2HANDED_SWORD.WEAPON": "Longsword",
    "CROSSBOW.WEAPON": "Crossbow",
    Cheers
     
  18. @Wulf I wanna leave all my plugins unmaintainable if possible, as I will no longer update them. Or any one is free to take over any of them.

    Thanks in advance.
     
  19. Sad that this is not being maintained any more :(

    Especially as it's not working now with the most recent update. The plugin loads, but no animal deaths are being reported to chat.
     
  20. hello in the configuration file that's on:
    Code:
    "SHOW ANIMAL DEATHS": true,
    "SHOW ANIMAL KILLS": true,
     
    Last edited by a moderator: Jul 25, 2015