Page 1 of 1

Just try to check what's wrong with my code

Posted: 12 Jun 2025, 00:35
by Thidagtahu
:json

Code: Select all    Reset

[{"id":"$car_taxi00",
"type":"car",
"override":true,
"inherit":true,
"frames":[{"bmp":"taxi.png","x":0,"y":0,"w":12,"h":9,"count":1,"handle y":2},{"bmp":"taxi.png","x":12,"y":0,"w":12,"h":9,"count":1},{"bmp":"taxi.png","x":24,"y":0,"w":12,"h":9,"count":1,"handle y":2},{"bmp":"taxi.png","x":36,"y":0,"w":12,"h":9,"count":5}],
"frames per variant":8,
"v2":true,
"chargeable": false
},
{"id":"$garbagetruck00",
"type":"car",
"override":true,
"inherit":true,
"frames":[{"bmp":"garbage vehicle.png","x":0,"y":0,"w":18,"h":14,"count":8}],
"frames per variant":8,
"animation": [{"id": "carlight_red","pos": [0, 0, 0, 11, 13, 13, 0, 0],"frames": [1,2]},
{"id": "carlight_red","pos": [0, 0, 4, 13 , 17, 11, 0, 0],"frames": [1,2]},
{"id": "carlight_yellow","pos": [13, 12, 0, 0, 0, 0, 0, 11],"frames": [0,3]},
{"id": "carlight_yellow","pos": [16, 11, 0, 0, 0, 0, 3, 12],"frames": [0,3]}],
"v2":true,
"speed":0.9,
"flag military":true,
"flag airport":true,
"meta":{"tags":{"garbage":{}}}
},
{"id":"$recyclingtruck00",
"type":"car",
"override":true,
"inherit":true,
"frames":[{"bmp":"garbage vehicle.png","x":0,"y":13,"w":18,"h":14,"count":8}],
"frames per variant":8,
"v2":true,
"speed":0.9,
 
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
JSON checker

Output: Select all

...
If someone see this there's nothing special in it

Re: Just try to check what's wrong with my code

Posted: 12 Jun 2025, 08:07
by FVI
Not completely sure if this is causing the problem, but I counted the curly brackets in the last line and noticed open brackets are more than closed brackets.