Jump to content
Alloder.pro: about Allods with love
Search In
  • More options...
Find results that contain...
Find results in...

New program for writers

We turn from quantity to quality and tell you how we will supplement the Allods Team program with rewards in rubles.


The new Updater

Let us to introduce the new addon updater software and to share the details

Read more

Alloder 2.0

We have started the process of project evolve, and this relates not only, and not even primarily of the site's view

Read more

GetRecipeInfo(RecipeID) => cannot get SpellDescHelper object


Recommended Posts

Есть код:

local recipe = avatar.GetAlchemyMatchedRecipe(-1)

if recipe then

local recipeInfo = avatar.GetRecipeInfo(recipe.recipeId)



Есть лог:

Error: addon Alchemist: Game::CreateRecipeInfoPart: cannot get SpellDescHelper object, details: void __cdecl Game::CreateRecipeInfoPart(const struct GMUIHelper::IRecipe *,class Lua::State &,bool (__cdecl *)(class nstl::basic_string<char> &,class Lua::State &,class Lua::Table &,struct GMUIHelper::ISpellDescHelper *))

Info: addon Alchemist: Пятновыводитель

Я в недоумении: вроде как и GetRecipeInfo(ID) упало по ошибке, но и recipeInfo проинициализировался - name содержит значение.

Код взят из хелпа, LogInfo чуть-чуть допилен (на результат 100% не влияет - можете закомментировать).

Баг в API? Пропустил что-то в доке?

Подскажите в каком направлении работать?

I'm confused: seems, there is exception in GetRecipeInfo(ID), but recipeInfo has been successfully initialized - name contains valid value.

Source taken from documentation, LogInfo slightly modified (but it is not the reason - you can comment "LogInfo" and get the same result)

Is there a bug in API? I missed something important in manual?

Please, give me a hint!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using our site you agree to the Terms of Use