DeathNotes

Moved

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

4.98519/5, 270 likes
  1. This plugin isvspamming my warning log

    04/02/2016 20:47:32] [Oxide] 20:47 [Warning] [Death Notes] DATA:
    {
    "victim": {
    "name": "Stag",
    "type": 2
    },
    "attacker": {
    "name": "kthejoker20",
    "type": 0
    },
    "reason": 6,
    "damageType": "Bullet",
    "weapon": "M249",
    "attachments": [],
    "bodypart": "Body",
    "distance": 10.2520485
     
  2. Be sure to install the latest version. That one fixded this.
     
  3. 21:59 [Info] [Death Notes] Спящий Алоэ был убит выстрелом в [Right Shoulder] игроком [TOFU] Babuska [Assault Rifle]с дистанции 0m.

    The latest version of . It was all translated into Russian. Now one part of Russian while the other one was English. And not translated. "Bodyparts": and "Weapons": Help!
     
  4. I will fix this as soon as possible. No worries. Thanks for your patience.
     
  5. You've got a mistake in:
    void Loaded()

    on foreach-es of Config sections (Bodyparts, Attachments and Weapons). Your foreaches are going by:
    var n = GetConfig(new Dictionary<string, object>(), "Names");
    so, "bodyparts" + "attachments" + "weapons" are filled with key and values from "names"

    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());
    }

    Also, i be very thankful, if you can say, what should i read first, to understand, how to create my own plugin :)
    I am working as C# .Net developer.
     
    Last edited by a moderator: Apr 4, 2016
  6. Ignore This :p
     
    Last edited by a moderator: Apr 5, 2016
  7. LaserHydra updated Death Notes with a new update entry:

    5.2.4

     
  8. How can we set so people who are sleeping and get killed do not get announced?
     
  9. It will be very great, to configure, what message would be shown.
    Like:
    DisplayDeathsFromHelicopter = true
    DisplaySleeperDeaths = true
    and etc.


    And what about my question?) Where I can get info about creating my own plugins?)

    I see:
    using UnityEngine; - as i understood, this is Unity3d reference.
    And what about this:
    using Oxide.Core.Plugins;
    using Oxide.Core;
    Where i can get those libs?
     
    Last edited by a moderator: Apr 5, 2016
  10. You can already choose which messages to show. Use [] where the message is.
    Eg. This in the config will turn off Animal deaths

    "AnimalDeath": [],
    "Bleeding": [
    "{victim} bled out."
    ],
    [DOUBLEPOST=1459848002][/DOUBLEPOST]There is a recent thread asking a similar question as you did about making plugins:
    Learning to make plugins | Oxide
     
  11. Thx a lot!
     
  12. I cant get it to work. I dont know anything about coding :D so do i have to change anything to get it to work ? I put it under oxide/plugins. I can't use any commands, it says unknown command everywhere :(
     
  13. Which Commands did you try to use, where? Could you take a look at your logfiles or at the server console and see if you find any errors?
     
  14. Thank you!
     
  15. Hi my plugin doesnt seem to be working it times out
    (Timed out waiting for plugin to be compiled: DeathNotes 5.2.4)
    and now its
    Failed to load plugin '1' (no source found)

    What do i do?


    Solved (Y)
     
    Last edited by a moderator: Apr 7, 2016
  16. LaserHydra updated Death Notes with a new update entry:

    5.2.5

     
  17. Any progress on the possibility to translate the weapons yet?
     
  18. should be fixed
     
  19. No worries, i got it to work. Others on server did see those notes, but i didnt, now i got it working for me too
     
  20. This Plugin is awesome...and the PopUp-Integration is very nice...Thx Hydra