No picture recognition

Plugin specific problems will be solved here.
User avatar
Josh
Graphic designer
Reactions:
Posts: 2233
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
Matison55557
Inhabitant of a Universe
Reactions:
Posts: 4707
Joined: Mon Jul 04, 2016 18:49
Location: Poland
Plugins: Show
Version: Beta
Phone: Huawei P9 lite mini

Re: No picture recognition

Post by Matison55557 » Fri Sep 29, 2017 10:44

That's so strange. Maybe try a different, longer name? Not saying that this will 100% work but worth a try.

User avatar
Josh
Graphic designer
Reactions:
Posts: 2233
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: 2233
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: 4223
Joined: Fri Feb 10, 2017 14:53
Location: Earth
Plugins: Show
Version: Beta
Phone: Asus zenpad 10

Re: No picture recognition

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

Add "count":2,
ImageJust my opinion

User avatar
Matison55557
Inhabitant of a Universe
Reactions:
Posts: 4707
Joined: Mon Jul 04, 2016 18:49
Location: Poland
Plugins: Show
Version: Beta
Phone: Huawei P9 lite mini

Re: No picture recognition

Post by Matison55557 » Fri Sep 29, 2017 12:52

Bearbear65 wrote: โ†‘
Fri Sep 29, 2017 12:39
Add "count":2,
Uh I don't think it works that way

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

Re: No picture recognition

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

Yes it is

New update
Im the android sent by Cyberlife.
https://m.youtube.com/watch?v=nk7Cj209GQg
28.49%

User avatar
JustAnyone
Feature manager
Reactions:
Posts: 1972
Joined: Sun Jul 23, 2017 12:45
Location: TheoTown command centre
Plugins: Show
Version: Beta
Phone: 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?
Founder and owner of DSA
TheoTown discord manager
Developer of Plugin Creator Application.

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

Re: No picture recognition

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

Im getting confused with everything
Im the android sent by Cyberlife.
https://m.youtube.com/watch?v=nk7Cj209GQg
28.49%

User avatar
KINGTUT10101
1,000,000 inhabitants
Reactions:
Posts: 1653
Joined: Thu Jul 07, 2016 22:50
Location: 'Merica
Plugins: Show
Version: Beta
Phone: 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: 2233
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: 2946
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone: 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: 2233
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: 2946
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone: 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: 2233
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: 5715
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?
486486Currently using 486. 486 What's new? :)
Urban rails, search!
:)

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

User avatar
Josh
Graphic designer
Reactions:
Posts: 2233
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: 2233
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: 2233
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: 5715
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"}],
486486Currently using 486. 486 What's new? :)
Urban rails, search!
:)

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

User avatar
Josh
Graphic designer
Reactions:
Posts: 2233
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: 2946
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone: 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: 2233
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: 2946
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone: 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: 5715
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?
486486Currently using 486. 486 What's new? :)
Urban rails, search!
:)

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

Post Reply

Return to โ€œProblemsโ€

Who is online

Users browsing this forum: No registered users and 2 guests

๏ปฟ