Jump to content

Error Message

Not a Bug 1.1.14

Stark
Stark

Posted

Hello,

I'm getting this error and I don't know why:

ExType: JsonSerializationException
Could not initialize plugin 'AgileZones v1.1.14' (ArgumentException: Could not cast or convert from System.String to System.String[].)
  at Newtonsoft.Json.Utilities.ConvertUtils.EnsureTypeAssignable (System.Object value, System.Type initialType, System.Type targetType) [0x00062] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.Utilities.ConvertUtils.ConvertOrCast (System.Object initialValue, System.Globalization.CultureInfo culture, System.Type targetType) [0x00031] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType (Newtonsoft.Json.JsonReader reader, System.Object value, System.Globalization.CultureInfo culture, Newtonsoft.Json.Serialization.JsonContract contract, System.Type targetType) [0x0008d] in <271c58b7a8684db5a2c92be17a81f252>:0 
Previous version of plugin failed to load: AgileZones
o.reload AgileZones
Unloaded plugin AgileZones v1.1.14 by Goblox
ExType: JsonSerializationException
Could not initialize plugin 'AgileZones v1.1.14' (ArgumentException: Could not cast or convert from System.String to System.String[].)
  at Newtonsoft.Json.Utilities.ConvertUtils.EnsureTypeAssignable (System.Object value, System.Type initialType, System.Type targetType) [0x00062] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.Utilities.ConvertUtils.ConvertOrCast (System.Object initialValue, System.Globalization.CultureInfo culture, System.Type targetType) [0x00031] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType (Newtonsoft.Json.JsonReader reader, System.Object value, System.Globalization.CultureInfo culture, Newtonsoft.Json.Serialization.JsonContract contract, System.Type targetType) [0x0008d] in <271c58b7a8684db5a2c92be17a81f252>:0 

 

Here is my config:

{
  "Enable TruePVE": false,
  "Enable NextGenPVE": false,
  "Enable ZoneDomes": false,
  "Enable ZoneDomes For TCs": false,
  "Enable ZoneDomes For SupplyDrops": false,
  "Enable ZoneDomes For Cargo": true,
  "Enable ZoneDomes For HeliCrash": true,
  "Enable ZoneDomes For BradleyAPC": true,
  "Enable ZoneDomes For Tugboats": false,
  "Visible Domes for Moving Zones Darkness (Default 1)": 0,
  "Delay creating a zone after placing a TC in seconds": 1.0,
  "Delay removing a zone after a TC is destroyed": 1.0,
  "TC Zone Radius in meters - set zero to disable": 0,
  "TC RuleSet": "exclude",
  "TC Zone Flags": null,
  "CargoShip Zone Radius in meters - set zero to disable": 200,
  "Cargo RuleSet": "exclude",
  "Cargo Zone Flags": " - PVP Zone",
  "SupplyDrop Zone Radius in meters - set zero to disable": 0,
  "SupplyDrop RuleSet": "exclude",
  "Supply Drop Zone Flags": null,
  "Apc Zone Radius in meters - set zero to disable": 125,
  "Apc RuleSet": "exclude",
  "Apc Zone Flags": " - PVP Zone",
  "HeliCrash Zone Radius in meters - set zero to disable": 125,
  "Heli RuleSet": "exclude",
  "Heli Zone Flags": " - PVP Zone",
  "Tugboats Zone Radius in meters - set zero to disable": 0,
  "Tugboats RuleSet": "exclude",
  "Tugboats Zone Flags": null,
  "Entering Zone Message": null,
  "Leaving Zone Message": null,
  "Zone Tag (Adds this string to zone names)": null
}

Goblox

Posted

I believe this is coming from your zone flags. If you were to put them in brackets "[flagContent]" you'd probably be good.

Stark

Posted

Okay I'm getting closer to working, but now there's not tags for Heli Crashes or Cargo:

 

[AgileZones] Reload Cargo Ships
[AgileZones] Reload Supply Drops
[AgileZones] Reload Bradley APCs
[AgileZones] Add BradleyAPC - PVP Zone
[AgileZones] Reload HeliCrashes
[AgileZones] Reload Tugboats
[AgileZones] Add TugBoat - PVP Zone
[AgileZones] Add TugBoat - PVP Zone
[AgileZones] Add TugBoat - PVP Zone
[AgileZones] Add TugBoat - PVP Zone

Goblox

Posted

Zone Tags? The thing that adds a "Tag" to the name of the zone?

Goblox

Posted

Changed Status from Pending to Not a Bug

1.8m

Downloads

Total number of downloads.

8.3k

Customers

Total customers served.

126k

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.