Modding Help an unknown Error i just cant solve...

Discussion in 'Starbound Modding' started by Dilrax, Nov 16, 2014.

  1. Dilrax

    Dilrax Ketchup Robot

    [​IMG]
    to put it short, was working on new content for v1.3.9χ of the RenTek: Reni's Armory Equipment Mod of mine and i seem to have broken starbound... doing what?
    adding an 'Reni the Arms Dealer' NPC Spawner...
    unfortunately even after removing the added content which i built in as a separate file from the Main Mod its self, the problem persists, i have found that the problem originates in the base version of the mod, which is the current 1.3.9b version of the mod versions 1.3.9b and 1.3.9b are connected by the "dependencies" in the .modinfo files

    kinda helps keep the new stuff separate from the stable files while still allowing them to work as if they were all in the same folder, though i have also tried it with a fix by merging both folders, after backing them up, and it still gives the same error as the image above but the starbound log file doesn't list the error or any other new error, as far as i can tell, which is weird...

    anyone got an solutions?


    Code:
    Info: Preparing Star::Root...
    Info: Loading Star::Configuration from '..\starbound.config'
    Info: Done preparing Star::Root.
    Info: Client version 'Beta v. Enraged Koala - Update 8' Protocol: 643
    Info: Running from : D:\Programs\Steam\SteamApps\common\Starbound\win32\starbound.exe
    Info: Starting from the title screen
    Info: Initialized SDL
    Info: Initialized SDL Video
    Info: Initialized SDL Joystick
    Info: Initialized SDL Sound
    Info: Opened default audio device with 44khz / 16 bit stereo audio, 2048 sample size buffer
    Info: Initializing SDL Window
    Info: Loading Star::Root...
    Info: Created initial window 1262x690
    Info: Initializing SDL Window
    Info: Re-created window 1366x716
    Info: Loading Star::Configuration from '..\starbound.config'
    Error: Exception raised during Root finishInitialization: NpcException: Error loading npc type '/npcs/rentekreni.npctype'
    caused by: VariantException: No such key in Variant::get("type")
      Variant::get(String)
      String Variant::tget<String>(String)
      Variant::getString(String)
      NpcDatabase::load()
      Root::reload()
      _Function_handler<void (), _Bind<ClientApplication::preSplashInitialization()::{lambda()#1} ()> >::(_Any_data)
      ThreadImpl::runThread(void*)
      BaseThreadInitThunk
      RtlInitializeExceptionChain
      RtlInitializeExceptionChain
    
    Info: Writing Star::Configuration to '..\starbound.config'
    Info: Shutting down Star::Root
    Error: StarException: An error occurred during loading: NpcException: Error loading npc type '/npcs/rentekreni.npctype'
    caused by: VariantException: No such key in Variant::get("type")
      Variant::get(String)
      String Variant::tget<String>(String)
      Variant::getString(String)
      NpcDatabase::load()
      Root::reload()
      _Function_handler<void (), _Bind<ClientApplication::preSplashInitialization()::{lambda()#1} ()> >::(_Any_data)
      ThreadImpl::runThread(void*)
      BaseThreadInitThunk
      RtlInitializeExceptionChain
      RtlInitializeExceptionChain
    
      ClientApplication::postSplashInitialization()
      ClientApplication::update()
      StarApplicationBase::run()
      _SDL_main
      _console_main
    

    Code:
    Info: Preparing Star::Root...
    Info: Loading Star::Configuration from '..\starbound.config'
    Info: Done preparing Star::Root.
    Info: Client version 'Beta v. Enraged Koala - Update 8' Protocol: 643
    Info: Running from : D:\Programs\Steam\SteamApps\common\Starbound\win32\starbound.exe
    Info: Starting from the title screen
    Info: Initialized SDL
    Info: Initialized SDL Video
    Info: Initialized SDL Joystick
    Info: Initialized SDL Sound
    Info: Opened default audio device with 44khz / 16 bit stereo audio, 2048 sample size buffer
    Info: Loading Star::Root...
    Info: Initializing SDL Window
    Info: Loading Star::Configuration from '..\starbound.config'
    Info: Created initial window 1262x690
    Warn: Perf: ClientApplication::renderInit millis: 1524
    Info: Initializing SDL Window
    Info: Re-created window 1366x716
    Info: Application quitting!
    Error: Could not load /tools/grapplinghook.grapplinghook asset, attempting to use default.
    AssetException: Could not read variant asset /tools/grapplinghook.grapplinghook
    caused by: JsonParsingException: Cannot parse json file: /tools/grapplinghook.grapplinghook
    caused by: JsonParsingException: Error parsing json: bad number, must start with digit at 27:20
      Variant inputUtf8Json<char*>(char*, char*, bool)
      Assets::readVariant(String)
      _Function_handler<shared_ptr<Assets::AssetData> (), Assets::loadVariant(String)::{lambda()#1}>::(_Any_data)
      Assets::processAssetData(function<shared_ptr<Assets::AssetData> ()>)
      Assets::loadVariant(String)
      Assets::loadAsset(Assets::AssetId)
      Assets::doLoad(Assets::AssetId)
      Assets::workerMain()
      ThreadImpl::runThread(void*)
      BaseThreadInitThunk
      RtlInitializeExceptionChain
      RtlInitializeExceptionChain
    
    Error: Error loading object file /objects/dyeengine/dyestation/dyestation.object: VariantException: No such key in Variant::get("objectName")
      Variant::get(String)
      String Variant::tget<String>(String)
      Variant::getString(String)
      ObjectDatabase::load()
      Root::reload()
      _Function_handler<void (), _Bind<ClientApplication::preSplashInitialization()::{lambda()#1} ()> >::(_Any_data)
      ThreadImpl::runThread(void*)
      BaseThreadInitThunk
      RtlInitializeExceptionChain
      RtlInitializeExceptionChain
    
    Warn: Missing inventoryIcon for chestplant1, using default
    Warn: Missing inventoryIcon for barvent, using default
    Warn: Missing inventoryIcon for wreckvent, using default
    Error: Could not instantiate item '[tiles, 1, {}]'. ItemException: No such item 'tiles'
      ItemDatabase::itemData(String)
      ItemDatabase::createItem(ItemDescriptor)
      ItemDatabase::item(ItemDescriptor)
      Recipe::Recipe(Variant)
      RecipeDatabase::parseRecipe(Variant)
      RecipeDatabase::scan()
      Root::reload()
      _Function_handler<void (), _Bind<ClientApplication::preSplashInitialization()::{lambda()#1} ()> >::(_Any_data)
      ThreadImpl::runThread(void*)
      BaseThreadInitThunk
      RtlInitializeExceptionChain
      RtlInitializeExceptionChain
    
    Error: Could not instantiate item '[tiles, 1, {}]'. ItemException: No such item 'tiles'
      ItemDatabase::itemData(String)
      ItemDatabase::createItem(ItemDescriptor)
      ItemDatabase::item(ItemDescriptor)
      ItemDatabase::addItemBlueprint(ItemDescriptor)
      RecipeDatabase::scan()
      Root::reload()
      _Function_handler<void (), _Bind<ClientApplication::preSplashInitialization()::{lambda()#1} ()> >::(_Any_data)
      ThreadImpl::runThread(void*)
      BaseThreadInitThunk
      RtlInitializeExceptionChain
      RtlInitializeExceptionChain
    
    Error: Could not instantiate item '[tiles, 1, {}]'. ItemException: No such item 'tiles'
      ItemDatabase::itemData(String)
      ItemDatabase::createItem(ItemDescriptor)
      ItemDatabase::item(ItemDescriptor)
      ItemDatabase::addItemBlueprint(ItemDescriptor)
      RecipeDatabase::scan()
      Root::reload()
      _Function_handler<void (), _Bind<ClientApplication::preSplashInitialization()::{lambda()#1} ()> >::(_Any_data)
      ThreadImpl::runThread(void*)
      BaseThreadInitThunk
      RtlInitializeExceptionChain
      RtlInitializeExceptionChain
    
    Error: Could not instantiate item '[femmicrophone, 1, {}]'. ItemException: No such item 'femmicrophone'
      ItemDatabase::itemData(String)
      ItemDatabase::createItem(ItemDescriptor)
      ItemDatabase::item(ItemDescriptor)
      Recipe::Recipe(Variant)
      RecipeDatabase::parseRecipe(Variant)
      RecipeDatabase::scan()
      Root::reload()
      _Function_handler<void (), _Bind<ClientApplication::preSplashInitialization()::{lambda()#1} ()> >::(_Any_data)
      ThreadImpl::runThread(void*)
      BaseThreadInitThunk
      RtlInitializeExceptionChain
      RtlInitializeExceptionChain
    
    Error: Could not instantiate item '[femmicrophone, 1, {}]'. ItemException: No such item 'femmicrophone'
      ItemDatabase::itemData(String)
      ItemDatabase::createItem(ItemDescriptor)
      ItemDatabase::item(ItemDescriptor)
      ItemDatabase::addItemBlueprint(ItemDescriptor)
      RecipeDatabase::scan()
      Root::reload()
      _Function_handler<void (), _Bind<ClientApplication::preSplashInitialization()::{lambda()#1} ()> >::(_Any_data)
      ThreadImpl::runThread(void*)
      BaseThreadInitThunk
      RtlInitializeExceptionChain
      RtlInitializeExceptionChain
    
    Error: Could not instantiate item '[femmicrophone, 1, {}]'. ItemException: No such item 'femmicrophone'
      ItemDatabase::itemData(String)
      ItemDatabase::createItem(ItemDescriptor)
      ItemDatabase::item(ItemDescriptor)
      ItemDatabase::addItemBlueprint(ItemDescriptor)
      RecipeDatabase::scan()
      Root::reload()
      _Function_handler<void (), _Bind<ClientApplication::preSplashInitialization()::{lambda()#1} ()> >::(_Any_data)
      ThreadImpl::runThread(void*)
      BaseThreadInitThunk
      RtlInitializeExceptionChain
      RtlInitializeExceptionChain
    
    Error: Could not instantiate item '[test, 1, {}]'. ItemException: No such item 'test'
      ItemDatabase::itemData(String)
      ItemDatabase::createItem(ItemDescriptor)
      ItemDatabase::item(ItemDescriptor)
      Recipe::Recipe(Variant)
      RecipeDatabase::parseRecipe(Variant)
      RecipeDatabase::scan()
      Root::reload()
      _Function_handler<void (), _Bind<ClientApplication::preSplashInitialization()::{lambda()#1} ()> >::(_Any_data)
      ThreadImpl::runThread(void*)
      BaseThreadInitThunk
      RtlInitializeExceptionChain
      RtlInitializeExceptionChain
    
    Error: Could not instantiate item '[test, 1, {}]'. ItemException: No such item 'test'
      ItemDatabase::itemData(String)
      ItemDatabase::createItem(ItemDescriptor)
      ItemDatabase::item(ItemDescriptor)
      ItemDatabase::addItemBlueprint(ItemDescriptor)
      RecipeDatabase::scan()
      Root::reload()
      _Function_handler<void (), _Bind<ClientApplication::preSplashInitialization()::{lambda()#1} ()> >::(_Any_data)
      ThreadImpl::runThread(void*)
      BaseThreadInitThunk
      RtlInitializeExceptionChain
      RtlInitializeExceptionChain
    
    Error: Could not instantiate item '[test, 1, {}]'. ItemException: No such item 'test'
      ItemDatabase::itemData(String)
      ItemDatabase::createItem(ItemDescriptor)
      ItemDatabase::item(ItemDescriptor)
      ItemDatabase::addItemBlueprint(ItemDescriptor)
      RecipeDatabase::scan()
      Root::reload()
      _Function_handler<void (), _Bind<ClientApplication::preSplashInitialization()::{lambda()#1} ()> >::(_Any_data)
      ThreadImpl::runThread(void*)
      BaseThreadInitThunk
      RtlInitializeExceptionChain
      RtlInitializeExceptionChain
    
    Info: Done loading Star::Root.
    Info: Writing Star::Configuration to '..\starbound.config'
    Info: [ [ "Assets::loadVariant", "Cnt#: ", 16207, "Sum(ms)", 83109, "Avg", 5, "SAvg", 0, "Min", 0, "Max", 341, "Last", 236, "Var(avg,us)", 5122.54, "VMax(ms)", 340, "Parent", "" ], [ "Assets::loadImage", "Cnt#: ", 8209, "Sum(ms)", 36519, "Avg", 4, "SAvg", 0, "Min", 0, "Max", 488, "Last", 0, "Var(avg,us)", 4451.33, "VMax(ms)", 488, "Parent", "" ], [ "Assets::loadBaseImage", "Cnt#: ", 7962, "Sum(ms)", 36278, "Avg", 4, "SAvg", 0, "Min", 0, "Max", 488, "Last", 0, "Var(avg,us)", 4553.5, "VMax(ms)", 488, "Parent", "" ], [ "StarApplicationBase::run.innerLoop", "Cnt#: ", 707, "Sum(ms)", 12988, "Avg", 18, "SAvg", 15, "Min", 15, "Max", 257, "Last", 132, "Var(avg,us)", 41721.4, "VMax(ms)", 242, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.sleeping", "Cnt#: ", 5275, "Sum(ms)", 9058, "Avg", 1, "SAvg", 1, "Min", 1, "Max", 51, "Last", 1, "Var(avg,us)", 717.156, "VMax(ms)", 50, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.postSleeping", "Cnt#: ", 4674, "Sum(ms)", 5001, "Avg", 1, "SAvg", 1, "Min", 1, "Max", 18, "Last", 1, "Var(avg,us)", 69.9615, "VMax(ms)", 17, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.preSleeping", "Cnt#: ", 601, "Sum(ms)", 4058, "Avg", 6, "SAvg", 1, "Min", 1, "Max", 51, "Last", 2, "Var(avg,us)", 3613.98, "VMax(ms)", 39, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.graphicsSwapBuffers", "Cnt#: ", 706, "Sum(ms)", 2443, "Avg", 3, "SAvg", 0, "Min", 0, "Max", 35, "Last", 4, "Var(avg,us)", 3460.34, "VMax(ms)", 35, "Parent", "" ], [ "ClientApplication::renderInit", "Cnt#: ", 2, "Sum(ms)", 1558, "Avg", 779, "SAvg", 1518, "Min", 34, "Max", 1524, "Last", 34, "Var(avg,us)", 745000, "VMax(ms)", 1490, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.render", "Cnt#: ", 706, "Sum(ms)", 891, "Avg", 1, "SAvg", 0, "Min", 0, "Max", 85, "Last", 0, "Var(avg,us)", 6315.86, "VMax(ms)", 85, "Parent", "" ], [ "ClientApplication::render", "Cnt#: ", 706, "Sum(ms)", 890, "Avg", 1, "SAvg", 0, "Min", 0, "Max", 85, "Last", 0, "Var(avg,us)", 6314.45, "VMax(ms)", 85, "Parent", "" ], [ "Assets::loadFont", "Cnt#: ", 1, "Sum(ms)", 805, "Avg", 805, "SAvg", 805, "Min", 805, "Max", 805, "Last", 805, "Var(avg,us)", 0, "VMax(ms)", 0, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.renderPost", "Cnt#: ", 706, "Sum(ms)", 280, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 37, "Last", 0, "Var(avg,us)", 1286.12, "VMax(ms)", 37, "Parent", "" ], [ "Cinematic::render", "Cnt#: ", 706, "Sum(ms)", 267, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 76, "Last", 0, "Var(avg,us)", 4415.01, "VMax(ms)", 76, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.SDL_PollEvent", "Cnt#: ", 757, "Sum(ms)", 208, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 109, "Last", 109, "Var(avg,us)", 5216.64, "VMax(ms)", 109, "Parent", "" ], [ "Assets::loadAudio", "Cnt#: ", 1, "Sum(ms)", 28, "Avg", 28, "SAvg", 28, "Min", 28, "Max", 28, "Last", 28, "Var(avg,us)", 0, "VMax(ms)", 0, "Parent", "" ], [ "Assets::postProcessAudio", "Cnt#: ", 1, "Sum(ms)", 13, "Avg", 13, "SAvg", 13, "Min", 13, "Max", 13, "Last", 13, "Var(avg,us)", 0, "VMax(ms)", 0, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.graphicsClear", "Cnt#: ", 706, "Sum(ms)", 7, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 2, "Last", 0, "Var(avg,us)", 9.91501, "VMax(ms)", 2, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.graphicsFinish", "Cnt#: ", 706, "Sum(ms)", 1, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 1, "Last", 0, "Var(avg,us)", 1.41643, "VMax(ms)", 1, "Parent", "" ], [ "ClientApplication::update", "Cnt#: ", 756, "Sum(ms)", 0, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 0, "Last", 0, "Var(avg,us)", 0, "VMax(ms)", 0, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.update", "Cnt#: ", 756, "Sum(ms)", 0, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 0, "Last", 0, "Var(avg,us)", 0, "VMax(ms)", 0, "Parent", "" ], [ "ClientApplication::updateSplash", "Cnt#: ", 756, "Sum(ms)", 0, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 0, "Last", 0, "Var(avg,us)", 0, "VMax(ms)", 0, "Parent", "" ], [ "Cinematic::update", "Cnt#: ", 756, "Sum(ms)", 0, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 0, "Last", 0, "Var(avg,us)", 0, "VMax(ms)", 0, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.graphicsStart", "Cnt#: ", 706, "Sum(ms)", 0, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 0, "Last", 0, "Var(avg,us)", 0, "VMax(ms)", 0, "Parent", "" ], [ "ClientApplication::processInput", "Cnt#: ", 27, "Sum(ms)", 0, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 0, "Last", 0, "Var(avg,us)", 0, "VMax(ms)", 0, "Parent", "" ], [ "ClientApplication::renderDestroy", "Cnt#: ", 2, "Sum(ms)", 0, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 0, "Last", 0, "Var(avg,us)", 0, "VMax(ms)", 0, "Parent", "" ] ]
    Info: Client shutdown gracefully
    Info: Shutting down Star::Root
    


    i'll probably just rebuild the added content again and redownload the main mod version as i did upload the current version a couple days ago, a testing version to specify so there's still a few things to change, hence the current content additions iv been working on, but yeah, if anyone has any thoughts on this, i would love to hear them...
     
  2. The JSON code for your NPC is malformed. You need to fix it. By the looks of it you either forgot a Comma somewhere, or you have a comma and no object behind it.
     
  3. Dilrax

    Dilrax Ketchup Robot

    that would make sense *IF* it was the correct mod folder, i check my JSON code through one of them validation checkers when im done writing it, all checks out fine, and the error i get originates from the wrong source because i can remove the base mode and things run fine, i add the base mod and its breaks, the NPC files are built into there own separate mod file/addon which is connected to the main mod file (for testing) and even with out the NPC files, it still asks for something that shouldn't exist, which seems odd.

    its kinda like having two copys of starbound and the first one asks for the second copy regardless if you delete it or not... regardless of the first copy being its own standalone version.
     
  4. I cant seem to wrap my head around this. If you remove a core mod, which the 2nd mod supposedly needs to work and the thing works, but add it in and it breaks then it sounds like the entire thing is just completely screwed up. Without knowing WHAT these files are or what they do, I cant help. Taking a random guess it sounds like you are trying to __Merge something in with the core, and it is breaking. That is if you manged to fix the malformed JSON though.

    I dont know... Just sounds like a completely ridiculous way to make a mod. Without seeing it I cant help - I dont know how you are combining the two.
     
  5. Dilrax

    Dilrax Ketchup Robot

    i only used the main folder as a core to keep the files apart, for easier testing, things often get messy and lists get made, it just makes things easier to find and open really, all gets added into the one folder when im happy with how its all working, tested again of course before i upload.

    iv looked up a couple tutorials and removed the mod dependency for my own mods main files by making a clone of the used items and given them new ID's, how ever that still doesn't seem to change anything, though i dont plan to mess with species files of any kind, simply because i cant get a NPC spawner working hahaha, so the only requirement atm for this is the Avali Race mod, because it use's the species, i dont think iv overlooked anything but by all means see what you can find...
    http://www.mediafire.com/download/5emfjlq7m0akf5d/Dilrax_NPC_Test.rar
     

Share This Page