[Asked][1.12.13a] Plugin crash (ultronixomegafactorymx1.json:200)

Plugin specific problems will be solved here.

Moderators: Scenario Moderators, Plugin Moderators

User avatar
Lucas Munerati
Townsman
Posts: 48
Joined: 07 Sep 2024, 13:29

[Asked][1.12.13a] Plugin crash (ultronixomegafactorymx1.json:200)

#1

Post by Lucas Munerati »

Hello im Lucas munerati,Remember me so, I got the following error with a plugin (ultronixomegafactorymx1.json:200):

Code: Select all

In plugins/new_folder/ultronixomegafactorymx1.json:

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

Extra info: I already had the height and width,on 4 Because i was making an 4x4 building,Also i was trying to make an Op industrial building,That looked like an Ecologic and More clean version of the Simcity 2013 Ômega co. C.O.T,also My idea for my building,was that its not only a powerful industrial building,With 86000 workers,But it Makes like 10.000 to 20.000 of supply,Just so i can make easy supplies After placing 1 of my Plugin,especially for the Moon base mission,Alright,You guys get it right? Ok.

User avatar
dnswodn
Inhabitant of a Megacity
Posts: 250
Joined: 08 Feb 2022, 08:14
Location: 🏞️ Theonia 🌁
Plugins: Showcase Store

Plugin Creator

Platform

Re: [Asked][1.12.13a] Plugin crash (ultronixomegafactorymx1.json:200)

#2

Post by dnswodn »

Could you show the JSON code?

User avatar
Lucas Munerati
Townsman
Posts: 48
Joined: 07 Sep 2024, 13:29

Re: [Asked][1.12.13a] Plugin crash (ultronixomegafactorymx1.json:200)

#3

Post by Lucas Munerati »

UltronixOmegaFactoryMX1.json
(227 Bytes) Downloaded 56 times

User avatar
Lucas Munerati
Townsman
Posts: 48
Joined: 07 Sep 2024, 13:29

Re: [Asked][1.12.13a] Plugin crash (ultronixomegafactorymx1.json:200)

#4

Post by Lucas Munerati »

I get the strange name,but its still an industrial

User avatar
dnswodn
Inhabitant of a Megacity
Posts: 250
Joined: 08 Feb 2022, 08:14
Location: 🏞️ Theonia 🌁
Plugins: Showcase Store

Plugin Creator

Platform

Re: [Asked][1.12.13a] Plugin crash (ultronixomegafactorymx1.json:200)

#5

Post by dnswodn »

Thank you

User avatar
dnswodn
Inhabitant of a Megacity
Posts: 250
Joined: 08 Feb 2022, 08:14
Location: 🏞️ Theonia 🌁
Plugins: Showcase Store

Plugin Creator

Platform

Re: [Asked][1.12.13a] Plugin crash (ultronixomegafactorymx1.json:200)

#6

Post by dnswodn »

The problem is that there are two superfluous spaces.

Code: Select all    Reset

[ { "frames": [ { "bmp": "UltronixTTPSF.png" } ], "id": "UltronixOmegaFactorioA01", "type": "industrial", "width ": 4, // Should be "width": 4, "height ": 4, // Same, Should be "height": 4, "workers": 86000, "level": 3, "build time": 0, "author": "Lucas m", "title": "UltronixOmegaFactoryZX1", "active": "true" } ]
JSON checker
Check

User avatar
Lucas Munerati
Townsman
Posts: 48
Joined: 07 Sep 2024, 13:29

Re: [Asked][1.12.13a] Plugin crash (ultronixomegafactorymx1.json:200)

#7

Post by Lucas Munerati »

dnswodn wrote:
13 Feb 2025, 13:33
The problem is that there are two superfluous spaces.

Code: Select all    Reset

[ { "frames": [ { "bmp": "UltronixTTPSF.png" } ], "id": "UltronixOmegaFactorioA01", "type": "industrial", "width ": 4, // Should be "width": 4, "height ": 4, // Same, Should be "height": 4, "workers": 86000, "level": 3, "build time": 0, "author": "Lucas m", "title": "UltronixOmegaFactoryZX1", "active": "true" } ]
JSON checker
Check


I tried removing the
Two superfluous spaces? And mess a bit with the json,But it didnt work, for me!

User avatar
dnswodn
Inhabitant of a Megacity
Posts: 250
Joined: 08 Feb 2022, 08:14
Location: 🏞️ Theonia 🌁
Plugins: Showcase Store

Plugin Creator

Platform

Re: [Asked][1.12.13a] Plugin crash (ultronixomegafactorymx1.json:200)

#8

Post by dnswodn »

Is there an another error? If there is, Please also provide the error information. Sorry I may not notice all mistakes.

User avatar
Lucas Munerati
Townsman
Posts: 48
Joined: 07 Sep 2024, 13:29

Re: [Asked][1.12.13a] Plugin crash (ultronixomegafactorymx1.json:200)

#9

Post by Lucas Munerati »

Hi, I got the following error with a plugin (megaotopicacrazybuilding-4.json:424):

Code: Select all

In plugins/new_folder/megaotopicacrazybuilding-4.json:

info.flowersoft.theotown.util.json.JSONException: Value {"frames":[{"bmp":"UltronixTTPSF.png"}],"id":"UltronixOmegaFactorioA01","type":"industrial","width ":4,"height ":4,"workers":86000,"level":3,"build time":0,"author":"Lucas m","title":"UltronixOmegaFactoryZX1","active":"true"} of type info.flowersoft.theotown.util.json.JSONObject cannot be converted to JSONArray
Device: SM-A155M (samsung)
OS version: 34

Thank you in advance.

User avatar
Lucas Munerati
Townsman
Posts: 48
Joined: 07 Sep 2024, 13:29

Re: [Asked][1.12.13a] Plugin crash (ultronixomegafactorymx1.json:200)

#10

Post by Lucas Munerati »

I know its a different file,But im also a bit crazy,but there is the error,But in the code all i did was open an online json text editor,and remove certain parts,ok.

User avatar
dnswodn
Inhabitant of a Megacity
Posts: 250
Joined: 08 Feb 2022, 08:14
Location: 🏞️ Theonia 🌁
Plugins: Showcase Store

Plugin Creator

Platform

Re: [Asked][1.12.13a] Plugin crash (ultronixomegafactorymx1.json:200)

#11

Post by dnswodn »

Er why did you remove the outermost brackets? Just correct the code using the method I provided above.

Post Reply Previous topicNext topic

Return to “Problems”