alexghinet 11 Posted May 12, 2020 Share Posted May 12, 2020 H Hey , do someone have a function for Special storage (Stone inventory) to stone +0 +1 +2 can be read by Alchemist for Ore refine? i tryed so but doens't work: int pc_ore_refine(lua_State* L) { if (!lua_isnumber(L, 1)) { lua_pushboolean(L, 0); return 1; } int cost = (int) lua_tonumber(L, 1); int pct = (int)lua_tonumber(L, 2); int metinstone_cell = (int)lua_tonumber(L, 3); LPCHARACTER ch = CQuestManager::instance().GetCurrentCharacterPtr(); LPCHARACTER npc = CQuestManager::instance().GetCurrentNPCCharacterPtr(); LPITEM item = CQuestManager::instance().GetCurrentItem(); #ifdef ENABLE_SPECIAL_STORAGE LPITEM metinstone_item = ch->GetStoneInventoryItem(metinstone_cell); #else LPITEM metinstone_item = ch->GetInventoryItem(metinstone_cell); #endif if (item && metinstone_item) lua_pushboolean(L, mining::OreRefine(ch, npc, item, cost, pct, metinstone_item)); else lua_pushboolean(L, 0); return 1; } Link to comment Share on other sites More sharing options...
Balanza 1 Posted May 12, 2020 Share Posted May 12, 2020 You need more code python to select your stones Link to comment Share on other sites More sharing options...
alexghinet 11 Posted May 21, 2020 Author Share Posted May 21, 2020 up do someone know ? Link to comment Share on other sites More sharing options...
alexghinet 11 Posted May 22, 2020 Author Share Posted May 22, 2020 t/c Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now