Modding Help Requesting help interpreting log error

Discussion in 'Starbound Modding' started by AmazonValkyrie, Jul 22, 2016.

  1. AmazonValkyrie

    AmazonValkyrie Spaceman Spiff

    While updating my mod work, I ran into a crash error that I can't figure out, and was hoping someone might have an idea to what my log may be referring to, as my log file doesn't seem to reference any particular file location. Any help or advice is greatly appreciated!

    Code:
    [04:03:45.347] [Info] Root: Preparing Root...
    [04:03:45.349] [Info] Root: Done preparing Root.
    [04:03:45.349] [Info] Client Version 1.0 (windows x86_64) Source ID: ff8a4905d7ac9d4cea9c9374444c1a68ba953e08 Protocol: 723
    [04:03:45.349] [Info] Root: Scanning for asset sources in directory '..\assets\'
    [04:03:45.850] [Info] Root: Scanning for asset sources in directory '..\mods\'
    [04:03:45.898] [Warn] Root: Unrecognized file in asset directory 'mods_go_here', skipping
    [04:03:45.898] [Info] Root: Detected asset source named 'base' at '..\assets\packed.pak'
    [04:03:45.898] [Info] Root: Detected unnamed asset source at '..\mods\Additional Species 1'
    [04:03:45.898] [Info] Root: Detected unnamed asset source at '..\mods\Human Eye'
    [04:03:45.898] [Info] Root: Detected unnamed asset source at '..\mods\Viera'
    [04:03:45.898] [Info] Root: Detected unnamed asset source at '..\assets\user'
    [04:03:45.898] [Info] Loading assets from: '..\assets\packed.pak'
    [04:03:46.494] [Info] Loading assets from: '..\mods\Additional Species 1'
    [04:03:46.495] [Info] Loading assets from: '..\mods\Human Eye'
    [04:03:46.495] [Info] Loading assets from: '..\mods\Viera'
    [04:03:46.652] [Info] Loading assets from: '..\assets\user'
    [04:03:48.216] [Info] Assets digest is dabf4038599e23fdb00f544e23202ee71b3d8c4e24081e0cdef2943555e34a36
    [04:03:48.216] [Info] Root: Loaded Assets in 2.86716 seconds
    [04:03:48.221] [Info] Application: Initializing SDL Video
    [04:03:48.227] [Info] Application: Initializing SDL Joystick
    [04:03:48.255] [Info] Application: Initializing SDL Sound
    [04:03:48.339] [Info] Initialized Steam services
    [04:03:48.339] [Info] Application: Creating SDL Window
    [04:03:48.485] [Info] Application: Enabling VSync with late swap tearing
    [04:03:48.503] [Info] Application: Opened default audio device with 44.1khz / 16 bit stereo audio, 2048 sample size buffer
    [04:03:48.521] [Info] OpenGL version: '4.5.0 NVIDIA 368.69' vendor: 'NVIDIA Corporation' renderer: 'GeForce GTX 650 Ti/PCIe/SSE2' shader: '4.50 NVIDIA'
    [04:03:48.526] [Info] Application: initialization...
    [04:03:48.528] [Info] Root: Loaded Configuration in 0.00116728 seconds
    [04:03:48.533] [Info] Application: renderer initialization...
    [04:03:48.537] [Info] Root: Loaded ImageMetadataDatabase in 9.48e-06 seconds
    [04:03:48.560] [Info] Application: main update loop...
    [04:03:48.562] [Info] No subscribed user generated content
    [04:03:48.569] [Info] Root: Loaded NameGenerator in 0.0062404 seconds
    [04:03:48.627] [Error] OpenGL errors this frame:  GL_INVALID_VALUE
    [04:03:48.766] [Info] Root: Loaded PlantDatabase in 0.196282 seconds
    [04:03:49.463] [Info] Root: Loaded ProjectileDatabase in 0.696826 seconds
    [04:03:49.469] [Info] Root: Loaded ObjectDatabase in 0.903157 seconds
    [04:03:49.623] [Info] Root: Loaded NpcDatabase in 0.15374 seconds
    [04:03:49.625] [Info] Root: Loaded StagehandDatabase in 0.00230432 seconds
    [04:03:49.630] [Info] Root: Loaded VehicleDatabase in 0.00423628 seconds
    [04:03:49.634] [Info] Root: Loaded PlayerFactory in 0.00463584 seconds
    [04:03:49.717] [Info] Root: Loaded MonsterDatabase in 0.254695 seconds
    [04:03:49.721] [Info] Root: Loaded VersioningDatabase in 0.00311724 seconds
    [04:03:49.721] [Info] Root: Loaded EntityFactory in 0.0864563 seconds
    [04:03:49.831] [Info] Root: Loaded ParticleDatabase in 0.109597 seconds
    [04:03:50.308] [Info] Root: Loaded MaterialDatabase in 0.586785 seconds
    [04:03:50.319] [Info] Root: Loaded TerrainDatabase in 0.0116529 seconds
    [04:03:50.436] [Info] Root: Loaded BiomeDatabase in 0.116722 seconds
    [04:03:50.438] [Info] Root: Loaded LiquidsDatabase in 0.00119172 seconds
    [04:03:50.457] [Info] Root: Loaded StatusEffectDatabase in 0.0192154 seconds
    [04:03:50.727] [Info] Root: Loaded DamageDatabase in 0.269805 seconds
    [04:03:50.738] [Info] Root: Loaded EffectSourceDatabase in 0.0114656 seconds
    [04:03:50.743] [Info] Root: Loaded FunctionDatabase in 0.00476672 seconds
    [04:03:50.805] [Info] Root: Loaded TreasureDatabase in 0.0616004 seconds
    [04:03:51.137] [Info] Root: Loaded DungeonDefinitions in 0.332345 seconds
    [04:03:51.137] [Info] Root: Loaded TilesetDatabase in 4.344e-05 seconds
    [04:03:51.144] [Info] Root: Loaded StatisticsDatabase in 0.00682912 seconds
    [04:03:51.144] [Info] Root: Loaded EmoteProcessor in 8.34e-05 seconds
    [04:03:51.161] [Info] Root: Loaded SpeciesDatabase in 0.0170703 seconds
    [04:03:51.211] [Info] Root: Loaded QuestTemplateDatabase in 0.0497925 seconds
    [04:03:51.215] [Info] Root: Loaded AiDatabase in 0.00320848 seconds
    [04:03:51.217] [Info] Root: Loaded TechDatabase in 0.00215944 seconds
    [04:03:51.232] [Info] Root: Loaded CodexDatabase in 0.0152895 seconds
    [04:03:51.429] [Info] Root: Loaded BehaviorDatabase in 0.196938 seconds
    [04:03:51.432] [Info] Root: Loaded DanceDatabase in 0.00311184 seconds
    [04:03:51.445] [Info] Root: Loaded SpawnTypeDatabase in 0.0128608 seconds
    [04:03:51.449] [Info] Root: Loaded RadioMessageDatabase in 0.00341704 seconds
    [04:03:53.227] [Info] Root: Writing runtime configuration to '..\storage\starbound.config'
    [04:03:53.742] [Info] Root: Loaded ItemDatabase in 4.02499 seconds
    [04:03:54.180] [Error] Application: exception thrown, shutting down: (JsonException) Cannot call get with key on Json type string, must be Object type
    [0] 13fa32743 Star::captureStack
    [1] 13fa314ce Star::StarException::StarException
    [2] 13f9cc8ca Star::JsonException::format<Star::String>
    [3] 13f9d7c82 Star::Json::ptr
    [4] 13f9d4b33 Star::Json::get
    [5] 13f9dfdf5 Star::jsonToWeightedPool<Star::String,<lambda_cc4cc96702db40bb2f87b4437a3375b1> >
    [6] 13f9dfb9b Star::jsonToWeightedPool<Star::String>
    [7] 13ff1a5b0 <lambda_9b90d835a31ab143b25cc55435178821>::operator()
    [8] 13ff1ff49 Star::generateTerrestrialWorldParameters
    [9] 13faca0be Star::CelestialParameters::CelestialParameters
    [10] 13fabdedf Star::CelestialMasterDatabase::produceSystem
    [11] 13fabc376 Star::CelestialMasterDatabase::produceChunk
    [12] 13faafcf5 <lambda_5d19a1acb183cfb675f6c83fec5499ae>::operator()
    [13] 13faaff47 <lambda_aaefc9877b118a050fceb7a5e12a87e5>::operator()
    [14] 13faa87ea Star::LruCacheBase<Star::OrderedMapWrapper<std::unordered_map,Star::Vector<int,2>,std::pair<__int64,Star::CelestialChunk>,Star::BlockAllocator<std::pair<Star::Vector<int,2> const ,std::pair<__int64,Star::CelestialChunk> >,1024>,Star::hash<Star::Vector<int,2>,void>,std::equal_to<Star::Vector<int,2> > > >::get<<lambda_aaefc9877b118a050fceb7a5e12a87e5> >
    [15] 13fac03ce Star::CelestialMasterDatabase::scanSystems
    [16] 13fab9499 Star::CelestialMasterDatabase::findRandomWorld
    [17] 1401d74b7 Star::TitleScreen::TitleScreen
    [18] 13f969a31 std::_Ref_count_obj<Star::TitleScreen>::_Ref_count_obj<Star::TitleScreen><std::shared_ptr<Star::PlayerStorage> & __ptr64,std::shared_ptr<Star::Mixer> >
    [19] 13f96e760 std::make_shared<Star::TitleScreen,std::shared_ptr<Star::PlayerStorage> & __ptr64,std::shared_ptr<Star::Mixer> >
    [20] 13f975ada Star::ClientApplication::changeState
    [21] 13f97c344 Star::ClientApplication::update
    [22] 1400ae481 Star::SdlPlatform::run
    [23] 1400ae63d Star::runMainApplication
    [24] 13f97f1c6 WinMain
    [25] 14028c863 __scrt_common_main_seh
    [26] 778859bd BaseThreadInitThunk
    [27] 779ba2e1 RtlUserThreadStart
    [04:03:54.180] [Info] Application: shutdown...
    [04:03:54.265] [Info] Root: Shutting down Root
    [04:03:54.610] [Info] Application: Destroying SDL Window
    [04:03:54.621] [Info] Application: stopped gracefully
    
     
  2. Mackinz

    Mackinz The Waste of Time

    When all else fails, move folders in and out of the mod and see moving which folder stops that error from showing up.
     
    AmazonValkyrie likes this.
  3. v6ooo

    v6ooo Space Kumquat

    It's probably the .metadata file
     
  4. AmazonValkyrie

    AmazonValkyrie Spaceman Spiff

    I added the metadata file, but it turns out it was my terrestrial.config.patch >_< Not sure what I need to change about it to make it work though. If anybody might be able to give me some advice on fixing that, it'd be much appreciated. Here's my current terrestrial.config.patch file:

    Code:
    [
        { "op" : "add", "path": "/planetTypes/garden/layers/surface/dungeons/-", "value" : "vieravillage" },
        { "op" : "add", "path": "/planetTypes/forest/layers/surface/dungeons/-", "value" : "vieravillage" },
        { "op" : "add", "path": "/planetTypes/savannah/layers/surface/dungeons/-", "value" : "vieravillage" },
        { "op" : "add", "path": "/planetTypes/jungle/layers/surface/dungeons/-", "value" : "vieravillage" }
    ]
    Snippet of the vanilla terrestrial.config file:
    Code:
      "planetTypes" : {
        "garden" : {
          "threatRange" : [1, 1],
          "layers" : {
            "surface" : {
              "primaryRegion" : ["garden"],
              "secondaryRegions" : ["forest"],
              "dungeonCountRange" : [2, 2],
              "dungeons" : [[1.0, "naturalcave"], [1.0, "gardengate"]]
            }
          }
        },
    
        "forest" : {
          "threatRange" : [2, 2],
          "layers" : {
            "surface" : {
              "primaryRegion" : ["forest"],
              "secondaryRegions" : ["garden", "jungle" ],
              "dungeons" :
              [[1.0, "apextestfacility"], [1.0, "apexbase"], [1.0, "apexcamp"], [1.0, "apexcity"],
              [1.0, "aviantemple"], [1.0, "aviantomb"], [1.0, "avianvillage"], [1.0, "aviannativevillage"],  [1.0, "avianairship"],
              [4.0, "floranhuntinggrounds"], [4.0, "florancanyon"], [4.0, "floranvillagetower"], [4.0, "floranhutvillage"],
              [1.0, "dungeoncrawler"], [1.0, "evilfortress"], [1.0, "glitchcastle"], [1.0, "glitchvillage"],
              [1.0, "hylotlruinedcastle"], [1.0, "hylotlcity"],
              [1.0, "humanprison"], [1.0, "humancamp"],
              [1.0, "glitchsewer"]
              ]
            }
          }
        },
        "desert" : {
          "threatRange" : [2, 2],
          "layers" : {
            "surface" : {
              "primaryRegion" : ["desert"],
              "secondaryRegions" : [ "barren", "savannah" ],
              "dungeons" :
              [[1.0, "apextestfacility"], [1.0, "apexbase"], [1.0, "apexcamp"], [1.0, "apexcity"],
              [1.0, "aviantemple"], [1.0, "aviantomb"], [1.0, "avianvillage"], [1.0, "aviannativevillage"],  [1.0, "avianairship"],
              [1.0, "floranhuntinggrounds"], [1.0, "florancanyon"], [1.0, "floranvillagetower"], [1.0, "floranhutvillage"],
              [1.0, "dungeoncrawler"], [1.0, "evilfortress"], [1.0, "glitchcastle"], [1.0, "glitchvillage"],
              [1.0, "hylotlruinedcastle"], [1.0, "hylotlcity"],
              [1.0, "humanprison"], [1.0, "humancamp"],
              [1.0, "glitchsewer"]
              ]
            },
            "subsurface" : {
              "primaryRegion" : ["desertsubsurface"]
            }
          }
        },
     
  5. v6ooo

    v6ooo Space Kumquat

    Could you please include the full file.
     
  6. AmazonValkyrie

    AmazonValkyrie Spaceman Spiff

    Sorry >_< I fiddled with the file a bit more and got it fixed. They added the "1.0" portion to the text, so I had do the same. Thanks so much for responding guys!
     
  7. ColonolNutty

    ColonolNutty Ketchup Robot

    To "the text"? could you please elaborate on your solution
     

Share This Page