Latest Update

How will this plugin play out now that they've added sentry.maxinterference and  sentry.interferenceradius? Like how compatible is it with the new 2 options?

set max to 99999999999999999 and radius to 0... problem solved then this plugin should run as intended

Im getting this error when I set max to 99999999999999999

 

(18:56:10) | Failed to initialize plugin 'TurretLimits v1.2.2' (OverflowException: Value was either too large or too small for an Int32.)
  at System.Number.ThrowOverflowOrFormatException (System.Boolean overflow, System.String overflowResourceKey) [0x0001a] in <2161c9885dd04ff291b79db9349c4b9b>:0 
  at System.Number.ParseInt32 (System.ReadOnlySpan`1[T] value, System.Globalization.NumberStyles styles, System.Globalization.NumberFormatInfo info) [0x00016] in <2161c9885dd04ff291b79db9349c4b9b>:0 
  at System.Int32.Parse (System.String s, System.Globalization.NumberStyles style, System.IFormatProvider provider) [0x0001d] in <2161c9885dd04ff291b79db9349c4b9b>:0 
  at System.Convert.ToInt32 (System.String value, System.IFormatProvider provider) [0x00005] in <2161c9885dd04ff291b79db9349c4b9b>:0 
  at System.String.System.IConvertible.ToInt32 (System.IFormatProvider provider) [0x00000] in <2161c9885dd04ff291b79db9349c4b9b>:0 
  at System.Convert.ChangeType (System.Object value, System.Type conversionType, System.IFormatProvider provider) [0x000e0] in <2161c9885dd04ff291b79db9349c4b9b>:0 
  at System.Convert.ChangeType (System.Object value, System.Type conversionType) [0x00007] in <2161c9885dd04ff291b79db9349c4b9b>:0 
  at Oxide.Plugins.TurretLimits.GetConfig[T] (T& variable, System.String[] path) [0x0006a] in <9263b8b16d4b4805ae5636b94be7c22c>:0 
  at Oxide.Plugins.TurretLimits.LoadConfig () [0x00042] in <9263b8b16d4b4805ae5636b94be7c22c>:0 
  at Oxide.Plugins.TurretLimits.Init () [0x00000] in <9263b8b16d4b4805ae5636b94be7c22c>:0 
  at Oxide.Plugins.TurretLimits.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00035] in <9263b8b16d4b4805ae5636b94be7c22c>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <cd9a02fd331347bd82d550bb1a9c8e9f>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <b76ec77c47d1449e92b2baab8603843d>:0 
  at Oxide.Core.Plugins.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00043] in <b76ec77c47d1449e92b2baab8603843d>:0