[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: 51
Joined: 07 Sep 2024, 13:29

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

#1

Post by Lucas Munerati » 12 Feb 2025, 21:27

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: 252
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 » 13 Feb 2025, 12:26

Could you show the JSON code?
User avatar
Lucas Munerati
Townsman
Posts: 51
Joined: 07 Sep 2024, 13:29

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

#3

Post by Lucas Munerati » 13 Feb 2025, 13:17

UltronixOmegaFactoryMX1.json
(227 Bytes) Downloaded 64 times
User avatar
Lucas Munerati
Townsman
Posts: 51
Joined: 07 Sep 2024, 13:29

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

#4

Post by Lucas Munerati » 13 Feb 2025, 13:18

I get the strange name,but its still an industrial
User avatar
dnswodn
Inhabitant of a Megacity
Posts: 252
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 » 13 Feb 2025, 13:25

Thank you
User avatar
dnswodn
Inhabitant of a Megacity
Posts: 252
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 » 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
User avatar
Lucas Munerati
Townsman
Posts: 51
Joined: 07 Sep 2024, 13:29

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

#7

Post by Lucas Munerati » 13 Feb 2025, 16:12

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: 252
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 » 13 Feb 2025, 16:35

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: 51
Joined: 07 Sep 2024, 13:29

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

#9

Post by Lucas Munerati » 13 Feb 2025, 17:19

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: 51
Joined: 07 Sep 2024, 13:29

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

#10

Post by Lucas Munerati » 13 Feb 2025, 17:21

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: 252
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 » 14 Feb 2025, 13:19

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”