[520] Plugin crash (AridDecal.json:564)

Plugin specific problems will be solved here.

Moderator: Plugin Moderators

User avatar
Mg3094066
Inhabitant of a Supercluster
Reactions:
Posts: 3223
Joined: 28 May 2017, 01:50
Location: Venezuelan Republic of Mexico
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

[520] Plugin crash (AridDecal.json:564)

#1

Post by Mg3094066 »

Hi, I got the following error with a plugin (AridDecal.json:564):

Code: Select all

In /storage/emulated/0/TheoTown/plugins/Arid_decal/AridDecal.json:

java.lang.IllegalStateException: When loading "$arid.decal.3094066": Ground $arid.decal.3094066 has to provide 16 border frames
Device: LG-H320 (lge)
Android: 21 (5.0.1)

Thank you in advance.

User avatar
Mg3094066
Inhabitant of a Supercluster
Reactions:
Posts: 3223
Joined: 28 May 2017, 01:50
Location: Venezuelan Republic of Mexico
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: [520] Plugin crash (AridDecal.json:564)

#2

Post by Mg3094066 »

Code: Select all

[{"edge frames":
[{"x":0,"y":96,"w":16,"h":48,"count":12}],
"edge border frames":
[{"x":0,"y":320,"w":32,"h":16,"handle x":0,"handle y":3}],
"frames":
[{"bmp":"1.png"},
{"bmp":"2.png"},
{"bmp":"3.png"},
{"bmp":"4.png"},
{"bmp":"5.png"},
{"bmp":"6.png"},
{"bmp":"7.png"},
{"bmp":"8.png"},
{"bmp":"9.png"},
{"bmp":"10.png"},
{"bmp":"11.png"},
{"bmp":"12.png"},
{"bmp":"13.png"},
{"bmp":"13.png"},
{"bmp":"14.png"},
{"bmp":"15.png"},
{"bmp":"16.png"}],
"id":"$arid.decal.3094066",
"text":"It's Dry",
"title":"Arid Ground",
"type":"ground"
}]

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

Plugin Creator

Platform

Re: [520] Plugin crash (AridDecal.json:564)

#3

Post by CommanderABab »

Code: Select all

[
   {  ... 
     "border frames":[{"bmp":"ancientcivgrndcoast.png","w":32,"h":20,"handle y":8,"count":16}],
      "edge border frames": [
         {
            "count": 32,
            "h": 32,
            "w": 16,
            "x": 0,
            "y": 144
         }
      ],
      "edge frames": [
         {
            "count": 12,
            "h": 48,
            "w": 16,
            "x": 0,
            "y": 96
         }
      ],
      "frames": [
         {"bmp":"ancientcivgrnd.png","w":32,"h":20,"handle y":8,"count":16}
      ],
  
...
   }
]
Like that.

Post Reply Previous topicNext topic

Return to “Problems”