Jump to content

Config Error

Not a Bug 1.1.5

I have tried to update to the latest version but keep getting the error below.  Seems to happen when I try to have a tank automatically spawn.  This config worked in 1.1.2 but now it does not.  The error is;

Failed to call hook 'OnServerInitialized' on plugin 'RoadBradley v1.1.5' (ArgumentException: Could not cast or convert from System.String to System.Collections.Generic.List`1[System.Int32].)

at Newtonsoft.Json.Utilities.ConvertUtils.EnsureTypeAssignable (System.Object value, System.Type initialType, System.Type targetType) [0x00062] in <2ae3f091decd4989b3c4d466e6eb5985>:0

at Newtonsoft.Json.Utilities.ConvertUtils.ConvertOrCast (System.Object initialValue, System.Globalization.CultureInfo culture, System.Type targetType) [0x00031] in <2ae3f091decd4989b3c4d466e6eb5985>: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 <2ae3f091decd4989b3c4d466e6eb5985>:0

The part of the config that worked before but now gives this error is

"Tank Routes - Spawns Per Maps": {
    "default": [
      "impossible"

"impossible": {
      "Tank Route - Road IDs (Random, if more than one)": ["46"]

Can you please let me know what is wrong with this config that produces the above error? Entire config is attached.

Thanks

RoadBradley (2).json

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

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