[Resolved][1.8.85a] Plugin crash (obimarkt01.json:145)

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

[Resolved][1.8.85a] Plugin crash (obimarkt01.json:145)

#1

Post by Sergio2203 »

Obimarkt01.json
(758 Bytes) Downloaded 113 times
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.

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

Plugin Creator

Platform

Re: [Asked][1.8.85a] Plugin crash (obimarkt01.json:145)

#2

Post 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"
 }
  
]

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

Re: [Asked][1.8.85a] Plugin crash (obimarkt01.json:145)

#3

Post by Sergio2203 »

Screenshot_20200707-173501.png
friend because they take the cars like
Obi markt truck.png
Obi markt truck.png (741 Bytes) Viewed 3420 times

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

Plugin Creator

Platform

Re: [Asked][1.8.85a] Plugin crash (obimarkt01.json:145)

#4

Post by CommanderABab »

Those are v1 graphics, so you need to remove the "v2":true line. :)

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

Re: [Answered][1.8.85a] Plugin crash (obimarkt01.json:145)

#5

Post by Sergio2203 »

thank you very much friend it worked for me

Post Reply Previous topicNext topic

Return to “Problems”