[Asked][1.10.45a] Plugin crash (modern hotel.json:175)

When a post is too long...
And of little value...
It's coming here

Moderator: JR Moderators

Forum rules
The new rule of Jailhouse rock is
1:Please Behave!
2:Do not fight
3:Do not making fun of someone else
4:Do not showing a picture that make offended someone else
User avatar
Naufhal
Inhabitant of a Supercluster
Posts: 3752
Joined: 07 Oct 2021, 06:04
Location: Indonesia
Plugins: Showcase Store

Plugin Creator

Platform

[Asked][1.10.45a] Plugin crash (modern hotel.json:175)

#1

Post by Naufhal »

Hi, I got the following error with a plugin (modern hotel.json:175):

Code: Select all

In plugins/hotel/modern hotel.json:

java.lang.IllegalStateException: When loading "685086wq01oedo0": Please specify width and height attributes. They have to be equal and >=1
Device: SM-A307GN (samsung)
OS version: 30

Thank you in advance.

User avatar
Naufhal
Inhabitant of a Supercluster
Posts: 3752
Joined: 07 Oct 2021, 06:04
Location: Indonesia
Plugins: Showcase Store

Plugin Creator

Platform

Re: [Asked][1.10.45a] Plugin crash (modern hotel.json:175)

#2

Post by Naufhal »

My plugin Name is Modern Hotel

User avatar
Naufhal
Inhabitant of a Supercluster
Posts: 3752
Joined: 07 Oct 2021, 06:04
Location: Indonesia
Plugins: Showcase Store

Plugin Creator

Platform

Re: [Asked][1.10.45a] Plugin crash (modern hotel.json:175)

#3

Post by Naufhal »

@CommanderABab. I have my problem in my plugin. Im not spamming.

User avatar
Naufhal
Inhabitant of a Supercluster
Posts: 3752
Joined: 07 Oct 2021, 06:04
Location: Indonesia
Plugins: Showcase Store

Plugin Creator

Platform

Re: [Asked][1.10.45a] Plugin crash (modern hotel.json:175)

#4

Post by Naufhal »

CommanderABab wrote:
16 Mar 2022, 18:00
It says you need these statements and that # should be the same for each.

Code: Select all

"width":#,
"height":#,

Code: Select all

[{
    "id":"685086wq01oedo0",
    "type":"residential",
    "author":"Naufhal",
    "width":6,
    "height":6,
    "frames":[{"bmp":"modern hotel.png"}],
    "level":3,
    "needs road":true,
    "needs land":true,
    "needs water":false,
    "habitants":1250,
    "auto build":true,
    "destroyable":true,
    "removeable":true
}]
I Was Fixed. Width and height using 6x6. Thanks to fixing!

Post Reply Previous topicNext topic

Return to “Jailhouse Rock”