Json file

Do you have any issues? Don't hesitate to tell us about it.
User avatar
Sometheotown mayor
Has uncountable inhabitants
Posts: 1548
Joined: 28 Jan 2017, 21:37
Location: Somewhere in the middle of russia
Plugins: Showcase Store

Platform

Json file

#1

Post by Sometheotown mayor »

Am i doing something wrong ?
Obviously yes but what ?whenever i launch the gmae with this plugin in it it crashes

~Image removed due to inappropriate content~ Lobby
Image

User avatar
Sometheotown mayor
Has uncountable inhabitants
Posts: 1548
Joined: 28 Jan 2017, 21:37
Location: Somewhere in the middle of russia
Plugins: Showcase Store

Platform

#2

Post by Sometheotown mayor »

I used the ground plate from sample.png
But it still doesn't work i think it's something in the, codeImage

User avatar
Lobby
Developer
Posts: 3719
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

#3

Post by Lobby »

It's most likely that you have a misspelling in the file name. Are you sure it has the ending .bmp.png? That would be confusing.

Find the error.log file in plugins directory for more information about what went wrong.

User avatar
Sometheotown mayor
Has uncountable inhabitants
Posts: 1548
Joined: 28 Jan 2017, 21:37
Location: Somewhere in the middle of russia
Plugins: Showcase Store

Platform

#4

Post by Sometheotown mayor »

I don't understand so here is the error.log
Image

User avatar
khadafi laidi
Inhabitant of a Planet
Posts: 1313
Joined: 16 Dec 2016, 13:11
Location: Ternate, Indonesia
Plugins: Showcase Store
Version: Beta

Platform

#5

Post by khadafi laidi »

please copy the code from "how to write plugin". I hope this help

User avatar
Lobby
Developer
Posts: 3719
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

#6

Post by Lobby »

Your JSON-file looks like

Code: Select all

{"Code":[
    ...
]}
Remove the outer tags so you have

Code: Select all

[
    ...
]
then it should work.

User avatar
Sometheotown mayor
Has uncountable inhabitants
Posts: 1548
Joined: 28 Jan 2017, 21:37
Location: Somewhere in the middle of russia
Plugins: Showcase Store

Platform

#7

Post by Sometheotown mayor »

I did

User avatar
Sometheotown mayor
Has uncountable inhabitants
Posts: 1548
Joined: 28 Jan 2017, 21:37
Location: Somewhere in the middle of russia
Plugins: Showcase Store

Platform

#8

Post by Sometheotown mayor »

Ok wait

User avatar
Sometheotown mayor
Has uncountable inhabitants
Posts: 1548
Joined: 28 Jan 2017, 21:37
Location: Somewhere in the middle of russia
Plugins: Showcase Store

Platform

#9

Post by Sometheotown mayor »

100 posts!!

i don't really understand what i should do i'm horrible with codes and such i tried removing the [ things but nope

User avatar
Lobby
Developer
Posts: 3719
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

#10

Post by Lobby »

Only remove the outer "Code":{ and }.

User avatar
Sometheotown mayor
Has uncountable inhabitants
Posts: 1548
Joined: 28 Jan 2017, 21:37
Location: Somewhere in the middle of russia
Plugins: Showcase Store

Platform

#11

Post by Sometheotown mayor »

Ok but what can i put as a title because the app i use doesn't let me save without a title

User avatar
Sometheotown mayor
Has uncountable inhabitants
Posts: 1548
Joined: 28 Jan 2017, 21:37
Location: Somewhere in the middle of russia
Plugins: Showcase Store

Platform

#12

Post by Sometheotown mayor »

Wait i'm going too take your oweko furniture.json as an example be right back

User avatar
Sometheotown mayor
Has uncountable inhabitants
Posts: 1548
Joined: 28 Jan 2017, 21:37
Location: Somewhere in the middle of russia
Plugins: Showcase Store

Platform

#13

Post by Sometheotown mayor »

Why is it so complicated :lol:
Image
Image

User avatar
Lobby
Developer
Posts: 3719
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

#14

Post by Lobby »

I would suggest to work with a simple text editor instead. These specified json-editors might add something to your file which you cannot see.

User avatar
Sometheotown mayor
Has uncountable inhabitants
Posts: 1548
Joined: 28 Jan 2017, 21:37
Location: Somewhere in the middle of russia
Plugins: Showcase Store

Platform

#15

Post by Sometheotown mayor »

Ok would word or just a note pad work ?

User avatar
Sometheotown mayor
Has uncountable inhabitants
Posts: 1548
Joined: 28 Jan 2017, 21:37
Location: Somewhere in the middle of russia
Plugins: Showcase Store

Platform

#16

Post by Sometheotown mayor »

Yeah i give up 😂😂

User avatar
Lobby
Developer
Posts: 3719
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

#17

Post by Lobby »

notepad would be better

User avatar
Ahmad Nur Aizat
TheoTown Veteran
Posts: 8260
Joined: 25 Oct 2016, 15:20
Location: Johor Bahru
Plugins: Showcase Store
Version: Beta
Contact:

Plugin Creator

Platform

#18

Post by Ahmad Nur Aizat »

First question...

What pixel drawing app you use?

Then...

I would too suggest the QuickEdit app, which allows you to edit any documents including the .JSON file

Post Reply Previous topicNext topic

Return to “Problems and Errors (bugs)”