DeathNotes

Moved

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

4.98519/5, 270 likes
  1. yes. Just add another line to the category and seperate them with a comma
     
  2. I made this account because for whatever reason the steam ID provided doesn't provide a picture. That ID has been VAC banned so idk if that was the reason or not but I did this anyways. Use this account's steam ID if you're having problems with the image as well: 76561198294123272
     
  3. I can tell you why yours shows always. I am sure you have added that account as friend, didn't you. I added the default account and since that it always showes.
     
  4. Anyway to have deathnotes show the attackers HP after they have killed someone? would be nice to have this displayed when a player kills someone.
     
  5. LaserHydra updated Death Notes with a new update entry:

    5.2.2

     
  6. [Oxide] 23:27 [Info] [Death Notes] JellyBeanNinja was killed by a Bear while having a sleep.
    [Oxide] 23:27 [Warning] [Death Notes] DATA:
    {
    "victim": {
    "name": "JellyBeanNinja",
    "type": 0
    },
    "attacker": {
    "name": "Bear",
    "type": 2
    },
    "reason": 5,
    "damageType": "Bite",
    "weapon": "No Weapon",
    "attachments": [],
    "bodypart": "Body",
    "distance": 1.85175061
    }
    [Oxide] 23:27 [Warning] [Death Notes] UPDATED DATA:
    {
    "victim": {
    "name": "JellyBeanNinja",
    "type": 0
    },
    "attacker": {
    "name": "Bear",
    "type": 2
    },
    "reason": 5,
    "damageType": "Bite",
    "weapon": "No Weapon",
    "attachments": [],
    "bodypart": "Body",
    "distance": 1.85175061
    }
    JellyBeanNinja[494497/76561198124999242] was killed by bear.prefab (bear)

    Can ignore this message or have i something to fix?
     
  7. LaserHydra updated Death Notes with a new update entry:

    5.2.3

     
  8. as of the new update, the deathnote only posts to console and not in chat. the file is as it came, unedited. but i did make sure post to chat was set to true. any idea?
     
  9. I can't translate the weapons as before and it always shows it in the gui AND popup...
     
    Last edited by a moderator: Apr 1, 2016
  10. Quality of life change, as it was before. Toggle death notes in chat on or off using /deaths

    Code:
                if (args.Length == 0)
                {
                    SendChatMessage(player, "/deaths set <field> <value> - set a value");
                    SetSettingField(player, "chat", !playerSettings[player.userID].chat);
                    SendChatMessage(player, "Fields", Environment.NewLine + ListToString(GetSettingValues(player), 0, Environment.NewLine));
                    SendChatMessage(player, "Deaths", playerSettings[player.userID].chat ? "Will now be shown" : "Will now be hidden");
                    return;
                }
     
  11. Hello after instaling nev version of death notes , messeges in game dont work, wchen trayd us comand in consol to activete i got :"[Oxide] 10:28 [Info] Permission 'deathnotes.see' doesn't exist" , help ?
     
  12. grant group players deathnotes.see to console and clears yourserver/oxide/data/DeathNotes/PlayerSettings.json
    [DOUBLEPOST=1459515553][/DOUBLEPOST]
    [DOUBLEPOST=1459515761][/DOUBLEPOST]transferred the weapons and body parts. but the translation does not show.
     
  13. Code:
    18:40 [Info] DeathNotes was compiled successfully in 2039ms
    18:40 [Info] Loaded plugin Death Notes v5.2.3 by LaserHydra
    18:40 [Warning] [Death Notes] Generating new config file...
    18:40 [Error] Failed to initialize plugin 'DeathNotes v5.2.3' (InvalidCastException: Value is not a convertible object: System.Collections.Generic.Dictionary`2[System.String,System.String] to System.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])
    18:40 [Debug]   at System.Convert.ToType (System.Object value, System.Type conversionType, IFormatProvider provider, Boolean try_target_to_type) [0x00000] in <filename unknown>:0
      at System.Convert.ChangeType (System.Object value, System.Type conversionType) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.DeathNotes.GetConfig[Dictionary`2] (System.Collections.Generic.Dictionary`2 defaultVal, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.DeathNotes.Loaded () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.DeathNotes.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
    18:40 [Info] Unloaded plugin Death Notes v5.2.3 by LaserHydra
     
  14. Reloading should fix that.
     
  15. Another bug: Bodyparts, Attachments and Weapons does not display the translated names of the json.

    Fix :
    Code:
                var n = GetConfig(new Dictionary<string, object>(), "Names");
                foreach (KeyValuePair<string, object> k in n) names.Add(k.Key, k.Value.ToString());
                var b = GetConfig(new Dictionary<string, object>(), "Bodyparts");
                foreach (KeyValuePair<string, object> k in n) bodyparts.Add(k.Key, k.Value.ToString());
                var a = GetConfig(new Dictionary<string, object>(), "Attachments");
                foreach (KeyValuePair<string, object> k in n) attachments.Add(k.Key, k.Value.ToString());
                var w = GetConfig(new Dictionary<string, object>(), "Weapons");
                foreach (KeyValuePair<string, object> k in n) weapons.Add(k.Key, k.Value.ToString());
    Remplace :
    Code:
                var n = GetConfig(new Dictionary<string, object>(), "Names");
                foreach (KeyValuePair<string, object> k in n) names.Add(k.Key, k.Value.ToString());
                var b = GetConfig(new Dictionary<string, object>(), "Bodyparts");
                foreach (KeyValuePair<string, object> k in b) bodyparts.Add(k.Key, k.Value.ToString());
                var a = GetConfig(new Dictionary<string, object>(), "Attachments");
                foreach (KeyValuePair<string, object> k in a) attachments.Add(k.Key, k.Value.ToString());
                var w = GetConfig(new Dictionary<string, object>(), "Weapons");
                foreach (KeyValuePair<string, object> k in w) weapons.Add(k.Key, k.Value.ToString());
     
  16. Code:
    01:13 [Error] Failed to call hook 'OnEntityDeath' on plugin 'DeathNotes v5.2.3' (NullReferenceException: )
    01:13 [Debug]   at (wrapper managed-to-native) UnityEngine.Object:get_name ()
      at Oxide.Plugins.DeathNotes.OnEntityDeath (.BaseCombatEntity victim, .HitInfo info) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.DeathNotes.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 
    Saw that after someone was killed by a bear... the messages work most of the time though, first NRE I've seen.
     
  17. I hope that will soon be fixed thus messages are displayed in the chat correctly, hmmmm

    hightower
     
  18. Hey LaserHydra, a while back I posted a fix for the plugin saying the Helicopter was killed multiple times, but it looks like you may have forgotten about it. I'm posting it here simply as a reminder, and I hope you'll implement it soon. Here's the fixed one again.
     

    Attached Files:

  19. Good day! The transfer of weapons to Russian language stopped working. The weapon was only displayed in English.
     
  20. Loup des neiges уже нашел ошибку на пару постов выше. Там автор при копипасте однотипных строк забыл поменять переменные для перебора)