Tanlor Posted March 25, 2019 Share 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 Link to comment Share on other sites More sharing options...
0 crazyarashi Posted March 25, 2019 Share 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 Link to comment Share on other sites More sharing options...
0 Tanlor Posted March 25, 2019 Author Share Posted March 25, 2019 That works! Thank you so much! Quote Link to comment Share on other sites More sharing options...
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.
Link to comment
Share on other sites