Page 1 of 1

I can't open TT because of wrong plug in

Posted: 20 Apr 2017, 11:41
by BetterBear
Anyone help? It says, "Error: Expected ":" in "power/water: 1/1" in character 96 ]

I wrote, "power/water: -1/-1"

Is anything wrong?

Posted: 20 Apr 2017, 11:48
by Lookatmemeow
It should be

Code: Select all

"power":1,
"water":1,

Posted: 20 Apr 2017, 11:56
by BetterBear
Here is the JSON:

Code: Select all

[
   {
"Id":" firstbetterbearplugin",
"type":" Residential",
"Level": 1,
" power/water: -1/-1",
"habitants":" 6",
"build time":" 8",
"author":" BetterBear",
"width":" 1",
"Length":" 1",
"frames":" my first building_BMP.png"
   }
]
[code]

Posted: 20 Apr 2017, 11:56
by BetterBear
Oh Ok gonna try it again

Posted: 20 Apr 2017, 12:03
by Lookatmemeow
And also for frames :

Code: Select all

"frames":
[{"bmp":"myfirstbuilding_bmp.png"}]
And make sure that the image in the folder has this exact name

Posted: 20 Apr 2017, 13:02
by BetterBear
And now I DID everything correctly... But my building didnt appear in the menu. Wow, I'm having headaches!

Posted: 20 Apr 2017, 14:12
by Ahmad Nur Aizat
How big is the tile of your plugin?

Posted: 20 Apr 2017, 14:19
by BetterBear
former member wrote:Make sure you have using good picture? Also power and water are two things, not "power/water"
Good pic? Did it have to do something with the resolution? I use 64x64 pixels even on only one tile.

I mean, the error message stopped appearing, the JSON and picture is now fine. What I do is I make two separate files, " my first plug in_Bmp.PNG." and a "my first plug in_DSC.json
Before that I usually forget some things in coding, especially the apostrophes thingys. Now I'm 100% sure its fine. My tiny house has:

Id: betterbearfirst plugin
Author: BetterBear
frames: idk if it was " my first plug in_BMP.PNG" or "my first plug in_DSC.JSON". I always choose the "my first plug in_BMP.PNG". If this is what I'm doing wrong, please tell me.
Water: 1
Power: 1
Build time: 10
Habitants: 6
Level: 1
Width: 1
Length: 1
type: residential

Posted: 20 Apr 2017, 14:19
by BetterBear
Ahmad Nur Aizat wrote:How big is the tile of your plugin?

16x32, or something like that

Posted: 20 Apr 2017, 14:22
by BetterBear
Please help me, I'm so excited to use my own plug in in TT! Also, I'm gonna share it to you guys, but idk how to give the link of a plug in

Posted: 20 Apr 2017, 14:23
by Ahmad Nur Aizat
BetterBear wrote:Please help me, I'm so excited to use my own plug in in TT! Also, I'm gonna share it to you guys, but idk how to give the link of a plug in
Can you send the file to former member via email?

Ask him the address

Posted: 20 Apr 2017, 14:55
by BetterBear
Ahmad Nur Aizat wrote:
BetterBear wrote:Please help me, I'm so excited to use my own plug in in TT! Also, I'm gonna share it to you guys, but idk how to give the link of a plug in
Can you send the file to former member via email?

Ask him the address
Maybe not anymore, I'm very rarely check my messages at Gmail or else.

Also I turned their notifications off because of sometimes they can be really spam my

Posted: 20 Apr 2017, 19:27
by Lookatmemeow
Send me the .jsonand .png via PM

I'll figure it out for you :)