[Asked][1.11.82i] Plugin crash (mountain.json:712)

Plugin specific problems will be solved here.

Moderators: Plugin Moderators, Scenario Moderators

User avatar
progamin
Small-town resident
Posts: 30
Joined: 14 Jun 2023, 16:46
Location: City 17
Plugins: Showcase Store

[Asked][1.11.82i] Plugin crash (mountain.json:712)

#1

Post by progamin ยป

Hi, I got the following error with a plugin (mountain.json:712):

Code: Select all

In mountain.zip:

info.flowersoft.theotown.util.json.JSONException: Unterminated object at line 20, char 64. Excerpt: 
"height": "24",
"frames":[{"bmp": "mountain.png"},{"bmp": "mountain-winter.png"--ERROR->>>]

Full source: [
{
"id":"$mountain.ao",
"type":"terrain",
"author":"Okcirimorem",
"title":"Large mountain",
"text":"Where more could habitants hike and climb?",
"price":"5000",
"monthly price":"500",
"draw ground":"true",
"needs road":"false",
"needs power":"false",
"needs water":"false",
"influence park":"500",
"influence happiness":"500",
"influence nature":"50000",
"influence environment":"1000",
"width": "24",
"height": "24",
"frames":[{"bmp": "mountain.png"},{"bmp": "mountain-winter.png"]
}
]
Device: iPad (Apple)
OS version: 18

Thank you in advance.

User avatar
dnswodn
Inhabitant of a Megacity
Posts: 253
Joined: 08 Feb 2022, 08:14
Location: ๐Ÿž๏ธ Theonia ๐ŸŒ
Plugins: Showcase Store

Plugin Creator

Platform

Re: [Asked][1.11.82i] Plugin crash (mountain.json:712)

#2

Post by dnswodn ยป

Fixed :bf

Code: Select all    Reset

[
{
"id":"$mountain.ao",
"type":"terrain",
"author":"Okcirimorem",
"title":"Large mountain",
"text":"Where more could habitants hike and climb?",
"price":"5000",
"monthly price":"500",
"draw ground":"true",
"needs road":"false",
"needs power":"false",
"needs water":"false",
"influence park":"500",
"influence happiness":"500",
"influence nature":"50000",
"influence environment":"1000",
"width": "24",
"height": "24",
"frames":[{"bmp": "mountain.png"},{"bmp": "mountain-winter.png"}] // Expect a } here
}
]
ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”ื”
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
JSON checker

Output: Select all

...
By the way terrain type might be incorrect here.

Post Reply Previous topicNext topic

Return to โ€œProblemsโ€