Modding Help Custom Shield crashes game

Discussion in 'Starbound Modding' started by Asriel150, Oct 21, 2016.

Thread Status:
Not open for further replies.
  1. Asriel150

    Asriel150 Guest

    Tried to make a custom shield earlier.
    At first it acted like it wasn't there, now it started crashing.

    Code:
    {
      "itemName" : "deltashield",
      "level" : 6
      "price" : 1000,
      "maxStack" : 1,
      "rarity" : "Legendary",
      "category" : "shield",
      "description" : "An Violium shield reinforced with Solarium.",
      "shortdescription" : "Royal Shield",
      "tooltipKind" : "Shield",
      "twoHanded" : false,
      "itemTags" : ["shield"],
    
      "inventoryIcon" : "images/delta.png:nearidle",
    
      "animation" : "shield.animation",
      "animationParts" : {
        "shield" : "images/delta.png"
      },
      "animationCustom" : {
        "animatedParts" : { "parts" : { "shield" : { "properties" : {
            "shieldPoly" : [ [-0.5, -2.5], [-0.5, 2.25], [0.75, 1.5], [0.75, -1.75] ]
        }}}},
        "sounds" : {
          "raiseShield" : [ "/sfx/melee/sword_guard.ogg" ],
          "perfectBlock" : [ "/sfx/melee/shield_block_metal_perfect.ogg" ],
          "block" : [ "/sfx/melee/shield_block_metal.ogg" ],
          "break" : [ "/sfx/melee/shield_break_metal.ogg" ]
        }
      },
    
      "scripts" : ["/items/active/shields/shield.lua"],
    
      "minActiveTime" : 0.2,
    
      "forceWalk" : true,
      "baseShieldHealth" : 200,
      "cooldownTime" : 0.5,
    
      "perfectBlockDirectives" : "?border=2;AACCFFFF;00000000",
      "perfectBlockTime" : 0.25,
    
      "knockback" : 10,
    
      "stances" : {
        "idle" : {
          "armRotation" : -90,
          "shieldRotation" : 0,
          "allowRotate" : false,
          "allowFlip" : true
        },
        "raised" : {
          "armRotation" : 0,
          "shieldRotation" : 0,
          "allowRotate" : false,
          "allowFlip" : true
        }
      },
    
      "builder" : "/items/buildscripts/buildunrandshield.lua"
    }
    


    Code:
    [11:34:22.912] [Info] Root: Preparing Root...
    [11:34:22.916] [Info] Root: Done preparing Root.
    [11:34:22.917] [Info] Client Version 1.1.1 (windows i386) Source ID: 82604f6097b124f2ed38ee58a7ae18c51e916dd8 Protocol: 724
    [11:34:22.917] [Info] Root: Scanning for asset sources in directory '..\assets\'
    [11:34:24.988] [Info] Root: Scanning for asset sources in directory '..\mods\'
    [11:34:25.259] [Warn] Root: Unrecognized file in asset directory 'mods_go_here', skipping
    [11:34:25.350] [Info] Root: Detected asset source named 'base' at '..\assets\packed.pak'
    [11:34:25.350] [Info] Root: Detected unnamed asset source at '..\mods\ACCM'
    [11:34:25.350] [Info] Root: Detected unnamed asset source at '..\mods\AlertSound'
    [11:34:25.351] [Info] Root: Detected asset source named 'bk3k_pipes_flow' at '..\mods\Better Pipes'
    [11:34:25.351] [Info] Root: Detected asset source named 'GoatPerson' at '..\mods\Boss Monster Race'
    [11:34:25.351] [Info] Root: Detected asset source named 'Brighter Torches' at '..\mods\BrighterTorches'
    [11:34:25.351] [Info] Root: Detected asset source named 'CHARA SAIL Replacement' at '..\mods\CharaSAIL'
    [11:34:25.352] [Info] Root: Detected unnamed asset source at '..\mods\Cleaner Health Interface.pak'
    [11:34:25.352] [Info] Root: Detected asset source named 'CompactCrops' at '..\mods\CompactCrops - CG - 1.4'
    [11:34:25.352] [Info] Root: Detected asset source named 'FreedomofMovement' at '..\mods\FreedomofMovement+BetterDash'
    [11:34:25.352] [Info] Root: Detected asset source named 'Improved Food Descriptions' at '..\mods\ImprovedFoodDescriptions_v1.7.pak'
    [11:34:25.352] [Info] Root: Detected unnamed asset source at '..\mods\InvisClothes'
    [11:34:25.352] [Info] Root: Detected asset source named 'PerennialCrops' at '..\mods\PerennialCrops.pak'
    [11:34:25.352] [Info] Root: Detected asset source named 'PlantableFlowers' at '..\mods\PlantableFlowers.pak'
    [11:34:25.353] [Info] Root: Detected asset source named 'Shattering Death Animation' at '..\mods\ShatteringDeath'
    [11:34:25.353] [Info] Root: Detected asset source named 'TanzLO_aura_dark' at '..\mods\TanzLO-aura-dark.pak'
    [11:34:25.353] [Info] Root: Detected asset source named 'TanzLO_passthrough_some' at '..\mods\TanzLO-passthrough-some.pak'
    [11:34:25.353] [Info] Root: Detected unnamed asset source at '..\mods\cottonyarn.pak'
    [11:34:25.353] [Info] Root: Detected unnamed asset source at '..\mods\cryocrate.pak'
    [11:34:25.353] [Info] Root: Detected asset source named 'kao_loadlogo' at '..\mods\kao_loadlogo'
    [11:34:25.353] [Info] Root: Detected asset source named 'mininglanternwillwork' at '..\mods\mininglanternwillwork'
    [11:34:25.354] [Info] Root: Detected asset source named 'MMM' at '..\mods\mmm_1-3.pak'
    [11:34:25.354] [Info] Root: Detected asset source named 'Moreblocks' at '..\mods\moreblocks'
    [11:34:25.354] [Info] Root: Detected unnamed asset source at '..\mods\musicpack'
    [11:34:25.354] [Info] Root: Detected asset source named 'p_Pets' at '..\mods\p_Petsv1.3.pak'
    [11:34:25.355] [Info] Root: Detected asset source named 'No Weather Blockdamage' at '..\mods\NoWeatherBlockDamage.pak'
    [11:34:25.355] [Info] Root: Detected unnamed asset source at '..\assets\user'
    [11:34:25.355] [Info] Loading assets from: '..\assets\packed.pak'
    [11:34:27.744] [Info] Loading assets from: '..\mods\ACCM'
    [11:34:27.757] [Info] Loading assets from: '..\mods\AlertSound'
    [11:34:27.763] [Info] Loading assets from: '..\mods\Better Pipes'
    [11:34:27.769] [Info] Loading assets from: '..\mods\Boss Monster Race'
    [11:34:28.119] [Info] Loading assets from: '..\mods\BrighterTorches'
    [11:34:28.148] [Info] Loading assets from: '..\mods\CharaSAIL'
    [11:34:28.184] [Info] Loading assets from: '..\mods\Cleaner Health Interface.pak'
    [11:34:28.186] [Info] Loading assets from: '..\mods\CompactCrops - CG - 1.4'
    [11:34:28.220] [Info] Loading assets from: '..\mods\FreedomofMovement+BetterDash'
    [11:34:28.232] [Info] Loading assets from: '..\mods\ImprovedFoodDescriptions_v1.7.pak'
    [11:34:28.236] [Info] Loading assets from: '..\mods\InvisClothes'
    [11:34:28.253] [Info] Loading assets from: '..\mods\PerennialCrops.pak'
    [11:34:28.260] [Info] Loading assets from: '..\mods\PlantableFlowers.pak'
    [11:34:28.262] [Info] Loading assets from: '..\mods\ShatteringDeath'
    [11:34:28.268] [Info] Loading assets from: '..\mods\TanzLO-aura-dark.pak'
    [11:34:28.270] [Info] Loading assets from: '..\mods\TanzLO-passthrough-some.pak'
    [11:34:28.272] [Info] Loading assets from: '..\mods\cottonyarn.pak'
    [11:34:28.274] [Info] Loading assets from: '..\mods\cryocrate.pak'
    [11:34:28.278] [Info] Loading assets from: '..\mods\kao_loadlogo'
    [11:34:28.284] [Info] Loading assets from: '..\mods\mininglanternwillwork'
    [11:34:28.288] [Info] Loading assets from: '..\mods\mmm_1-3.pak'
    [11:34:28.292] [Info] Loading assets from: '..\mods\moreblocks'
    [11:34:28.356] [Info] Loading assets from: '..\mods\musicpack'
    [11:34:28.375] [Info] Loading assets from: '..\mods\p_Petsv1.3.pak'
    [11:34:28.480] [Info] Loading assets from: '..\mods\NoWeatherBlockDamage.pak'
    [11:34:28.483] [Info] Loading assets from: '..\assets\user'
    [11:34:38.948] [Info] Assets digest is 37d16f35532aa94384227d25174a6c3818d64516b9d5593d81f19286ee4c344e
    [11:34:38.948] [Info] Root: Loaded Assets in 16.0313 seconds
    [11:34:39.003] [Info] Application: Initializing SDL Video
    [11:34:39.008] [Info] Application: Initializing SDL Joystick
    [11:34:39.102] [Info] Application: Initializing SDL Sound
    [11:34:39.140] [Info] Initialized Steam services
    [11:34:39.141] [Info] Application: Creating SDL Window
    [11:34:40.180] [Info] Application: Enabling VSync with late swap tearing
    [11:34:40.404] [Info] Application: Opened default audio device with 44.1khz / 16 bit stereo audio, 2048 sample size buffer
    [11:34:40.422] [Info] OpenGL version: '4.3.12618 Compatibility Profile Context 13.251.9001.1001' vendor: 'ATI Technologies Inc.' renderer: 'AMD Radeon HD 7340 Graphics' shader: '4.30'
    [11:34:41.069] [Info] Application: initialization...
    [11:34:41.079] [Info] Root: Loaded Configuration in 0.00949332 seconds
    [11:34:41.093] [Info] Application: renderer initialization...
    [11:34:41.768] [Info] Root: Loaded ImageMetadataDatabase in 1.38888e-05 seconds
    [11:34:42.058] [Info] Application: main update loop...
    [11:34:42.087] [Info] No subscribed user generated content
    [11:34:42.227] [Info] Root: Loaded NameGenerator in 0.121857 seconds
    [11:34:43.892] [Info] Root: Loaded PlantDatabase in 1.66499 seconds
    [11:34:48.824] [Info] Root: Loaded ObjectDatabase in 6.6816 seconds
    [11:34:49.940] [Info] Root: Loaded ProjectileDatabase in 6.04833 seconds
    [11:34:50.907] [Info] Root: Loaded NpcDatabase in 0.965298 seconds
    [11:34:50.923] [Info] Root: Loaded StagehandDatabase in 0.0160283 seconds
    [11:34:50.967] [Info] Root: Loaded VehicleDatabase in 0.0433658 seconds
    [11:34:51.023] [Info] Root: Loaded PlayerFactory in 0.0545161 seconds
    [11:34:51.428] [Info] Root: Loaded MonsterDatabase in 2.60291 seconds
    [11:34:51.452] [Info] Root: Writing runtime configuration to '..\storage\starbound.config'
    [11:34:51.468] [Info] Root: Loaded VersioningDatabase in 0.0312197 seconds
    [11:34:51.468] [Info] Root: Loaded EntityFactory in 0.444723 seconds
    [11:34:52.437] [Info] Root: Loaded ParticleDatabase in 0.968508 seconds
    [11:34:52.545] [Error] Could not apply patch from source: ..\mods\moreblocks.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) No such key 'learnBlueprintsOnPickup' in pathApply("/learnBlueprintsOnPickup/-")
    [11:34:52.977] [Error] Could not apply patch from source: ..\mods\moreblocks.  Caused by: (JsonPatchException) Could not apply patch to base. (JsonPatchException) Could not apply operation to base. (TraversalException) No such key 'learnBlueprintsOnPickup' in pathApply("/learnBlueprintsOnPickup/-")
    [11:34:55.390] [Info] Root: Loaded MaterialDatabase in 3.92184 seconds
    [11:34:55.480] [Info] Root: Loaded TerrainDatabase in 0.0903499 seconds
    [11:34:56.082] [Error] Exception caught loading asset: /items/active/shields/deltashield.activeitem, (AssetException) Could not read JSON asset /items/active/shields/deltashield.activeitem
    [0] b9513a Star::captureStack
    [1] b94058 Star::StarException::StarException
    [2] b9411f Star::StarException::StarException
    [3] ba06b8 Star::AssetException::AssetException
    [4] ba2730 <lambda_89deb3f7b004ed959681fc67ec9098c4>::operator()
    [5] b9b636 std::_Invoker_functor::_Call<<lambda_89deb3f7b004ed959681fc67ec9098c4> &>
    [6] b9e046 std::invoke<<lambda_89deb3f7b004ed959681fc67ec9098c4> &>
    [7] b9c6bb std::_Invoke_ret<std::shared_ptr<Star::Assets::AssetData>,<lambda_89deb3f7b004ed959681fc67ec9098c4> &>
    [8] ba34fa std::_Func_impl<<lambda_89deb3f7b004ed959681fc67ec9098c4>,std::allocator<int>,std::shared_ptr<Star::Assets::AssetData> >::_Do_call
    [9] ba2e9a std::_Func_class<std::shared_ptr<Star::Assets::AssetData> >::operator()
    [10] ba954b Star::Assets::processAssetData
    [11] ba781a Star::Assets::loadJson
    [12] ba6cc8 Star::Assets::loadAsset
    [13] ba4c97 Star::Assets::doLoad
    [14] ba61f8 Star::Assets::getAsset
    [15] ba6af9 Star::Assets::json
    [16] c98cf0 Star::ItemDatabase::addItemSet
    [17] c9db3d Star::ItemDatabase::scanItems
    [18] c95d9d Star::ItemDatabase::ItemDatabase
    [19] e3ba74 std::make_shared<Star::ItemDatabase>
    [20] e40643 <lambda_9e20283833e6c8933fef4c0f73c09b45>::operator()
    [21] e335a6 std::_Invoker_functor::_Call<<lambda_9e20283833e6c8933fef4c0f73c09b45> &>
    [22] e36116 std::invoke<<lambda_9e20283833e6c8933fef4c0f73c09b45> &>
    [23] e343b6 std::_Invoke_ret<std::shared_ptr<Star::ItemDatabase>,<lambda_9e20283833e6c8933fef4c0f73c09b45> &>
    [24] e4249a std::_Func_impl<<lambda_9e20283833e6c8933fef4c0f73c09b45>,std::allocator<int>,std::shared_ptr<Star::ItemDatabase> >::_Do_call
    [25] ba2e9a std::_Func_class<std::shared_ptr<Star::Assets::AssetData> >::operator()
    [26] e38424 Star::Root::loadMemberFunction<Star::ItemDatabase>
    [27] e3672c Star::Root::loadMember<Star::ItemDatabase>
    [28] e4528b Star::Root::itemDatabase
    [29] e337ab std::_Invoker_pmf_pointer::_Call<std::shared_ptr<Star::Configuration> (__thiscall Star::Root::*)(void),Star::Root * &>
    [30] e35deb std::invoke<std::shared_ptr<Star::ItemDatabase const > (__thiscall Star::Root::*&)(void),Star::Root * &>
    [31] e341a9 std::_Invoke_ret<std::shared_ptr<Star::Configuration> (__thiscall Star::Root::*&)(void),Star::Root * &>
    [32] e3381c std::_Call_binder<std::_Unforced,0,std::shared_ptr<Star::EntityFactory const > (__thiscall Star::Root::*)(void),std::tuple<Star::Root *>,std::tuple<> >
    [33] e33284 std::_Binder<std::_Unforced,std::shared_ptr<Star::LiquidsDatabase const > (__thiscall Star::Root::*)(void),Star::Root * const>::operator()<>
    [34] e41f83 std::_Func_impl<Star::SwallowReturn<std::_Binder<std::_Unforced,std::shared_ptr<Star::AiDatabase const > (__thiscall Star::Root::*)(void),Star::Root * const> >,std::allocator<int>,void>::_Do_call
    [35] b8cc7e <lambda_7fe09c15515a3a4541ffd059be2af05d>::operator()
    [36] b8d732 Star::WorkerPool::WorkerThread::run
    [37] b920bc Star::ThreadImpl::runThread
    [38] 75577c04 BaseThreadInitThunk
    [39] 775dab8f RtlInitializeExceptionChain
    [40] 775dab5a RtlInitializeExceptionChain
    Caused by: (JsonParsingException) Cannot parse json file: /items/active/shields/deltashield.activeitem
    [0] b9513a Star::captureStack
    [1] b94058 Star::StarException::StarException
    [2] b9411f Star::StarException::StarException
    [3] ba1368 Star::JsonParsingException::JsonParsingException
    [4] ba9e30 Star::Assets::readJson
    [5] ba2555 <lambda_89deb3f7b004ed959681fc67ec9098c4>::operator()
    [6] b9b636 std::_Invoker_functor::_Call<<lambda_89deb3f7b004ed959681fc67ec9098c4> &>
    [7] b9e046 std::invoke<<lambda_89deb3f7b004ed959681fc67ec9098c4> &>
    [8] b9c6bb std::_Invoke_ret<std::shared_ptr<Star::Assets::AssetData>,<lambda_89deb3f7b004ed959681fc67ec9098c4> &>
    [9] ba34fa std::_Func_impl<<lambda_89deb3f7b004ed959681fc67ec9098c4>,std::allocator<int>,std::shared_ptr<Star::Assets::AssetData> >::_Do_call
    [10] ba2e9a std::_Func_class<std::shared_ptr<Star::Assets::AssetData> >::operator()
    [11] ba954b Star::Assets::processAssetData
    [12] ba781a Star::Assets::loadJson
    [13] ba6cc8 Star::Assets::loadAsset
    [14] ba4c97 Star::Assets::doLoad
    [15] ba61f8 Star::Assets::getAsset
    [16] ba6af9 Star::Assets::json
    [17] c98cf0 Star::ItemDatabase::addItemSet
    [18] c9db3d Star::ItemDatabase::scanItems
    [19] c95d9d Star::ItemDatabase::ItemDatabase
    [20] e3ba74 std::make_shared<Star::ItemDatabase>
    [21] e40643 <lambda_9e20283833e6c8933fef4c0f73c09b45>::operator()
    [22] e335a6 std::_Invoker_functor::_Call<<lambda_9e20283833e6c8933fef4c0f73c09b45> &>
    [23] e36116 std::invoke<<lambda_9e20283833e6c8933fef4c0f73c09b45> &>
    [24] e343b6 std::_Invoke_ret<std::shared_ptr<Star::ItemDatabase>,<lambda_9e20283833e6c8933fef4c0f73c09b45> &>
    [25] e4249a std::_Func_impl<<lambda_9e20283833e6c8933fef4c0f73c09b45>,std::allocator<int>,std::shared_ptr<Star::ItemDatabase> >::_Do_call
    [26] ba2e9a std::_Func_class<std::shared_ptr<Star::Assets::AssetData> >::operator()
    [27] e38424 Star::Root::loadMemberFunction<Star::ItemDatabase>
    [28] e3672c Star::Root::loadMember<Star::ItemDatabase>
    [29] e4528b Star::Root::itemDatabase
    [30] e337ab std::_Invoker_pmf_pointer::_Call<std::shared_ptr<Star::Configuration> (__thiscall Star::Root::*)(void),Star::Root * &>
    [31] e35deb std::invoke<std::shared_ptr<Star::ItemDatabase const > (__thiscall Star::Root::*&)(void),Star::Root * &>
    [32] e341a9 std::_Invoke_ret<std::shared_ptr<Star::Configuration> (__thiscall Star::Root::*&)(void),Star::Root * &>
    [33] e3381c std::_Call_binder<std::_Unforced,0,std::shared_ptr<Star::EntityFactory const > (__thiscall Star::Root::*)(void),std::tuple<Star::Root *>,std::tuple<> >
    [34] e33284 std::_Binder<std::_Unforced,std::shared_ptr<Star::LiquidsDatabase const > (__thiscall Star::Root::*)(void),Star::Root * const>::operator()<>
    [35] e41f83 std::_Func_impl<Star::SwallowReturn<std::_Binder<std::_Unforced,std::shared_ptr<Star::AiDatabase const > (__thiscall Star::Root::*)(void),Star::Root * const> >,std::allocator<int>,void>::_Do_call
    [36] b8cc7e <lambda_7fe09c15515a3a4541ffd059be2af05d>::operator()
    [37] b8d732 Star::WorkerPool::WorkerThread::run
    [38] b920bc Star::ThreadImpl::runThread
    [39] 75577c04 BaseThreadInitThunk
    [40] 775dab8f RtlInitializeExceptionChain
    [41] 775dab5a RtlInitializeExceptionChain
    Caused by: (JsonParsingException) Error parsing json: bad object, should be '}' or ',' at 4:3
    [0] b9513a Star::captureStack
    [1] b94058 Star::StarException::StarException
    [2] b9de8e Star::inputUtf8Json<char *>
    [3] ba994d Star::Assets::readJson
    [4] ba2555 <lambda_89deb3f7b004ed959681fc67ec9098c4>::operator()
    [5] b9b636 std::_Invoker_functor::_Call<<lambda_89deb3f7b004ed959681fc67ec9098c4> &>
    [6] b9e046 std::invoke<<lambda_89deb3f7b004ed959681fc67ec9098c4> &>
    [7] b9c6bb std::_Invoke_ret<std::shared_ptr<Star::Assets::AssetData>,<lambda_89deb3f7b004ed959681fc67ec9098c4> &>
    [8] ba34fa std::_Func_impl<<lambda_89deb3f7b004ed959681fc67ec9098c4>,std::allocator<int>,std::shared_ptr<Star::Assets::AssetData> >::_Do_call
    [9] ba2e9a std::_Func_class<std::shared_ptr<Star::Assets::AssetData> >::operator()
    [10] ba954b Star::Assets::processAssetData
    [11] ba781a Star::Assets::loadJson
    [12] ba6cc8 Star::Assets::loadAsset
    [13] ba4c97 Star::Assets::doLoad
    [14] ba61f8 Star::Assets::getAsset
    [15] ba6af9 Star::Assets::json
    [16] c98cf0 Star::ItemDatabase::addItemSet
    [17] c9db3d Star::ItemDatabase::scanItems
    [18] c95d9d Star::ItemDatabase::ItemDatabase
    [19] e3ba74 std::make_shared<Star::ItemDatabase>
    [20] e40643 <lambda_9e20283833e6c8933fef4c0f73c09b45>::operator()
    [21] e335a6 std::_Invoker_functor::_Call<<lambda_9e20283833e6c8933fef4c0f73c09b45> &>
    [22] e36116 std::invoke<<lambda_9e20283833e6c8933fef4c0f73c09b45> &>
    [23] e343b6 std::_Invoke_ret<std::shared_ptr<Star::ItemDatabase>,<lambda_9e20283833e6c8933fef4c0f73c09b45> &>
    [24] e4249a std::_Func_impl<<lambda_9e20283833e6c8933fef4c0f73c09b45>,std::allocator<int>,std::shared_ptr<Star::ItemDatabase> >::_Do_call
    [25] ba2e9a std::_Func_class<std::shared_ptr<Star::Assets::AssetData> >::operator()
    [26] e38424 Star::Root::loadMemberFunction<Star::ItemDatabase>
    [27] e3672c Star::Root::loadMember<Star::ItemDatabase>
    [28] e4528b Star::Root::itemDatabase
    [29] e337ab std::_Invoker_pmf_pointer::_Call<std::shared_ptr<Star::Configuration> (__thiscall Star::Root::*)(void),Star::Root * &>
    [30] e35deb std::invoke<std::shared_ptr<Star::ItemDatabase const > (__thiscall Star::Root::*&)(void),Star::Root * &>
    [31] e341a9 std::_Invoke_ret<std::shared_ptr<Star::Configuration> (__thiscall Star::Root::*&)(void),Star::Root * &>
    [32] e3381c std::_Call_binder<std::_Unforced,0,std::shared_ptr<Star::EntityFactory const > (__thiscall Star::Root::*)(void),std::tuple<Star::Root *>,std::tuple<> >
    [33] e33284 std::_Binder<std::_Unforced,std::shared_ptr<Star::LiquidsDatabase const > (__thiscall Star::Root::*)(void),Star::Root * const>::operator()<>
    [34] e41f83 std::_Func_impl<Star::SwallowReturn<std::_Binder<std::_Unforced,std::shared_ptr<Star::AiDatabase const > (__thiscall Star::Root::*)(void),Star::Root * const> >,std::allocator<int>,void>::_Do_call
    [35] b8cc7e <lambda_7fe09c15515a3a4541ffd059be2af05d>::operator()
    [36] b8d732 Star::WorkerPool::WorkerThread::run
    [37] b920bc Star::ThreadImpl::runThread
    [38] 75577c04 BaseThreadInitThunk
    [39] 775dab8f RtlInitializeExceptionChain
    [40] 775dab5a RtlInitializeExceptionChain
    [11:34:56.365] [Info] Root: Loaded BiomeDatabase in 0.884456 seconds
    [11:34:56.368] [Info] Root: Loaded LiquidsDatabase in 0.0196195 seconds
    [11:34:56.423] [Error] Application: exception thrown, shutting down: (ItemException) Could not load item asset /items/active/shields/deltashield.activeitem
    [0] b9513a Star::captureStack
    [1] b94058 Star::StarException::StarException
    [2] b9411f Star::StarException::StarException
    [3] c95e98 Star::ItemException::ItemException
    [4] c99418 Star::ItemDatabase::addItemSet
    [5] c9db3d Star::ItemDatabase::scanItems
    [6] c95d9d Star::ItemDatabase::ItemDatabase
    [7] e3ba74 std::make_shared<Star::ItemDatabase>
    [8] e40643 <lambda_9e20283833e6c8933fef4c0f73c09b45>::operator()
    [9] e335a6 std::_Invoker_functor::_Call<<lambda_9e20283833e6c8933fef4c0f73c09b45> &>
    [10] e36116 std::invoke<<lambda_9e20283833e6c8933fef4c0f73c09b45> &>
    [11] e343b6 std::_Invoke_ret<std::shared_ptr<Star::ItemDatabase>,<lambda_9e20283833e6c8933fef4c0f73c09b45> &>
    [12] e4249a std::_Func_impl<<lambda_9e20283833e6c8933fef4c0f73c09b45>,std::allocator<int>,std::shared_ptr<Star::ItemDatabase> >::_Do_call
    [13] ba2e9a std::_Func_class<std::shared_ptr<Star::Assets::AssetData> >::operator()
    [14] e38424 Star::Root::loadMemberFunction<Star::ItemDatabase>
    [15] e3672c Star::Root::loadMember<Star::ItemDatabase>
    [16] e4528b Star::Root::itemDatabase
    [17] e337ab std::_Invoker_pmf_pointer::_Call<std::shared_ptr<Star::Configuration> (__thiscall Star::Root::*)(void),Star::Root * &>
    [18] e35deb std::invoke<std::shared_ptr<Star::ItemDatabase const > (__thiscall Star::Root::*&)(void),Star::Root * &>
    [19] e341a9 std::_Invoke_ret<std::shared_ptr<Star::Configuration> (__thiscall Star::Root::*&)(void),Star::Root * &>
    [20] e3381c std::_Call_binder<std::_Unforced,0,std::shared_ptr<Star::EntityFactory const > (__thiscall Star::Root::*)(void),std::tuple<Star::Root *>,std::tuple<> >
    [21] e33284 std::_Binder<std::_Unforced,std::shared_ptr<Star::LiquidsDatabase const > (__thiscall Star::Root::*)(void),Star::Root * const>::operator()<>
    [22] e41f83 std::_Func_impl<Star::SwallowReturn<std::_Binder<std::_Unforced,std::shared_ptr<Star::AiDatabase const > (__thiscall Star::Root::*)(void),Star::Root * const> >,std::allocator<int>,void>::_Do_call
    [23] b8cc7e <lambda_7fe09c15515a3a4541ffd059be2af05d>::operator()
    [24] b8d732 Star::WorkerPool::WorkerThread::run
    [25] b920bc Star::ThreadImpl::runThread
    [26] 75577c04 BaseThreadInitThunk
    [27] 775dab8f RtlInitializeExceptionChain
    [28] 775dab5a RtlInitializeExceptionChain
    Caused by: (AssetException) Error loading asset /items/active/shields/deltashield.activeitem
    [0] b9513a Star::captureStack
    [1] b94058 Star::StarException::StarException
    [2] b9d7bb Star::AssetException::format<Star::AssetPath>
    [3] ba628d Star::Assets::getAsset
    [4] ba6af9 Star::Assets::json
    [5] c98cf0 Star::ItemDatabase::addItemSet
    [6] c9db3d Star::ItemDatabase::scanItems
    [7] c95d9d Star::ItemDatabase::ItemDatabase
    [8] e3ba74 std::make_shared<Star::ItemDatabase>
    [9] e40643 <lambda_9e20283833e6c8933fef4c0f73c09b45>::operator()
    [10] e335a6 std::_Invoker_functor::_Call<<lambda_9e20283833e6c8933fef4c0f73c09b45> &>
    [11] e36116 std::invoke<<lambda_9e20283833e6c8933fef4c0f73c09b45> &>
    [12] e343b6 std::_Invoke_ret<std::shared_ptr<Star::ItemDatabase>,<lambda_9e20283833e6c8933fef4c0f73c09b45> &>
    [13] e4249a std::_Func_impl<<lambda_9e20283833e6c8933fef4c0f73c09b45>,std::allocator<int>,std::shared_ptr<Star::ItemDatabase> >::_Do_call
    [14] ba2e9a std::_Func_class<std::shared_ptr<Star::Assets::AssetData> >::operator()
    [15] e38424 Star::Root::loadMemberFunction<Star::ItemDatabase>
    [16] e3672c Star::Root::loadMember<Star::ItemDatabase>
    [17] e4528b Star::Root::itemDatabase
    [18] e337ab std::_Invoker_pmf_pointer::_Call<std::shared_ptr<Star::Configuration> (__thiscall Star::Root::*)(void),Star::Root * &>
    [19] e35deb std::invoke<std::shared_ptr<Star::ItemDatabase const > (__thiscall Star::Root::*&)(void),Star::Root * &>
    [20] e341a9 std::_Invoke_ret<std::shared_ptr<Star::Configuration> (__thiscall Star::Root::*&)(void),Star::Root * &>
    [21] e3381c std::_Call_binder<std::_Unforced,0,std::shared_ptr<Star::EntityFactory const > (__thiscall Star::Root::*)(void),std::tuple<Star::Root *>,std::tuple<> >
    [22] e33284 std::_Binder<std::_Unforced,std::shared_ptr<Star::LiquidsDatabase const > (__thiscall Star::Root::*)(void),Star::Root * const>::operator()<>
    [23] e41f83 std::_Func_impl<Star::SwallowReturn<std::_Binder<std::_Unforced,std::shared_ptr<Star::AiDatabase const > (__thiscall Star::Root::*)(void),Star::Root * const> >,std::allocator<int>,void>::_Do_call
    [24] b8cc7e <lambda_7fe09c15515a3a4541ffd059be2af05d>::operator()
    [25] b8d732 Star::WorkerPool::WorkerThread::run
    [26] b920bc Star::ThreadImpl::runThread
    [27] 75577c04 BaseThreadInitThunk
    [28] 775dab8f RtlInitializeExceptionChain
    [29] 775dab5a RtlInitializeExceptionChain
    [11:34:56.425] [Info] Application: shutdown...
    [11:34:56.651] [Info] Root: Shutting down Root
    [11:35:00.354] [Info] Application: Destroying SDL Window
    [11:35:00.378] [Info] Application: stopped gracefully
    

    Problem solved, I wasn't looking too closely at the code and ended up leaving a comma out.
     
    Last edited by a moderator: Oct 21, 2016
  2. Magnusito

    Magnusito Subatomic Cosmonaut

    Code:
    Caused by: (JsonParsingException) Error parsing json: bad object, should be '}' or ',' at 4:3
    Pretty self explanatory.

    Code:
      "level" : 6
    Missing comma.
     
  3. Asriel150

    Asriel150 Guest

    Clearly wasn't looking very closely when I was creating it and forgot that comma.
    How'd I end up with that oversight?

    Thanks, Magnusito.
     
  4. Magnusito

    Magnusito Subatomic Cosmonaut

    Sometimes we just need another pair of eyes to see the obvious.

    Use this next time http://jsonlint.com/ , it will tell you if something is wrong with your json files.
     
  5. Hel

    Hel ✨ Johto's Finest ✨ Forum Moderator

    Closed at OP's request.
     
Thread Status:
Not open for further replies.

Share This Page