Jump to content

Radius not working and Error

Closed 1.1.0 1.1.3

Failed to call hook 'CanBuild' on plugin 'CaptureZone v1.1.0' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.CaptureZone+c__AnonStorey1.<>m__0 (System.Collections.Generic.KeyValuePair`2[TKey,TValue] x) [0x00007] in <319f19b273544bd282369d2ae99ec9c5>:0 at Oxide.Plugins.CaptureZoneExtensionMethods.ExtensionMethods.Min[T] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] selector) [0x0000e] in <319f19b273544bd282369d2ae99ec9c5>:0 at Oxide.Plugins.CaptureZone.CanBuild (Planner held, Construction prefab, Construction+Target target) [0x000ec] in <319f19b273544bd282369d2ae99ec9c5>:0 at Oxide.Plugins.CaptureZone.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x007ac] in <319f19b273544bd282369d2ae99ec9c5>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in :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

Share this comment


Link to comment
On 6/25/2022 at 1:35 AM, ReiCoringa said:

Failed to call hook 'CanBuild' on plugin 'CaptureZone v1.1.0' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.CaptureZone+c__AnonStorey1.<>m__0 (System.Collections.Generic.KeyValuePair`2[TKey,TValue] x) [0x00007] in <319f19b273544bd282369d2ae99ec9c5>:0 at Oxide.Plugins.CaptureZoneExtensionMethods.ExtensionMethods.Min[T] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] selector) [0x0000e] in <319f19b273544bd282369d2ae99ec9c5>:0 at Oxide.Plugins.CaptureZone.CanBuild (Planner held, Construction prefab, Construction+Target target) [0x000ec] in <319f19b273544bd282369d2ae99ec9c5>:0 at Oxide.Plugins.CaptureZone.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x007ac] in <319f19b273544bd282369d2ae99ec9c5>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in :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

Check the latest version

Share this comment


Link to comment

Still with error 

Failed to call hook 'CanBuild' on plugin 'CaptureZone v1.1.1' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.CaptureZone+<CanBuild>c__AnonStorey1.<>m__0 (System.Collections.Generic.KeyValuePair`2[TKey,TValue] x) [0x00007] in <da5cb9a0775b48d7b0e90d1baef8d5ce>:0

at Oxide.Plugins.CaptureZoneExtensionMethods.ExtensionMethods.Min[T] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] selector) [0x0000e] in <da5cb9a0775b48d7b0e90d1baef8d5ce>:0

at Oxide.Plugins.CaptureZone.CanBuild (Planner held, Construction prefab, Construction+Target target) [0x000ec] in <da5cb9a0775b48d7b0e90d1baef8d5ce>:0

at Oxide.Plugins.CaptureZone.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x007ac] in <da5cb9a0775b48d7b0e90d1baef8d5ce>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <cc99cb05b42e4ea494cdf294badea406>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <99d545163fdd4d57a562df7989f2ca0a>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <99d545163fdd4d57a562df7989f2ca0a>:0

Share this comment


Link to comment

Man, i just revised all you code, the only thing the Radius do is stop players to build a base inside de radius of another, it isn't affecting the onGather method that you created. If this is intended you need to clarify to the people before before they buy your product, because having online the range of your building as a tax zone is pretty much useless...

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

82.6k

Files Sold

Total number of files sold.

1.6m

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.