Trylobot / sf-ship-ed

Starfarer Ship and Data Editor, for Modders
Other
9 stars 7 forks source link

CTD after save the shipdata.csv #35

Open DietrichT opened 7 years ago

DietrichT commented 7 years ago

hello tylobot

I found some problem when I tried to use Ship editior,please have a look.

AFTER I save 'shipdata.csv',I can no longer enter the game,it always stuck on the loading screen and CTD,but when I replaced it withthe original file,the game works nomally.So I copied part of 'starsector.log'below(start and end with '@',the ship I made is 'QueenBee')

@20680 [Thread-4] WARN com.fs.starfarer.loading.ShipHullSpreadsheetLoader - Ship hull [QueenBee] from ship_data.csv not found in store 20808 [Thread-7] INFO com.fs.starfarer.loading.scripts.ScriptStore - Class [data.weapons.scripts.ALF_610x5_Torpedo_Effect] already loaded (perhaps from jar file, or due to a reference from another class), skipping compilation. 20940 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain - java.lang.NullPointerException java.lang.NullPointerException at com.fs.starfarer.loading.ShipHullSpecLoader.super(Unknown Source) at com.fs.starfarer.loading.ShipHullSpreadsheetLoader.super(Unknown Source) at com.fs.starfarer.loading.SpecStore.OO0000(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$1.run(Unknown Source) at java.lang.Thread.run(Unknown Source)@

It will be great if you can help,THX

DietrichT-AI

Trylobot commented 7 years ago

@DietrichT It looks like you've added a ship "QueenBee" to the ship_data.csv, but not created a *.ship file to go with it. Or, at least, the game can't find what it's looking for. Is "QueenBee" the name or the ID of the hull? Can you attach both the original and modified ship_data.csv and the QueenBee.ship so I can take a look?

DietrichT commented 6 years ago

@Trylobot Thank you for answering me and this suggestion works well!!!!Sorry for replying so late cause I was on a study trip, thanks again!!!!!!(can not upload the ship_data.csv and .ship file on Git hub)