No picture recognition

Plugin specific problems will be solved here.

Moderator: Plugin Moderators

User avatar
Josh
Graphic designer
Reactions:
Posts: 2199
Joined: Sat Mar 11, 2017 19:20
Location: The Netherlands
Plugins: Show
Version: Beta

No picture recognition

Post by Josh » Fri Sep 29, 2017 10:34

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
Proud TheoTown player sinds update 1.1.50

Creator of Aldorria, Covinton Empire, West Country, Sunnydale

Save nature, before it kills you๐ŸŒฒ

User avatar
Josh
Graphic designer
Reactions:
Posts: 2199
Joined: Sat Mar 11, 2017 19:20
Location: The Netherlands
Plugins: Show
Version: Beta

Re: No picture recognition

Post by Josh » Fri Sep 29, 2017 10:49

It now says it can find picture "b1". But I changed the pictures name to "brick1" and the json too. This is so strange :?
Proud TheoTown player sinds update 1.1.50

Creator of Aldorria, Covinton Empire, West Country, Sunnydale

Save nature, before it kills you๐ŸŒฒ

User avatar
Josh
Graphic designer
Reactions:
Posts: 2199
Joined: Sat Mar 11, 2017 19:20
Location: The Netherlands
Plugins: Show
Version: Beta

Re: No picture recognition

Post by Josh » Fri Sep 29, 2017 12:31

Still says it can't find the picture :(
Proud TheoTown player sinds update 1.1.50

Creator of Aldorria, Covinton Empire, West Country, Sunnydale

Save nature, before it kills you๐ŸŒฒ

User avatar
Bearbear65
Inhabitant of a Universe
Reactions:
Posts: 4465
Joined: Fri Feb 10, 2017 14:53
Plugins: Show
Version: Beta
Phone model: ASUS ZenPad 10 z300c

Re: No picture recognition

Post by Bearbear65 » Fri Sep 29, 2017 12:39

Add "count":2,
ImageJust my opinion
Caladrius is officially my favourite bird

User avatar
Brody Craft
Inhabitant of a Multiverse
Reactions:
Posts: 6613
Joined: Tue Jan 24, 2017 11:15
Location: SE Asia
Plugins: Show
Version: Beta
Phone model: Samsung Galaxy Tab 3

Re: No picture recognition

Post by Brody Craft » Fri Sep 29, 2017 12:54

Yes it is

New update
Do you want guns?
[youtube]https://youtube.com/watch?v=nk7Cj209GQg[/youtube]
28.49%

User avatar
JustAnyone
Feature manager
Reactions:
Posts: 2249
Joined: Sun Jul 23, 2017 12:45
Location: Phone repair service
Plugins: Show
Version: Beta
Phone model: Xiaomi Redmi 3s

Re: No picture recognition

Post by JustAnyone » Fri Sep 29, 2017 14:10

Brody Craft wrote: โ†‘
Fri Sep 29, 2017 12:54
Yes it is

New update
Wot?

User avatar
Brody Craft
Inhabitant of a Multiverse
Reactions:
Posts: 6613
Joined: Tue Jan 24, 2017 11:15
Location: SE Asia
Plugins: Show
Version: Beta
Phone model: Samsung Galaxy Tab 3

Re: No picture recognition

Post by Brody Craft » Fri Sep 29, 2017 14:16

Im getting confused with everything
Do you want guns?
[youtube]https://youtube.com/watch?v=nk7Cj209GQg[/youtube]
28.49%

User avatar
KINGTUT10101
1,000,000 inhabitants
Reactions:
Posts: 1749
Joined: Thu Jul 07, 2016 22:50
Location: 'Merica
Plugins: Show
Version: Beta
Phone model: Moto Z Force Droid

Re: No picture recognition

Post by KINGTUT10101 » Fri Sep 29, 2017 14:18

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.

User avatar
Josh
Graphic designer
Reactions:
Posts: 2199
Joined: Sat Mar 11, 2017 19:20
Location: The Netherlands
Plugins: Show
Version: Beta

Re: No picture recognition

Post by Josh » Fri Sep 29, 2017 19:17

But ive tried everything but also changing the name doesn't help. Jsonlint also says the code is valid
Proud TheoTown player sinds update 1.1.50

Creator of Aldorria, Covinton Empire, West Country, Sunnydale

Save nature, before it kills you๐ŸŒฒ

User avatar
Lobby
Developer
Reactions:
Posts: 3112
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Re: No picture recognition

Post by Lobby » Fri Sep 29, 2017 19:18

location.png
Are these paths correct? It's strange as it looks as if your files are in a sub directory of plugins.
...Have a nice stay

User avatar
Josh
Graphic designer
Reactions:
Posts: 2199
Joined: Sat Mar 11, 2017 19:20
Location: The Netherlands
Plugins: Show
Version: Beta

Re: No picture recognition

Post by Josh » Fri Sep 29, 2017 19:19

@Lobby Yes, I have stored all my plugins there
Proud TheoTown player sinds update 1.1.50

Creator of Aldorria, Covinton Empire, West Country, Sunnydale

Save nature, before it kills you๐ŸŒฒ

User avatar
Lobby
Developer
Reactions:
Posts: 3112
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Re: No picture recognition

Post by Lobby » Fri Sep 29, 2017 19:20

So you might consider to upload anything so we can test it.
...Have a nice stay

User avatar
Josh
Graphic designer
Reactions:
Posts: 2199
Joined: Sat Mar 11, 2017 19:20
Location: The Netherlands
Plugins: Show
Version: Beta

Re: No picture recognition

Post by Josh » Fri Sep 29, 2017 21:23

Try it out!
brick_decals_Josh_v1.zip
(2.45 KiB) Downloaded 6 times
Proud TheoTown player sinds update 1.1.50

Creator of Aldorria, Covinton Empire, West Country, Sunnydale

Save nature, before it kills you๐ŸŒฒ

User avatar
CommanderABab
Inhabitant of a Multiverse
Reactions:
Posts: 6221
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Re: No picture recognition

Post by CommanderABab » Fri Sep 29, 2017 21:30

Code: Select all

  "frames":"frames":[{"bmp":"brick1.png"},{"bmp":"brick2.png"}],
See the problem?
512512Currently using 512. 512 What's new? :)
Nice homes!
:)

Telegram - t.me/
๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธCommander๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธ

User avatar
Josh
Graphic designer
Reactions:
Posts: 2199
Joined: Sat Mar 11, 2017 19:20
Location: The Netherlands
Plugins: Show
Version: Beta

Re: No picture recognition

Post by Josh » Fri Sep 29, 2017 21:39

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 :?
Proud TheoTown player sinds update 1.1.50

Creator of Aldorria, Covinton Empire, West Country, Sunnydale

Save nature, before it kills you๐ŸŒฒ

User avatar
Josh
Graphic designer
Reactions:
Posts: 2199
Joined: Sat Mar 11, 2017 19:20
Location: The Netherlands
Plugins: Show
Version: Beta

Re: No picture recognition

Post by Josh » Fri Sep 29, 2017 21:41

Even if I change it to "active": false and I moved it sd cart it still didn't work. Big problems here :(
Proud TheoTown player sinds update 1.1.50

Creator of Aldorria, Covinton Empire, West Country, Sunnydale

Save nature, before it kills you๐ŸŒฒ

User avatar
Josh
Graphic designer
Reactions:
Posts: 2199
Joined: Sat Mar 11, 2017 19:20
Location: The Netherlands
Plugins: Show
Version: Beta

Re: No picture recognition

Post by Josh » Fri Sep 29, 2017 21:43

Just look
Moved it to sd cart
Screenshot_20170929-214103.png
But it still says this
Screenshot_20170929-103056.png
Proud TheoTown player sinds update 1.1.50

Creator of Aldorria, Covinton Empire, West Country, Sunnydale

Save nature, before it kills you๐ŸŒฒ

User avatar
CommanderABab
Inhabitant of a Multiverse
Reactions:
Posts: 6221
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Re: No picture recognition

Post by CommanderABab » Fri Sep 29, 2017 21:46

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"}],
512512Currently using 512. 512 What's new? :)
Nice homes!
:)

Telegram - t.me/
๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธCommander๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธ

User avatar
Josh
Graphic designer
Reactions:
Posts: 2199
Joined: Sat Mar 11, 2017 19:20
Location: The Netherlands
Plugins: Show
Version: Beta

Re: No picture recognition

Post by Josh » Fri Sep 29, 2017 21:56

Well not for me :(
Proud TheoTown player sinds update 1.1.50

Creator of Aldorria, Covinton Empire, West Country, Sunnydale

Save nature, before it kills you๐ŸŒฒ

User avatar
Lobby
Developer
Reactions:
Posts: 3112
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Re: No picture recognition

Post by Lobby » Fri Sep 29, 2017 23:36

@Josh I assume you have a second file brick_decals.json which lies directly in your plugins folder.
...Have a nice stay

User avatar
Josh
Graphic designer
Reactions:
Posts: 2199
Joined: Sat Mar 11, 2017 19:20
Location: The Netherlands
Plugins: Show
Version: Beta

Re: No picture recognition

Post by Josh » Sat Sep 30, 2017 10:30

Lobby wrote: โ†‘
Fri Sep 29, 2017 23:36
@Josh I assume you have a second file brick_decals.json which lies directly in your plugins folder.
No, I checked it 10 times or so. And my files even don't call it "b1" anymore. I changed the filename and the code to "brick1" but it still says it can't find b1. I think theotoen is just stuck on it
Proud TheoTown player sinds update 1.1.50

Creator of Aldorria, Covinton Empire, West Country, Sunnydale

Save nature, before it kills you๐ŸŒฒ

User avatar
Lobby
Developer
Reactions:
Posts: 3112
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Re: No picture recognition

Post by Lobby » Sat Sep 30, 2017 11:33

Memory in Android can be a nasty thing, but this is really strange. You might try to reboot the device.

Another thing is you might rename the plugins directory so the game shouldn't find any plugins anymore. After that you can hopefully get it running again.
...Have a nice stay

User avatar
CommanderABab
Inhabitant of a Multiverse
Reactions:
Posts: 6221
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Re: No picture recognition

Post by CommanderABab » Sat Sep 30, 2017 13:04

Have you taken Theotown out of your active tasks between iterations of the plugin?
512512Currently using 512. 512 What's new? :)
Nice homes!
:)

Telegram - t.me/
๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธCommander๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธ

User avatar
Josh
Graphic designer
Reactions:
Posts: 2199
Joined: Sat Mar 11, 2017 19:20
Location: The Netherlands
Plugins: Show
Version: Beta

Re: No picture recognition

Post by Josh » Sat Sep 30, 2017 14:19

Lobby wrote: โ†‘
Sat Sep 30, 2017 11:33
Memory in Android can be a nasty thing, but this is really strange. You might try to reboot the device.

Another thing is you might rename the plugins directory so the game shouldn't find any plugins anymore. After that you can hopefully get it running again.
Renaming the folder helped, but then somehow automitically another plugins folder was created, so I placed all my plugins there. A result if it is that all my placed plugins such as highway barriers disaepered. I am lucky they were only not a lot and replaceble
Proud TheoTown player sinds update 1.1.50

Creator of Aldorria, Covinton Empire, West Country, Sunnydale

Save nature, before it kills you๐ŸŒฒ

User avatar
Lobby
Developer
Reactions:
Posts: 3112
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Re: No picture recognition

Post by Lobby » Sat Sep 30, 2017 21:25

Yes, the plugin dir (with the sample plugin) is created automatically if missing.
...Have a nice stay

Post Reply Previous topicNext topic

Return to โ€œProblemsโ€

Who is online

Users browsing this forum: No registered users and 1 guest

๏ปฟ