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
DeathNotes
Moved
Total Downloads: 66,153 - First Release: Feb 14, 2015 - Last Update: May 13, 2018
- 4.98519/5, 270 likes
-
-
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! -
-
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 -
LaserHydra updated Death Notes with a new update entry:
5.2.4
-
How can we set so people who are sleeping and get killed do not get announced?
-
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 -
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 -
-
I cant get it to work. I dont know anything about coding
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
-
-
Thank you!
-
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 -
LaserHydra updated Death Notes with a new update entry:
5.2.5
-
Any progress on the possibility to translate the weapons yet?
-
-
-
This Plugin is awesome...and the PopUp-Integration is very nice...Thx Hydra