Tanlor Posted March 25, 2019 Posted March 25, 2019 There's any way to allow Storage Acess with can_trade: false on groups.conf? Already tried a lot of ways by scripting, like atcommand "@storage"; charcommand "@storage"; openstorage; openstorage2; But no sucess. Quote
0 crazyarashi Posted March 25, 2019 Posted March 25, 2019 (edited) In your storage.cpp. Comment out the lines that checks the permission of the sd if they can trade. Though it's not suggestible this may solve your problem. int storage_storageopen(struct map_session_data *sd) { nullpo_ret(sd); if(sd->state.storage_flag) return 1; //Already open? /* if( !pc_can_give_items(sd) ) { // check is this GM level is allowed to put items to storage clif_displaymessage(sd->fd, msg_txt(sd,246)); return 1; } */ sd->state.storage_flag = 1; storage_sortitem(sd->storage.u.items_storage, sd->storage.max_amount); clif_storagelist(sd, sd->storage.u.items_storage, sd->storage.max_amount, storage_getName(0)); clif_updatestorageamount(sd, sd->storage.amount, sd->storage.max_amount); return 0; } Edited March 25, 2019 by crazyarashi 1 Quote
Question
Tanlor
There's any way to allow Storage Acess with can_trade: false on groups.conf?
Already tried a lot of ways by scripting, like
But no sucess.
2 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.