Надоела ошибка GetVariableInfo

1 post in this topic

func: GetVariableInfo, field, line: -1, defined: C, line: -1, [C]
func: ?, ?, line: 465, defined: Lua, line: 463, 
Game::LuaAvatarGetVariableInfo: Cannot get variable: Mechanics/MercUpgrade/mwAvatarCounter.(MapVariableResource).xdb, details: int __cdecl Game::LuaAvatarGetVariableInfo(struct lua_State *)
строка 463 function PoolChanged(p)
строка 464 if p and p.id then
cтрока 465 pool = avatar.GetVariableInfo(p.id)

функция подписана на эвент  common.RegisterEventHandler( PoolChanged, "EVENT_VARIABLE_VALUE_CHANGED")

Периодически возникает, не знаю с чем связана, подписка на эвенты идет после прогрузки аватара.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now