Jump to content

Radius not working and Error

Closed 1.1.0 1.1.3

ReiCoringa
ReiCoringa

Posted

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

Mevent

Posted

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

ReiCoringa

Posted

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

ReiCoringa

Posted

And the Radius keep limited to the default cupboard radius

ReiCoringa

Posted

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...

Mevent

Posted

Changed Status from Pending to Closed

Changed Fixed In to 1.1.3

1.8m

Downloads

Total number of downloads.

8.3k

Customers

Total customers served.

125.2k

Files Sold

Total number of files sold.

2.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.