[495] Plugin crash (galleon.json:1065)

Plugin specific problems will be solved here.

Moderator: Plugin Moderators

User avatar
ChocolateGuerreiroBr
Villager
Reactions:
Posts: 22
Joined: 16 Jun 2018, 16:24
Location: Brasil
Plugins: Showcase Store
Version: Beta

Platform

[495] Plugin crash (galleon.json:1065)

#1

Post by ChocolateGuerreiroBr »

Hi, I got the following error with a plugin (galleon.json:1065):

Code: Select all

In /data/user/0/info.flowersoft.theotown.theotown/files/plugins/navalshippackage_by_ptxcarl.zip/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: LG-K430 (lge)
Android: 23 (6.0)

Thank you in advance.

User avatar
CommanderABab
AB
Reactions:
Posts: 11086
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: [495] Plugin crash (galleon.json:1065)

#2

Post by CommanderABab »

There needs to be a comma after the 5000 in the monthly price line.

Post Reply Previous topicNext topic

Return to “Problems”