Modding Help Help reading the log

Discussion in 'Starbound Modding' started by LAVASQUID, Aug 11, 2016.

  1. LAVASQUID

    LAVASQUID Guest

    Can someone help read my Starbound log and tell me the problem with my mod, i'm new and this is my first mod. So if you help me I would really appreciate it.

    [13:51:32.252] [Info] Root: Preparing Root...
    [13:51:32.264] [Info] Root: Done preparing Root.
    [13:51:32.265] [Info] Client Version 1.0.5 (windows x86_64) Source ID: 7d4a2bbba04d43bd7f43f0ca940db23b2187edc1 Protocol: 724
    [13:51:32.266] [Info] Root: Scanning for asset sources in directory '..\assets\'
    [13:51:34.176] [Info] Root: Scanning for asset sources in directory '..\mods\'
    [13:51:34.178] [Info] Root: Detected asset source named 'base' at '..\assets\packed.pak'
    [13:51:34.179] [Info] Root: Detected unnamed asset source at '..\mods\CapturableBosses.pak'
    [13:51:34.179] [Info] Root: Detected unnamed asset source at '..\assets\user'
    [13:51:34.180] [Info] Loading assets from: '..\assets\packed.pak'
    [13:51:36.089] [Info] Loading assets from: '..\mods\CapturableBosses.pak'
    [13:51:36.091] [Info] Loading assets from: '..\assets\user'
    [13:51:37.866] [Info] Assets digest is 1d335debe9648aa2b2ee29d9da454ca55ef2fcee24ffd5e892f2f4389fe7178b
    [13:51:37.866] [Info] Root: Loaded Assets in 5.60115 seconds
    [13:51:37.874] [Info] Application: Initializing SDL Video
    [13:51:37.887] [Info] Application: Initializing SDL Joystick
    [13:51:38.079] [Info] Application: Initializing SDL Sound
    [13:51:38.226] [Info] Initialized Steam services
    [13:51:38.226] [Info] Application: Creating SDL Window
    [13:51:39.342] [Info] Application: Enabling VSync with late swap tearing
    [13:51:39.715] [Info] Application: Opened default audio device with 44.1khz / 16 bit stereo audio, 2048 sample size buffer
    [13:51:39.727] [Info] OpenGL version: '4.5.13399 Compatibility Profile Context 15.201.1101.0' vendor: 'ATI Technologies Inc.' renderer: 'AMD Radeon(TM) HD 8610G' shader: '4.40'
    [13:51:39.731] [Info] Application: initialization...
    [13:51:39.735] [Info] Root: Loaded Configuration in 0.00414566 seconds
    [13:51:39.737] [Info] Application: Disabling VSync
    [13:51:39.798] [Info] Application: renderer initialization...
    [13:51:39.806] [Info] Root: Loaded ImageMetadataDatabase in 2.29609e-05 seconds
    [13:51:39.860] [Info] Application: main update loop...
    [13:51:39.962] [Info] No subscribed user generated content
    [13:51:40.006] [Info] Root: Loaded NameGenerator in 0.0283792 seconds
    [13:51:40.030] [Error] OpenGL errors this frame: GL_INVALID_VALUE
    [13:51:40.328] [Info] Root: Loaded PlantDatabase in 0.322004 seconds
    [13:51:41.123] [Info] Root: Loaded ObjectDatabase in 1.14575 seconds
    [13:51:41.745] [Info] Root: Loaded NpcDatabase in 0.119433 seconds
    [13:51:41.749] [Info] Root: Loaded StagehandDatabase in 0.00391264 seconds
    [13:51:41.759] [Info] Root: Loaded VehicleDatabase in 0.00951656 seconds
    [13:51:41.767] [Info] Root: Loaded PlayerFactory in 0.00722536 seconds
    [13:51:41.991] [Info] Root: Loaded ProjectileDatabase in 1.66309 seconds
    [13:51:42.157] [Info] Root: Loaded ParticleDatabase in 0.164747 seconds
    [13:51:42.721] [Info] Root: Loaded MaterialDatabase in 0.729207 seconds
    [13:51:42.880] [Info] Root: Writing runtime configuration to '..\storage\starbound.config'
    [13:51:45.898] [Info] Root: Loaded CodexDatabase in 0.0115547 seconds
    [13:51:45.936] [Info] Root: Loaded FunctionDatabase in 0.0145333 seconds
    [13:51:47.738] [Info] Root: Loaded ItemDatabase in 5.91565 seconds
    [13:51:48.075] [Error] Application: exception thrown, shutting down: (MonsterException) Error loading monster type '/CapturableBosses/assets/monsters/boss/crystalboss/crystalboss.monstertype'
    [0] 7ff63b781ee3 Star::captureStack
    [1] 7ff63b780c6e Star::StarException::StarException
    [2] 7ff63b780d58 Star::StarException::StarException
    [3] 7ff63b9419c0 Star::MonsterException::MonsterException
    [4] 7ff63c021121 `Star::MonsterDatabase::MonsterDatabase'::`1'::catch$1007
    [5] 7ff9fa03c710 _C_specific_handler
    [6] 7ff9fa032ac2 _FrameUnwindFilter
    [7] 7ffa04e290e3 RtlCaptureContext
    [8] 7ff63b93facf Star::MonsterDatabase::MonsterDatabase
    [9] 7ff63bad9eb5 std::make_shared<Star::MonsterDatabase>
    [10] 7ff63bade5a9 <lambda_4fb3f86e39b40786b9bca87de4687c0e>::eek:perator()
    [11] 7ff63bad06ff std::_Invoker_functor::_Call<<lambda_4fb3f86e39b40786b9bca87de4687c0e> & __ptr64>
    [12] 7ff63bad4796 std::invoke<<lambda_4fb3f86e39b40786b9bca87de4687c0e> & __ptr64>
    [13] 7ff63bad2369 std::_Invoke_ret<std::shared_ptr<Star::MonsterDatabase>,<lambda_4fb3f86e39b40786b9bca87de4687c0e> & __ptr64>
    [14] 7ff63bae0f46 std::_Func_impl<<lambda_4fb3f86e39b40786b9bca87de4687c0e>,std::allocator<int>,std::shared_ptr<Star::MonsterDatabase> >::_Do_call
    [15] 7ff63badf6f7 std::_Func_class<std::shared_ptr<Star::DanceDatabase> >::eek:perator()
    [16] 7ff63bad6e13 Star::Root::loadMemberFunction<Star::MonsterDatabase>
    [17] 7ff63bad50a9 Star::Root::loadMember<Star::MonsterDatabase>
    [18] 7ff63bae6572 Star::Root::monsterDatabase
    [19] 7ff63bad0c40 std::_Invoker_pmf_pointer::_Call<std::shared_ptr<Star::DungeonDefinitions const > (__cdecl Star::Root::*)(void) __ptr64,Star::Root * __ptr64 & __ptr64>
    [20] 7ff63bad4609 std::invoke<std::shared_ptr<Star::ItemDatabase const > (__cdecl Star::Root::*& __ptr64)(void) __ptr64,Star::Root * __ptr64 & __ptr64>
    [21] 7ff63bad200c std::_Invoke_ret<std::shared_ptr<Star::TerrainDatabase const > (__cdecl Star::Root::*& __ptr64)(void) __ptr64,Star::Root * __ptr64 & __ptr64>
    [22] 7ff63bad0cce std::_Call_binder<std::_Unforced,0,std::shared_ptr<Star::Configuration> (__cdecl Star::Root::*)(void) __ptr64,std::tuple<Star::Root * __ptr64>,std::tuple<> >
    [23] 7ff63bad03be std::_Binder<std::_Unforced,std::shared_ptr<Star::SpawnTypeDatabase const > (__cdecl Star::Root::*)(void) __ptr64,Star::Root * __ptr64 const>::eek:perator()<>
    [24] 7ff63bae0cb2 std::_Func_impl<Star::SwallowReturn<std::_Binder<std::_Unforced,std::shared_ptr<Star::ImageMetadataDatabase const > (__cdecl Star::Root::*)(void) __ptr64,Star::Root * __ptr64 const> >,std::allocator<int>,void>::_Do_call
    [25] 7ff63b778d3b <lambda_7b083dc4bdd496712d99e51bb49515b5>::eek:perator()
    [26] 7ff63b779ae2 Star::WorkerPool::WorkerThread::run
    [27] 7ff63b77ea0e Star::ThreadImpl::runThread
    [28] 7ffa04af8102 BaseThreadInitThunk
    [29] 7ffa04ddc5b4 RtlUserThreadStart
    Caused by: (JsonException) No such key in Json::get("type")
    [0] 7ff63b781ee3 Star::captureStack
    [1] 7ff63b780c6e Star::StarException::StarException
    [2] 7ff63b724849 Star::Json::get
    [3] 7ff63b7255bb Star::Json::getString
    [4] 7ff63b93facf Star::MonsterDatabase::MonsterDatabase
    [5] 7ff63bad9eb5 std::make_shared<Star::MonsterDatabase>
    [6] 7ff63bade5a9 <lambda_4fb3f86e39b40786b9bca87de4687c0e>::eek:perator()
    [7] 7ff63bad06ff std::_Invoker_functor::_Call<<lambda_4fb3f86e39b40786b9bca87de4687c0e> & __ptr64>
    [8] 7ff63bad4796 std::invoke<<lambda_4fb3f86e39b40786b9bca87de4687c0e> & __ptr64>
    [9] 7ff63bad2369 std::_Invoke_ret<std::shared_ptr<Star::MonsterDatabase>,<lambda_4fb3f86e39b40786b9bca87de4687c0e> & __ptr64>
    [10] 7ff63bae0f46 std::_Func_impl<<lambda_4fb3f86e39b40786b9bca87de4687c0e>,std::allocator<int>,std::shared_ptr<Star::MonsterDatabase> >::_Do_call
    [11] 7ff63badf6f7 std::_Func_class<std::shared_ptr<Star::DanceDatabase> >::eek:perator()
    [12] 7ff63bad6e13 Star::Root::loadMemberFunction<Star::MonsterDatabase>
    [13] 7ff63bad50a9 Star::Root::loadMember<Star::MonsterDatabase>
    [14] 7ff63bae6572 Star::Root::monsterDatabase
    [15] 7ff63bad0c40 std::_Invoker_pmf_pointer::_Call<std::shared_ptr<Star::DungeonDefinitions const > (__cdecl Star::Root::*)(void) __ptr64,Star::Root * __ptr64 & __ptr64>
    [16] 7ff63bad4609 std::invoke<std::shared_ptr<Star::ItemDatabase const > (__cdecl Star::Root::*& __ptr64)(void) __ptr64,Star::Root * __ptr64 & __ptr64>
    [17] 7ff63bad200c std::_Invoke_ret<std::shared_ptr<Star::TerrainDatabase const > (__cdecl Star::Root::*& __ptr64)(void) __ptr64,Star::Root * __ptr64 & __ptr64>
    [18] 7ff63bad0cce std::_Call_binder<std::_Unforced,0,std::shared_ptr<Star::Configuration> (__cdecl Star::Root::*)(void) __ptr64,std::tuple<Star::Root * __ptr64>,std::tuple<> >
    [19] 7ff63bad03be std::_Binder<std::_Unforced,std::shared_ptr<Star::SpawnTypeDatabase const > (__cdecl Star::Root::*)(void) __ptr64,Star::Root * __ptr64 const>::eek:perator()<>
    [20] 7ff63bae0cb2 std::_Func_impl<Star::SwallowReturn<std::_Binder<std::_Unforced,std::shared_ptr<Star::ImageMetadataDatabase const > (__cdecl Star::Root::*)(void) __ptr64,Star::Root * __ptr64 const> >,std::allocator<int>,void>::_Do_call
    [21] 7ff63b778d3b <lambda_7b083dc4bdd496712d99e51bb49515b5>::eek:perator()
    [22] 7ff63b779ae2 Star::WorkerPool::WorkerThread::run
    [23] 7ff63b77ea0e Star::ThreadImpl::runThread
    [24] 7ffa04af8102 BaseThreadInitThunk
    [25] 7ffa04ddc5b4 RtlUserThreadStart
    [13:51:48.076] [Info] Application: shutdown...
    [13:51:48.183] [Info] Root: Shutting down Root
    [13:51:48.737] [Info] Application: Destroying SDL Window
    [13:51:48.956] [Info] Application: stopped gracefully
     
  2. LAVASQUID

    LAVASQUID Guest

    Sorry i didn't know that emotes would show up
     

    Attached Files:

  3. Nirrudn

    Nirrudn Void-Bound Voyager

    Can you include the contents of your crystalboss.monstertype from the mod?
     
  4. Inf_Wolf14

    Inf_Wolf14 Parsec Taste Tester

    There's an error in the .monstertype file.

    Log says, key "type" isnt found in the file. Check your file, I'm guessing near the top, you have something like:
    Code:
    "kind" : (Insert Monster Name Here)
    
    That should be type, not kind.

    Only a guess though because I can't look through your files.
     
  5. The | Suit

    The | Suit Agent S. Forum Moderator

    you can use the
    [nosmiles] [/nosmiles] tag to remove smilies.

    Code:
    Caused by: (JsonException) No such key in Json::get("type")
     
  6. LAVASQUID

    LAVASQUID Guest

    Oh I thought i didn't need to put "type" : ... because I made it a .patch file, i read somewhere that the merge function doesn't work anymore and i found you can do .patch to add to the main file.
    Anyway here is the file

    [nosmiles]
    {
    "baseParameters": {
    "scripts": [
    "/projectiles/throwable/capturepod/capturepod.lua",
    "/monsters/boss/bossMonster.lua"
    ],
    "capturable": true,
    "captureHealthFraction": 1,
    "nametagColor": [
    225,
    156,
    244
    ],
    "killsPerLevel": 20
    }
    }
    [/nosmiles]

    Sorry the spaces didn't show up but I think you will get it.
     
  7. The | Suit

    The | Suit Agent S. Forum Moderator

    The no smiles has to go in before and after the code tags :p

    Also it was nosmile ( without s) - sorry.
     
  8. Nirrudn

    Nirrudn Void-Bound Voyager

    Patch files are structured differently than a regular file, so the way you have it written will not accomplish what you want. Here's a comprehensive guide on how to write patch files:

    http://community.playstarbound.com/threads/basic-patching-now-with-path-guide-v1-9.84496/
     
  9. LAVASQUID

    LAVASQUID Guest

  10. LAVASQUID

    LAVASQUID Guest

    I have fixed my file but there is still and error.

    [
    {
    "op":"add",
    "path":"/baseParameters/capturable",
    "value":true
    },
    {
    "op":"add",
    "path":"/baseParameters/captureHealthFraction",
    "value":1.0
    },
    {
    "op":"add",
    "path":"/baseParameters/nametagColor",
    "value":[225, 156, 244]
    }
    ]
     

    Attached Files:

  11. LAVASQUID

    LAVASQUID Guest

    Plz someone help...
     

Share This Page