Could you add new weapons like the butcher knife? It's not written right.
Adding new weapons?Solved
Simply change this line in your config
"butcherknife.entity": "butcherknife.entity", to this: "butcherknife.entity": "Butcher Knife"
"butcherknife.entity": "butcherknife.entity", to this: "butcherknife.entity": "Butcher Knife"
Thank you. Why is it working with other items? Like it's pistol_semiauto.entity": "pistol_semiauto.entity in the config but will show normal Semi Pistol ingame.
Youll notice alot of those items double up, sometimes these duplicates show up when special ammo is used, like explo ammo or fire arrows, it shows up when some melee weapons are thrown instead of used to stab or slash. Just go through the list and change the second name to what you want it to show up as, and youll be sweet :)
Yeah. I threw that knife. :) Thank you.
All gee mate I have messed around with this quite alot so let me know if ya need anything else
Well. I use scarecrow bots now as zombies via the ZombieHorde plugin. Those are identified as scientists in Death Notes and you get lines like "...was shot by a scientist". Doesn't fit. Do you have any solution to this?
Merged post
I get this now in log: 06:00 [Error] Web request produced exception (Url: http://files.laserhydra.com/config/DeathNotes/EnemyPrefabs) (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Core.Libraries.WebRequests+WebRequest.<WaitForResponse>b__40_0 (System.IAsyncResult res) [0x00000] in <4452f821def6406d834e4149849fe7ea>:0
06:00 [Error] Web request produced exception (Url: http://files.laserhydra.com/config/DeathNotes/WeaponPrefabs) in 'DeathNotes v6.2.0' plugin (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Core.Libraries.WebRequests+WebRequest.<WaitForResponse>b__40_0 (System.IAsyncResult res) [0x00000] in <4452f821def6406d834e4149849fe7ea>:0
06:00 [Error] Web request produced exception (Url: http://files.laserhydra.com/config/DeathNotes/CombatEntityTypes) in 'DeathNotes v6.2.0' plugin (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Core.Libraries.WebRequests+WebRequest.<WaitForResponse>b__40_0 (System.IAsyncResult res) [0x00000] in <4452f821def6406d834e4149849fe7ea>:0
Guess it's their since I did these changes to the config.
Merged post
I get this now in log: 06:00 [Error] Web request produced exception (Url: http://files.laserhydra.com/config/DeathNotes/EnemyPrefabs) (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Core.Libraries.WebRequests+WebRequest.<WaitForResponse>b__40_0 (System.IAsyncResult res) [0x00000] in <4452f821def6406d834e4149849fe7ea>:0
06:00 [Error] Web request produced exception (Url: http://files.laserhydra.com/config/DeathNotes/WeaponPrefabs) in 'DeathNotes v6.2.0' plugin (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Core.Libraries.WebRequests+WebRequest.<WaitForResponse>b__40_0 (System.IAsyncResult res) [0x00000] in <4452f821def6406d834e4149849fe7ea>:0
06:00 [Error] Web request produced exception (Url: http://files.laserhydra.com/config/DeathNotes/CombatEntityTypes) in 'DeathNotes v6.2.0' plugin (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Core.Libraries.WebRequests+WebRequest.<WaitForResponse>b__40_0 (System.IAsyncResult res) [0x00000] in <4452f821def6406d834e4149849fe7ea>:0
Guess it's their since I did these changes to the config.
Oh sorry I completely missed this, can you upload your config??
Here it is: https://textuploader.com/1o02l
Is this a config youve made or one youve found here in the help section?
I made it.
Did you only get the error after you started channging the weapons section?
I'm pretty sure cause its not too long ago I checked the log and an update didnt come out in the last 11 month.
Okay well this is my config for the weapons section and it works with every weapon, all been tested
"Weapons": {
"Assault Rifle": "Assault Rifle",
"Beancan Grenade": "Beancan Grenade",
"Bolt Action Rifle": "Bolt Action Rifle",
"Bone Knife": "Bone Knife",
"Chainsaw": "Chainsaw",
"Crossbow": "Crossbow",
"Custom SMG": "Custom SMG",
"Double Barrel Shotgun": "Double Barrel Shotgun",
"Eoka Pistol": "Eoka Pistol",
"F1 Grenade": "F1 Grenade",
"Flameturret": "Flameturret",
"Hatchet": "Hatchet",
"Hunting Bow": "Hunting Bow",
"Landmine": "Landmine",
"Longsword": "Longsword",
"LR-300 Assault Rifle": "LR-300 Assault Rifle",
"M249": "M249",
"M92 Pistol": "M92 Pistol",
"Mace": "Mace",
"Machete": "Machete",
"MP5A4": "MP5A4",
"Nailgun": "Nailgun",
"Pump Shotgun": "Pump Shotgun",
"Python Revolver": "Python Revolver",
"Revolver": "Revolver",
"Salvaged Axe": "Salvaged Axe",
"Salvaged Cleaver": "Salvaged Cleaver",
"Salvaged Hammer": "Salvaged Hammer",
"Salvaged Icepick": "Salvaged Icepick",
"Semi-Automatic Pistol": "Semi-Automatic Pistol",
"Semi-Automatic Rifle": "Semi-Automatic Rifle",
"Shotgun Pump": "Shotgun Pump",
"Shotgun Waterpipe": "Shotgun Waterpipe",
"Spas-12 Shotgun": "Spas-12 Shotgun",
"Stone Hatchet": "Stone Hatchet",
"Stone Pickaxe": "Stone Pickaxe",
"Stone Spear": "Stone Spear",
"Survey Charge": "Survey Charge",
"Thompson": "Thompson",
"Timed Explosive": "Timed Explosive",
"Waterpipe Shotgun": "Waterpipe Shotgun",
"Wooden Spear": "Wooden Spear",
"Incendiary Rocket": "Incendiary Rocket",
"Flame Thrower": "Flame Thrower",
"Rocket": "Rocket",
"Salvaged Sword": "Salvaged Sword",
"High Velocity Rocket": "High Velocity Rocket",
"Satchel Charge": "Satchel Charge",
"Compound Bow": "Compound Bow",
"L96 Rifle": "L96 Rifle",
"Candy Cane Club": "Candy Cane Club",
"M39 Rifle": "M39 Rifle",
"Rock": "Rock",
"Timed Explosive Charge": "Timed Explosive Charge",
"Jackhammer": "Jackhammer",
"Combat Knife": "Combat Knife",
"Torch": "Torch",
"Sickle": "Sickle",
"Bone Club": "Bone Club",
"Butcher Knife": "Butcher Knife",
"Flashlight": "Flashlight",
"Snowball": "Snowball",
"Pitchfork": "Pitchfork",
"Multiple Grenade Launcher": "Grenade Launcher",
"40mm_grenade_he": "Grenade Launcher",
"ammo.rifle.explosive": "Explosive Ammo",
"knife.combat.entity": "Combat knife",
"Pickaxe": "Pickaxe",
"pitchfork.entity": "Pitchfork",
"butcherknife.entity": "Butcher Knife",
"double_shotgun.entity": "Double Barrel Shotgun" Mine work too. I just have that error in the log and don't know why. I will make another thread with this I guess.
Locked automatically