jadedlight Posted October 7, 2015 Posted October 7, 2015 anyone knows where to find or edit the configurations for normal players to use pots while the storage are opened up? some told me it was in item restrictions but cant seem to find it :/ and guess on how to enable this? TIA <3 Quote
1 Cydh Posted October 7, 2015 Posted October 7, 2015 try find on pc.c::pc_isUseitem, just find & follow this line if (sd->state.storage_flag && item->type != IT_CASH) { clif_colormes(sd->fd, color_table[COLOR_RED], msg_txt(sd,388)); return false; // You cannot use this item while storage is open. }it disables item usage while storage is opened, except cash_item (in item_db, the one that type 18) 2 Quote
Azeroth Posted October 7, 2015 Posted October 7, 2015 try find on pc.c::pc_isUseitem, just find & follow this line if (sd->state.storage_flag && item->type != IT_CASH) { clif_colormes(sd->fd, color_table[COLOR_RED], msg_txt(sd,388)); return false; // You cannot use this item while storage is open. }it disables item usage while storage is opened, except cash_item (in item_db, the one that type 18) Cydh i have a question, how to make a limit in inventory only 200 pcs Pots? i want the 547 (Condensed White Potion) ONLY? if else, it will say "Sorry it's not allow to have more than 200 547 (Condensed White Potion) in your inventory. sorry if it is not related my topic. Thank yoi in advance! 1 Quote
jadedlight Posted October 7, 2015 Author Posted October 7, 2015 will try this :3 thank you will update if it worked so others can have reference :3 what do i put btw XD sorry its new to me to edit this kinds.. still a newbie :3 TIA nvm found it under the SRC folders :3 Quote
Stolao Posted October 7, 2015 Posted October 7, 2015 try find on pc.c::pc_isUseitem, just find & follow this line if (sd->state.storage_flag && item->type != IT_CASH) { clif_colormes(sd->fd, color_table[COLOR_RED], msg_txt(sd,388)); return false; // You cannot use this item while storage is open. }it disables item usage while storage is opened, except cash_item (in item_db, the one that type 18) Cydh i have a question, how to make a limit in inventory only 200 pcs Pots? i want the 547 (Condensed White Potion) ONLY? if else, it will say "Sorry it's not allow to have more than 200 547 (Condensed White Potion) in your inventory. sorry if it is not related my topic. Thank yoi in advance! That's a completely different request, and barely fits the theam of posters request. Should post a new topic so things are easier to search Quote
Question
jadedlight
anyone knows where to find or edit the configurations for normal players to use pots while the storage are opened up?
some told me it was in item restrictions but cant seem to find it :/ and guess on how to enable this?
TIA <3
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.