Modding Help (ItemException) No such item

Discussion in 'Starbound Modding' started by gravydigger56, Sep 30, 2017.

  1. gravydigger56

    gravydigger56 Scruffy Nerf-Herder

    Hello,

    I have recently changed all of my item names from having a prefix of "g_" to a prefix of "gravy_".
    This change has caused some unexpected issues to characters having the old version of the mod:

    Code:
    ...
    [21:03:52.449] [Info] Root: Loaded DanceDatabase in 0.00224144 seconds
    [21:03:52.453] [Info] Root: Loaded SpawnTypeDatabase in 0.0046481 seconds
    [21:03:52.456] [Info] Root: Loaded RadioMessageDatabase in 0.00285449 seconds
    [21:03:52.888] [Error] Could not instantiate item '[g_nudelegs, 1, {}]'. (ItemException) No such item 'g_nudelegs'
    [21:03:53.170] [Error] Could not instantiate item '[g_nudeback, 1, {}]'. (ItemException) No such item 'g_nudeback'
    [21:03:53.246] [Error] Could not instantiate item '[g_nudechest, 1, {}]'. (ItemException) No such item 'g_nudechest'
    [21:03:53.540] [Error] Could not load recipe /recipes/weapons/oldtier/broadsword/odb2tier2broadsword_c2.recipe: (ItemException) No such item 'steelbar'
    [21:03:53.602] [Error] Could not load image asset '/items/generic/crafting/multidimensionalfabric.png', using placeholder default.
    (AssetException) No such asset '/items/generic/crafting/multidimensionalfabric.png'
    [21:03:54.269] [Error] Could not instantiate item '[g_nudehead, 1, {}]'. (ItemException) No such item 'g_nudehead'
    [21:03:54.829] [Error] Could not instantiate item '[g_nudehead, 1, {}]'. (ItemException) No such item 'g_nudehead'
    [21:03:54.834] [Error] Could not create blueprint item from recipe: (ItemException) No such item 'g_nudehead'
    [21:03:54.964] [Error] Could not instantiate item '[g_nudechest, 1, {}]'. (ItemException) No such item 'g_nudechest'
    [21:03:54.970] [Error] Could not create blueprint item from recipe: (ItemException) No such item 'g_nudechest'
    [21:03:55.474] [Error] Could not instantiate item '[g_nudeback, 1, {}]'. (ItemException) No such item 'g_nudeback'
    [21:03:55.564] [Error] Could not instantiate item '[g_nudelegs, 1, {}]'. (ItemException) No such item 'g_nudelegs'
    [21:03:55.709] [Info] Root: Loaded ItemDatabase in 4.2073 seconds
    [21:03:56.534] [Info] Root: Loaded CollectionDatabase in 4.07746 seconds
    [21:03:57.681] [Error] Could not instantiate item '[g_nudehead, 1, {}]'. (ItemException) No such item 'g_nudehead'
    [21:03:57.686] [Error] Could not instantiate item '[g_nudeback, 1, {}]'. (ItemException) No such item 'g_nudeback'
    [21:03:57.694] [Error] Could not instantiate item '[g_regretlog-codex, 1, {}]'. (ItemException) No such item 'g_regretlog-codex'
    [21:03:57.701] [Error] Could not instantiate item '[g_nudechest, 1, {}]'. (ItemException) No such item 'g_nudechest'
    [21:03:57.706] [Error] Could not instantiate item '[g_slenderblades-codex, 1, {}]'. (ItemException) No such item 'g_slenderblades-codex'
    [21:03:57.712] [Error] Could not instantiate item '[g_nudelegs, 1, {}]'. (ItemException) No such item 'g_nudelegs'
    [21:03:57.829] [Error] Could not instantiate item '[g_tshirtcannon, 1, {}]'. (ItemException) No such item 'g_tshirtcannon'
    [21:03:57.835] [Error] Could not instantiate item '[g_tshirtcannon, 1, {}]'. (ItemException) No such item 'g_tshirtcannon'
    [21:03:57.840] [Error] Could not instantiate item '[g_infinityorbs, 1, {}]'. (ItemException) No such item 'g_infinityorbs'
    [21:03:57.933] [Error] Could not instantiate item '[g_tshirtcannon, 1, {}]'. (ItemException) No such item 'g_tshirtcannon'
    [21:03:57.938] [Error] Could not instantiate item '[g_tshirtcannon, 1, {}]'. (ItemException) No such item 'g_tshirtcannon'
    [21:03:57.944] [Error] Could not instantiate item '[g_infinityorbs, 1, {}]'. (ItemException) No such item 'g_infinityorbs'
    [21:03:58.002] [Error] Could not instantiate item '[enhancedstoragematerial, 36, {}]'. (ItemException) No such item 'enhancedstoragematerial'
    [21:03:58.029] [Error] Could not instantiate item '[subcontroller, 1, {"inventoryIcon":"/items/active/vehiclecontroller/subcontroller.png:empty","filled":false,"key":"e7506f1586cff67c7f93ef1a64b78fcb","vehicleStartHealthFactor":1}]'. (ItemException) No such item 'subcontroller'
    [21:03:58.047] [Error] No quest template found for id 'EnhancedStorage2'
    [21:03:58.057] [Error] No quest template found for id 'EnhancedStorage'
    [21:03:58.352] [Info] detected supported OpenGL texture size 16384, using atlasNumCells 256
    [21:04:00.173] [Error] Could not instantiate item '[g_nudehead, 1, {}]'. (ItemException) No such item 'g_nudehead'
    [21:04:00.181] [Error] Could not instantiate item '[g_nudeback, 1, {}]'. (ItemException) No such item 'g_nudeback'
    [21:04:00.191] [Error] Could not instantiate item '[g_regretlog-codex, 1, {}]'. (ItemException) No such item 'g_regretlog-codex'
    [21:04:00.198] [Error] Could not instantiate item '[g_nudechest, 1, {}]'. (ItemException) No such item 'g_nudechest'
    [21:04:00.206] [Error] Could not instantiate item '[g_slenderblades-codex, 1, {}]'. (ItemException) No such item 'g_slenderblades-codex'
    [21:04:00.215] [Error] Could not instantiate item '[g_nudelegs, 1, {}]'. (ItemException) No such item 'g_nudelegs'
    [21:04:01.702] [Info] UniverseServer: Acquiring universe lock file
    [21:04:01.703] [Info] UniverseServer: Loading settings
    [21:04:01.705] [Info] UniverseServer: Starting UniverseServer with UUID: 82dfe8ed53711f97fffc851b2b31fa50
    [21:04:01.711] [Info] UniverseServer: Logged in player 'Tan' locally
    [21:04:01.711] [Info] UniverseServer: Logged in account '<anonymous>' as player 'Tan' from address local
    [21:04:01.870] [Info] UniverseServer: Loading system world (981977184, -610616523, -247363107) from disk storage
    [21:04:01.876] [Info] UniverseClient: Joined server as client 1
    [21:04:01.931] [Info] UniverseServer: Reviving player at ClientShipWorld:fde8b03534f7608fb03c8550cad64d2e
    [21:04:01.931] [Info] UniverseServer: Client 'Tan' <1> (local) connected
    [21:04:01.969] [Info] UniverseServer: Loading client ship world ClientShipWorld:fde8b03534f7608fb03c8550cad64d2e
    [21:04:02.000] [Error] Could not load image asset '/interface/inventory/x.png', using placeholder default.
    (AssetException) No such asset '/interface/inventory/x.png'
    [21:04:02.011] [Error] Could not load image asset '/interface/inventory/xhover.png', using placeholder default.
    (AssetException) No such asset '/interface/inventory/xhover.png'
    [21:04:02.023] [Error] Could not load image asset '/interface/inventory/xpress.png', using placeholder default.
    (AssetException) No such asset '/interface/inventory/xpress.png'
    [21:04:02.044] [Info] Protected dungeonIds for world set to (65524)
    [21:04:02.186] [Error] Application: exception thrown, shutting down: (ItemException) No such item 'g_nudelegs'
    [0] 7ff730557153 Star::captureStack
    [1] 7ff730555ede Star::StarException::StarException
    [2] 7ff7306df26a Star::ItemException::format<Star::String>
    [3] 7ff7306ede70 Star::ItemDatabase::itemData
    [4] 7ff7306edea9 Star::ItemDatabase::itemFriendlyName
    [5] 7ff730d65d5e <lambda_3587efe2ccaf69356a4760031378880e>::operator()
    [6] 7ff730d636a2 Star::sortByComputedValue<Star::List<Star::ItemRecipe,std::allocator<Star::ItemRecipe> >,<lambda_3587efe2ccaf69356a4760031378880e> >
    [7] 7ff730d6a8b6 Star::CraftingPane::determineRecipes
    [8] 7ff730d6eecb Star::CraftingPane::updateAvailableRecipes
    [9] 7ff730d650ad Star::CraftingPane::CraftingPane
    [10] 7ff730d870a5 std::_Ref_count_obj<Star::CraftingPane>::_Ref_count_obj<Star::CraftingPane><std::shared_ptr<Star::WorldClient>,std::shared_ptr<Star::Player>,Star::MapMixin<Star::FlatHashMap<Star::String,Star::Json,Star::hash<Star::String,void>,std::equal_to<Star::String>,std::allocator<std::pair<Star::String const ,Star::Json> > > >,int>
    [11] 7ff730d8b905 std::make_shared<Star::CraftingPane,std::shared_ptr<Star::WorldClient>,std::shared_ptr<Star::Player>,Star::MapMixin<Star::FlatHashMap<Star::String,Star::Json,Star::hash<Star::String,void>,std::equal_to<Star::String>,std::allocator<std::pair<Star::String const ,Star::Json> > > >,int>
    [12] 7ff730d8dea5 Star::MainInterface::MainInterface
    [13] 7ff73048a1e6 std::_Ref_count_obj<Star::MainInterface>::_Ref_count_obj<Star::MainInterface><std::shared_ptr<Star::UniverseClient> & __ptr64,std::shared_ptr<Star::WorldPainter> & __ptr64,std::shared_ptr<Star::Cinematic> & __ptr64>
    [14] 7ff73048edab std::make_shared<Star::MainInterface,std::shared_ptr<Star::UniverseClient> & __ptr64,std::shared_ptr<Star::WorldPainter> & __ptr64,std::shared_ptr<Star::Cinematic> & __ptr64>
    [15] 7ff7304974e9 Star::ClientApplication::changeState
    [16] 7ff73049f58f Star::ClientApplication::updateTitle
    [17] 7ff73049ce43 Star::ClientApplication::update
    [18] 7ff730c9aa72 Star::SdlPlatform::run
    [19] 7ff730c9ac2d Star::runMainApplication
    [20] 7ff73049ff76 WinMain
    [21] 7ff730e88daf __scrt_common_main_seh
    [22] 7fff75452774 BaseThreadInitThunk
    [23] 7fff75610d51 RtlUserThreadStart
    [21:04:02.186] [Info] Application: shutdown...
    [21:04:02.187] [Info] UniverseClient: Client disconnecting...
    [21:04:02.982] [Info] UniverseServer: Client 'Tan' <1> (local) disconnected for reason: 
    [21:04:02.982] [Info] UniverseServer: Stopping idle world ClientShipWorld:fde8b03534f7608fb03c8550cad64d2e
    [21:04:03.239] [Info] UniverseServer: Stopping UniverseServer
    [21:04:03.958] [Info] Root: Shutting down Root
    [21:04:04.184] [Info] Application: Destroying SDL Window
    [21:04:04.321] [Info] Application: stopped gracefully
    

    While this problem wouldn't matter if only I used it, the previous version of the mod has been released, and I don't want to be the reason for their game to crash.

    The only "fix" is to uninstall the mod

    If anyone has a solution, that would be appreciated :)
     
  2. gravydigger56

    gravydigger56 Scruffy Nerf-Herder

    Fixed the problem. I didn't correctly change all of the .recipe files.
    My bad :p
     
    DrPvtSkittles likes this.
  3. DrPvtSkittles

    DrPvtSkittles Master Astronaut

    Thank you for saying what solved your problem. This will help others. :nuruhappy:
     
    gravydigger56 likes this.

Share This Page