[462] Plugin crash (pedestrianzonecustom.json:1662)

Plugin specific problems will be solved here.

Moderator: Bearbear65

Post Reply
Johnb
Settler
Reactions:
Posts: 1
Joined: Mon Apr 02, 2018 3:42
Plugins: Show
Phone: 7490921423

[462] Plugin crash (pedestrianzonecustom.json:1662)

Post by Johnb » Mon Apr 16, 2018 1:06

Hi, I got the following error with a plugin (pedestrianzonecustom.json:1662):

Code: Select all

In /data/user/0/info.flowersoft.theotown.theotown/files/plugins/pedestrianzonecustom.zip/pedestrianzonecustom.json:

org.json.JSONException: Car id ped.dusko.1 could not be found!
Device: LEX720 (LeEco)
Android: 23 (6.0.1)

Thank you in advance.

User avatar
Bearbear65
Inhabitant of a Universe
Reactions:
Posts: 4277
Joined: Fri Feb 10, 2017 14:53
Plugins: Show
Version: Beta
Phone: ASUS ZenPad 10 z300c

Re: [462] Plugin crash (pedestrianzonecustom.json:1662)

Post by Bearbear65 » Mon Apr 16, 2018 13:51

The pack doesn't come with "ped.dusko.1". probably need the original pack.
not good at roads so I'm not sure though...

(for people better at JSON)

Code: Select all

[
   {  
     "id":"ped.zone.dusko.custom", 
     "type":"road", 
     "author":"Dusko",
     "flag pedestrian":true,
     "flag normal":false,
     "level":0,
     "width":1,
     "height":1,
     "frames":[
       {"bmp":"zonecustom.png"},
       {"bmp":"zonecustom.png"},
       {"bmp":"zonecustom.png"},
       {"bmp":"zonecustom.png"},
       {"bmp":"zonecustom.png"},
       {"bmp":"zonecustom.png"},
       {"bmp":"zonecustom.png"},
       {"bmp":"zonecustom.png"},
       {"bmp":"zonecustom.png"},
       {"bmp":"zonecustom.png"},
       {"bmp":"zonecustom.png"},
       {"bmp":"zonecustom.png"},
       {"bmp":"zonecustom.png"},
       {"bmp":"zonecustom.png"},
       {"bmp":"zonecustom.png"},
       {"bmp":"zonecustom.png"},
       {"bmp":"zonecustom.png"}],
     "title":"Ped. zone", 
     "text":"Pedestrian zone for your pedestrians to walk on.", 
     "x flags":{ "flag normal":true, "flag pedestrian":true },
     "overrunnable":true,
     "one way":false,
     "draw ground":true,
     "speed":0.5,
     "speed winter":0.4,
     "price":10,
     "monthly price":1,
     "auto join":false,
     "allow crossing":true,
     "allow transfer":true,
     "allow bus":false,
     "connectable":false
   },
  {
    "id":"ped.bench.dusko.custom",
    "type":"park",
    "width":1, 
    "height":1,
    "frames":[{"bmp":"benchcustom.png"}],
    "title":"Benches (Custom)",
    "text":"Attracts people to your parks.",
    "draw ground":true,
    "car spawner":[
  {
    "cars":["ped.dusko.1"],
    "count":4,
    "radius":25
  }
],
    "power":0,
    "water":0,
    "build time":0,
    "price":120,
    "monthly price":20,
    "influence park":10
   }
]
ImageJust my opinion

Post Reply

Return to “Problems”

Who is online

Users browsing this forum: No registered users and 1 guest