[Resolved][1.8.22a] Plugin crash (wohngewe - Dualistjave Test Gebäude.json:769)

Plugin specific problems will be solved here.

Moderators: Scenario Moderators, Plugin Moderators

User avatar
Dualistjave
Small-town resident
Posts: 36
Joined: 21 Nov 2019, 15:24
Plugins: Showcase Store

[Resolved][1.8.22a] Plugin crash (wohngewe - Dualistjave Test Gebäude.json:769)

#1

Post by Dualistjave »

wohngewe - Dualistjave Test Gebäude.json
(769 Bytes) Downloaded 177 times
Hi, I got the following error with a plugin (wohngewe - Dualistjave Test Gebäude.json:769):

Code: Select all

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

io.blueflower.stapel2d.util.json.JSONException: Expected ':' after residential at line 8, char 35. Excerpt: 
"frames":[{"bmp":"1b.png"},{"bmp":"1b1.png"},{"bmp":"1b2.png"},{"bmp":"1b3.png"}],
"type":"commercial", "residential"--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":"commercial", "residential",
"author":"Dualistjave",
"people":60000,
"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.

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

Plugin Creator

Platform

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

#2

Post by CommanderABab »

Per "id", there can be only one type used.

Code: Select all

"type":"commercial", 
or

Code: Select all

"type":"residential",

User avatar
Dualistjave
Small-town resident
Posts: 36
Joined: 21 Nov 2019, 15:24
Plugins: Showcase Store

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

#3

Post by Dualistjave »

Ok danke schade denn im echten leben gibtes auch wohngebeude mit gewerbe ok wieder was gelernt danke CommanderABab

Post Reply Previous topicNext topic

Return to “Problems”