1. Note: Nightly builds are not officially supported and things that appear broken might actually just be broken with no way of fixing it, but community members may still be willing to assist you with common problems.

Bug/Issue Colony deed errors in 1.2.0 RC1... and I even fixed it.

Discussion in 'Nightly Builds Support' started by bk3k, Dec 10, 2016.

  1. bk3k

    bk3k Oxygen Tank

    Code:
    [22:39:15.734] [Info] Root: Preparing Root...
    [22:39:15.736] [Info] Root: Done preparing Root.
    [22:39:15.736] [Info] Client Version 1.2.0 RC1 (windows x86_64) Source ID: 10163a2d43dcff0cbb74a0d90bd9e3f26c6cef8c Protocol: 728
    [22:39:15.736] [Info] Root: Scanning for asset sources in directory '..\assets\'
    [22:39:16.377] [Info] Root: Scanning for asset sources in directory '..\mods\'
    [22:39:16.391] [Info] Root: Skipping hidden '_disabled' in asset directory
    [22:39:16.409] [Info] Root: Detected asset source named 'base' at '..\assets\packed.pak'
    [22:39:16.409] [Info] Root: Detected asset source named 'ConfigurableStackSize' at '..\mods\ConfigurableStackSize'
    [22:39:16.409] [Info] Root: Detected asset source named 'bk3k_blocks_and_objects' at '..\mods\bk3k_blocks_and_objects'
    [22:39:16.409] [Info] Root: Detected asset source named 'Ship Yard Rebuilt' at '..\mods\Ship Yard Rebuilt (lessVanilla)'
    [22:39:16.409] [Info] Root: Detected asset source named 'Ship Yard Rebuilt racePatch1' at '..\mods\Ship Yard Rebuilt (lessVanilla) racePatch1'
    [22:39:16.409] [Info] Root: Detected asset source named 'Ship Yard Rebuilt racePatch2' at '..\mods\Ship Yard Rebuilt (lessVanilla) racePatch2'
    [22:39:16.409] [Info] Root: Detected unnamed asset source at '..\mods\bk3k base-in-a-box modules'
    [22:39:16.409] [Info] Root: Detected unnamed asset source at '..\mods\bk3k noDrop'
    [22:39:16.409] [Info] Root: Detected asset source named 'bk3k_testLUA_tech' at '..\mods\bk3k testLUA tech'
    [22:39:16.409] [Info] Root: Detected unnamed asset source at '..\mods\bk3k_Instant_Teleport'
    [22:39:16.409] [Info] Root: Detected asset source named 'bk3k_pipes_flow' at '..\mods\bk3k_Pipes_Flow'
    [22:39:16.409] [Info] Root: Detected asset source named 'More Powerful Techs' at '..\mods\bk3k_Techs'
    [22:39:16.409] [Info] Root: Detected asset source named 'player start modifier' at '..\mods\bk3k_playerStart_modifier'
    [22:39:16.409] [Info] Root: Detected asset source named 'bk3k_shipDamage' at '..\mods\bk3k_shipDamage'
    [22:39:16.409] [Info] Root: Detected asset source named 'modules-in-a-box' at '..\mods\modules-in-a-box'
    [22:39:16.409] [Info] Root: Detected asset source named 'pilch_sciencestation' at '..\mods\pilch_sciencestation'
    [22:39:16.409] [Info] Root: Detected asset source named 'automaticDoors' at '..\mods\Automatic-Doors'
    [22:39:16.409] [Info] Root: Detected unnamed asset source at '..\assets\user'
    [22:39:16.409] [Info] Loading assets from: '..\assets\packed.pak'
    [22:39:17.160] [Info] Loading assets from: '..\mods\ConfigurableStackSize'
    [22:39:17.160] [Info] Loading assets from: '..\mods\bk3k_blocks_and_objects'
    [22:39:17.181] [Info] Loading assets from: '..\mods\Ship Yard Rebuilt (lessVanilla)'
    [22:39:17.196] [Info] Loading assets from: '..\mods\Ship Yard Rebuilt (lessVanilla) racePatch1'
    [22:39:17.197] [Info] Loading assets from: '..\mods\Ship Yard Rebuilt (lessVanilla) racePatch2'
    [22:39:17.197] [Info] Loading assets from: '..\mods\bk3k base-in-a-box modules'
    [22:39:17.199] [Info] Loading assets from: '..\mods\bk3k noDrop'
    [22:39:17.199] [Info] Loading assets from: '..\mods\bk3k testLUA tech'
    [22:39:17.200] [Info] Loading assets from: '..\mods\bk3k_Instant_Teleport'
    [22:39:17.201] [Info] Loading assets from: '..\mods\bk3k_Pipes_Flow'
    [22:39:17.202] [Info] Loading assets from: '..\mods\bk3k_Techs'
    [22:39:17.203] [Info] Loading assets from: '..\mods\bk3k_playerStart_modifier'
    [22:39:17.205] [Info] Loading assets from: '..\mods\bk3k_shipDamage'
    [22:39:17.205] [Info] Loading assets from: '..\mods\modules-in-a-box'
    [22:39:17.209] [Info] Loading assets from: '..\mods\pilch_sciencestation'
    [22:39:17.220] [Info] Loading assets from: '..\mods\Automatic-Doors'
    [22:39:17.225] [Info] Loading assets from: '..\assets\user'
    [22:39:18.429] [Info] Assets digest is 03f6bd5185417c90d520e6c8012832df83cc9d253bbef55fffc5941a92e0d8e9
    [22:39:18.429] [Info] Root: Loaded Assets in 2.69301 seconds
    [22:39:18.435] [Info] Application: Initializing SDL Video
    [22:39:18.445] [Info] Application: Initializing SDL Joystick
    [22:39:18.560] [Info] Application: Initializing SDL Sound
    [22:39:18.645] [Info] Initialized Steam services
    [22:39:18.645] [Info] Application: Creating SDL Window
    [22:39:18.800] [Info] Application: Enabling VSync with late swap tearing
    [22:39:18.813] [Info] Application: Opened default audio device with 44.1khz / 16 bit stereo audio, 2048 sample size buffer
    [22:39:18.827] [Info] OpenGL version: '4.5.0 NVIDIA 364.72' vendor: 'NVIDIA Corporation' renderer: 'GeForce GTX 560 Ti/PCIe/SSE2' shader: '4.50 NVIDIA'
    [22:39:18.834] [Info] Application: initialization...
    [22:39:18.836] [Info] Root: Loaded Configuration in 0.00144583 seconds
    [22:39:19.110] [Info] Application: renderer initialization...
    [22:39:19.112] [Info] detected maximum OpenGL texture size 16384, using atlasNumCells 256
    [22:39:19.112] [Info] detected maximum OpenGL texture size 16384, using atlasNumCells 256
    [22:39:19.112] [Info] detected maximum OpenGL texture size 16384, using atlasNumCells 256
    [22:39:19.115] [Info] Root: Loaded ImageMetadataDatabase in 8.88831e-06 seconds
    [22:39:19.139] [Info] Application: main update loop...
    [22:39:19.141] [Info] No subscribed user generated content
    [22:39:19.181] [Info] Root: Loaded NameGenerator in 0.0380215 seconds
    [22:39:19.304] [Error] OpenGL errors this frame:  GL_INVALID_VALUE
    [22:39:19.483] [Info] Root: Loaded PlantDatabase in 0.302147 seconds
    [22:39:20.378] [Info] Root: Loaded ProjectileDatabase in 0.8954 seconds
    [22:39:20.439] [Info] Root: Loaded ObjectDatabase in 1.29547 seconds
    [22:39:20.555] [Info] Root: Loaded NpcDatabase in 0.115875 seconds
    [22:39:20.558] [Info] Root: Loaded StagehandDatabase in 0.00298745 seconds
    [22:39:20.564] [Info] Root: Loaded VehicleDatabase in 0.00547519 seconds
    [22:39:20.590] [Info] Root: Loaded MonsterDatabase in 0.211162 seconds
    [22:39:20.685] [Info] Root: Loaded PlayerFactory in 0.121221 seconds
    [22:39:20.687] [Info] Root: Loaded VersioningDatabase in 0.002228 seconds
    [22:39:20.687] [Info] Root: Loaded EntityFactory in 0.0975684 seconds
    [22:39:20.739] [Info] Root: Writing runtime configuration to '..\storage\starbound.config'
    [22:39:20.743] [Info] Root: Loaded ParticleDatabase in 0.0556825 seconds
    [22:39:21.091] [Info] Root: Loaded MaterialDatabase in 0.404019 seconds
    [22:39:21.098] [Info] Root: Loaded TerrainDatabase in 0.00657602 seconds
    [22:39:21.142] [Info] Root: Loaded BiomeDatabase in 0.043788 seconds
    [22:39:21.143] [Info] Root: Loaded LiquidsDatabase in 0.000844058 seconds
    [22:39:21.150] [Info] Root: Loaded StatusEffectDatabase in 0.00735917 seconds
    [22:39:21.560] [Info] Root: Loaded DamageDatabase in 0.40974 seconds
    [22:39:21.566] [Info] Root: Loaded EffectSourceDatabase in 0.00582644 seconds
    [22:39:21.571] [Info] Root: Loaded FunctionDatabase in 0.00529676 seconds
    [22:39:21.609] [Info] Root: Loaded TreasureDatabase in 0.0376403 seconds
    [22:39:21.936] [Info] Root: Loaded DungeonDefinitions in 0.326894 seconds
    [22:39:21.936] [Info] Root: Loaded TilesetDatabase in 5.53049e-05 seconds
    [22:39:21.939] [Info] Root: Loaded StatisticsDatabase in 0.00278664 seconds
    [22:39:21.939] [Info] Root: Loaded EmoteProcessor in 9.84296e-05 seconds
    [22:39:21.948] [Info] Root: Loaded SpeciesDatabase in 0.00874641 seconds
    [22:39:21.965] [Info] Root: Loaded QuestTemplateDatabase in 0.017343 seconds
    [22:39:21.967] [Info] Root: Loaded AiDatabase in 0.00181222 seconds
    [22:39:21.969] [Info] Root: Loaded TechDatabase in 0.00159858 seconds
    [22:39:21.975] [Info] Root: Loaded CodexDatabase in 0.00589458 seconds
    [22:39:22.375] [Info] Root: Loaded BehaviorDatabase in 0.400478 seconds
    [22:39:22.380] [Info] Root: Loaded DanceDatabase in 0.00431312 seconds
    [22:39:22.386] [Info] Root: Loaded SpawnTypeDatabase in 0.00655067 seconds
    [22:39:22.390] [Info] Root: Loaded RadioMessageDatabase in 0.00341903 seconds
    [22:39:24.178] [Info] Root: Loaded ItemDatabase in 3.49245 seconds
    [22:39:24.385] [Info] Root: Loaded CollectionDatabase in 1.99396 seconds
    [22:39:28.820] [Info] detected maximum OpenGL texture size 16384, using atlasNumCells 256
    [22:39:38.666] [Info] UniverseServer: Acquiring universe lock file
    [22:39:38.668] [Info] UniverseServer: Loading settings
    [22:39:40.893] [Info] UniverseServer: Starting UniverseServer with UUID: c88f18606eaf4e4fea3f00c28a159641
    [22:39:46.210] [Info] UniverseServer: Logged in player 'Sekaila' locally
    [22:39:46.210] [Info] UniverseServer: Logged in account '<anonymous>' as player 'Sekaila' from address local
    [22:39:48.956] [Info] UniverseClient: Joined server as client 1
    [22:39:49.316] [Info] detected maximum OpenGL texture size 16384, using atlasNumCells 256
    [22:39:49.316] [Info] detected maximum OpenGL texture size 16384, using atlasNumCells 256
    [22:39:49.316] [Info] detected maximum OpenGL texture size 16384, using atlasNumCells 256
    [22:39:49.324] [Info] detected maximum OpenGL texture size 16384, using atlasNumCells 256
    [22:39:49.325] [Info] Setting steam rich presence connection as steam id 76561198042147722
    [22:39:49.919] [Info] UniverseServer: Reviving player at ClientShipWorld:e5f93c9bc970a1456389e1e31f5655f0
    [22:39:49.919] [Info] UniverseServer: Client 'Sekaila' <1> (local) connected
    [22:39:49.922] [Info] UniverseServer: Loading client ship world ClientShipWorld:e5f93c9bc970a1456389e1e31f5655f0
    [22:39:50.828] [Info] UniverseServer: Warping player 1 to ClientShipWorld:e5f93c9bc970a1456389e1e31f5655f0=1209.13.1249
    [22:39:58.879] [Info] Root: Loaded TenantDatabase in 0.00583072 seconds
    [22:40:06.871] [Error] Exception while invoking lua function 'tenant.setGrumbles'. (LuaException) Error code 2, [string "/scripts/tenant.lua"]:75: attempt to get length of a nil value (local 'grumbles')
    stack traceback:
        [C]: in metamethod '__len'
        [string "/scripts/tenant.lua"]:75: in function <[string "/scripts/tenant.lua"]:71>
        [C]: in field 'callScriptedEntity'
        [string "/objects/spawner/colonydeed/colonydeed.lua"]:595: in global 'checkHouseIntegrity'
        [string "/objects/spawner/colonydeed/colonydeed.lua"]:259: in field 'completeCallback'
        [string "/objects/spawner/colonydeed/timer.lua"]:28: in method 'update'
        [string "/objects/spawner/colonydeed/timer.lua"]:118: in method 'update'
        [string "/objects/spawner/colonydeed/colonydeed.lua"]:107: in function <[string "/objects/spawner/colonydeed/colonydeed.lua"]:104>
    [0] 13f7437f3 Star::captureStack
    [1] 13f74254e Star::StarException::StarException
    [2] 13f717401 Star::LuaEngine::handleError
    [3] 13f8e4017 Star::LuaEngine::callFunction<Star::LuaVariadic<Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData> > >
    [4] 13f8e78b4 Star::LuaFunction::invoke<Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData>,Star::LuaVariadic<Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData> > >
    [5] 13f8e73c1 Star::LuaBaseComponent::invoke<Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData>,Star::LuaVariadic<Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData> > const & __ptr64>
    [6] 13f99058d Star::Npc::callScript
    [7] 13fdbd8c4 Star::LuaBindings::WorldEntityCallbacks::callScriptedEntity
    [8] 13fd80305 std::_Invoker_functor::_Call<Star::Maybe<Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData> > (__cdecl*const & __ptr64)(Star::World * __ptr64,int,Star::String const & __ptr64,Star::LuaVariadic<Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData> > const & __ptr64),Star::World * __ptr64 const & __ptr64,int,Star::String,Star::LuaVariadic<Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData> > >
    [9] 13fd94f2a std::invoke<Star::Maybe<Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData> > (__cdecl*const & __ptr64)(Star::World * __ptr64,int,Star::String const & __ptr64,Star::LuaVariadic<Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData> > const & __ptr64),Star::World * __ptr64 const & __ptr64,int,Star::String,Star::LuaVariadic<Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData> > >
    [10] 13fd84a1b std::_Invoke_ret<Star::Maybe<Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData> > (__cdecl*const & __ptr64)(Star::World * __ptr64,int,Star::String const & __ptr64,Star::LuaVariadic<Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData> > const & __ptr64),Star::World * __ptr64 const & __ptr64,int,Star::String,Star::LuaVariadic<Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData> > >
    [11] 13fd81f0a std::_Call_binder<std::_Unforced,0,1,2,3,Star::Maybe<Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData> > (__cdecl*const)(Star::World * __ptr64,int,Star::String const & __ptr64,Star::LuaVariadic<Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData> > const & __ptr64),std::tuple<Star::World * __ptr64,std::_Ph<1>,std::_Ph<2>,std::_Ph<3> > const ,std::tuple<int && __ptr64,Star::String && __ptr64,Star::LuaVariadic<Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData> > && __ptr64> >
    [12] 13fd7ca9f std::_Binder<std::_Unforced,Star::Maybe<Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData> > (__cdecl&)(Star::World * __ptr64,int,Star::String const & __ptr64,Star::LuaVariadic<Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData> > const & __ptr64),Star::World * __ptr64 & __ptr64,std::_Ph<1> const & __ptr64,std::_Ph<2> const & __ptr64,std::_Ph<3> const & __ptr64>::operator()<int,Star::String,Star::LuaVariadic<Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData> > >
    [13] 13fdb28bc <lambda_cf8e2fc210c152351a677d981806b1c3>::operator()
    [14] 13fd7f2df std::_Invoker_functor::_Call<<lambda_cf8e2fc210c152351a677d981806b1c3> & __ptr64,Star::LuaEngine & __ptr64,unsigned __int64,Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData> * __ptr64>
    [15] 13fd94760 std::invoke<<lambda_cf8e2fc210c152351a677d981806b1c3> & __ptr64,Star::LuaEngine & __ptr64,unsigned __int64,Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData> * __ptr64>
    [16] 13fd87dd9 std::_Invoke_ret<Star::Variant<Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData>,Star::LuaVariadic<Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData> > >,<lambda_cf8e2fc210c152351a677d981806b1c3> & __ptr64,Star::LuaEngine & __ptr64,unsigned __int64,Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData> * __ptr64>
    [17] 13fdb8e4b std::_Func_impl<<lambda_cf8e2fc210c152351a677d981806b1c3>,std::allocator<int>,Star::Variant<Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData>,Star::LuaVariadic<Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData> > >,Star::LuaEngine & __ptr64,unsigned __int64,Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData> * __ptr64>::_Do_call
    [18] 13f71186d std::_Func_class<Star::Variant<Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData>,Star::LuaVariadic<Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData> > >,Star::LuaEngine & __ptr64,unsigned __int64,Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData> * __ptr64>::operator()
    [19] 13f710904 <lambda_a03bcae4599b53751a446949639a4d5e>::operator()
    [20] 13f69b0e8 luaD_precall
    [21] 13f6b3e91 luaV_execute
    [22] 13f69abf3 luaD_call
    [23] 13f69b3cb luaD_rawrunprotected
    [24] 13f69ae00 luaD_pcall
    [25] 13f691314 lua_pcallk
    [26] 13f718840 Star::LuaEngine::pcallWithTraceback
    [27] 13f8e3d3e Star::LuaEngine::callFunction<float>
    [28] 13f8e77e4 Star::LuaFunction::invoke<Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData>,float>
    [29] 13f8e7671 Star::LuaBaseComponent::invoke<Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData>,float>
    [30] 13f8ec35c Star::LuaUpdatableComponent<Star::LuaWorldComponent<Star::LuaBaseComponent> >::update<Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData>,float>
    [31] 13f9c055f Star::Object::update
    [32] 13fc7afee <lambda_5251ea3b435705ab973fc9e3a86aa323>::operator()
    [33] 13f8787b7 Star::EntityMap::updateAllEntities
    [34] 13fc9b8f2 Star::WorldServer::update
    [35] 13fca36b2 Star::WorldServerThread::update
    [36] 13fca30a8 Star::WorldServerThread::run
    [37] 13f7402ee Star::ThreadImpl::runThread
    [38] 77b559bd BaseThreadInitThunk
    [39] 77c8a2e1 RtlUserThreadStart
    [22:40:06.881] [Error] Exception while invoking lua function 'update'. (LuaException) Error code 2, [string "/objects/spawner/colonydeed/colonydeed.lua"]:599: attempt to get length of a nil value (field 'grumbles')
    stack traceback:
        [C]: in metamethod '__len'
        [string "/objects/spawner/colonydeed/colonydeed.lua"]:599: in global 'checkHouseIntegrity'
        [string "/objects/spawner/colonydeed/colonydeed.lua"]:259: in field 'completeCallback'
        [string "/objects/spawner/colonydeed/timer.lua"]:28: in method 'update'
        [string "/objects/spawner/colonydeed/timer.lua"]:118: in method 'update'
        [string "/objects/spawner/colonydeed/colonydeed.lua"]:107: in function <[string "/objects/spawner/colonydeed/colonydeed.lua"]:104>
    [0] 13f7437f3 Star::captureStack
    [1] 13f74254e Star::StarException::StarException
    [2] 13f717401 Star::LuaEngine::handleError
    [3] 13f8e3d57 Star::LuaEngine::callFunction<float>
    [4] 13f8e77e4 Star::LuaFunction::invoke<Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData>,float>
    [5] 13f8e7671 Star::LuaBaseComponent::invoke<Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData>,float>
    [6] 13f8ec35c Star::LuaUpdatableComponent<Star::LuaWorldComponent<Star::LuaBaseComponent> >::update<Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData>,float>
    [7] 13f9c055f Star::Object::update
    [8] 13fc7afee <lambda_5251ea3b435705ab973fc9e3a86aa323>::operator()
    [9] 13f8787b7 Star::EntityMap::updateAllEntities
    [10] 13fc9b8f2 Star::WorldServer::update
    [11] 13fca36b2 Star::WorldServerThread::update
    [12] 13fca30a8 Star::WorldServerThread::run
    [13] 13f7402ee Star::ThreadImpl::runThread
    [14] 77b559bd BaseThreadInitThunk
    [15] 77c8a2e1 RtlUserThreadStart
    [22:40:13.829] [Info] UniverseServer: Loading celestial world 840938492:-217719882:-238193852:2
    [22:40:15.274] [Info] UniverseServer: Warping player 1 to CelestialWorld:840938492:-217719882:-238193852:2
    [22:40:15.277] [Info] Client received world stop packet, leaving: Removed
    [22:40:15.286] [Info] UniverseServer: Stopping idle world ClientShipWorld:e5f93c9bc970a1456389e1e31f5655f0
    [22:51:58.767] [Info] Chat: <Esther> A clue of small implication, but relevant nonetheless!
    [22:52:19.031] [Info] Chat: <Esther> Even the smallest piece of evidence can help to uncover the grandest secrets of the universe.
    [22:52:28.266] [Info] Chat: <Esther> Even the smallest piece of evidence can help to uncover the grandest secrets of the universe.
    [22:55:12.234] [Info] UniverseServer: Loading client ship world ClientShipWorld:e5f93c9bc970a1456389e1e31f5655f0
    [22:55:13.804] [Info] UniverseServer: Warping player 1 to ClientShipWorld:e5f93c9bc970a1456389e1e31f5655f0
    [22:55:13.828] [Info] Client received world stop packet, leaving: Removed
    [22:55:13.896] [Info] UniverseServer: Stopping idle world CelestialWorld:840938492:-217719882:-238193852:2
    [22:55:15.012] [Info] Application: quit requested
    [22:55:15.012] [Info] Application: quitting...
    [22:55:15.012] [Info] Application: shutdown...
    [22:55:15.016] [Info] UniverseClient: Client disconnecting...
    [22:55:15.298] [Info] Client received world stop packet, leaving: Removed
    [22:55:17.490] [Info] UniverseServer: Client 'Sekaila' <1> (local) disconnected for reason:
    [22:55:17.492] [Info] UniverseServer: Stopping idle world ClientShipWorld:e5f93c9bc970a1456389e1e31f5655f0
    [22:55:18.010] [Info] UniverseServer: Stopping UniverseServer
    [22:55:18.251] [Info] Root: Shutting down Root
    [22:55:18.699] [Info] Application: Destroying SDL Window
    [22:55:18.836] [Info] Application: stopped gracefully
    


    I believe the log says it all. I placed colony deeds around(in a shipworld). Some worked, some didn't. I checked the logs and that's what I found.

    Yes there are a few mods - mostly mine - but nothing that should interfere with colony deed operation at all.
     
  2. Iroaseta

    Iroaseta Guest

    I tried putting colony deeds on my ship, vanilla or modded, and there's no errors.
    Maybe it's because of the Ship Yard Rebuilt mod? I haven't tried putting colony deeds with it though.
    Both of the errors you provided show 'checkHouseIntegrity' so maybe that's the real cause.

    But I received no errors or problems on Starbound 1.2 Unstable.
    Maybe you should try if the errors still repeat itself with a vanilla ship / other modded ship mods?
     
  3. bk3k

    bk3k Oxygen Tank

    That mod(my mod) wouldn't cause errors there. All ships are really just blocks. And colony deeds do not even check for a background on ships(also part of the colony deed code). It only checks for a solid wall containing an area... which can include doors too. I placed the deeds actually to test out Automatic Doors code(well 2 versions actually).

    And if the housing integrity failed... well the script isn't supposed to crash as a result. So there is a script problem here. I could probably find it/fix it, but that doesn't do anyone else any good unless it is fixed by the devs. Thus I have provided my logs of something going wrong. The logs should provide the information they need.

    --update--

    I may have found something.

    scripts/tenant/lua
    tenant.setGrumbles(grumbles) called with a nil argument and does not account for the possibility
    It is called by
    /objects/spawnner/colonydeed/colonydeed.lua function checkHouseIntegrity() line 595

    Code:
    world.callScriptedEntity(entityId, "tenant.setGrumbles", storage.grumbles)
    so it is storage.grumbles that must be nil
    storage.grumbles is assigned in that same function to the return of scanHouseIntegrity()

    and that function starts with this
    Code:
    if not world.regionActive(polyBoundBox(storage.house.boundary)) then
    util.debugLog("Parts of the house are unloaded - skipping integrity check")
    return storage.grumbles
    end
    storage.grumbles is NOT defined/assigned in init(). That happens in checkHouseIntegrity() alone and based off the return of scanHouseIntegrity()... which conditionally just returns storage.grumbles. In the event that part of the region is unloaded when first running scanHouseIntegrity(), it will actually just be return nil

    I believe that's what happened. The deeds that didn't work where in an area with a room above them separated only by platform. The whole thing is sealed off/room complete. But part of that must have been unloaded. I think I was playing at a high zoom at that time(for detail inspection, then forgetting to change).

    So the fix is this.
    Code:
    function scanHouseIntegrity()
      if not world.regionActive(polyBoundBox(storage.house.boundary)) then
        util.debugLog("Parts of the house are unloaded - skipping integrity check")
        if storage.grumbles then
          return storage.grumbles
        else
          world.loadRegion(polyBoundBox(storage.house.boundary))
        end
      end
    
      local grumbles = {}
      local house = findHouseBoundary(self.position, self.maxPerimeter)
    
      if not house.poly then
        grumbles[#grumbles+1] = {"enclosedArea"}
      else
        storage.house.floorPosition = house.floor
        storage.house.boundary = house.poly
      end
    
      local scanResults = scanHouseContents(storage.house.boundary)
      if scanResults.otherDeed then
        grumbles[#grumbles+1] = {"otherDeed"}
      end
    
      local objects = countObjects(scanResults.objects, house.doors or {})
      storage.house.objects = storage.house.objects or {}
      for objectName, count in pairs(objects) do
        local oldCount = storage.house.objects[objectName] or 0
        if count > oldCount then
          self.questParticipant:fireEvent("objectAdded", objectName, count - oldCount)
        end
      end
      for objectName, count in pairs(storage.house.objects) do
        local newCount = objects[objectName] or 0
        if newCount < count then
          self.questParticipant:fireEvent("objectRemoved", objectName, count - newCount)
        end
      end
      storage.house.objects = objects
    
      local tags = countTags(scanResults.objects, house.doors or {})
      for tag, requiredAmount in pairs(getTagCriteria()) do
        local currentAmount = tags[tag] or 0
        if currentAmount < requiredAmount then
          grumbles[#grumbles+1] = {"tagCriteria", tag, requiredAmount - currentAmount}
        end
      end
    
      return grumbles
    end
     
    Last edited: Dec 10, 2016
    Iris Blanche and Iroaseta like this.

Share This Page