Page 1 of 1

[Resolved] [587] Plugin crash (virs flag.json:417)

Posted: 26 Jan 2019, 15:16
by flakes
Hi, I got the following error with a plugin (virs flag.json:417): It's my own plugin of the flag of my nation. Idk where is the problem, but I would say the code is okay.

Code: Select all

In /storage/emulated/0/TheoTown/plugins/Virseyge Flag/virs flag.json:

java.lang.IllegalStateException: When loading "Virseyge Flag_01_byflakes": Could not find an animation draft of id virsflagan00 !

Code: Select all

 [
 {
  "id":"Virseyge Flag_01_byflakes",
  "type":"decoration",
  "width":1,
  "height":1,
  "frames":[{"bmp":"flag post.png"}],
  "title":"The Virseyge",
  "text":"The glorious flag of Virseyge.",
  "author":"flakes",
  "draw ground":true,
  "animation":[{"id":"virsflagan00","x":14,"y":-8}]
 },
 {
  "id":"virsflagan00",
  "type":"animation",
  "frames":[{"bmp":"Virseyge flag.png","h":8,"w":10,"count":3,"speed":0.5}]
  }
  ]
Thank you in advance.

Re: [587] Plugin crash (virs flag.json:417)

Posted: 26 Jan 2019, 15:25
by yusuf8a684
Try to move up the animation object. I hope it will work

Re: [587] Plugin crash (virs flag.json:417)

Posted: 26 Jan 2019, 15:48
by flakes
yusuf8a684 wrote:
26 Jan 2019, 15:25
Try to move up the animation object. I hope it will work
LOL, It has worked😂. Thanks you very much.