[473] Plugin crash (Gahq.json:423)

Plugin specific problems will be solved here.

Moderator: Plugin Moderators

User avatar
Artem_123
Townsman
Reactions:
Posts: 63
Joined: 22 Apr 2018, 15:51
Plugins: Showcase Store
Version: Beta

Platform

[473] Plugin crash (Gahq.json:423)

#1

Post by Artem_123 »

Hi, I got the following error with a plugin (Gahq.json:423):

Code: Select all

In /storage/emulated/0/TheoTown/plugins/Gahq/Gahq.json:

org.json.JSONException: Unterminated array at character 339 of [
{
"id":"Gahq.png",
"type":"park",
"categòry":"Gahq_category",
"width": 1,
"height": 1,
"title":"<draft_Gahq_title>",
"frames":[{"bmp":"Gahw.png"}],
"influence park":504,
"influence education high":1200,
"price":2000,
"monthly price":2099,
"power":-5,
"water":-5,
"car spawner":
    [
      {
        "cars":["$Gahqt00",
        "radius":10,
        "count":5
      }
   ]
"autor":"Artem_123"
}
]
Device: GT-I9060 (samsung)
Android: 17 (4.2.2)

Thank you in advance.

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

Plugin Creator

Platform

Re: [473] Plugin crash (Gahq.json:423)

#2

Post by CommanderABab »

Code: Select all

"autor":"Artem_123"
should be

Code: Select all

"author":"Artem_123"
for one.

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

Plugin Creator

Platform

Re: [473] Plugin crash (Gahq.json:423)

#3

Post by CommanderABab »

Code: Select all

"car spawner":
    [
      {
        "cars":["$Gahqt00",
        "radius":10,
        "count":5
      }
   ]
should be

Code: Select all

"car spawner":
    [
      {
        "cars":["$Gahqt00"],
        "radius":10,
        "count":5
      }
   ],
for two.

User avatar
Artem_123
Townsman
Reactions:
Posts: 63
Joined: 22 Apr 2018, 15:51
Plugins: Showcase Store
Version: Beta

Platform

Re: [473] Plugin crash (Gahq.json:423)

#4

Post by Artem_123 »

Thanks

Post Reply Previous topicNext topic

Return to “Problems”