PewN Posted March 21, 2013 Group: Members Topic Count: 209 Topics Per Day: 0.04 Content Count: 892 Reputation: 27 Joined: 12/09/11 Last Seen: April 16, 2016 Share Posted March 21, 2013 is this possible ? cuz on groups.confcan_trade: falseyou can't trade / you can't drop / you can't vend / you can't mailhow about you can't sell items? Quote Link to comment Share on other sites More sharing options...
Lemongrass Posted March 21, 2013 Group: Developer Topic Count: 28 Topics Per Day: 0.01 Content Count: 547 Reputation: 270 Joined: 11/08/11 Last Seen: June 10, 2024 Share Posted March 21, 2013 db/re/item_trade.txt //8:Item can't be sold to npcs 1 Quote Link to comment Share on other sites More sharing options...
Cydh Posted March 21, 2013 Group: Developer Topic Count: 153 Topics Per Day: 0.03 Content Count: 2285 Reputation: 748 Joined: 06/16/12 Last Seen: February 21 Share Posted March 21, 2013 possible I saw some people try to extract every part of @security. LOL Quote Link to comment Share on other sites More sharing options...
PewN Posted March 21, 2013 Group: Members Topic Count: 209 Topics Per Day: 0.04 Content Count: 892 Reputation: 27 Joined: 12/09/11 Last Seen: April 16, 2016 Author Share Posted March 21, 2013 possible I saw some people try to extract every part of @security. LOL ahahaha. but i will not use in on @security db/re/item_trade.txt //8:Item can't be sold to npcs not that Quote Link to comment Share on other sites More sharing options...
Emistry Posted March 22, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted March 22, 2013 you mean something like this ? if( !pc_has_permission( sd, PC_PERM_TRADE ) ){ clif_displaymessage( fd,"You dont have permission to sell items" ); return; } i am using 17049 ~ i think might have abit different in line numbers.. but it's inside the /// Presents list of items, that can be sold to an NPC shop (ZC_PC_SELL_ITEMLIST). /// 00c7 <packet len>.W { <index>.W <price>.L <overcharge price>.L }* void clif_selllist(struct map_session_data *sd) i am not really good in src stuff...perhap other can help you to enhance it or fix bug... the current bug is that....the player will be unable to move.. LOL..xD Quote Link to comment Share on other sites More sharing options...
PewN Posted March 26, 2013 Group: Members Topic Count: 209 Topics Per Day: 0.04 Content Count: 892 Reputation: 27 Joined: 12/09/11 Last Seen: April 16, 2016 Author Share Posted March 26, 2013 you mean something like this ? if( !pc_has_permission( sd, PC_PERM_TRADE ) ){ clif_displaymessage( fd,"You dont have permission to sell items" ); return; } i am using 17049 ~ i think might have abit different in line numbers.. but it's inside the /// Presents list of items, that can be sold to an NPC shop (ZC_PC_SELL_ITEMLIST). /// 00c7 <packet len>.W { <index>.W <price>.L <overcharge price>.L }* void clif_selllist(struct map_session_data *sd) i am not really good in src stuff...perhap other can help you to enhance it or fix bug... the current bug is that....the player will be unable to move.. LOL..xD i figure it out now thanks for this now i can move Quote Link to comment Share on other sites More sharing options...
Question
PewN
is this possible ? cuz on
groups.conf
can_trade: false
you can't trade / you can't drop / you can't vend / you can't mail
how about you can't sell items?
Link to comment
Share on other sites
5 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.