Tanlor Posted March 25, 2019 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 50 Reputation: 14 Joined: 07/23/18 Last Seen: January 9, 2023 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 Group: Developer Topic Count: 50 Topics Per Day: 0.02 Content Count: 776 Reputation: 239 Joined: 02/11/17 Last Seen: 21 hours ago 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 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 50 Reputation: 14 Joined: 07/23/18 Last Seen: January 9, 2023 Author Share Posted March 25, 2019 That works! Thank you so much! Quote Link to comment Share on other sites More sharing options...
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.
Link to comment
Share on other sites
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.