Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.96a is out! (05/05/23); Blog post: Colony Crises (11/24/23)

Author Topic: JSON ERROR?  (Read 322 times)

Stelarwand030

  • Lieutenant
  • **
  • Posts: 58
    • View Profile
JSON ERROR?
« on: December 24, 2022, 02:05:35 PM »

The game worked yesterday and now i am getting a JSON error. I changed one thing IN Tahlan weapons data. I changed it back and am still getting the error. how do i fix this?

17723 [Thread-3] ERROR com.fs.starfarer.combat.CombatMain  - org.json.JSONException: JSONObject["name"] not found.
org.json.JSONException: JSONObject["name"] not found.
   at org.json.JSONObject.get(JSONObject.java:406)
   at org.json.JSONObject.getString(JSONObject.java:577)
   at com.fs.starfarer.loading.WeaponSpreadsheetLoader.Ò00000(Unknown Source)
   at com.fs.starfarer.loading.SpecStore.public(Unknown Source)
   at com.fs.starfarer.loading.ResourceLoaderState.init(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher.o00000(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)

I re-downloaded it and it works again. but every time i try and make the same change i get the same error.

I am trying to unhide the PHIRA weapon from Tahlan shipworks. I removed the system tag and the game crashes.
« Last Edit: December 24, 2022, 02:45:14 PM by Stelarwand030 »
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 23020
    • View Profile
Re: jSON ERROR?
« Reply #1 on: December 24, 2022, 02:07:33 PM »

The easiest thing to do would probably be to download the mod again.
Logged

Stelarwand030

  • Lieutenant
  • **
  • Posts: 58
    • View Profile
Re: jSON ERROR?
« Reply #2 on: December 24, 2022, 02:29:47 PM »

The easiest thing to do would probably be to download the mod again.

I did thanks. but i am stil having problems with the weapon. For some reason its hidden. its a built in weapon on the Metafalica from the tahlan shipworks mod. I can remove it from built in easily enough but the weapon does not show up on the weapons list. I can see it in my inventory though.
« Last Edit: December 24, 2022, 02:45:51 PM by Stelarwand030 »
Logged