NoDurability

Moved

Total Downloads: 2,080 - First Release: May 28, 2015 - Last Update: Dec 10, 2015

5/5, 6 likes
  1. Wulf

    Wulf Community Admin

    ShadowEvil submitted a new resource:

    NoDurability - Allows players on the server to have no durability on EVERY item

    Read more about this resource...
     
  2. ShadowEvil updated NoDurability with a new update entry:

    Added permission based NoDurability

     
  3. Awesome!

    just had a thought though, people could raid non-stop with hatchets and wood spears etc.. be great if there was a way for no durability for guns only.

    but nice one!
     
  4. I thought of that too, but if you think about it..... they have like 10 spears or hatchets in their inventory to use anyway. Either way, they will get in.
     
  5. Wulf

    Wulf Community Admin

    The ResourceId in your plugin is still incorrect. You should also not be referencing // Oxide.Ext.Rust.
     
  6. Ah. my bad. :p How do you know what resource ID to use? Or do you give me one? I'll release another update with the things you requested that I didn't need.
     
  7. Wulf

    Wulf Community Admin

    It's the ID in the URL on your plugin's download page at http://oxidemod.org/plugins/nodurability.1061/.
     
  8. ShadowEvil updated NoDurability with a new update entry:

    Minor fixes


    [DOUBLEPOST=1432835746][/DOUBLEPOST]
    Huh. Good to know. :) Sorry about the confusion... Also Not sure why Rust was referenced. :p
     
  9. Does this allow reduced/increased durability or is it just no durability?
     
  10. This is simple put as NoDurability. Friend wanted it for his PVE server, so I made it. :p
     
  11. My console is being spammed by the below error
    Code:
    [Oxide] 12:31 PM [Info] [No Durability] Error: System.NullReferenceException: Object reference not set to an instance of an object
      at No.Durability.ND.OnLoseCondition (.Item item, System.Single& amount) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.NoDurability.OnLoseCondition (.Item item, System.Single& amount) [0x00000] in <filename unknown>:0
    I didn't edit anything, and the plugin works AFAIK but this error is really annoying.
     
    Last edited by a moderator: Jun 25, 2015
  12. ShadowEvil updated NoDurability with a new update entry:

    Minor fixes

     
  13. Thank you ShadowEvil :)
     
  14. This error started spamming my console out of no where:
    Code:
    [Oxide] 11:56 AM [Error] Failed to call hook 'LoseCondition' on plugin 'No Durability' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 11:56 AM [Debug]   at No.Durability.ND.OnLoseCondition (.Item item, System.Single& amount) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.NoDurability.OnLoseCondition (.Item item, System.Single& amount) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
     
    Last edited by a moderator: Jun 25, 2015
  15. I'm having the same error.
     
  16. is this plugin still working? I need to set it so everyone has no dura how would I do this?

    Thanks
     
  17. Oxide] 4:27 PM [Debug] at No.Durability.ND.OnLoseCondition (.Item item, System.Single& amount) [0x00000] in <filename unknown>:0

    Hi,

    same here....error spam in rusty console. pls fix it
     
  18. Yo, I can't get this to work, I don't know what needs to be changed in the .json for all players(Admins, Mods, and players) to have no durability. I just know I had it working at one point in time and now it just doesnt, can someone tell me what they have for me to copy the .json and try it?
     
  19. The Oxide hook for this is bugged, I managed to make it work:

    If the author is still around, please integrate the fix so people can still use this plugin with updater and all. I changed the version and removed the resourceId in there so it doesn't auto downgrade or something, not sure how that works but anyways, just take the OnLoseCondition function and leave the rest as is in the original.

    I couldn't nullify the incoming damage so I just put back the item to max condition before it's applied. I didn't test but I expect this would prevent items from breaking down at the research bench as well.
     
    Last edited by a moderator: Dec 10, 2015
  20. Cant get this to work man, you got an easier way to explain this? I've placed the onlostcondition correctly, its just not working. What is your config look like? major,minor, patch, and whohasnodurability? Thats the confusing part honestly.
     
    Last edited by a moderator: Dec 10, 2015