ShadowEvil submitted a new resource:
NoDurability - Allows players on the server to have no durability on EVERY item
Read more about this resource...
NoDurability
Moved
Total Downloads: 2,080 - First Release: May 28, 2015 - Last Update: Dec 10, 2015
- 5/5, 6 likes
-
Wulf Community Admin
-
ShadowEvil updated NoDurability with a new update entry:
Added permission based NoDurability
-
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! -
-
Wulf Community Admin
The ResourceId in your plugin is still incorrect. You should also not be referencing // Oxide.Ext.Rust.
-
Ah. my bad.
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.
-
Wulf Community Admin
-
ShadowEvil updated NoDurability with a new update entry:
Minor fixes
[DOUBLEPOST=1432835746][/DOUBLEPOST]Sorry about the confusion... Also Not sure why Rust was referenced.
-
Does this allow reduced/increased durability or is it just no durability?
-
This is simple put as NoDurability. Friend wanted it for his PVE server, so I made it.
-
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
Last edited by a moderator: Jun 25, 2015 -
ShadowEvil updated NoDurability with a new update entry:
Minor fixes
-
Thank you ShadowEvil
-
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 -
I'm having the same error.
-
is this plugin still working? I need to set it so everyone has no dura how would I do this?
Thanks -
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 -
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?
-
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 -
Last edited by a moderator: Dec 10, 2015