Tanks for the fast reply i never notice that before!

NoDecay
Scales or disables decay of items, and deployables.
Total Downloads: 25,105 - First Release: Jun 25, 2015 - Last Update: Jul 13, 2018
- 5/5, 54 likes
-
(21:17:03) | [NoDecay] Unsupported decaying entity detected: recycler_static --- please notify author
thats bc of the auto crafter can you update the plugin and put that in please??? -
decay for campfires doesn't seem to be working. does campfire need to be on to decay? other entities seem to decay ok
is it because campfire is an oven?Last edited by a moderator: Sep 23, 2017 -
i put a few Puts in the plugin to help debug campfire decay specifically.. i don't think they decay at all.
edit: added a check for campfire_static
void ProcessCampfireDamage(HitInfo hitInfo)
{
var before = hitInfo.damageTypes.Get(Rust.DamageType.Decay);
hitInfo.damageTypes.Scale(Rust.DamageType.Decay, c_campfireMultiplier);
//debugging
Puts($"DECAY DEBUG: CAMPFIRE MULTIPLIER {c_campfireMultiplier} - CAMPFIRE BEFORE {before} - CAMPFIRE AFTER {hitInfo.damageTypes.Get(Rust.DamageType.Decay)}");
if (c_outputToRcon)
Puts($"Decay campfire before: {before} after: {hitInfo.damageTypes.Get(Rust.DamageType.Decay)}");
}
(16:23:32) | [NoDecay] DECAY DEBUG: campfire DETECTED.
(16:23:32) | [NoDecay] DECAY DEBUG: CAMPFIRE MULTIPLIER 100 - CAMPFIRE BEFORE 0.1752379 - CAMPFIRE AFTER 17.52379
maybe they are decaying and im just being paranoid.Last edited by a moderator: Sep 23, 2017 -
Does the cupboard tool affect decay?
it means:
There is a cupboard- no decay
There is no cupboard - normal decay -
Is it possible, to split the shotguntrap, flameturret and normal turret from other traps? I want traps to decay, but not the turrets
-
Error while compiling: NoDecay.cs(11,21): error CS0433: The imported type `Oxide
.Plugins.RustPlugin' is defined multiple times -
(00:01:14) | [NoDecay] Unsupported decaying entity detected: BBQ.Deployed --- please notify author
-
[NoDecay] Unsupported decaying entity detected: BBQ.Deployed --- please notify author
-
[NoDecay] Unsupported decaying entity detected: BBQ.Deployed --- please notify author
-
[10/23/2017 09:43:44] [NoDecay] Unsupported decaying entity detected: BBQ.Deployed --- please notify author
-
-
Last edited by a moderator: Oct 24, 2017
-
I was just trying to say that being impatient and posting the same issue 4 times after each other won't help getting the plugin updated.
-
(08:43:06) | [NoDecay] Unsupported decaying entity detected: BBQ.Deployed --- please notify author
Just doing what it has asked me to dono rush here .
-
-
i would post a fix but its block for me to upload a attached Files, so here u can fix it self in the plugin.
add this to line 20
private float c_campfireMultiplier;
private float c_barbequeMultiplier;
private float c_highWoodWallMultiplier;
add this to line 48
c_campfireMultiplier = Convert.ToSingle(GetConfigValue("Mutipliers", "campfireMultiplier", 0.0));
c_barbequeMultiplier = Convert.ToSingle(GetConfigValue("Mutipliers", "barbequeMultiplier", 0.0));
c_barricadeMultiplier = Convert.ToSingle(GetConfigValue("Mutipliers", "barricadesMultiplier", 0.0));
add this to line 102
if (entity.LookupPrefab().name == "campfire")
ProcessCampfireDamage(hitInfo);
else if (entity.LookupPrefab().name == "BBQ.Deployed")
{
var before = hitInfo.damageTypes.Get(Rust.DamageType.Decay);
hitInfo.damageTypes.Scale(Rust.DamageType.Decay, c_barbequeMultiplier);
if (c_outputToRcon)
Puts($"Decay ({entity_name}) before: {before} after: {hitInfo.damageTypes.Get(Rust.DamageType.Decay)}");
}
else if (entity.LookupPrefab().name == "box.wooden.large" ||
entity.LookupPrefab().name == "woodbox_deployed")
and enjoy it
edit:
all big black market is to add in the pluginLast edited by a moderator: Oct 24, 2017 -
Well, its not exactly vital tho...i mean...it is a bit immersive, having to clean the grill every so often
-
Code:
Unsupported decaying entity detected: box.wooden.large --- please notify author
Code:Unsupported decaying entity detected: box.wooden.large --- please notify author
-