That's all that is. I don't know what exactly broke.Code:(11:57:02) | [Oxide] 11:57 [Error] Failed to call hook 'OnLoseCondition' on plugin 'ReplaceOnBroken v2.0.0' (NullReferenceException: Object reference not set to an instance of an object) (11:57:02) | [Oxide] 11:57 [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 (11:58:45) | [Oxide] 11:58 [Error] Failed to call hook 'OnLoseCondition' on plugin 'ReplaceOnBroken v2.0.0' (NullReferenceException: Object reference not set to an instance of an object) (11:58:45) | [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 (11:58:57) | [Oxide] 11:58 [Error] Failed to call hook 'OnLoseCondition' on plugin 'ReplaceOnBroken v2.0.0' (NullReferenceException: Object reference not set to an instance of an object) (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

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
-
Same problem
-
Seems to work, but same problem.
-
Any update with the above information?
-
same here
-
Wulf Community Admin
Wulf updated ReplaceOnBroken with a new update entry:
2.1.0
-
Still has an error:
Code:[08/28/2016 17:07:57] [Oxide] 17:07 [Error] Failed to call hook 'OnLoseCondition' on plugin 'ReplaceOnBroken v2.1.0' (NullReferenceException: Object reference not set to an instance of an object) [08/28/2016 17:08:04] [Oxide] 17:08 [Error] Failed to call hook 'OnLoseCondition' on plugin 'ReplaceOnBroken v2.1.0' (NullReferenceException: Object reference not set to an instance of an object) [08/28/2016 17:08:12] [Oxide] 17:08 [Error] Failed to call hook 'OnLoseCondition' on plugin 'ReplaceOnBroken v2.1.0' (NullReferenceException: Object reference not set to an instance of an object)
-
works but spams console...
Code:[Oxide] 22:08 [Error] Failed to call hook 'OnLoseCondition' on plugin 'ReplaceOnBroken v2.1.0' (NullReferenceException: Object reference not set to an instance of an object) [Oxide] 22:08 [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
Last edited by a moderator: Sep 9, 2016 -
Any fix???
it works but spams the console so badly i cant see when my other plugins have issues that need addressing.
also i am worried it will effect the server in some way like lag etc. so i went ahead and took it off but i really like it and hope ya can fix the problem soon. thanks! -
Wulf Community Admin
-
Code:
20:37 [Error] Failed to call hook 'OnLoseCondition' on plugin 'ReplaceOnBroken v2.1.0' (NullReferenceException: Object reference not set to an instance of an object) 20:37 [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
-
Code:
(22:37:24) | [Oxide] 22:37 [Error] Failed to call hook 'OnLoseCondition' on plugin 'ReplaceOnBroken v2.1.0' (NullReferenceException: Object reference not set to an instance of an object) (22:37:24) | [Oxide] 22:37 [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
-
[Oxide] 02:53 [Error] Failed to call hook 'OnPlayerConnected' on plugin 'RustCore
v1.0.0' (ArgumentException: failed to convert parameters) -
Wulf Community Admin
-
Gracias!
-
-
Code:
[Oxide] 09:18 [Error] Failed to call hook 'OnLoseCondition' on plugin 'ReplaceOnBroken v2.1.0' (NullReferenceException: Object reference not set to an instance of an object) [Oxide] 09:18 [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
Wulf updated ReplaceOnBroken with a new update entry:
2.1.1
-
replaces broken tool/weapon with random loot from inventory.