Jump to content

Failed To Call Hook along with BradleyGuards plugin

Closed 2.0.9

T-Nuts
T-Nuts

Posted

So I keep getting this error in the console right before the plugin/event starts...

Failed to call hook 'IsConvoyVehicle' on plugin 'Convoy v2.0.8' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.Convoy+<IsConvoyVehicle>c__AnonStorey3.<>m__0 (Oxide.Plugins.Convoy+ConvoyVehicle x) [0x00000] in <c13369ec511949d1b8e701d3a56e960d>:0
at System.Linq.Enumerable.Any[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x0002c] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at Oxide.Plugins.Convoy.IsConvoyVehicle (BaseEntity entity) [0x00020] in <c13369ec511949d1b8e701d3a56e960d>:0
at Oxide.Plugins.Convoy.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00100] in <c13369ec511949d1b8e701d3a56e960d>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <e23ba2c0f246426296d81c842cbda3af>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <46ff2b534abb4b35952608167523b7ec>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <46ff2b534abb4b35952608167523b7ec>:0

 

Which is also followed by this in regards to another plugin called BradleyGuards that is on this website as well...

 

Failed to call hook 'OnBradleyApcInitialize' on plugin 'BradleyGuards v1.4.0' (InvalidCastException: Null object cannot be converted to a value type.)
at System.Convert.ChangeType (System.Object value, System.Type conversionType, System.IFormatProvider provider) [0x00029] in <fb001e01371b4adca20013e0ac763896>:0
at System.Convert.ChangeType (System.Object value, System.Type conversionType) [0x0000c] in <fb001e01371b4adca20013e0ac763896>:0
at Oxide.Core.Plugins.Plugin.Call[T] (System.String hook, System.Object[] args) [0x00008] in <46ff2b534abb4b35952608167523b7ec>:0
at Oxide.Plugins.BradleyGuards.OnBradleyApcInitialize (BradleyAPC bradley) [0x0000d] in <7a338cc5a09541529faa3eefbdf91cc4>:0
at Oxide.Plugins.BradleyGuards.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00153] in <7a338cc5a09541529faa3eefbdf91cc4>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <e23ba2c0f246426296d81c842cbda3af>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <46ff2b534abb4b35952608167523b7ec>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <46ff2b534abb4b35952608167523b7ec>:0

The event still starts so I don't think it's an issue, just see it all the time in the console when the event starts

  • Like 1
T-Nuts

Posted

Disregard, I see my issue. Thought I had the most recent version and I don't

  • Like 1
Adem

Posted

3 hours ago, T-Nuts said:

Disregard, I see my issue. Thought I had the most recent version and I don't

Yes, I've already fixed it. Is the problem no more?

Adem

Posted

Changed Status from Pending to Work in Progress

Adem

Posted

Changed Status from Work in Progress to Closed

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.5k

Files Sold

Total number of files sold.

2.1m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.