[Asked][1.10.45p] Plugin crash (ktm(spawn-cars).json:119)

Plugin specific problems will be solved here.

Moderator: Plugin Moderators

User avatar
yusuf8a684
Reactions:

[Asked][1.10.45p] Plugin crash (ktm(spawn-cars).json:119)

#1

Post by yusuf8a684 »

Code: Select all

In plugins/y8_ktm5/main plugin/tram/ktm(spawn-cars).json:

java.lang.IllegalStateException: When loading "$ktm-5_y8": 8

Code: Select all    Reset

{ "author": "yusuf8a684", "flag airport": false, "flag bus": false, "flag lkw": false, "flag medic": false, "flag military": false, "flag normal": false, "flag pedestrian": false, "flag pkw": false, "flag tractor": false, "flag tram": true, "flag train": false, "flag truck": false, "frames": [ { "bmp": "ktm-5_y8.png", "count": 4, "h": 19, "w": 21 }, { "bmp": "ktm-5-dia_y8.png", "count": 4, "h": 19, "w": 21 } ], "frames per variant": 8, "id": "$ktm-5_y8", "type": "car", "v2": true, "animation": [ { "id": "ktm-50_night", "pos": [ 0, 0, 0, 0, 0, 0, 0, 0, 0,0,0,0,0,0,0,0, 0, 0, 0, 0, 0, 0, 0, 0, 0,0,0,0,0,0,0,0 ], "frames": [0] }, { "id": "ktm-51_night", "pos": [ 0, 0, 0, 0, 0, 0, 0, 0, 0,0,0,0,0,0,0,0, 0, 0, 0, 0, 0, 0, 0, 0, 0,0,0,0,0,0,0,0 ], "frames": [1] }, { "id": "ktm-52_night", "pos": [ 0, 0, 0, 0, 0, 0, 0, 0, 0,0,0,0,0,0,0,0, 0, 0, 0, 0, 0, 0, 0, 0, 0,0,0,0,0,0,0,0 ], "frames": [2] }, { "id": "ktm-53_night", "pos": [ 0, 0, 0, 0, 0, 0, 0, 0, 0,0,0,0,0,0,0,0, 0, 0, 0, 0, 0, 0, 0, 0, 0,0,0,0,0,0,0,0 ], "frames": [3] }, { "id": "ktm-5810_night", "pos": [ 0, 0, 0, 0, 0, 0, 0, 0, 0,0,0,0,0,0,0,0, 0, 0, 0, 0, 0, 0, 0, 0, 0,0,0,0,0,0,0,0 ], "frames": [8,10] }, { "id": "ktm-59_night", "pos": [ 0, 0, 0, 0, 0, 0, 0, 0, 0,0,0,0,0,0,0,0, 0, 0, 0, 0, 0, 0, 0, 0, 0,0,0,0,0,0,0,0 ], "frames": [9] }, { "id": "ktm-511_night", "pos": [ 0, 0, 0, 0, 0, 0, 0, 0, 0,0,0,0,0,0,0,0, 0, 0, 0, 0, 0, 0, 0, 0, 0,0,0,0,0,0,0,0 ], "frames": [11] } ] }...
JSON checker
Check

User avatar
TheFennekin
Neighborhood fox
Reactions:
Posts: 2728
Joined: 24 Aug 2017, 11:17
Location: Wandering around
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: [Asked][1.10.45p] Plugin crash (ktm(spawn-cars).json:119)

#2

Post by TheFennekin »

Code: Select all    Reset

{ "author": "yusuf8a684", "flag airport": false, "flag bus": false, "flag lkw": false, "flag medic": false, "flag military": false, "flag normal": false, "flag pedestrian": false, "flag pkw": false, "flag tractor": false, "flag tram": true, "flag train": false, "flag truck": false, "frames": [ { "bmp": "ktm-5_y8.png", "count": 4, "h": 19, "w": 21 }, { "bmp": "ktm-5-dia_y8.png", "count": 4, "h": 19, "w": 21 } ], "frames per variant": 8, "id": "$ktm-5_y8", "type": "car", "v2": true, "animation": [ { "id": "ktm-50_night", "pos": [ 0, 0, 0, 0, 0, 0, 0, 0, 0,0,0,0,0,0,0,0, 0, 0, 0, 0, 0, 0, 0, 0, 0,0,0,0,0,0,0,0 ], "frames": [0] }, { "id": "ktm-51_night", "pos": [ 0, 0, 0, 0, 0, 0, 0, 0, 0,0,0,0,0,0,0,0, 0, 0, 0, 0, 0, 0, 0, 0, 0,0,0,0,0,0,0,0 ], "frames": [1] }, { "id": "ktm-52_night", "pos": [ 0, 0, 0, 0, 0, 0, 0, 0, 0,0,0,0,0,0,0,0, 0, 0, 0, 0, 0, 0, 0, 0, 0,0,0,0,0,0,0,0 ], "frames": [2] }, { "id": "ktm-53_night", "pos": [ 0, 0, 0, 0, 0, 0, 0, 0, 0,0,0,0,0,0,0,0, 0, 0, 0, 0, 0, 0, 0, 0, 0,0,0,0,0,0,0,0 ], "frames": [3] }, { "id": "ktm-5810_night", "pos": [ 0, 0, 0, 0, 0, 0, 0, 0, 0,0,0,0,0,0,0,0, 0, 0, 0, 0, 0, 0, 0, 0, 0,0,0,0,0,0,0,0 ], "frames": [8,10] }, { "id": "ktm-59_night", "pos": [ 0, 0, 0, 0, 0, 0, 0, 0, 0,0,0,0,0,0,0,0, 0, 0, 0, 0, 0, 0, 0, 0, 0,0,0,0,0,0,0,0 ], "frames": [9] }, { "id": "ktm-511_night", "pos": [ 0, 0, 0, 0, 0, 0, 0, 0, 0,0,0,0,0,0,0,0, 0, 0, 0, 0, 0, 0, 0, 0, 0,0,0,0,0,0,0,0 ], "frames": [11] } ] }
JSON checker
Check
Was the 3 dots at the end intentional or you forgot to remove them? Idk that was what I found

User avatar
yusuf8a684
Reactions:

Re: [Asked][1.10.45p] Plugin crash (ktm(spawn-cars).json:119)

#3

Post by yusuf8a684 »

It was intentional but I fixed it now. Thank you :D

User avatar
TheFennekin
Neighborhood fox
Reactions:
Posts: 2728
Joined: 24 Aug 2017, 11:17
Location: Wandering around
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: [Asked][1.10.45p] Plugin crash (ktm(spawn-cars).json:119)

#4

Post by TheFennekin »

*me who didn't help anything : Well, umm thanks I guess :P

Post Reply Previous topicNext topic

Return to “Problems”