I can't open TT because of wrong plug in

Do you have any issues? Don't hesitate to tell us about it.
User avatar
BetterBear
Inhabitant of a Galaxy Cluster
Reactions:
Posts: 2896
Joined: 18 Apr 2017, 09:03
Location: In a place you don't expect.
Plugins: Showcase Store
Version: Beta

Platform

I can't open TT because of wrong plug in

#1

Post 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?

User avatar
Lookatmemeow
Metropolitan
Reactions:
Posts: 123
Joined: 19 Apr 2017, 23:31
Location: The litterbox
Plugins: Showcase Store

Platform

#2

Post by Lookatmemeow »

It should be

Code: Select all

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

User avatar
BetterBear
Inhabitant of a Galaxy Cluster
Reactions:
Posts: 2896
Joined: 18 Apr 2017, 09:03
Location: In a place you don't expect.
Plugins: Showcase Store
Version: Beta

Platform

#3

Post 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]

User avatar
BetterBear
Inhabitant of a Galaxy Cluster
Reactions:
Posts: 2896
Joined: 18 Apr 2017, 09:03
Location: In a place you don't expect.
Plugins: Showcase Store
Version: Beta

Platform

#4

Post by BetterBear »

Oh Ok gonna try it again

User avatar
Lookatmemeow
Metropolitan
Reactions:
Posts: 123
Joined: 19 Apr 2017, 23:31
Location: The litterbox
Plugins: Showcase Store

Platform

#5

Post 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

User avatar
BetterBear
Inhabitant of a Galaxy Cluster
Reactions:
Posts: 2896
Joined: 18 Apr 2017, 09:03
Location: In a place you don't expect.
Plugins: Showcase Store
Version: Beta

Platform

#6

Post by BetterBear »

And now I DID everything correctly... But my building didnt appear in the menu. Wow, I'm having headaches!

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

Plugin Creator

Platform

#7

Post by Ahmad Nur Aizat »

How big is the tile of your plugin?

User avatar
BetterBear
Inhabitant of a Galaxy Cluster
Reactions:
Posts: 2896
Joined: 18 Apr 2017, 09:03
Location: In a place you don't expect.
Plugins: Showcase Store
Version: Beta

Platform

#8

Post 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
Last edited by BetterBear on 20 Apr 2017, 14:21, edited 1 time in total.

User avatar
BetterBear
Inhabitant of a Galaxy Cluster
Reactions:
Posts: 2896
Joined: 18 Apr 2017, 09:03
Location: In a place you don't expect.
Plugins: Showcase Store
Version: Beta

Platform

#9

Post by BetterBear »

Ahmad Nur Aizat wrote:How big is the tile of your plugin?

16x32, or something like that

User avatar
BetterBear
Inhabitant of a Galaxy Cluster
Reactions:
Posts: 2896
Joined: 18 Apr 2017, 09:03
Location: In a place you don't expect.
Plugins: Showcase Store
Version: Beta

Platform

#10

Post 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

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

Plugin Creator

Platform

#11

Post 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

User avatar
BetterBear
Inhabitant of a Galaxy Cluster
Reactions:
Posts: 2896
Joined: 18 Apr 2017, 09:03
Location: In a place you don't expect.
Plugins: Showcase Store
Version: Beta

Platform

#12

Post 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

User avatar
Lookatmemeow
Metropolitan
Reactions:
Posts: 123
Joined: 19 Apr 2017, 23:31
Location: The litterbox
Plugins: Showcase Store

Platform

#13

Post by Lookatmemeow »

Send me the .jsonand .png via PM

I'll figure it out for you :)

Post Reply Previous topicNext topic

Return to “Problems and Errors (bugs)”