Page 1 of 1

[Resolved] [574] Plugin crash (zrails.json:5747)

Posted: 22 Dec 2018, 23:15
by Oshawotta737
Hi, I got the following error with a plugin (zrails.json:5747):

Code: Select all

In /storage/emulated/0/TheoTown/plugins/rails_prerelease-1/rails/zrails.json:

java.lang.IllegalStateException: When loading "traindnkdecal": Ground traindnkdecal has to provide at least two edge frames
Device: SM-T350 (samsung)
Android: 25 (7.1.1)

Thank you in advance.

Re: [574] Plugin crash (zrails.json:5747)

Posted: 23 Dec 2018, 11:50
by lvmgaming13
add this code:

Code: Select all

"edge frames":[{"x:0,"y":96,"w":16,"h":32,"count":12}]
"edge border frames":[{"x:0,"y":144,"w":16,"h":32,"count":32}]

Re: [574] Plugin crash (zrails.json:5747)

Posted: 23 Dec 2018, 11:54
by lvmgaming13
Or

Code: Select all

"bmp":decal.png
According on this error.

Re: [574] Plugin crash (zrails.json:5747)

Posted: 23 Dec 2018, 13:06
by CommanderABab
lvmgaming13 wrote:
23 Dec 2018, 11:50
add this code:

Code: Select all

"edge frames":[{"x":0,"y":96,"w":16,"h":32,"count":12}],
"edge border frames":[{"x":0,"y":144,"w":16,"h":32,"count":32}]
Added missing comma and two missing quotes. :/

Re: [574] Plugin crash (zrails.json:5747)

Posted: 23 Dec 2018, 13:08
by CommanderABab
#codeboxtip if you see black within quotes, then you left one out somewhere else.

Re: [574] Plugin crash (zrails.json:5747)

Posted: 24 Dec 2018, 05:53
by Oshawotta737
Got it fixed! Thanks!