Premium Ulthar 3100 Posted October 31, 2021 Premium Share Posted October 31, 2021 (edited) Hello Im using "UK_ENABLE_SPECIAL_STORAGE". And i cannot move items from special storage to normal inventory, or even into cube window. I saw a "one line code" for enable move items from special-inv to normal-inv, but i cant find it. :c Gif about this: https://metin2.download/picture/2ch9DNSYcoua898Edc3ycMAkGUjnE38U/.gif Edited September 4, 2022 by Metin2 Dev Core X - External 2 Internal Ulthar Link to comment Share on other sites More sharing options...
SamuraiHUN 1548 Posted October 31, 2021 Share Posted October 31, 2021 (edited) you extend this function in cube.cpp? void Cube_add_item (LPCHARACTER ch, int cube_index, int inven_index) in my code: #ifdef __SPECIAL_INVENTORY_SYSTEM__ if (inven_index < 0 || INVENTORY_MAX_NUM + SKILL_BOOK_INVENTORY_MAX_NUM + UPGRADE_ITEMS_INVENTORY_MAX_NUM + STONE_INVENTORY_MAX_NUM + GIFT_BOX_INVENTORY_MAX_NUM + CHANGERS_INVENTORY_MAX_NUM <= inven_index) return; #else if (inven_index < 0 || INVENTORY_MAX_NUM <= inven_index) return; #endif Edited October 31, 2021 by SamuraiHUN Link to comment Share on other sites More sharing options...
Premium Ulthar 3100 Posted October 31, 2021 Author Premium Share Posted October 31, 2021 3 minutes ago, SamuraiHUN said: you extend this function in cube.cpp? Szia! Yes, i did it #ifdef UK_ENABLE_SPECIAL_STORAGE void Cube_add_item(LPCHARACTER ch, UINT cube_index, UINT inven_index, int inven_type) #else void Cube_add_item(LPCHARACTER ch, UINT cube_index, UINT inven_index) #endif Ulthar 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