Page 1 of 1

[Answered][1.8.22a] Plugin crash (1wohngewe - Dualistjave Test Gebäude.json:748)

Posted: 03 May 2020, 17:41
by Dualistjave
Hi, I got the following error with a plugin (1wohngewe - Dualistjave Test Gebäude.json:748):

Code: Select all

In /storage/emulated/0/TheoTown/plugins/b/1wohngewe - Dualistjave Test Gebäude.json:

io.blueflower.stapel2d.util.json.JSONException: Unterminated object at line 31, char 1. Excerpt: 
    "frames":[{"bmp":"1b.png"} , {"bmp":"1b1.png"} , {"bmp":"1b2.png"} , {"bmp":"1b3.png"}
--ERROR->>>]

Full source: [
{
"id":"$Dj - wohngewe -Test",
"title":"Test",
"height":1,
"width":1,
"frames":[{"bmp":"1b.png"},{"bmp":"1b1.png"},{"bmp":"1b2.png"},{"bmp":"1b3.png"}],
"type":"residential",
"author":"Dualistjave",
"people":120000,
"level":1,
"price":"1",
"text":"Dualistjave Test Gebäude",

		"id":"pureairpoo",
		"author":"dirkidirk",
		"type":"park",
		"width":3, 
		"height":3,
	  "price":14000,
	  "monthly price":80,
		"influence pollution":-5000,
		"influence noise": 5,
		"influence nature":1000,
		"influence park":1000,
		"power": 0,
		"needs road":false,
		"title":"air purifier",
		"text":"use this to get rid of the pollution in your industrial cities.",
    "frames":[{"bmp":"1b.png"} , {"bmp":"1b1.png"} , {"bmp":"1b2.png"} , {"bmp":"1b3.png"}
]
Device: GTC (winsat)
OS version: 23

Thank you in advance.

Re: [Asked][1.8.22a] Plugin crash (1wohngewe - Dualistjave Test Gebäude.json:748)

Posted: 03 May 2020, 19:31
by CommanderABab
Dualistjave wrote:
03 May 2020, 17:41
Hi, I got the following error with a plugin (1wohngewe - Dualistjave Test Gebäude.json:748):

Code: Select all

In /storage/emulated/0/TheoTown/plugins/b/1wohngewe - Dualistjave Test Gebäude.json:

io.blueflower.stapel2d.util.json.JSONException: Unterminated object at line 31, char 1. Excerpt: 
    "frames":[{"bmp":"1b.png"} , {"bmp":"1b1.png"} , {"bmp":"1b2.png"} , {"bmp":"1b3.png"}
--ERROR->>>]

Full source: [
{
"id":"$Dj - wohngewe -Test",
"title":"Test",
"height":1,
"width":1,
"frames":[{"bmp":"1b.png"},{"bmp":"1b1.png"},{"bmp":"1b2.png"},{"bmp":"1b3.png"}],
"type":"residential",
"author":"Dualistjave",
"people":120000,
"level":1,
"price":"1",
"text":"Dualistjave Test Gebäude",

		"id":"pureairpoo",
		"author":"dirkidirk",
		"type":"park",
		"width":3, 
		"height":3,
	  "price":14000,
	  "monthly price":80,
		"influence pollution":-5000,
		"influence noise": 5,
		"influence nature":1000,
		"influence park":1000,
		"power": 0,
		"needs road":false,
		"title":"air purifier",
		"text":"use this to get rid of the pollution in your industrial cities.",
    "frames":[{"bmp":"1b.png"} , {"bmp":"1b1.png"} , {"bmp":"1b2.png"} , {"bmp":"1b3.png"}
]
Device: GTC (winsat)
OS version: 23

Thank you in advance.

Code: Select all

[
{
"id":"$Dj - wohngewe -Test",
"title":"Test",
"height":1,
"width":1,
"frames":[{"bmp":"1b.png"},{"bmp":"1b1.png"},{"bmp":"1b2.png"},{"bmp":"1b3.png"}],
"type":"residential",
"author":"Dualistjave",
"people":120000,
"level":1,
"price":"1",
"text":"Dualistjave Test Gebäude"
},
{

		"id":"pureairpoo",
		"author":"dirkidirk",
		"type":"park",
		"width":3, 
		"height":3,
	  "price":14000,
	  "monthly price":80,
		"influence pollution":-5000,
		"influence noise": 5,
		"influence nature":1000,
		"influence park":1000,
		"power": 0,
		"needs road":false,
		"title":"air purifier",
		"text":"use this to get rid of the pollution in your industrial cities.",
    "frames":[{"bmp":"1b.png"} , {"bmp":"1b1.png"} , {"bmp":"1b2.png"} , {"bmp":"1b3.png"}]
 }
]
Your or (someone else's) second id wasn't separated into an object.

Re: [Answered][1.8.22a] Plugin crash (1wohngewe - Dualistjave Test Gebäude.json:748)

Posted: 06 May 2020, 04:32
by Bevise
@CommanderABab People and Worker are one?