[Answered] [1.7.86a] Plugin crash (Station111.json:980)

Plugin specific problems will be solved here.

Moderator: Plugin Moderators

User avatar
Sergio2203
Townsman
Reactions:
Posts: 42
Joined: 10 Jul 2018, 13:56
Plugins: Showcase Store

[Answered] [1.7.86a] Plugin crash (Station111.json:980)

#1

Post by Sergio2203 »

Hi, I got the following error with a plugin (Station111.json:980):

Code: Select all

In /storage/emulated/0/TheoTown/plugins/Station111/Station111.json:

io.blueflower.stapel2d.util.json.JSONException: Unterminated object at line 40, char 4. Excerpt: 
    {"y0":0,"x0":0,"y1":2,"x1":0,"id":"ICE_railway_NEW_mdk_813"}
  ]--ERROR->>>


Full source: [
  {
    "author":"xxx",
    "id":"Station111",
    "capacity":3000,
    "car local only":true,
    "car spawner": [
      {
        "cars": [
          "TCDD_DE_24000_passenger",
          "TCDD_DE_33000_passenger",
          "TCDD_E_52500"
        ],
    "count":1,
    "radius":1000,
    "targets":["S_Bahn_station"]}],
    "category":"traincategory.kt101",
    "draw ground":true,
    "frames":[{"bmp":"Station111.png"}],
    "influence passenger train":150,
    "monthly price":3,
    "needs road":false,
    "ordinal":302,
    "power":0,
    "price":10000,
    "requirement":{"requirements":[{"data"          :{"lvl":5},"type":"RANK"}]},
    "rotation aware":false,
    "separator":false,
    "text":"Zombies",
    "title":"Station111",
    "type":"railway station",
    "water":0,
    "width":6,
    "framealignment":true,
    "height":6,
    "type":"road",
    "width":1,"height":5,
    "composition":[
    {"y0":0,"x0":0,"y1":2,"x1":0,"id":"ICE_railway_NEW_mdk_813"}
  ]
Device: moto g(6) play (motorola)
OS version: 26

Thank you in advance.

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

Plugin Creator

Platform

Re: [1.7.86a] Plugin crash (Station111.json:980)

#2

Post by CommanderABab »

Sergio2203 wrote:
17 Jan 2020, 20:10
Hi, I got the following error with a plugin (Station111.json:980):

Code: Select all

In /storage/emulated/0/TheoTown/plugins/Station111/Station111.json:

io.blueflower.stapel2d.util.json.JSONException: Unterminated object at line 40, char 4. Excerpt: 
    {"y0":0,"x0":0,"y1":2,"x1":0,"id":"ICE_railway_NEW_mdk_813"}
  ]--ERROR->>>


Full source: [
  {
    "author":"xxx",
    "id":"Station111",
    "capacity":3000,
    "car local only":true,
    "car spawner": [
      {
        "cars": [
          "TCDD_DE_24000_passenger",
          "TCDD_DE_33000_passenger",
          "TCDD_E_52500"
        ],
    "count":1,
    "radius":1000,
    "targets":["S_Bahn_station"]}],
    "category":"traincategory.kt101",
    "draw ground":true,
    "frames":[{"bmp":"Station111.png"}],
    "influence passenger train":150,
    "monthly price":3,
    "needs road":false,
    "ordinal":302,
    "power":0,
    "price":10000,
    "requirement":{"requirements":[{"data"          :{"lvl":5},"type":"RANK"}]},
    "rotation aware":false,
    "separator":false,
    "text":"Zombies",
    "title":"Station111",
    "type":"railway station",
    "water":0,
    "width":6,
    "framealignment":true,
    "height":6,
    "type":"road",
    "width":1,"height":5,
    "composition":[
    {"y0":0,"x0":0,"y1":2,"x1":0,"id":"ICE_railway_NEW_mdk_813"}
  ]
Device: moto g(6) play (motorola)
OS version: 26

Thank you in advance.
Try:
Full source:

Code: Select all

[
  {
    "author":"xxx",
    "id":"Station111",
    "capacity":3000,
    "car local only":true,
    "car spawner": [
      {
        "cars": [
          "TCDD_DE_24000_passenger",
          "TCDD_DE_33000_passenger",
          "TCDD_E_52500"
        ],
    "count":1,
    "radius":1000,
    "targets":["S_Bahn_station"]}],
    "category":"traincategory.kt101",
    "draw ground":true,
    "frames":[{"bmp":"Station111.png"}],
    "influence passenger train":150,
    "monthly price":3,
    "needs road":false,
    "ordinal":302,
    "power":0,
    "price":10000,
    "requirement":{"requirements":[{"data"          :{"lvl":5},"type":"RANK"}]},
    "rotation aware":false,
    "separator":false,
    "text":"Zombies",
    "title":"Station111",
    "type":"railway station",
    "water":0,
    "width":6,
    "frame alignment":true, //<--
    "height":6,
    "type":"road",
    "width":1,"height":5,
    "composition":[
    {"y0":0,"x0":0,"y1":2,"x1":0,"id":"ICE_railway_NEW_mdk_813"}
    ]
    }//<--
    ]//<--

User avatar
Sergio2203
Townsman
Reactions:
Posts: 42
Joined: 10 Jul 2018, 13:56
Plugins: Showcase Store

Re: [1.7.86a] Plugin crash (Station111.json:980)

#3

Post by Sergio2203 »

friend could you help me on how I can join the tracks to a station that I have, I don't know how to do it

Post Reply Previous topicNext topic

Return to “Problems”