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
  1. Tanks for the fast reply i never notice that before!
     
  2. (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???
     
  3. 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
  4. 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
  5. Does the cupboard tool affect decay?
    it means:
    There is a cupboard- no decay
    There is no cupboard - normal decay
     
  6. Is it possible, to split the shotguntrap, flameturret and normal turret from other traps? I want traps to decay, but not the turrets ;)
     
  7. Error while compiling: NoDecay.cs(11,21): error CS0433: The imported type `Oxide
    .Plugins.RustPlugin' is defined multiple times
     
  8. (00:01:14) | [NoDecay] Unsupported decaying entity detected: BBQ.Deployed --- please notify author
     
  9. [NoDecay] Unsupported decaying entity detected: BBQ.Deployed --- please notify author
     
  10. [NoDecay] Unsupported decaying entity detected: BBQ.Deployed --- please notify author
     
  11. [10/23/2017 09:43:44] [NoDecay] Unsupported decaying entity detected: BBQ.Deployed --- please notify author
     
  12. Yeah same problem as the 3 posts above, and everybode else...
     
  13. I am sure the author or Wulf will update the mod soon enough. :D
     
    Last edited by a moderator: Oct 24, 2017
  14. I don't meant to make the same post for the 4th time ;) 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.
     
  15. (08:43:06) | [NoDecay] Unsupported decaying entity detected: BBQ.Deployed --- please notify author

    Just doing what it has asked me to do :) no rush here .
     
  16. Dude.. you're number 5 within 2 days. Do you even read before posting?
     
  17. 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 plugin
     
    Last edited by a moderator: Oct 24, 2017
  18. Well, its not exactly vital tho...i mean...it is a bit immersive, having to clean the grill every so often
     
  19. Code:
    Unsupported decaying entity detected: box.wooden.large --- please notify author
    Code:
    Unsupported decaying entity detected: box.wooden.large --- please notify author
     
  20. dude , does it make you feel better about life being a salty sue ? just move on. your comment is dumb and should be removed for bashing others . so sad