1. Welcome to the Starbound support forums. Please check the support FAQs before posting: http://playstarbound.com/support

Kluex Staff doesn't work

Discussion in 'Starbound Support' started by tehcavy, May 24, 2017.

  1. tehcavy

    tehcavy Ketchup Robot

    When I attempt to use Kluex Staff's secondary (kluexzone), it fails to spawn a zone and instead gets stuck in the charging animation. Item, as well as projectile on their own work fine, and I do not have any mods that would have changed them or any staves in general, so it is definetly a Lua hiccup. Relevant part of the log:

    Code:
    [17:13:24.226] [Error] Exception while invoking lua function 'update'. (LuaException) Error code 2, [string "/items/active/weapons/weapon.lua"]:41: [string "/items/active/weapons/weapon.lua"]:101: [string "/items/active/weapons/staff/abilities/effectz..."]:89: (MapException) Key 'zoneactivate' not found in OrderedMap::get()
    [0] da628a Star::captureStack
    [1] da51a8 Star::StarException::StarException
    [2] f566f6 Star::OrderedMapWrapper<std::unordered_map,Star::String,Star::NetworkedAnimator::Sound,std::allocator<std::pair<Star::String const ,Star::NetworkedAnimator::Sound> >,Star::hash<Star::String,void>,std::equal_to<Star::String> >::get
    [3] f59872 Star::NetworkedAnimator::playSound
    [4] 1268a77 <lambda_09ebe9d036cc53cabe1ea731254dec44>::eek:perator()
    [5] 1265013 std::_Invoker_functor::_Call<<lambda_09ebe9d036cc53cabe1ea731254dec44> &,Star::LuaEngine &,unsigned int,Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData> *>
    [6] 1265c0f std::invoke<<lambda_09ebe9d036cc53cabe1ea731254dec44> &,Star::LuaEngine &,unsigned int,Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData> *>
    [7] 12656ff 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_09ebe9d036cc53cabe1ea731254dec44> &,Star::LuaEngine &,unsigned int,Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData> *>
    [8] 126a6d3 std::_Func_impl<<lambda_09ebe9d036cc53cabe1ea731254dec44>,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 &,unsigned int,Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData> *>::_Do_call
    [9] d7d2e5 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 &,unsigned int,Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData> *>::eek:perator()
    [10] d7c6fe <lambda_b564807823adc1bcd26439109b19709d>::eek:perator()
    [11] d7351d <lambda_b564807823adc1bcd26439109b19709d>::<lambda_invoker_cdecl>
    [12] d1bbce luaD_precall
    [13] d31506 luaV_execute
    [14] d1c1d4 resume
    [15] d1bdc0 luaD_rawrunprotected
    [16] d1c03b lua_resume
    [17] d196d5 auxresume
    [18] d19428 luaB_coresume
    [19] d1bbce luaD_precall
    [20] d31506 luaV_execute
    [21] d1c40e unroll
    [22] d1c23a resume
    [23] d1bdc0 luaD_rawrunprotected
    [24] d1c03b lua_resume
    [25] d196d5 auxresume
    [26] d19428 luaB_coresume
    [27] d1bbce luaD_precall
    [28] d31506 luaV_execute
    [29] d1b7d8 luaD_call
    [30] d136d5 f_call
    [31] d1bdc0 luaD_rawrunprotected
    [32] d1b957 luaD_pcall
    [33] d140f9 lua_pcallk
    [34] d821d7 Star::LuaEngine::pcallWithTraceback
    [35] 1206df6 Star::LuaEngine::callFunction<float,Star::String,bool,Star::MapMixin<std::unordered_map<Star::String,bool,Star::hash<Star::String,void>,std::equal_to<Star::String>,std::allocator<std::pair<Star::String const ,bool> > > > >
    [36] 12083ff Star::LuaFunction::invoke<Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData>,float,Star::String,bool,Star::MapMixin<std::unordered_map<Star::String,bool,Star::hash<Star::String,void>,std::equal_to<Star::String>,std::allocator<std::pair<Star::String const ,bool> > > > >
    [37] 120826a Star::LuaBaseComponent::invoke<Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData>,float,Star::String const &,bool &,Star::MapMixin<std::unordered_map<Star::String,bool,Star::hash<Star::String,void>,std::equal_to<Star::String>,std::allocator<std::pair<Star::String const ,bool> > > > &>
    [38] 120af90 Star::LuaUpdatableComponent<Star::LuaStorableComponent<Star::LuaWorldComponent<Star::LuaBaseComponent> > >::update<Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData>,float,Star::String const &,bool &,Star::MapMixin<std::unordered_map<Star::String,bool,Star::hash<Star::String,void>,std::equal_to<Star::String>,std::allocator<std::pair<Star::String const ,bool> > > > &>
    [39] 120aef0 Star::LuaActorMovementComponent<Star::LuaUpdatableComponent<Star::LuaStorableComponent<Star::LuaWorldComponent<Star::LuaBaseComponent> > > >::update<Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData>,float,Star::String const &,bool &,Star::MapMixin<std::unordered_map<Star::String,bool,Star::hash<Star::String,void>,std::equal_to<Star::String>,std::allocator<std::pair<Star::String const ,bool> > > > &>
    [40] 1218fdd Star::ActiveItem::update
    [41] 11027c3 Star::ToolUser::tick
    [42] fe86bf Star::player::update
    [43] 116739e <lambda_43cd99ed4848a23793d927f33301b453>::eek:perator()
    [44] e8de14 Star::EntityMap::updateAllEntities
    [45] 11780c8 Star::WorldClient::update
    [46] 110e280 Star::UniverseClient::update
    [47] d11148 Star::ClientApplication::updateRunning
    [48] d0fdc5 Star::ClientApplication::update
    [49] 12f614f Star::SdlPlatform::run
    [50] 12f6396 Star::runMainApplication
    [51] d12b9c WinMain
    [52] 14145e6 __scrt_common_main_seh
    [53] 76fe336a BaseThreadInitThunk
    [54] 77679902 RtlInitializeExceptionChain
    [55] 776798d5 RtlInitializeExceptionChain
    stack traceback:
       [C]: in ?
       [C]: in function '_ENV.error'
       [string "/items/active/weapons/weapon.lua"]:41: in method 'update'
       [string "/items/active/weapons/staff/staff.lua"]:25: in function <[string "/items/active/weapons/staff/staff.lua"]:24>
    [0] da628a Star::captureStack
    [1] da51a8 Star::StarException::StarException
    [2] d7a605 Star::LuaException::LuaException
    [3] d80e99 Star::LuaEngine::handleError
    [4] 1206e0c Star::LuaEngine::callFunction<float,Star::String,bool,Star::MapMixin<std::unordered_map<Star::String,bool,Star::hash<Star::String,void>,std::equal_to<Star::String>,std::allocator<std::pair<Star::String const ,bool> > > > >
    [5] 12083ff Star::LuaFunction::invoke<Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData>,float,Star::String,bool,Star::MapMixin<std::unordered_map<Star::String,bool,Star::hash<Star::String,void>,std::equal_to<Star::String>,std::allocator<std::pair<Star::String const ,bool> > > > >
    [6] 120826a Star::LuaBaseComponent::invoke<Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData>,float,Star::String const &,bool &,Star::MapMixin<std::unordered_map<Star::String,bool,Star::hash<Star::String,void>,std::equal_to<Star::String>,std::allocator<std::pair<Star::String const ,bool> > > > &>
    [7] 120af90 Star::LuaUpdatableComponent<Star::LuaStorableComponent<Star::LuaWorldComponent<Star::LuaBaseComponent> > >::update<Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData>,float,Star::String const &,bool &,Star::MapMixin<std::unordered_map<Star::String,bool,Star::hash<Star::String,void>,std::equal_to<Star::String>,std::allocator<std::pair<Star::String const ,bool> > > > &>
    [8] 120aef0 Star::LuaActorMovementComponent<Star::LuaUpdatableComponent<Star::LuaStorableComponent<Star::LuaWorldComponent<Star::LuaBaseComponent> > > >::update<Star::Variant<Star::Empty,bool,__int64,double,Star::String,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData>,float,Star::String const &,bool &,Star::MapMixin<std::unordered_map<Star::String,bool,Star::hash<Star::String,void>,std::equal_to<Star::String>,std::allocator<std::pair<Star::String const ,bool> > > > &>
    [9] 1218fdd Star::ActiveItem::update
    [10] 11027c3 Star::ToolUser::tick
    [11] fe86bf Star::player::update
    [12] 116739e <lambda_43cd99ed4848a23793d927f33301b453>::eek:perator()
    [13] e8de14 Star::EntityMap::updateAllEntities
    [14] 11780c8 Star::WorldClient::update
    [15] 110e280 Star::UniverseClient::update
    [16] d11148 Star::ClientApplication::updateRunning
    [17] d0fdc5 Star::ClientApplication::update
    [18] 12f614f Star::SdlPlatform::run
    [19] 12f6396 Star::runMainApplication
    [20] d12b9c WinMain
    [21] 14145e6 __scrt_common_main_seh
    [22] 76fe336a BaseThreadInitThunk
    [23] 77679902 RtlInitializeExceptionChain
    [24] 776798d5 RtlInitializeExceptionChain
    
    What should I do to fix it?
     
  2. komodo52

    komodo52 Void-Bound Voyager

    Good day!
    You can try deleting the staff and then going into admin mode to respawn it in if you know how.
     
  3. tehcavy

    tehcavy Ketchup Robot

    Just tried, didn't work either. More importantly, that's a problem specific to Kluex Staves; I've spawned with console command a procgen staff that has abilities of Kluex Staff, and it works there.
     
  4. komodo52

    komodo52 Void-Bound Voyager

    Okay, in that case it is probably a bug with the programming of the staff?
     
  5. Iris Blanche

    Iris Blanche Pudding Paradox Forum Moderator

    Please attach the full log and not only a snippet.

    ~ Iris ~
     
    komodo52 likes this.
  6. tehcavy

    tehcavy Ketchup Robot

     

    Attached Files:

Share This Page