DeathNotes

Broadcasts players and animals deaths to chat

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

4.98519/5, 270 likes
  1. Hey I have a little question to ask. Well I'm having my own Arena plugin and i want to add a protection to prevent your plugin to spam deaths when they are killing in the arena however i have no clue how Python works so i need a little assistance with this. I know how the code goes in LUA
    Code:
    if (plugins.Exists("Event++") and plugins.CallHook("EIsPlaying", player)) then return end
    but have no clue how to translate it in Python :confused: I know where i have to put it probably under line 289 if 'BasePlayer' in str(victim):
    on = victim.IsConnected() so can you give me the example how to translate it... :eek:
     
  2. hello all, its possible to translate this pluggin (death note) in french? thanks
    [DOUBLEPOST=1425832638][/DOUBLEPOST]possible to translate this pluggin french in command line?
     
  3. Here is RUssian translation which i use on my server.
    {
    "ANIMALS": {
    "STAG": "Олень",
    "CHICKEN": "Курица",
    "WOLF": "Волк",
    "BEAR": "Медведь",
    "BOAR": "Кабан"
    },
    "MESSAGES": {
    "COLD": [
    "{victim} околел.",
    "{victim} замерз насмерть."
    ],
    "ANIMAL KILL SLEEP": [
    "{victim} был убит животным во сне ({animal}).",
    "{animal} поймал {victim}, пока тот спал."
    ],
    "SLASH": [
    "{attacker} зарубил {victim}. ({weapon})",
    "{attacker} нарезал {victim} на тысячи мелких кусочков."
    ],
    "SLASH SLEEP": [
    "{attacker} изрубил спящего {victim} ({weapon}). Герой, чё сказать.",
    "{attacker} убил {victim}, пока тот мирно сопел. {weapon}"
    ],
    "DROWNED": [
    "{victim} утоп.",
    "{victim} был пойман русалками."
    ],
    "ANIMAL KILL": [
    "{victim} был убит животным {animal}.",
    "{victim} не убежал от {animal}."
    ],
    "BLEEDING": [
    "{victim} истек кровью и умер.",
    "{victim} поятерял много крови и погиб."
    ],
    "BULLET SLEEP": [
    "{attacker} убил {victim}, пока тот спал. ({weapon}, {distance}m)",
    "{attacker} убил спящего {victim}, {weapon}."
    ],
    "HUNGER": [
    "{victim} умер от голода.",
    "{victim} не смог найти пищи и уснул на века."
    ],
    "THIRST": [
    "{victim} умер от жажды.",
    "Обезвоживание убило {victim}, что за напасть!"
    ],
    "ARROW SLEEP": [
    "{attacker} попал в {victim} стрелой в {bodypart}, пока {victim} спал.",
    "{attacker} убил {victim} пока тот спал."
    ],
    "HEAT": [
    "{victim} сгорел на работе.",
    "{victim} умер от спонтанного самовозгорания."
    ],
    "SUICIDE": [
    "{victim} совершил самоубийство.",
    "{victim} решил больше не мучать окружающих и суициднулся."
    ],
    "ANIMAL DEATH": "{attacker} убил {animal}. ({weapon}, {distance}m)",
    "STAB": [
    "{attacker} заколол {victim}. ({weapon})",
    "{attacker} всадил {weapon} в {victim}."
    ],
    "BLUNT": [
    "{attacker} забил {victim}. ({weapon})",
    "{attacker} насмерть травмировал {victim}, {weapon}."
    ],
    "STAB SLEEP": [
    "{attacker} заколол {victim}, пока тот беззаботно спал. ({weapon})",
    "{attacker} заколол {victim} во сне, ах ты ж мелкий гаденыш."
    ],
    "BLUNT SLEEP": [
    "{attacker} забил {victim}, пока тот спал как ребенок. ({weapon})",
    "{attacker} задушил спящего безвинного {victim}."
    ],
    "FALL": [
    "{victim} умер от падения в бездну.",
    "{victim} ...believed he could fly, he believed he could touch the sky!"
    ],
    "BULLET": [
    "{attacker} застрелил {victim}. ({weapon}, {distance}m)",
    "{attacker} зарядил свинцом в {victim}, {weapon}."
    ],
    "POISON": [
    "{victim} отравился, долго болел и умер.",
    "{victim} съел какую-то гадость. RiP"
    ],
    "TRAP": [
    "{victim} умер в смертельной ловушке.",
    "{victim} попал в капкан."
    ],
    "RADIATION": [
    "{victim} умер от радиации.",
    "{victim} видимо не знал, что радиация может быть смертельна."
    ],
    "ARROW": [
    "{attacker} застрелил {victim} стрелой из лука в {bodypart} с {distance}m",
    "{victim} получил стрелу в зад и все равно умер. Дистанция: {distance})"
    ],
    "EXPLOSION": [
    "{victim} был разобран по кусочкам с помощью C4.",
    "{victim} взорвался."
    ]
    }

    "WEAPONS": {
    "HUNTING": "Охотничий лук",
    "AK47U": "AK47У",
    "ROCK": "Камень",
    "HATCHET": "Топор",
    "PICKAXE": "Кирка",
    "BOLT": "Болтовка",
    "SALVAGED HAMMER": "Трофейный молот",
    "SAWNOFFSHOTGUN": "Обрез",
    "SALVAGED AXE": "Трофейный топор",
    "BONEKNIFE": "Костяной нож",
    "STONE SPEAR": "Каменное копье",
    "WATERPIPE": "Самодельный дробовик",
    "HATCHET STONE": "Каменный топор",
    "EOKA": "Eoka пистолет",
    "SALVAGED ICEPICK": "Трофейная кирка",
    "WOODEN SPEAR": "Деревянное копье",
    "TORCH": "Факел",
    "THOMPSON": "Томпсон",
    "REVOLVER": "Револьвер"
    }


    "BODY PARTS": {
    "RIGHT HAND": "Правая рука",
    "RIGHT THIGH": "Правое бедро",
    "RIGHT EAR": "Правое ухо",
    "JAW": "Челюсть",
    "PELVIS": "Пах",
    "LEFT HAND": "Левая рука",
    "RIGHT FOREARM": "Правое предплечье",
    "LEFT CLAVICLE": "Левая ключица",
    "HEAD": "Голова",
    "LIPS": "Губы",
    "RIGHT FOOT": "Правая ступня",
    "NECK": "Шея",
    "RIGHT CALF": "Правая голень",
    "LEFT UPPERARM": "Левое плечо",
    "LEFT FOOT": "Левая ступня",
    "LEFT SHOULDER": "Левое плечо",
    "JOINT": "Сустав",
    "LEFT CALF": "Левая голень",
    "LEFT THIGH": "Левое бедро",
    "LEFT TOE": "Левый большой палец ноги",
    "LEFT EYE": "Левый глаз",
    "SPINE": "Хребет",
    "LEFT FOREARM": "Левое предплечье",
    "RIGHT FINGERS": "Пальцы",
    "RIGHT ULNA": "Правый локоть",
    "LEFT ULNA": "Левый локоть",
    "RIGHT CLAVICLE": "Правая ключица",
    "LEFT EAR": "Левое ухо",
    "RIGHT TOE": "Правый большой палец ноги",
    "RIGHT EYE": "Правый глаз",
    "RIGHT UPPERARM": "Правое плечо Upperarm",
    "LEFT FINGERS": "Пальцы",
    "RIGHT SHOULDER": "Правое плечо"
    }
     
    Last edited by a moderator: Mar 8, 2015
  4. I dont mind doing something way better than that.

    I could add a command that toggles whether the plugin disables all messages or not, so then in your script you can trigger that command each time you want to disable it or enable it.
    It's your call.
    [DOUBLEPOST=1425840329][/DOUBLEPOST]
    I would appreciate if you could translate them for me. Once you're done you may post it here and then I'll add it to the plugin overview for download.

    But if you do make sure you're translating the original config file on the plugin overview without any changes.
    [DOUBLEPOST=1425840415][/DOUBLEPOST]
    Thank you very much for your cooperation, you will be credited on the plugin overview, but before that, and just to make sure, I take that you've translated the original config without any changes?
     
  5. Yes, but i will double check and will send you an original cfg translated. There may be some changes in translation due to some eng/rus differences 8) but minor.
    Tomorrow, i hope.
     
  6. Well i will appreciate if you at least tell me how the code goes translated into Python or add something that will trigger of the messages with the simple checking for the hook code i gave you :)
     
  7. Sure thing, again thank you.
    [DOUBLEPOST=1425842789][/DOUBLEPOST]
    There make it to look like this, on line 289 add the new line like in the screenshot.
     

    Attached Files:

  8. Actually i did already tried with the line if plugins.Exists('Event++') and plugins.CallHook('EIsPlaying', victim): return though probably you haven't tested it but Oxide can't run the plugin after adding this line either above or bellow :)

    P.S. Don't sweat it @Mughisi helped me solve the problem :)
     
    Last edited by a moderator: Mar 9, 2015
  9. Here is RU localisation, i used original cfg and just translated it. It's in UTF8.
    If you need any corrections - let me know )
     

    Attached Files:

  10. I think the weapon fire is lagging from the death note message...
    seems allot of lag from it.
     
  11. [Oxide] 8:40 PM [Error] Failed to load plugin deathnotes:
    File "deathnotes.py", line 314
    if 'Bow' in str(import math

    ^
    SyntaxError: unexpected token 'import'
     
  12. Dude you certainly are modifing my plugins, both the errors you reported, this one and Notifier's are from modified versions of my plugin. I can only help if you are using the original code, otherwise I don't know what you are trying to do.
     
  13. Is there anything I can modify in the config to enable logging of the kills? All I get in the logs is the CORE killing message:

    Code:
        [3/20/2015 9:41:36 AM] Fred was killed by Killer
    
    I would like to see this in my logs for abuse research:

    upload_2015-3-20_10-21-21.png

    Thanks
     
  14. Broadcast To Console to True in the config file.
     
  15. I do have that set to TRUE

    Code:
      "SETTINGS": {
        "DISPLAY SUICIDE DEATH": true,
        "PREFIX": "DEATH☠NOTES",
        "DISPLAY PLAYER KILLS": true,
        "DISPLAY ANIMAL KILLS": true,
        "DISPLAY MESSAGES IN RADIUS": false,
        "DISPLAY ANIMAL DEATH": true,
        "MESSAGES RADIUS": 200.0,
        "DISPLAY METABOLISM DEATH": true,
        "BROADCAST TO CONSOLE": true,
        "DISPLAY TRAP DEATH": true,
        "DISPLAY EXPLOSION DEATH": true
      },
    
     
  16. Oh I see the issue, I take it that you use Rusty or maybe the panel of your GSP (in case your server is hosted by one), because if so this is an issue that has been fixed on Notifier. Notifier and Death Notes used a function to print colored console messages, but this function does not work on Rusty or GSP panel consoles.

    I am currently working on a re-write of Death Notes so expect this to be fixed by then. Meanwhile you may use the temporary fix I have attached to the message until the re-write is released, it should work fine.
     

    Attached Files:

  17. Hm , anyway to remove that anyouning prefix and ":"?
     
  18. Code:
    ...
      "SETTINGS": {
        "PREFIX": false,
        ...
     
  19. SkinN õ.Õ'.|. updated Death Notes with a new update entry:

    Death Notes | Improvements & bug fixes!

     
  20. Sorry, i found the problem i done two ".
     

    Attached Files: