AnExiledGod submitted a new resource:
Replace On Broken - Replaces your active broken item with a not broken item if in inventory.
Read more about this resource...

ReplaceOnBroken
Replaces the active broken item with a not broken item if in inventory
Total Downloads: 3,280 - First Release: Jun 25, 2015 - Last Update: Feb 16, 2017
- 5/5, 13 likes
-
Wulf Community Admin
-
http://prntscr.com/7lalmi
Get this error, it works but with error -
Hmm odd, I'll look into it tomorrow (well technically today, if I ever go to bed...)
[DOUBLEPOST=1435299713][/DOUBLEPOST]Could you provide more information? I can't reproduce on my local server. If you're not sure, I'll try on my live server tomorrow. -
-
That's interesting. It doesn't happen on my local. I might have to do some live testing on my server heh. The only difference between my local and live is my local only has 1 player.
-
Code:
[Oxide] 4:10 PM [Error] Failed to call hook 'OnLoseCondition' on plugin 'Replace On Broken' (NullReferenceException: Object reference not set to an instance of an object) [Oxide] 4:10 PM [Debug] at Oxide.Plugins.ReplaceOnBroken.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
-
AnExiledGod updated Replace On Broken with a new update entry:
Fixed Console Errors
-
Doesn't have updater compatibility. I added it to this version.
-
needs update
Code:12:14 AM [Error] Failed to call hook 'OnLoseCondition' on plugin 'Replace On Broken' (NullReferenceException: Object reference not set to an instance of an object) 12:14 AM [Debug] at Oxide.Plugins.ReplaceOnBroken.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
-
Requests:
- add permissions
- add ability to exclude items
- add weapons option to replace on ammo empty
- add candle hat replace on fuel empty.
-
Simple Request:
- re-activate the switched item(slot) in the slot before the active was broken
- re-activate the switched item(slot) in the slot before the active was broken
-
Like Isuelt said please add those.
-
Any fix for this ? ^^
Code:(14:49:09) | [Oxide] 14:49 [Error] Failed to call hook 'OnLoseCondition' on plugin 'ReplaceOnBroken v1.1.0' (NullReferenceException: Object reference not set to an instance of an object) (14:49:09) | [Oxide] 14:49 [Debug] at Oxide.Plugins.ReplaceOnBroken.OnLoseCondition (.Item item, System.Single& amount) [0x00000] in <filename unknown>:0 at Oxide.Plugins.ReplaceOnBroken.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
Last edited by a moderator: Aug 5, 2016 -
Wulf Community Admin
-
it spams as hell, but isn't an issue who make the plugin not working ^^ -
Wulf Community Admin
-
Now i know the problem is only from my config, so I'll investigate.
Thanks for your time !! -
Wulf Community Admin
Wulf updated ReplaceOnBroken with a new update entry:
2.0.0
-
Code:
(11:58:57) | [Oxide] 11:58 [Debug] at Oxide.Plugins.ReplaceOnBroken.OnLoseCondition (.Item oldItem, System.Single& amount) [0x00000] in <filename unknown>:0 at Oxide.Plugins.ReplaceOnBroken.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
-
Wulf Community Admin