Page 1 of 1
[Resolved][1.8.85a] Plugin crash (obimarkt01.json:145)
Posted: 07 Jul 2020, 23:30
by Sergio2203
Hi, I got the following error with a plugin (obimarkt01.json:145):
Code: Select all
In plugins/obi markt 1/obimarkt01.json:
java.lang.IllegalStateException: When loading "Obia Markt 001": Car id $$camionObi00 could not be found!
Device: moto g(6) play (motorola)
OS version: 26
Thank you in advance.
Re: [Asked][1.8.85a] Plugin crash (obimarkt01.json:145)
Posted: 08 Jul 2020, 00:00
by CommanderABab
Maybe try it this way:
Code: Select all
[
{
"id":"OMN1",
"frames":[{"bmp":"OBI mart 01N1.png"}],
"type":"animation",
"light":true, "light switching":true
},
{
"capacity":6,
"flag normal":true,
"flag user2":true,
"frames":[{"bmp":"Obi markt truck.png", "count":4,"h":14,"w":17}],
"id":"$$camionObi00",
"influence passenger bus":12,
"speed":1.1,
"type":"car",
"v2":true
},
{
"id":"Obia Markt 001",
"type":"commercial",
"width":6,
"height":6,
"car spawner":[
{
"cars":["$$camionObi00"],
"flags": ["lkw"],
"count":36,
"radius":1300
}
],
"animation":[{"id":"OMN1", "x":0, "y":-43}],
"frames":[{"bmp":"OBI mart 01.png"}],
"people":150,
"level":3,
"author":"xxx"
}
]
Re: [Asked][1.8.85a] Plugin crash (obimarkt01.json:145)
Posted: 08 Jul 2020, 00:40
by Sergio2203
friend because they take the cars like

- Obi markt truck.png (741 Bytes) Viewed 4642 times
Re: [Asked][1.8.85a] Plugin crash (obimarkt01.json:145)
Posted: 08 Jul 2020, 01:59
by CommanderABab
Those are v1 graphics, so you need to remove the "v2":true line.

Re: [Answered][1.8.85a] Plugin crash (obimarkt01.json:145)
Posted: 08 Jul 2020, 21:26
by Sergio2203
thank you very much friend it worked for me