DeathNotes

Moved

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

4.98519/5, 270 likes
  1. I can't figure why you can't run it.
    I have used both your plugin file and config file and I literally had no errors at all:
    I have tested every single death type and asked a friend to help me test with the player to player kills. No errors given. I also have let it run on my hosted server, which while it was there had a couple of animal kills and few player to player kills and again, everything ran smoothly. I can't see where the problem is.

    I really wanna help out, and if I haven't upload v2.5.0 it's because of you, but I don't see what is going wrong on your server.
     
  2. I have no idea either, i've used the plugin flawlessly for quite a while now. =/It's unlikely that it's conflicting with any of my other plugins since it worked perfectly fine before the thursday update.
     
  3. You right, Death Notes should not mess up with any plugin.

    You're free to add me on Steam to see if we both can work something out, meanwhile I will release v2.5.0 since it seems stable to me.
     
  4. I'll see how the 2.5.0 works first, check if it works if i don't edit it. Then edit it afterwards to see what makes it break.
     
  5. Ok, I suggest then when you install v2.5.0 you delete both .json and .py files just to make sure, and then let it run without any changes to the configuration file for a couples of mins so we can know that it runs at least with the original stuff. Then we'll figure the rest, but again, you are free to add me on Steam so I can give you full attention while I'm online.
     
  6. ...
     
    Last edited by a moderator: May 23, 2015
  7. SkinN õ.Õ'.|. updated Death Notes with a new update entry:

    Death Notes | Plugin re-work!

    - Any older configuration file will be totally wiped out, and replaced with the latest configuration version! This only applies to versions older than v1.4.12. (v2.5.0 pre-release)
    - If you have used the v2.5.0 Pre-Release nothing on your current config file will be changed.

     
    Last edited by a moderator: May 23, 2015
  8. Just updated to latest version. The death notes are not being displayed in the console.
     
  9. is BROADCAST TO CONSOLE set to true?
     
  10. Yes. I even removed the config file and plugin. Reinstalled it and same thing. I am not getting any errors after reloading the plugin. Just no messages are being broadcasted.
    [DOUBLEPOST=1432357233][/DOUBLEPOST]
    Code:
    {
      "ANIMALS": {
        "BEAR": "Bear",
        "BOAR": "Boar",
        "CHICKEN": "Chicken",
        "HORSE": "Horse",
        "STAG": "Stag",
        "WOLF": "Wolf"
      },
      "BODYPARTS": {
        "ARM": "Arm",
        "BROW": "Brow",
        "CALF": "Calf",
        "CLAVICLE": "Clavicle",
        "EAR": "Ear",
        "EYE": "Eye",
        "FINGERS": "Fingers",
        "FOOT": "Feet",
        "FOREARM": "Forearm",
        "GROUP": "Group",
        "HAND": "Hand",
        "HEAD": "Head",
        "HIP": "Hip",
        "JAW": "Jaw",
        "JOINT": "Joint",
        "KNEE": "Knee",
        "LEG": "Leg",
        "LIP": "Lips",
        "MANE": "Mane",
        "NECK": "Neck",
        "PELVIS": "Pelvis",
        "PENIS": "Penis",
        "ROOTBONE": "Chicken Rootbone",
        "SHIN": "Shin",
        "SHOULDER": "Shoulder",
        "SPINE": "Spine",
        "STOMACH": "Stomach",
        "TAIL": "Tail",
        "THIGH": "Thigh",
        "TOE": "Toe",
        "TONGUE": "Tongue",
        "ULNA": "Ulna",
        "UPPERARM": "Upperarm",
        "WING": "Wing"
      },
      "COLORS": {
        "ANIMAL": "#00FF00",
        "ATTACKER": "#00FF00",
        "BODYPART": "#00FF00",
        "DISTANCE": "#00FF00",
        "MESSAGE": "#FFFFFF",
        "PREFIX": "#FF0000",
        "VICTIM": "#00FF00",
        "WEAPON": "#00FF00"
      },
      "CONFIG_VERSION": 4.0,
      "MESSAGES": {
        "ANIMAL DEATH": [
          "{attacker} killed a {victim}}. (With {weapon}, from {distance}m)"
        ],
        "ARROW": "{attacker} killed {victim} with an arrow from {distance}m",
        "ARROW SLEEP": "{attacker} killed {victim} with an arrow. (While {victim} was sleeping.)",
        "BARRICADE": [
          "{victim} died against a barricade.",
          "{victim} ran into a barricade."
        ],
        "BITE": "{victim} was killed by a {attacker}.",
        "BITE SLEEP": "{victim} was killed by a {attacker} while sleeping.",
        "BLEEDING": [
          "{victim} bled to death.",
          "{victim} ran out of blood."
        ],
        "BLUNT": "{attacker} killed {victim} with {weapon}.",
        "BLUNT SLEEP": "{attacker} killed {victim} while {victim} was sleeping, with {weapon}.",
        "BULLET": "{attacker} killed {victim}. (With {weapon} from {distance}m)",
        "BULLET SLEEP": "{attacker} killed {victim} while {victim} was sleeping. (With {weapon} from {distance}m)",
        "COLD": [
          "{victim} froze to death.",
          "{victim} turned into a popsicle."
        ],
        "DROWNED": [
          "{victim} drowned.",
          "{victim} did not know how to swim."
        ],
        "EXPLOSION": [
          "{victim} exploded.",
          "{victim} blew up."
        ],
        "FALL": [
          "{victim} fell to his death.",
          "{victim} thought he could fly."
        ],
        "HEAT": [
          "{victim} burned to death.",
          "{victim} turned into a human torch."
        ],
        "HUNGER": [
          "{victim} starved to death.",
          "{victim} was a bad hunter, and died of hunger."
        ],
        "POISON": [
          "{victim} died from poison.",
          "{victim} died from poison."
        ],
        "RADIATION": [
          "{victim} died from radiation.",
          "{victim} did not know that radiation kills."
        ],
        "SLASH": "{attacker} slashed {victim} into pieces with {weapon}.",
        "SLASH SLEEP": "{attacker} slashed {victim} into pieces while {victim} was sleeping. (With {weapon})",
        "SNAP TRAP": [
          "{victim} stepped on {attacker}'s snap trap.",
          "{victim} did not watch his step."
        ],
        "STAB": "{attacker} stabbed {victim} to death with {weapon}.",
        "STAB SLEEP": "{attacker} stabbed {victim} to death while {victim} was sleeping. (With {weapon})",
        "SUICIDE": [
          "{victim} committed suicide.",
          "{victim} has put an end to his life."
        ],
        "THIRST": [
          "{victim} died of thirst.",
          "Dehydration has killed {victim}"
        ],
        "TRAP": [
          "{victim} stepped on a snap trap.",
          "{victim} did not watch his step."
        ]
      },
      "SETTINGS": {
        "BROADCAST TO CONSOLE": true,
        "MESSAGE IN RADIUS": false,
        "MESSAGES RADIUS": 300.0,
        "PREFIX": "DEATH NOTES",
        "SHOW ANIMAL DEATHS": true,
        "SHOW ANIMAL KILLS": true,
        "SHOW EXPLOSION DEATHS": true,
        "SHOW METABOLISM DEATHS": true,
        "SHOW PLAYER KILLS": true,
        "SHOW SUICIDES": true,
        "SHOW TRAP DEATHS": true
      },
      "TRAPS": {
        "BARRICADE.METAL": "Metal Barricade",
        "BARRICADE.WOOD": "Wooden Barricade",
        "BARRICADE.WOODWIRE": "Barbed Wooden Barricade",
        "BEARTRAP": "Snap Trap",
        "FLOOR_SPIKES": "Wooden Floor Spikes"
      },
      "WEAPONS": {
        "AK47U.WEAPON": "Assault Rifle",
        "BOLTRIFLE.WEAPON": "Bolt Action Rifle",
        "BONEKNIFE.WEAPON": "Bone Knife",
        "EOKA.WEAPON": "EOKA Pistol",
        "GRENADE.BEANCAN.DEPLOYED": "Beancan Grenade",
        "GRENADE.F1.DEPLOYED": "F1 Grenade",
        "HATCHET.WEAPON": "Hatchet",
        "HATCHET_STONE.WEAPON": "Stone Hatchet",
        "HUNTING.WEAPON": "Hunting Bow",
        "PICKAXE.WEAPON": "Pickaxe",
        "REVOLVER.WEAPON": "Revolver",
        "ROCK.WEAPON": "Rock",
        "ROCKET_BASIC": "Rocket",
        "SALVAGED_AXE.WEAPON": "Salvaged Axe",
        "SALVAGED_HAMMER.WEAPON": "Salvaged Hammer",
        "SALVAGED_ICEPICK.WEAPON": "Salvaged Icepick",
        "SAWNOFFSHOTGUN.WEAPON": "Pump Shotgun",
        "SMG.WEAPON": "Custom SMG",
        "STONE_PICKAXE.WEAPON": "Stone Pickaxe",
        "STONE_SPEAR.WEAPON": "Stone Spear",
        "THOMPSON.WEAPON": "Thompson",
        "TIMED.EXPLOSIVE.DEPLOYED": "Timed Explosive Charge",
        "TORCH.WEAPON": "Torch",
        "WATERPIPE.WEAPON": "Waterpipe Shotgun",
        "WOODEN_SPEAR.WEAPON": "Wooden Spear"
      }
    }
     
  11. same here ;) but only AnimalDeaths not show if i hawe turned it on.. For players and NPC´s will work :)
     
    Last edited by a moderator: May 23, 2015
  12. SkinN õ.Õ'.|. updated Death Notes with a new update entry:

    Death Notes | Fixed wrong version file


    [DOUBLEPOST=1432359826][/DOUBLEPOST]
    Should be fixed now, re-download and install the plugin, don't need to delete the config file though.
    [DOUBLEPOST=1432359845][/DOUBLEPOST]
    Animal Deaths are off by default now.
     
  13. Thanks for the work and effort you put into this plugin. Means alot to us. Thanks man!!
     
  14. No problem at all, I thank you for using it! ;)
     
  15. It works now, no problems at all. And i have no idea why. =p
     
  16. Im glad to know.
     
  17. Code:
    [Oxide] 11:37 PM [Error] Failed to call hook 'OnEntityDeath' on plugin 'Death Notes' (KeyNotFoundException: The given key was not present in the dictionary.)
    [Oxide] 11:37 PM [Debug] at System.Collections.Generic.Dictionary`2<object, object>.get_Item (object) <0x001c5>
    at IronPython.Runtime.NewStringFormatter/Formatter.GetUnaccessedObject (IronPython.Runtime.NewStringFormatter/FieldName) <0x000e2>
    at IronPython.Runtime.NewStringFormatter/Formatter.GetArgumentValue (IronPython.Runtime.NewStringFormatter/FieldName) <0x00031>
    at IronPython.Runtime.NewStringFormatter/Formatter.ReplaceText (string) <0x003d4>
    at IronPython.Runtime.NewStringFormatter/Formatter.FormatString (IronPython.Runtime.PythonContext,string,IronPython.Runtime.PythonTuple,System.Collections.Generic.IDictionary`2<object, object>) <0x00072>
    at IronPython.Runtime.NewStringFormatter.FormatString (IronPython.Runtime.PythonContext,string,IronPython.Runtime.PythonTuple,System.Collections.Generic.IDictionary`2<object, object>) <0x000a3>
    at IronPython.Runtime.Operations.StringOps.format (IronPython.Runtime.CodeContext,string,System.Collections.Generic.IDictionary`2<object, object>,object[]) <0x00067>
    at (wrapper dynamic-method) object.CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,IronPython.Runtime.CodeContext,object,object) <0x00bee>
    at System.Dynamic.UpdateDelegates.UpdateAndExecute3<IronPython.Runtime.CodeContext, object, object, object> (System.Runtime.CompilerServices.CallSite,IronPython.Runtime.CodeContext,object,object) <0x00324>
    at Microsoft.Scripting.Interpreter.DynamicInstruction`4<IronPython.Runtime.CodeContext, object, object, object>.Run (Microsoft.Scripting.Interpreter.InterpretedFrame) <0x0017c>
    at Microsoft.Scripting.Interpreter.Interpreter.Run (Microsoft.Scripting.Interpreter.InterpretedFrame) <0x000c8>
    Дед Учоный was killed by autospawn/animals/bear (bear)
     
  18. Please upload your config file.
     
  19. It seems like russian language is not supported. It crashes on every death by animals, human, traps....etc
     

    Attached Files:

  20. I found the issue.

    {animal} was removed completely.Now animal can either be a {victim} or {attacker} depending if the animal is the victim or the attacker.
    So if an animal dies he is the {victim} and if the animal is the killer then he is the {attacker}. I did this to reduce the code used by the plugin, and make the code better.

    You have changed the {victim} or {attacker} to {animal}haveis is the reason of your errors.