Modding Help Game Crashes while Loading

Discussion in 'Starbound Modding' started by froinchi, Jul 8, 2018.

  1. froinchi

    froinchi Void-Bound Voyager

    Hello. I have a problem. I am coding my own mode,but when I try to open the game it crashes on loading screen. I've dropped my log file into the thread. Please help me! Thanks. :catcry:
     

    Attached Files:

  2. Iris Blanche

    Iris Blanche Pudding Paradox Forum Moderator

    Seems your mod is faulty in this case. I moved your topic to the modding section.
     
    froinchi likes this.
  3. projectmayhem

    projectmayhem Spaceman Spiff

    Here is what we see when we look at your error log...

    Code:
    [03:09:30.405] [Error] Exception caught loading asset: /player.config, (AssetException) Could not read JSON asset /player.config
    This means there is an error in your player.config.patch file So then we keep looking to see what caused it.

    Code:
    Caused by: (JsonParsingException) Error parsing json: bad object, should be '}' or ',' at 7:3
    At some point, near the 7 line of code, and three spaces over, it thinks there should be a } or a ,

    there is also this...
    Code:
    [Error] Exception caught loading asset: /player.config:beamGunConfig, (AssetException) Could not read JSON asset /player.config:beamGunConfig
    which may help you determine where it's messed up.

    If you cant find the error, post your player.config.patch and i'll see if i can help
     
    froinchi likes this.
  4. froinchi

    froinchi Void-Bound Voyager

    I've uploaded it. Thanks for your help!
    EDIT: Forum page gave me an error. Here is the download link: http://www.mediafire.com/file/4rrsvy72rwfdi6i/player.config.zip
    I am sorry about that.
     

    Attached Files:

  5. projectmayhem

    projectmayhem Spaceman Spiff

    I dont think you can lump them together like that. try this..
    Code:
    [
    {
       "op":"add", "path":"/defaultBlueprints/tier1/-", "value": {"item":"ataturk"},
       "op":"add", "path":"/defaultBlueprints/tier1/-", "value": {"item":"portraitflag"},
       "op":"add", "path":"/defaultBlueprints/tier1/-", "value":  {"item":"trcheckpoint"}
        }
    ]
    Also note, that inside the player config inventorstable is not part of the pathing. It's commented out like this

    // Inventors Table
     
    froinchi likes this.
  6. froinchi

    froinchi Void-Bound Voyager

    Thanks! How do I make crafts craft into the inventorstable?
     
  7. projectmayhem

    projectmayhem Spaceman Spiff

    You need to make a recipe file for your item.
    For an example, go into your assets (assuming you have them unpacked) and look in your /recipes/inventorstable/ folder. Or if you want them to craft on the second or third stage, look in the other two inventors table recipe folders.
     
    froinchi likes this.

Share This Page