Page 1 of 1

Json file

Posted: 22 Feb 2017, 13:42
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

Posted: 22 Feb 2017, 14:13
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

Posted: 22 Feb 2017, 14:15
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.

Posted: 22 Feb 2017, 14:22
by Sometheotown mayor
I don't understand so here is the error.log
Image

Posted: 22 Feb 2017, 14:25
by khadafi laidi
please copy the code from "how to write plugin". I hope this help

Posted: 22 Feb 2017, 14:27
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.

Posted: 22 Feb 2017, 14:28
by Sometheotown mayor
I did

Posted: 22 Feb 2017, 14:28
by Sometheotown mayor
Ok wait

Posted: 22 Feb 2017, 14:33
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

Posted: 22 Feb 2017, 14:34
by Lobby
Only remove the outer "Code":{ and }.

Posted: 22 Feb 2017, 14:36
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

Posted: 22 Feb 2017, 14:46
by Sometheotown mayor
Wait i'm going too take your oweko furniture.json as an example be right back

Posted: 22 Feb 2017, 15:01
by Sometheotown mayor
Why is it so complicated :lol:
Image
Image

Posted: 22 Feb 2017, 15:14
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.

Posted: 22 Feb 2017, 15:16
by Sometheotown mayor
Ok would word or just a note pad work ?

Posted: 22 Feb 2017, 15:22
by Sometheotown mayor
Yeah i give up 😂😂

Posted: 22 Feb 2017, 15:28
by Lobby
notepad would be better

Posted: 23 Feb 2017, 13:37
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