Page 1 of 1

[529] Plugin crash (Galleon.json:1065)

Posted: Fri Nov 02, 2018 13:42
by parker
Hi, I got the following error with a plugin (Galleon.json:1065):

Code: Select all

In /storage/emulated/0/TheoTown/plugins/navalshipPackage_by_PTXcarl/galleon/Galleon.json:

org.json.JSONException: Unterminated object at character 462 of [
   {
      "author": "AdmiralCarl",
      "build time": 25,
      "draw ground": true,
      "frames": [
         {
            "bmp": "galleon.png"
         }
      ],
      "height": 5,
      "id": "Galleon.pentacity",
      "needs water": true,
      "needs land": false,
      "needs road": false,
      "influence education high": 50,
      "provide aspect education high": 100,
      "power": 0,
      "price": 977000,
      "monthly price": 5000
      "requirement": {
         "requirements": [
            {
               "data": {
                  "id": "$rnk_village_small"
               },
               "type": "RANK"
            }
         ]
      },
      "text": "Friga, a Galleon Vessel used in 1500-1700 A.D., Recomissioned and built in the shipyards of Republic of Pentacity. Allowing young mariners and cadets to train basic and advance seamanship, watch keeping and navigation. Can also be used as a museum or active vessel in service.",
      "title": "Galleon Friga",
      "type": "military",
      "water": 0,
      "width": 5
   }
]
Device: PMT5021_3G (Prestigio)
Android: 19 (4.4.2)

Thank you in advance.

Re: [529] Plugin crash (Galleon.json:1065)

Posted: Wed Nov 07, 2018 2:13
by FranchuFranchu
There is a comma missing after "monthly price"