Page 1 of 2

No picture recognition

Posted: 29 Sep 2017, 10:34
by Josh
I am stuck with a very strange probem: The json file can't find the picture. Can somebody help me?
Screenshot_20170929-102857.png
Screenshot_20170929-103031.png
Screenshot_20170929-103056.png

Re: No picture recognition

Posted: 29 Sep 2017, 10:49
by Josh
It now says it can find picture "b1". But I changed the pictures name to "brick1" and the json too. This is so strange :?

Re: No picture recognition

Posted: 29 Sep 2017, 12:31
by Josh
Still says it can't find the picture :(

Re: No picture recognition

Posted: 29 Sep 2017, 12:39
by Bearbear76
Add "count":2,

Re: No picture recognition

Posted: 29 Sep 2017, 12:54
by Brody Craft
Yes it is

New update

Re: No picture recognition

Posted: 29 Sep 2017, 14:10
by JustAnyone
Brody Craft wrote:
29 Sep 2017, 12:54
Yes it is

New update
Wot?

Re: No picture recognition

Posted: 29 Sep 2017, 14:16
by Brody Craft
Im getting confused with everything

Re: No picture recognition

Posted: 29 Sep 2017, 14:18
by KINGTUT10101
Mine did that with a random plug-in yesterday even though I didn't modify it or anything. After that I reopened the game and it worked again for some reason.

Re: No picture recognition

Posted: 29 Sep 2017, 19:17
by Josh
But ive tried everything but also changing the name doesn't help. Jsonlint also says the code is valid

Re: No picture recognition

Posted: 29 Sep 2017, 19:18
by Lobby
location.png
Are these paths correct? It's strange as it looks as if your files are in a sub directory of plugins.

Re: No picture recognition

Posted: 29 Sep 2017, 19:19
by Josh
@Lobby Yes, I have stored all my plugins there

Re: No picture recognition

Posted: 29 Sep 2017, 19:20
by Lobby
So you might consider to upload anything so we can test it.

Re: No picture recognition

Posted: 29 Sep 2017, 21:23
by Josh
Try it out!
brick_decals_Josh_v1.zip
(2.45 KiB) Downloaded 189 times

Re: No picture recognition

Posted: 29 Sep 2017, 21:30
by CommanderABab

Code: Select all

  "frames":"frames":[{"bmp":"brick1.png"},{"bmp":"brick2.png"}],
See the problem?

Re: No picture recognition

Posted: 29 Sep 2017, 21:39
by Josh
I fixed it but it still says "can't find b1.png".
So I moved the folder and I realised it still says "can't fond b1.png"
@Lobby I think my theotown is broke :?

Re: No picture recognition

Posted: 29 Sep 2017, 21:41
by Josh
Even if I change it to "active": false and I moved it sd cart it still didn't work. Big problems here :(

Re: No picture recognition

Posted: 29 Sep 2017, 21:43
by Josh
Just look
Moved it to sd cart
Screenshot_20170929-214103.png
But it still says this
Screenshot_20170929-103056.png

Re: No picture recognition

Posted: 29 Sep 2017, 21:46
by CommanderABab
Screenshot_20170929-151207.jpg
Worked fine. I changed

Code: Select all

  "frames":"frames":[{"bmp":"brick1.png"},{"bmp":"brick2.png"}],
To

Code: Select all

  "frames":[{"bmp":"brick1.png"},{"bmp":"brick2.png"}],

Re: No picture recognition

Posted: 29 Sep 2017, 21:56
by Josh
Well not for me :(

Re: No picture recognition

Posted: 29 Sep 2017, 23:36
by Lobby
@Josh I assume you have a second file brick_decals.json which lies directly in your plugins folder.