DeathNotes

Broadcasts players and animals deaths to chat

Total Downloads: 65,994 - First Release: Feb 14, 2015 - Last Update: May 13, 2018

4.98519/5, 270 likes
  1. Does anyone know why the helicopter and bradley don't work in the deathnotes sometimes? If someone gets killed by one of them the death notes show up like below where it only shows the placeholders.

    The {killer} ☠ SG2 [ Main Cannon | {bodypart} | {distance} ]
    A Patrol {killer} ☠ sarlack [ M249 | {bodypart} | {distance} ]
     
  2. Due to rocket kills.
     
  3. Right now my config looks like this for the helicopter:

    Code:
         {
            "KillerType": "Helicopter",
            "VictimType": "Player",
            "DamageType": "*",
            "Messages": [message here]
         }
    Should I change the damage type to "Bullet" and then also add a 2nd block and use "Explosion" as the damage type? It's not really explained on the overview page on github what exactly the * does and what the - does in the three fields.
     
  4. * stands for any
    - stands for none

    I am not sure if the rocket kills actually count as explosion kills, but go give it a try.
     
  5. The following change worked for me as a workaround. Custom bot names are preserved but numbers are replaced with "Scientist":
    Code:
                    case CombatEntityType.Scientist:
                        var scientistName = entity.ToPlayer()?.displayName;
                        var isNumeric = Regex.IsMatch(scientistName, @"^\d+$");
                        if (isNumeric == true)
                        {
                            scientistName = "Scientist";
                        }
                        return string.IsNullOrEmpty(scientistName) ? "Scientist" : scientistName;
    
    Found this specific syntax at How do I identify if a string is a number? in a less-favored answer.
     
    Last edited by a moderator: Jul 13, 2018
  6. Hello! When will the support for the Popup Notifications plugin return?
     
  7. where is the Sleeping Death in the new config ?!
    is it in

    "KillerType": "Player",
    "VictimType": "Player",
    "DamageType": "*",

    ??
     
    Last edited by a moderator: Jul 13, 2018
  8. I just noticed the same error.
     
  9. Sometimes:with newest version

    Death Notes] Exception while trying to access Flame component: System.NullReferenceException

    at (wrapper managed-to-native) UnityEngine.Component.get_gameObject(UnityEngine.Component)

    at Oxide.Plugins.DeathNotes.HandleExceptions (Oxide.Plugins.DeathNotes+DeathData& data) [0x000eb] in <fb5cda2bbc0841cdbadd5e29762d059e>:0



    Death Details: {"VictimEntityType":14,"KillerEntityType":15,"DamageType":5}
     
    Last edited by a moderator: Jul 15, 2018
  10. Hi, i would like to know if it's possible to add a liste of name (player name or perms group name) to show a special message when dead/kill.
    Thanks!
     
  11. Code:
    (14:05:32) | Failed to call hook 'OnEntityDeath' on plugin 'DeathNotes v6.0.5' (NullReferenceException: )
      at (wrapper managed-to-native) UnityEngine.Component.GetComponentFastPath(UnityEngine.Component,System.Type,intptr)
      at UnityEngine.Component.GetComponent[T] () [0x00020] in <e62018e11c0a49d48c08c9fbcfd3623f>:0
      at Oxide.Plugins.DeathNotes.HandleExceptions (Oxide.Plugins.DeathNotes+DeathData& data) [0x000eb] in <458b3a08d80f4dffb9d1a2ce243f9660>:0
      at Oxide.Plugins.DeathNotes.OnEntityDeath (BaseCombatEntity victimEntity, HitInfo hitInfo) [0x00078] in <458b3a08d80f4dffb9d1a2ce243f9660>:0
      at Oxide.Plugins.DeathNotes.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00159] in <458b3a08d80f4dffb9d1a2ce243f9660>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <db8eacac902a4df4bfeb92f0619ac1c8>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bfa4e457157d4e089ab91719c5b1288b>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bfa4e457157d4e089ab91719c5b1288b>:0
    I have this error
     
  12. your version is out of date
     
  13. I got the same issue, any ideas hydra?
     
  14. what is up with this plugin - at moment i have it set to show kills in a pop up notification and i had to install a seperate plugin for it to work.
    That part works but it shows the kills in the popup window and also in chat as well
    Check below u will see i have disabled show kills in chat.

    Code:
      "Settings": {
        "Attachments Color": "#C4FF00",
        "Attachments Formatting": " ({attachments})",
        "Attachments Split": " | ",
        "Attacker Color": "#C4FF00",
        "Bodypart Color": "#C4FF00",
        "Chat Icon (SteamID)": "76561198077847390",
        "Console Formatting": "{Message}",
        "Distance Color": "#C4FF00",
        "Formatting": "[{Title}]: {Message}",
        "Health Color": "#C4FF00",
        "Log to File": false,
        "Message Color": "#696969",
        "Message Radius": 300.0,
        "Message Radius Enabled": false,
        "Needs Permission": false,
        "Show NPC Battles": false,
        "Simple UI - Font Size": 20,
        "Simple UI - Left": 0.1,
        "Simple UI - Max Height": 0.05,
        "Simple UI - Max Width": 0.8,
        "Simple UI - Top": 0.1,
        "Simple UI Hide Timer": 5.0,
        "Strip Colors from Simple UI": false,
        "Title": "Death Notes",
        "Title Color": "#80D000",
        "Use Popup Notifications": true,
        "Use Simple UI": false,
        "Victim Color": "#C4FF00",
        "Weapon Color": "#C4FF00",
        "Write to Chat": false,
        "Write to Console": false
      },
      "Show Kills in Chat": false,
      "Show Kills in Console": false,
     
  15. Did you test this config yet https://oxidemod.org/threads/deathnotes.6855/page-188#post-408005
     
  16. thanks ;) I have not see this but I have a new error .

    Code:
    (16:53:52) | [Death Notes] Exception while trying to access Flame component: System.NullReferenceException
      at (wrapper managed-to-native) UnityEngine.Component.get_gameObject(UnityEngine.Component)
      at Oxide.Plugins.DeathNotes.HandleExceptions (Oxide.Plugins.DeathNotes+DeathData& data) [0x000eb] in <636478a2f9c54666ad425d1a0cc4d9ee>:0Death Details: {
      "VictimEntityType": 10,
      "KillerEntityType": 15,
      "DamageType": 16
    }
    (16:53:52) | [Death Notes] Exception while trying to access Flame component: System.NullReferenceException
      at (wrapper managed-to-native) UnityEngine.Component.get_gameObject(UnityEngine.Component)
      at Oxide.Plugins.DeathNotes.HandleExceptions (Oxide.Plugins.DeathNotes+DeathData& data) [0x000eb] in <636478a2f9c54666ad425d1a0cc4d9ee>:0Death Details: {
      "VictimEntityType": 14,
      "KillerEntityType": 15,
      "DamageType": 16
    }
    (16:53:52) | [Death Notes] Exception while trying to access Flame component: System.NullReferenceException
      at (wrapper managed-to-native) UnityEngine.Component.get_gameObject(UnityEngine.Component)
      at Oxide.Plugins.DeathNotes.HandleExceptions (Oxide.Plugins.DeathNotes+DeathData& data) [0x000eb] in <636478a2f9c54666ad425d1a0cc4d9ee>:0Death Details: {
      "VictimEntityType": 14,
      "KillerEntityType": 15,
      "DamageType": 16
    }
     
  17. Not from config I uploaded
     
    Last edited by a moderator: Jul 19, 2018
  18. yeah i tried that it made no change whatsoever and i even rebooted the server
     
  19. Problem with ""KillerEntityType": 15," I think... but what is the EntityType 15 ? :p
    A possible mistake in my config file....
     
  20. Make sure you are running the config I uploaded first unload plugin upload the config then reload plugin
     

    Attached Files: