Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
i have a rather large modpack, so there are some other mods in the stack traceback but i had removed them previously and it did not seem to have any effect.
Compatibility with betabound isn't necessary, but if it would not consume the item and not kill tonuac that would be great.
[23:08:45.747] [Error] Exception while invoking lua function 'update'. (LuaException) Error code 2, [string "/npcs/bmain.lua"]:162: (StarException) Lua Exception caught running action node blessPlayer in behavior tonauacoutpost: (LuaException) Error code 2, [string "/scripts/actions/npc/tonauac.lua"]:70: table index is nil
stack traceback:
[string "/scripts/actions/npc/tonauac.lua"]:70: in global 'addEffects'
[string "/scripts/actions/npc/tonauac.lua"]:47: in global 'addFoodEffects'
[string "/scripts/actions/npc/tonauac.lua"]:7: in function <[string "/scripts/actions/npc/tonauac.lua"]:1>
[00] 0x7ff60b09a443 (StarException_windows.cpp:96) Star::captureStack
[01] 0x7ff60b098d3c (StarException_windows.cpp:191) Star::StarException::StarException
[02] 0x7ff60b098fe9 (StarException_windows.cpp:161) Star::StarException::StarException
[03] 0x7ff60ba4d37f (StarBehaviorState.cpp:213) `Star::BehaviorState::runAction'::`1'::catch$134
[04] 0x7ffa40784160 _CxxFrameHandler4
[05] 0x7ffa40782572
[06] 0x7ffa60011c26 RtlCaptureContext2
[07] 0x7ff60b122ef4 (StarBehaviorState.cpp:211) Star::BehaviorState::runAction
[08] 0x7ff60b123bff (StarBehaviorState.cpp:189) Star::BehaviorState::runNode
[09] 0x7ff60b124550 (StarBehaviorState.cpp:302) Star::BehaviorState::runSequence
[10] 0x7ff60b123c1d (StarBehaviorState.cpp:193) Star::BehaviorState::runNode
[11] 0x7ff60b123ed4 (StarBehaviorState.cpp:340) Star::BehaviorState::runParallel
[12] 0x7ff60b123c33 (StarBehaviorState.cpp:193) Star::BehaviorState::runNode
[13] 0x7ff60b124550 (StarBehaviorState.cpp:302) Star::BehaviorState::runSequence
[14] 0x7ff60b123c1d (StarBehaviorState.cpp:193) Star::BehaviorState::runNode
[15] 0x7ff60b123a52 (StarBehaviorState.cpp:360) Star::BehaviorState::runDynamic
[16] 0x7ff60b123c3e (StarBehaviorState.cpp:193) Star::BehaviorState::runNode
[17] 0x7ff60b123ed4 (StarBehaviorState.cpp:340) Star::BehaviorState::runParallel
[18] 0x7ff60b123c33 (StarBehaviorState.cpp:193) Star::BehaviorState::runNode
[19] 0x7ff60b122c89 (StarBehaviorState.cpp:154) Star::BehaviorState::run
[20] 0x7ff60b6713c1 (StarLuaGameConverters.cpp:560) <lambda_7e172cfcf1ed0e4862100eab0db816ce>::operator()
[21] 0x7ff60b671ae6 (StarLua.hpp:1324) <lambda_be9712d4d4a8d45c85802408480f6044>::operator()
[22] 0x7ff60b673e6e (functional:881) std::_Func_impl_no_alloc<<lambda_be9712d4d4a8d45c85802408480f6044>,Star::Variant<Star::Variant<Star::Empty,bool,__int64,double,Star::LuaString,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData>,Star::LuaVariadic<Star::Variant<Star::Empty,bool,__int64,double,Star::LuaString,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData> > >,Star::LuaEngine &,unsigned __int64,Star::Variant<Star::Empty,bool,__int64,double,Star::LuaString,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData> *>::_Do_call
[23] 0x7ff60b055aa4 (StarLua.cpp:1117) <lambda_cb933e6ece591b2dceb935296da41187>::operator()
[24] 0x7ff60afc084c (ldo.c:437) luaD_precall
[25] 0x7ff60afda1a1 (lvm.c:1134) luaV_execute
[26] 0x7ff60afc018b (ldo.c:509) luaD_callnoyield
[27] 0x7ff60afc0b5b (ldo.c:145) luaD_rawrunprotected
[28] 0x7ff60afc03d0 (ldo.c:729) luaD_pcall
[29] 0x7ff60afb7161 (lapi.c:969) lua_pcallk
[30] 0x7ff60b05de00 (StarLua.cpp:700) Star::LuaEngine::pcallWithTraceback
[31] 0x7ff60b259def (StarLua.hpp:1993) Star::LuaEngine::callFunction<float>
[32] 0x7ff60b25c8d4 (StarLua.hpp:1762) Star::LuaFunction::invoke<Star::Variant<Star::Empty,bool,__int64,double,Star::LuaString,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData>,float>
[33] 0x7ff60b25c7ae (StarLuaComponents.hpp:200) Star::LuaBaseComponent::invoke<Star::Variant<Star::Empty,bool,__int64,double,Star::LuaString,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData>,float>
[34] 0x7ff60b2f6ec9 (StarNpc.cpp:376) Star::Npc::update
[35] 0x7ff60b5bbf9d (StarWorldServer.cpp:621) <lambda_097bfc3fc43031f2878803c6c16650d2>::operator()
[36] 0x7ff60b1e413a (StarEntityMap.cpp:141) Star::EntityMap::updateAllEntities
[37] 0x7ff60b5dd512 (StarWorldServer.cpp:620) Star::WorldServer::update
[38] 0x7ff60b5e4009 (StarWorldServerThread.cpp:274) Star::WorldServerThread::update
[39] 0x7ff60b5e38bd (StarWorldServerThread.cpp:220) Star::WorldServerThread::run
[40] 0x7ff60b09795c (StarThread_windows.cpp:49) Star::ThreadImpl::runThread
[41] 0x7ffa5ed37374 BaseThreadInitThunk
[42] 0x7ffa5ffbcc91 RtlUserThreadStart
stack traceback:
[C]: in ?
[C]: in method 'run'
[string "/npcs/bmain.lua"]:162: in global 'orVillagerPolice2Update'
[string "/npcs/callthespacepolice.lua"]:20: in global 'origblshieldnpcupadte'
[string "/npcs/blshieldnpc.lua"]:102: in upvalue 'baseupdate'
[string "/npcs/shuttlecraft_lounge.lua"]:6: in global 'orVillagerPoliceUpdate'
[string "/npcs/callthepeacekeepers.lua"]:43: in upvalue 'originalUpdate'
[string "/npcs/sb_bmain.lua"]:60: in upvalue 'oldUpdate_tougherMobs'
[string "/scripts/ExtraLootTougherNpcs.lua"]:567: in upvalue 'oldUpdate_tougherMobs'
[string "/scripts/TougherNpcsAssassinType.lua"]:114: in global 'origbl3_main_update'
[string "/npcs/bmain_npcbl3health.lua"]:20: in function <[string "/npcs/bmain_npcbl3health.lua"]:19>
[00] 0x7ff60b09a443 (StarException_windows.cpp:96) Star::captureStack
[01] 0x7ff60b098d3c (StarException_windows.cpp:191) Star::StarException::StarException
[02] 0x7ff60b052e69 (StarLua.hpp:19) Star::LuaException::LuaException
[03] 0x7ff60b05c326 (StarLua.cpp:691) Star::LuaEngine::handleError
[04] 0x7ff60b259e08 (StarLua.hpp:1997) Star::LuaEngine::callFunction<float>
[05] 0x7ff60b25c8d4 (StarLua.hpp:1762) Star::LuaFunction::invoke<Star::Variant<Star::Empty,bool,__int64,double,Star::LuaString,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData>,float>
[06] 0x7ff60b25c7ae (StarLuaComponents.hpp:200) Star::LuaBaseComponent::invoke<Star::Variant<Star::Empty,bool,__int64,double,Star::LuaString,Star::LuaTable,Star::LuaFunction,Star::LuaThread,Star::LuaUserData>,float>
[07] 0x7ff60b2f6ec9 (StarNpc.cpp:376) Star::Npc::update
[08] 0x7ff60b5bbf9d (StarWorldServer.cpp:621) <lambda_097bfc3fc43031f2878803c6c16650d2>::operator()
[09] 0x7ff60b1e413a (StarEntityMap.cpp:141) Star::EntityMap::updateAllEntities
[10] 0x7ff60b5dd512 (StarWorldServer.cpp:620) Star::WorldServer::update
[11] 0x7ff60b5e4009 (StarWorldServerThread.cpp:274) Star::WorldServerThread::update
[12] 0x7ff60b5e38bd (StarWorldServerThread.cpp:220) Star::WorldServerThread::run
[13] 0x7ff60b09795c (StarThread_windows.cpp:49) Star::ThreadImpl::runThread
[14] 0x7ffa5ed37374 BaseThreadInitThunk
[15] 0x7ffa5ffbcc91 RtlUserThreadStart
Sorry for the super late reply, but there are two things that may cause this:
1) tanuac is not near a container, or near multiple containers.
- if you have a mod that changes how the outpost is laid out, where Tonauac isn't near a conainer anymore, or they are near multiple containers. In vanilla they are only next to one container, so the code only searches for that. If this is the case, try adding your food to the closest container to the npc.
- if there are no containers within 15 "units" from the npc, it will never be found. Removing the mod that changes the outpost will fix this. (not ideal, but I cannot keep querying the world recursively until I find a container without it seriously affecting the game, which is a big nono)
2) The food provided is not set up in a way that aligns with how vanilla food items are set up
- that is, it does not spoil, (item.parameters.timeToRot does not exist). This is important for this mod as its kind of a quick and dirty method to determine if what is placed in the container is a food type or not as that parameter should only be filled out if its a food. I do not know if your modded food doesn't spoil, but not providing it at all is kind of breaking what the game expects.